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 07bdcd29a7a..ae1ad2bbb71 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,7 +42,6 @@ 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; @@ -125,8 +124,7 @@ private static Sample composeUnaryOrLroCallableSample( RegionTag regionTag = RegionTag.builder() - .setServiceName( - ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) + .setServiceName(clientVarExpr.variable().identifier().name()) .setRpcName(method.name()) .setIsAsynchronous(true) .build(); @@ -280,8 +278,7 @@ private static Sample composePagedCallableSample( RegionTag regionTag = RegionTag.builder() - .setServiceName( - ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) + .setServiceName(clientVarExpr.variable().identifier().name()) .setRpcName(method.name()) .setOverloadDisambiguation("Paged") .setIsAsynchronous(true) @@ -397,7 +394,7 @@ public static Sample composeLroCallableMethod( RegionTag regionTag = RegionTag.builder() - .setServiceName(ClassNames.getPureServiceName(clientType.reference().name())) + .setServiceName(clientType.reference().name()) .setRpcName(method.name()) .setIsAsynchronous(true) .setOverloadDisambiguation("LRO") @@ -534,7 +531,7 @@ public static Sample composePagedCallableMethod( RegionTag regionTag = RegionTag.builder() - .setServiceName(ClassNames.getPureServiceName(clientType.reference().name())) + .setServiceName(clientType.reference().name()) .setRpcName(method.name()) .setIsAsynchronous(true) .build(); @@ -720,8 +717,7 @@ private static Sample composeStreamServerSample( RegionTag regionTag = RegionTag.builder() - .setServiceName( - ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) + .setServiceName(clientVarExpr.variable().identifier().name()) .setRpcName(method.name()) .setIsAsynchronous(true) .build(); @@ -800,8 +796,7 @@ private static Sample composeStreamBidiSample( RegionTag regionTag = RegionTag.builder() - .setServiceName( - ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) + .setServiceName(clientVarExpr.variable().identifier().name()) .setRpcName(method.name()) .setIsAsynchronous(true) .build(); @@ -933,8 +928,7 @@ private static Sample composeStreamClientSample( RegionTag regionTag = RegionTag.builder() - .setServiceName( - ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) + .setServiceName(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 2c00498e4fc..6c3389b865b 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,7 +27,6 @@ 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; @@ -207,7 +206,7 @@ public static Sample composeSetCredentialsSample(TypeNode clientType, TypeNode s ExprStatement.withExpr(initSettingsVarExpr), ExprStatement.withExpr(initClientVarExpr)); RegionTag regionTag = RegionTag.builder() - .setServiceName(ClassNames.getPureServiceName(clientName)) + .setServiceName(clientName) .setRpcName(rpcName) .setOverloadDisambiguation("setCredentialsProvider") .build(); @@ -274,7 +273,7 @@ public static Sample composeSetEndpointSample(TypeNode clientType, TypeNode sett .build(); RegionTag regionTag = RegionTag.builder() - .setServiceName(ClassNames.getPureServiceName(clientName)) + .setServiceName(clientName) .setRpcName(rpcName) .setOverloadDisambiguation("setEndpoint") .build(); @@ -347,7 +346,7 @@ public static Sample composeTransportSample( ExprStatement.withExpr(initSettingsVarExpr), ExprStatement.withExpr(initClientVarExpr)); RegionTag regionTag = RegionTag.builder() - .setServiceName(ClassNames.getPureServiceName(clientName)) + .setServiceName(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 5a451735950..f93383c7298 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,7 +27,6 @@ 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; @@ -58,8 +57,7 @@ public static Sample composeEmptyServiceSample(TypeNode clientType) { RegionTag regionTag = RegionTag.builder() - .setServiceName( - ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) + .setServiceName(clientVarExpr.variable().identifier().name()) .setRpcName("emtpy") .build(); @@ -171,8 +169,7 @@ static Sample composeSample( RegionTag regionTag = RegionTag.builder() - .setServiceName( - ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) + .setServiceName(clientVarExpr.variable().identifier().name()) .setRpcName(method.name()) .setOverloadDisambiguation( SampleComposerUtil.createOverloadDisambiguation(rpcMethodArgVarExprs)) @@ -246,8 +243,7 @@ static Sample composePagedSample( RegionTag regionTag = RegionTag.builder() - .setServiceName( - ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) + .setServiceName(clientVarExpr.variable().identifier().name()) .setRpcName(method.name()) .setOverloadDisambiguation( SampleComposerUtil.createOverloadDisambiguation(rpcMethodArgVarExprs)) @@ -297,8 +293,7 @@ static Sample composeLroSample( } RegionTag regionTag = RegionTag.builder() - .setServiceName( - ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) + .setServiceName(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 9d3a93162ba..c0b717fc0a0 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,8 +15,6 @@ 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; @@ -26,8 +24,7 @@ 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 CLIENT_SUFFIX = "Client"; - private static final String SERVICE_CLIENT_CLASS_NAME_PATTERN = "%s" + CLIENT_SUFFIX; + private static final String SERVICE_CLIENT_CLASS_NAME_PATTERN = "%sClient"; 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"; @@ -123,11 +120,4 @@ 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( - "%s", - Iterables.getFirst(Splitter.on(CLIENT_SUFFIX).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 e4643de654b..29bb98eeef3 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,8 +138,7 @@ public String generate() { if (!apiVersion().isEmpty()) { rt = rt + apiVersion() + "_"; } - rt = rt.toLowerCase() + "generated_" + serviceName() + "_" + rpcName(); - // TODO: @alicejli overloadDisambiguation will need to be updated to match other languages + rt = rt + "generated_" + serviceName() + "_" + rpcName(); if (!overloadDisambiguation().isEmpty()) { rt = rt + "_" + overloadDisambiguation(); } @@ -149,7 +148,7 @@ public String generate() { rt = rt + "_sync"; } - return rt; + return rt.toLowerCase(); } 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 87236a1311d..a11e0c5ad1e 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_Bookshop_GetBook_async] +// [START goldensample_generated_bookshopclient_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_Bookshop_GetBook_async] +// [END goldensample_generated_bookshopclient_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 346f1125da3..c34c8e5acef 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_Bookshop_Create_SetCredentialsProvider_sync] +// [START goldensample_generated_bookshopclient_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_Bookshop_Create_SetCredentialsProvider_sync] +// [END goldensample_generated_bookshopclient_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 43cd64aa7ca..5ab576b5abd 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_Bookshop_Create_SetEndpoint_sync] +// [START goldensample_generated_bookshopclient_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_Bookshop_Create_SetEndpoint_sync] +// [END goldensample_generated_bookshopclient_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 bd89a8fc058..9bcbe398621 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_Bookshop_GetBook_sync] +// [START goldensample_generated_bookshopclient_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_Bookshop_GetBook_sync] +// [END goldensample_generated_bookshopclient_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 31c6a24d018..698f2a11381 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_Bookshop_GetBook_IntListbook_sync] +// [START goldensample_generated_bookshopclient_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_Bookshop_GetBook_IntListbook_sync] +// [END goldensample_generated_bookshopclient_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 f2d3903e1b4..c893608c2e7 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_Bookshop_GetBook_StringListbook_sync] +// [START goldensample_generated_bookshopclient_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_Bookshop_GetBook_StringListbook_sync] +// [END goldensample_generated_bookshopclient_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 ea0ae6c62de..c47156c7d94 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_DeprecatedService_FastFibonacci_async] +// [START goldensample_generated_deprecatedserviceclient_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_DeprecatedService_FastFibonacci_async] +// [END goldensample_generated_deprecatedserviceclient_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 3e4f69d714c..fdb781354b4 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_DeprecatedService_SlowFibonacci_async] +// [START goldensample_generated_deprecatedserviceclient_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_DeprecatedService_SlowFibonacci_async] +// [END goldensample_generated_deprecatedserviceclient_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 34f20df610e..2d9e73b8914 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_DeprecatedService_Create_SetCredentialsProvider_sync] +// [START goldensample_generated_deprecatedserviceclient_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_DeprecatedService_Create_SetCredentialsProvider_sync] +// [END goldensample_generated_deprecatedserviceclient_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 8d5f08f8af4..24400c927b6 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_DeprecatedService_Create_SetEndpoint_sync] +// [START goldensample_generated_deprecatedserviceclient_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_DeprecatedService_Create_SetEndpoint_sync] +// [END goldensample_generated_deprecatedserviceclient_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 e067991442a..e05200321d9 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_DeprecatedService_FastFibonacci_sync] +// [START goldensample_generated_deprecatedserviceclient_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_DeprecatedService_FastFibonacci_sync] +// [END goldensample_generated_deprecatedserviceclient_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 a6dfe7ece4f..d9f5432437b 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_DeprecatedService_SlowFibonacci_sync] +// [START goldensample_generated_deprecatedserviceclient_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_DeprecatedService_SlowFibonacci_sync] +// [END goldensample_generated_deprecatedserviceclient_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 fcb76902709..c62c2f43d8b 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_Echo_Block_async] +// [START goldensample_generated_echoclient_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_Echo_Block_async] +// [END goldensample_generated_echoclient_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 2ef5f41da6d..8b359c46f53 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_Echo_Chat_async] +// [START goldensample_generated_echoclient_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_Echo_Chat_async] +// [END goldensample_generated_echoclient_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 4e8eaa63f41..90331b833e3 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_Echo_ChatAgain_async] +// [START goldensample_generated_echoclient_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_Echo_ChatAgain_async] +// [END goldensample_generated_echoclient_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 b2ff87a8c43..d51c9aeae28 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_Echo_Collect_async] +// [START goldensample_generated_echoclient_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_Echo_Collect_async] +// [END goldensample_generated_echoclient_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 8a13eb4386a..a2886c00013 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_Echo_CollideName_async] +// [START goldensample_generated_echoclient_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_Echo_CollideName_async] +// [END goldensample_generated_echoclient_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 1188e05d7e0..4ee2bc4cd12 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_Echo_Echo_async] +// [START goldensample_generated_echoclient_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_Echo_Echo_async] +// [END goldensample_generated_echoclient_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 3d804cf6258..51d367798c8 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_Echo_Expand_async] +// [START goldensample_generated_echoclient_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_Echo_Expand_async] +// [END goldensample_generated_echoclient_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 653f0c24898..0e8b197ad33 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_Echo_PagedExpand_async] +// [START goldensample_generated_echoclient_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_Echo_PagedExpand_async] +// [END goldensample_generated_echoclient_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 854477fe8f7..0ae0cab7d64 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_Echo_PagedExpand_Paged_async] +// [START goldensample_generated_echoclient_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_Echo_PagedExpand_Paged_async] +// [END goldensample_generated_echoclient_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 d0decc78d65..e944abb1a32 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_Echo_SimplePagedExpand_async] +// [START goldensample_generated_echoclient_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_Echo_SimplePagedExpand_async] +// [END goldensample_generated_echoclient_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 0ab1bb26200..058295f62ee 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_Echo_SimplePagedExpand_Paged_async] +// [START goldensample_generated_echoclient_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_Echo_SimplePagedExpand_Paged_async] +// [END goldensample_generated_echoclient_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 b433d3de7bc..0bb588d43a6 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_Echo_Wait_async] +// [START goldensample_generated_echoclient_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_Echo_Wait_async] +// [END goldensample_generated_echoclient_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 ee7219e6a5b..205131670a0 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_Echo_Wait_LRO_async] +// [START goldensample_generated_echoclient_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_Echo_Wait_LRO_async] +// [END goldensample_generated_echoclient_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 49083f06a5e..f77e29adf90 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_Echo_Block_sync] +// [START goldensample_generated_echoclient_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_Echo_Block_sync] +// [END goldensample_generated_echoclient_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 f54228fe7bf..5d412efe85f 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_Echo_CollideName_sync] +// [START goldensample_generated_echoclient_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_Echo_CollideName_sync] +// [END goldensample_generated_echoclient_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 137d71af02e..fbcaeceee30 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_Echo_Create_SetCredentialsProvider_sync] +// [START goldensample_generated_echoclient_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_Echo_Create_SetCredentialsProvider_sync] +// [END goldensample_generated_echoclient_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 b6a2ea7d5bb..7e5bdd85c8c 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_Echo_Create_SetEndpoint_sync] +// [START goldensample_generated_echoclient_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_Echo_Create_SetEndpoint_sync] +// [END goldensample_generated_echoclient_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 c17dbf2e4a1..404cd05a889 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_Echo_Echo_sync] +// [START goldensample_generated_echoclient_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_Echo_Echo_sync] +// [END goldensample_generated_echoclient_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 dd60585688c..99d0105b4d2 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_Echo_Echo_Foobarname_sync] +// [START goldensample_generated_echoclient_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_Echo_Echo_Foobarname_sync] +// [END goldensample_generated_echoclient_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 7876817dacd..1939f2941ff 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_Echo_Echo_Noargs_sync] +// [START goldensample_generated_echoclient_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_Echo_Echo_Noargs_sync] +// [END goldensample_generated_echoclient_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 8f06e73ae8f..a6bff404dfb 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_Echo_Echo_Resourcename_sync] +// [START goldensample_generated_echoclient_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_Echo_Echo_Resourcename_sync] +// [END goldensample_generated_echoclient_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 292f2fd9901..b9471f8203b 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_Echo_Echo_Status_sync] +// [START goldensample_generated_echoclient_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_Echo_Echo_Status_sync] +// [END goldensample_generated_echoclient_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 32f664871ee..bb9c0bc308e 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_Echo_Echo_String_sync] +// [START goldensample_generated_echoclient_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_Echo_Echo_String_sync] +// [END goldensample_generated_echoclient_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 96630803f28..8bc3c4036cf 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_Echo_Echo_String1_sync] +// [START goldensample_generated_echoclient_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_Echo_Echo_String1_sync] +// [END goldensample_generated_echoclient_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 eccc2e54f9c..268b1c769e2 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_Echo_Echo_String2_sync] +// [START goldensample_generated_echoclient_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_Echo_Echo_String2_sync] +// [END goldensample_generated_echoclient_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 966053a99d3..5a62b9f4ad9 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_Echo_Echo_StringSeverity_sync] +// [START goldensample_generated_echoclient_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_Echo_Echo_StringSeverity_sync] +// [END goldensample_generated_echoclient_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 b30d6266992..4ae90f53cc3 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_Echo_PagedExpand_sync] +// [START goldensample_generated_echoclient_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_Echo_PagedExpand_sync] +// [END goldensample_generated_echoclient_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 ba9caf61332..11bc4352c58 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_Echo_SimplePagedExpand_sync] +// [START goldensample_generated_echoclient_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_Echo_SimplePagedExpand_sync] +// [END goldensample_generated_echoclient_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 050f9b3d743..40ef059d89a 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_Echo_SimplePagedExpand_Noargs_sync] +// [START goldensample_generated_echoclient_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_Echo_SimplePagedExpand_Noargs_sync] +// [END goldensample_generated_echoclient_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 426785177cb..07679a60e19 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_Echo_Wait_sync] +// [START goldensample_generated_echoclient_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_Echo_Wait_sync] +// [END goldensample_generated_echoclient_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 c045e0e3ec0..9bec9d30ef5 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_Echo_Wait_Duration_sync] +// [START goldensample_generated_echoclient_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_Echo_Wait_Duration_sync] +// [END goldensample_generated_echoclient_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 c4cfdca1531..58e6f3464cc 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_Echo_Wait_Timestamp_sync] +// [START goldensample_generated_echoclient_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_Echo_Wait_Timestamp_sync] +// [END goldensample_generated_echoclient_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 42b3f903073..5746bce7258 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_Identity_CreateUser_async] +// [START goldensample_generated_identityclient_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_Identity_CreateUser_async] +// [END goldensample_generated_identityclient_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 09d4bf8625b..e2a2d793161 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_Identity_DeleteUser_async] +// [START goldensample_generated_identityclient_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_Identity_DeleteUser_async] +// [END goldensample_generated_identityclient_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 ab82342d694..fe848f43d23 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_Identity_GetUser_async] +// [START goldensample_generated_identityclient_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_Identity_GetUser_async] +// [END goldensample_generated_identityclient_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 07b5e7b7617..a5aa944c8f3 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_Identity_ListUsers_async] +// [START goldensample_generated_identityclient_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_Identity_ListUsers_async] +// [END goldensample_generated_identityclient_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 2dd52c01a9d..9b7cafa65d5 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_Identity_ListUsers_Paged_async] +// [START goldensample_generated_identityclient_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_Identity_ListUsers_Paged_async] +// [END goldensample_generated_identityclient_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 6a77b3f29d8..be449122970 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_Identity_UpdateUser_async] +// [START goldensample_generated_identityclient_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_Identity_UpdateUser_async] +// [END goldensample_generated_identityclient_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 170fb27fb16..f859c452dee 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_Identity_Create_SetCredentialsProvider_sync] +// [START goldensample_generated_identityclient_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_Identity_Create_SetCredentialsProvider_sync] +// [END goldensample_generated_identityclient_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 33dd94a49b9..015f9dfcd79 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_Identity_Create_SetEndpoint_sync] +// [START goldensample_generated_identityclient_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_Identity_Create_SetEndpoint_sync] +// [END goldensample_generated_identityclient_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 7fb81d997e8..7d8c03e141f 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_Identity_CreateUser_sync] +// [START goldensample_generated_identityclient_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_Identity_CreateUser_sync] +// [END goldensample_generated_identityclient_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 39feaa06d34..d8b266a31ad 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_Identity_CreateUser_StringStringString_sync] +// [START goldensample_generated_identityclient_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_Identity_CreateUser_StringStringString_sync] +// [END goldensample_generated_identityclient_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 338a1262a21..6556a596f1a 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_Identity_CreateUser_StringStringStringIntStringBooleanDouble_sync] +// [START goldensample_generated_identityclient_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_Identity_CreateUser_StringStringStringIntStringBooleanDouble_sync] +// [END goldensample_generated_identityclient_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 e56b757fe64..ac1a283fd26 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_Identity_CreateUser_StringStringStringStringStringIntStringStringStringString_sync] +// [START goldensample_generated_identityclient_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_Identity_CreateUser_StringStringStringStringStringIntStringStringStringString_sync] +// [END goldensample_generated_identityclient_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 1142599cce9..53c45c3cbbb 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_Identity_DeleteUser_sync] +// [START goldensample_generated_identityclient_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_Identity_DeleteUser_sync] +// [END goldensample_generated_identityclient_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 a809efb619b..eece238c020 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_Identity_DeleteUser_String_sync] +// [START goldensample_generated_identityclient_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_Identity_DeleteUser_String_sync] +// [END goldensample_generated_identityclient_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 742b1e748c6..b5be27d6ef1 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_Identity_DeleteUser_Username_sync] +// [START goldensample_generated_identityclient_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_Identity_DeleteUser_Username_sync] +// [END goldensample_generated_identityclient_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 e3bf8023014..b1365f3b996 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_Identity_GetUser_sync] +// [START goldensample_generated_identityclient_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_Identity_GetUser_sync] +// [END goldensample_generated_identityclient_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 73c4cf2bba5..44a6a17256f 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_Identity_GetUser_String_sync] +// [START goldensample_generated_identityclient_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_Identity_GetUser_String_sync] +// [END goldensample_generated_identityclient_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 4af40f648db..409787850e3 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_Identity_GetUser_Username_sync] +// [START goldensample_generated_identityclient_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_Identity_GetUser_Username_sync] +// [END goldensample_generated_identityclient_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 d1115843310..1fa89b2cf7c 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_Identity_ListUsers_sync] +// [START goldensample_generated_identityclient_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_Identity_ListUsers_sync] +// [END goldensample_generated_identityclient_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 beca349fe10..919953f7624 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_Identity_UpdateUser_sync] +// [START goldensample_generated_identityclient_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_Identity_UpdateUser_sync] +// [END goldensample_generated_identityclient_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 1527fbf21cc..7c844cce850 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_Messaging_Connect_async] +// [START goldensample_generated_messagingclient_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_Messaging_Connect_async] +// [END goldensample_generated_messagingclient_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 7d4dedad14a..f015b74a58b 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_Messaging_CreateBlurb_async] +// [START goldensample_generated_messagingclient_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_Messaging_CreateBlurb_async] +// [END goldensample_generated_messagingclient_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 0b97e48893d..e0dc0aedac5 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_Messaging_CreateRoom_async] +// [START goldensample_generated_messagingclient_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_Messaging_CreateRoom_async] +// [END goldensample_generated_messagingclient_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 541b576c498..8eabcc893ac 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_Messaging_DeleteBlurb_async] +// [START goldensample_generated_messagingclient_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_Messaging_DeleteBlurb_async] +// [END goldensample_generated_messagingclient_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 a848b991955..ebe5be44c25 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_Messaging_DeleteRoom_async] +// [START goldensample_generated_messagingclient_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_Messaging_DeleteRoom_async] +// [END goldensample_generated_messagingclient_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 91561164d4b..627465df2da 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_Messaging_GetBlurb_async] +// [START goldensample_generated_messagingclient_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_Messaging_GetBlurb_async] +// [END goldensample_generated_messagingclient_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 e18adcb4fe2..caa0b727dec 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_Messaging_GetRoom_async] +// [START goldensample_generated_messagingclient_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_Messaging_GetRoom_async] +// [END goldensample_generated_messagingclient_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 f61cbee5ecc..1f2eb73d9dd 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_Messaging_ListBlurbs_async] +// [START goldensample_generated_messagingclient_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_Messaging_ListBlurbs_async] +// [END goldensample_generated_messagingclient_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 261b3be58b7..37928394c73 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_Messaging_ListBlurbs_Paged_async] +// [START goldensample_generated_messagingclient_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_Messaging_ListBlurbs_Paged_async] +// [END goldensample_generated_messagingclient_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 0fa5c5dd312..a658df0faeb 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_Messaging_ListRooms_async] +// [START goldensample_generated_messagingclient_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_Messaging_ListRooms_async] +// [END goldensample_generated_messagingclient_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 83a9c04205b..58686d44a7f 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_Messaging_ListRooms_Paged_async] +// [START goldensample_generated_messagingclient_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_Messaging_ListRooms_Paged_async] +// [END goldensample_generated_messagingclient_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 a492728b11a..6161b2e1044 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_Messaging_SearchBlurbs_async] +// [START goldensample_generated_messagingclient_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_Messaging_SearchBlurbs_async] +// [END goldensample_generated_messagingclient_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 c4db52aceba..73dac257ea3 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_Messaging_SearchBlurbs_LRO_async] +// [START goldensample_generated_messagingclient_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_Messaging_SearchBlurbs_LRO_async] +// [END goldensample_generated_messagingclient_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 9275afa82b7..6f608c23dc2 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_Messaging_SendBlurbs_async] +// [START goldensample_generated_messagingclient_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_Messaging_SendBlurbs_async] +// [END goldensample_generated_messagingclient_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 eeefc7952ea..6588736a1dd 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_Messaging_StreamBlurbs_async] +// [START goldensample_generated_messagingclient_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_Messaging_StreamBlurbs_async] +// [END goldensample_generated_messagingclient_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 f7b197c1940..c7e73b86384 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_Messaging_UpdateBlurb_async] +// [START goldensample_generated_messagingclient_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_Messaging_UpdateBlurb_async] +// [END goldensample_generated_messagingclient_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 7bdf9bed179..c8bc11c5ba4 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_Messaging_UpdateRoom_async] +// [START goldensample_generated_messagingclient_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_Messaging_UpdateRoom_async] +// [END goldensample_generated_messagingclient_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 57d0f0c1801..00fb6d9940f 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_Messaging_CreateBlurb_sync] +// [START goldensample_generated_messagingclient_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_Messaging_CreateBlurb_sync] +// [END goldensample_generated_messagingclient_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 ab5a62701c0..f9d342accf5 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_Messaging_CreateBlurb_ProfilenameBytestring_sync] +// [START goldensample_generated_messagingclient_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_Messaging_CreateBlurb_ProfilenameBytestring_sync] +// [END goldensample_generated_messagingclient_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 a7efb77b5d8..f165c7ef767 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_Messaging_CreateBlurb_ProfilenameString_sync] +// [START goldensample_generated_messagingclient_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_Messaging_CreateBlurb_ProfilenameString_sync] +// [END goldensample_generated_messagingclient_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 143145ac959..2818243a509 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_Messaging_CreateBlurb_RoomnameBytestring_sync] +// [START goldensample_generated_messagingclient_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_Messaging_CreateBlurb_RoomnameBytestring_sync] +// [END goldensample_generated_messagingclient_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 8b7d8c6bbfc..f05bd4f87bb 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_Messaging_CreateBlurb_RoomnameString_sync] +// [START goldensample_generated_messagingclient_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_Messaging_CreateBlurb_RoomnameString_sync] +// [END goldensample_generated_messagingclient_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 08e2fc9a9b6..3e630a4b158 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_Messaging_CreateBlurb_StringBytestring_sync] +// [START goldensample_generated_messagingclient_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_Messaging_CreateBlurb_StringBytestring_sync] +// [END goldensample_generated_messagingclient_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 f77ae6eb0fe..562d27535ab 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_Messaging_CreateBlurb_StringString_sync] +// [START goldensample_generated_messagingclient_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_Messaging_CreateBlurb_StringString_sync] +// [END goldensample_generated_messagingclient_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 f1ac7b0bf84..57b517225b7 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_Messaging_CreateRoom_sync] +// [START goldensample_generated_messagingclient_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_Messaging_CreateRoom_sync] +// [END goldensample_generated_messagingclient_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 05a335d704e..ebcc0cc72d9 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_Messaging_CreateRoom_StringString_sync] +// [START goldensample_generated_messagingclient_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_Messaging_CreateRoom_StringString_sync] +// [END goldensample_generated_messagingclient_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 2707298f00b..ae4425a5e17 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_Messaging_Create_SetCredentialsProvider_sync] +// [START goldensample_generated_messagingclient_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_Messaging_Create_SetCredentialsProvider_sync] +// [END goldensample_generated_messagingclient_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 53141d54fff..8bc4e45e0b7 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_Messaging_Create_SetEndpoint_sync] +// [START goldensample_generated_messagingclient_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_Messaging_Create_SetEndpoint_sync] +// [END goldensample_generated_messagingclient_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 16d8a416236..c641dd92729 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_Messaging_DeleteBlurb_sync] +// [START goldensample_generated_messagingclient_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_Messaging_DeleteBlurb_sync] +// [END goldensample_generated_messagingclient_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 752875d9957..f6a585d8be9 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_Messaging_DeleteBlurb_Blurbname_sync] +// [START goldensample_generated_messagingclient_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_Messaging_DeleteBlurb_Blurbname_sync] +// [END goldensample_generated_messagingclient_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 c52c8d070fd..16378885d7d 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_Messaging_DeleteBlurb_String_sync] +// [START goldensample_generated_messagingclient_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_Messaging_DeleteBlurb_String_sync] +// [END goldensample_generated_messagingclient_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 621d024d15b..23baa1c773a 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_Messaging_DeleteRoom_sync] +// [START goldensample_generated_messagingclient_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_Messaging_DeleteRoom_sync] +// [END goldensample_generated_messagingclient_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 bd203c14839..91d32081b93 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_Messaging_DeleteRoom_Roomname_sync] +// [START goldensample_generated_messagingclient_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_Messaging_DeleteRoom_Roomname_sync] +// [END goldensample_generated_messagingclient_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 d65c2b43ddb..b9e4c5883d0 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_Messaging_DeleteRoom_String_sync] +// [START goldensample_generated_messagingclient_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_Messaging_DeleteRoom_String_sync] +// [END goldensample_generated_messagingclient_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 16570a645d5..0983642a83e 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_Messaging_GetBlurb_sync] +// [START goldensample_generated_messagingclient_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_Messaging_GetBlurb_sync] +// [END goldensample_generated_messagingclient_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 012a36a6dad..cf2f6fbacb2 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_Messaging_GetBlurb_Blurbname_sync] +// [START goldensample_generated_messagingclient_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_Messaging_GetBlurb_Blurbname_sync] +// [END goldensample_generated_messagingclient_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 ec7957a5d60..f82f4e7bc13 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_Messaging_GetBlurb_String_sync] +// [START goldensample_generated_messagingclient_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_Messaging_GetBlurb_String_sync] +// [END goldensample_generated_messagingclient_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 12aef664c15..78b7d13b616 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_Messaging_GetRoom_sync] +// [START goldensample_generated_messagingclient_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_Messaging_GetRoom_sync] +// [END goldensample_generated_messagingclient_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 b732876cb22..56da552417f 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_Messaging_GetRoom_Roomname_sync] +// [START goldensample_generated_messagingclient_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_Messaging_GetRoom_Roomname_sync] +// [END goldensample_generated_messagingclient_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 ce6113ed1a6..f35f28cc904 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_Messaging_GetRoom_String_sync] +// [START goldensample_generated_messagingclient_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_Messaging_GetRoom_String_sync] +// [END goldensample_generated_messagingclient_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 af34fdbf296..cfc50e8565a 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_Messaging_ListBlurbs_sync] +// [START goldensample_generated_messagingclient_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_Messaging_ListBlurbs_sync] +// [END goldensample_generated_messagingclient_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 ce95287fb5d..dfd515f13fc 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_Messaging_ListBlurbs_Profilename_sync] +// [START goldensample_generated_messagingclient_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_Messaging_ListBlurbs_Profilename_sync] +// [END goldensample_generated_messagingclient_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 f3bac1b2b5d..0272c5ea934 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_Messaging_ListBlurbs_Roomname_sync] +// [START goldensample_generated_messagingclient_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_Messaging_ListBlurbs_Roomname_sync] +// [END goldensample_generated_messagingclient_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 89f24d8d1b9..67d02e0c28c 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_Messaging_ListBlurbs_String_sync] +// [START goldensample_generated_messagingclient_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_Messaging_ListBlurbs_String_sync] +// [END goldensample_generated_messagingclient_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 0318e808561..780a3fd2132 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_Messaging_ListRooms_sync] +// [START goldensample_generated_messagingclient_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_Messaging_ListRooms_sync] +// [END goldensample_generated_messagingclient_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 09e3843acc3..76bd8b75b6e 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_Messaging_SearchBlurbs_sync] +// [START goldensample_generated_messagingclient_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_Messaging_SearchBlurbs_sync] +// [END goldensample_generated_messagingclient_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 2fbae355015..6ba0ae6e5a3 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_Messaging_SearchBlurbs_String_sync] +// [START goldensample_generated_messagingclient_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_Messaging_SearchBlurbs_String_sync] +// [END goldensample_generated_messagingclient_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 cc949cd2e27..eeaaa911d0e 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_Messaging_UpdateBlurb_sync] +// [START goldensample_generated_messagingclient_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_Messaging_UpdateBlurb_sync] +// [END goldensample_generated_messagingclient_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 f532f73957a..7999de51dc3 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_Messaging_UpdateRoom_sync] +// [START goldensample_generated_messagingclient_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_Messaging_UpdateRoom_sync] +// [END goldensample_generated_messagingclient_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 5d031b7c77b..9cbdba2f24f 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 90cd534cee8..325533a9b80 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 7417d5b42e6..0d33be22fea 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 a72b00ae239..bc1c42a9fd9 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 968fb982979..7a97d3f41b1 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 042d351178d..47814df155c 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 d34c2d67142..679b7684a83 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 726166861d3..99aea60849b 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 deleted file mode 100644 index b393a5bed31..00000000000 --- a/src/test/java/com/google/api/generator/gapic/composer/utils/ClassNamesTest.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 e3a96fbd218..a45d206de99 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); } } diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java index 481d6489223..f8a8404fb2b 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_AnalyzeIamPolicy_async] +// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicy_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java index c12b5a21e47..8a1b602a87a 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_AnalyzeIamPolicy_sync] +// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicy_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java index b7aa2417023..a6ce1cb3b74 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_AnalyzeIamPolicyLongrunning_async] +// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java index 1cdfa54f629..6ae9138184c 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_LRO_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_AnalyzeIamPolicyLongrunning_LRO_async] +// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_lro_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java index 713f7e80bf8..e2c6cc61bfb 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_AnalyzeIamPolicyLongrunning_sync] +// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java index f0d93d7947c..ac73e77a376 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_AnalyzeMove_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_AnalyzeMove_async] +// [END cloudasset_v1_generated_assetserviceclient_analyzemove_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java index be0348481f2..b79e89dc7cf 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_AnalyzeMove_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_AnalyzeMove_sync] +// [END cloudasset_v1_generated_assetserviceclient_analyzemove_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java index d031b2073bc..63f45e8ccaa 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_BatchGetAssetsHistory_async] +// [END cloudasset_v1_generated_assetserviceclient_batchgetassetshistory_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java index 06719a2b834..b5f15f06511 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_BatchGetAssetsHistory_sync] +// [END cloudasset_v1_generated_assetserviceclient_batchgetassetshistory_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java index 00ad2cefc51..4d4016e4c1a 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_Create_SetCredentialsProvider_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_Create_SetCredentialsProvider_sync] +// [END cloudasset_v1_generated_assetserviceclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java index 5ede353237e..edf19aaab1b 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_Create_SetEndpoint_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_Create_SetEndpoint_sync] +// [END cloudasset_v1_generated_assetserviceclient_create_setendpoint_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java index f33ae5d4c0c..5c3beea239b 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_CreateFeed_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_CreateFeed_async] +// [END cloudasset_v1_generated_assetserviceclient_createfeed_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java index cd83f15a3b6..9e38918b80e 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_CreateFeed_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_CreateFeed_sync] +// [END cloudasset_v1_generated_assetserviceclient_createfeed_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java similarity index 90% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java index f6fc682365a..dab302c7bf0 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_CreateFeed_String_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_CreateFeed_String_sync] +// [END cloudasset_v1_generated_assetserviceclient_createfeed_string_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java index f37354d8753..8f080478295 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_DeleteFeed_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_DeleteFeed_async] +// [END cloudasset_v1_generated_assetserviceclient_deletefeed_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java index 051f44738cf..b7f134f14a3 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_DeleteFeed_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_DeleteFeed_sync] +// [END cloudasset_v1_generated_assetserviceclient_deletefeed_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java index ca8460944c6..1722e7491b9 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_DeleteFeed_Feedname_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_DeleteFeed_Feedname_sync] +// [END cloudasset_v1_generated_assetserviceclient_deletefeed_feedname_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java index 7430704233a..08ed770e306 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_DeleteFeed_String_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_DeleteFeed_String_sync] +// [END cloudasset_v1_generated_assetserviceclient_deletefeed_string_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java similarity index 94% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java index db5d6263544..6781343b096 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_ExportAssets_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_ExportAssets_async] +// [END cloudasset_v1_generated_assetserviceclient_exportassets_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java similarity index 94% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java index 09d797bd50b..c097beb7dcf 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_ExportAssets_LRO_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_ExportAssets_LRO_async] +// [END cloudasset_v1_generated_assetserviceclient_exportassets_lro_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java index 60b9bc44343..ba8621fec46 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_ExportAssets_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_ExportAssets_sync] +// [END cloudasset_v1_generated_assetserviceclient_exportassets_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java index 8acd1e2b026..4793d5051fc 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_GetFeed_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_GetFeed_async] +// [END cloudasset_v1_generated_assetserviceclient_getfeed_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java index f6813afc5fd..49f0b8e4753 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_GetFeed_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_GetFeed_sync] +// [END cloudasset_v1_generated_assetserviceclient_getfeed_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java index 978518747f9..6e7d947a774 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_GetFeed_Feedname_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_GetFeed_Feedname_sync] +// [END cloudasset_v1_generated_assetserviceclient_getfeed_feedname_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java index e85a2f8f775..c9940d9c27f 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_GetFeed_String_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_GetFeed_String_sync] +// [END cloudasset_v1_generated_assetserviceclient_getfeed_string_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java similarity index 94% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java index d20f247b002..75ae0c197cd 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_ListAssets_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_ListAssets_async] +// [END cloudasset_v1_generated_assetserviceclient_listassets_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java similarity index 94% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java index ff9fb130eae..903af880c0f 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_ListAssets_Paged_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_ListAssets_Paged_async] +// [END cloudasset_v1_generated_assetserviceclient_listassets_paged_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java similarity index 94% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java index ce3f71caa0d..0f257a0265b 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_ListAssets_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_ListAssets_sync] +// [END cloudasset_v1_generated_assetserviceclient_listassets_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java index bef9f5c1256..15a6333d9ba 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_ListAssets_Resourcename_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_ListAssets_Resourcename_sync] +// [END cloudasset_v1_generated_assetserviceclient_listassets_resourcename_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java index 6c87901659b..12b46b64273 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_ListAssets_String_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_ListAssets_String_sync] +// [END cloudasset_v1_generated_assetserviceclient_listassets_string_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java index 4207a2ba55e..9d3a8270d99 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_ListFeeds_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_ListFeeds_async] +// [END cloudasset_v1_generated_assetserviceclient_listfeeds_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java index 8f4c9daa948..5fb1b064888 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_ListFeeds_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_ListFeeds_sync] +// [END cloudasset_v1_generated_assetserviceclient_listfeeds_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java index 3c94affab09..1d4549559ea 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_ListFeeds_String_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_ListFeeds_String_sync] +// [END cloudasset_v1_generated_assetserviceclient_listfeeds_string_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java index 12d0a7e1831..8cba242783b 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_SearchAllIamPolicies_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_SearchAllIamPolicies_async] +// [END cloudasset_v1_generated_assetserviceclient_searchalliampolicies_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java index 73e34398620..ee775393474 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_SearchAllIamPolicies_Paged_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_SearchAllIamPolicies_Paged_async] +// [END cloudasset_v1_generated_assetserviceclient_searchalliampolicies_paged_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java index 76c9f0f56b1..0268fc4940c 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_SearchAllIamPolicies_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_SearchAllIamPolicies_sync] +// [END cloudasset_v1_generated_assetserviceclient_searchalliampolicies_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java similarity index 90% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java index 61af31efa38..6a8ba3ea408 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_SearchAllIamPolicies_StringString_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_SearchAllIamPolicies_StringString_sync] +// [END cloudasset_v1_generated_assetserviceclient_searchalliampolicies_stringstring_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java index 7fb2de5a480..cc09e4e8ddf 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_SearchAllResources_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_SearchAllResources_async] +// [END cloudasset_v1_generated_assetserviceclient_searchallresources_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java similarity index 94% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java index 06586914a24..01a66aa016b 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_SearchAllResources_Paged_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_SearchAllResources_Paged_async] +// [END cloudasset_v1_generated_assetserviceclient_searchallresources_paged_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java index 5f8724fe340..32b67c09a64 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_SearchAllResources_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_SearchAllResources_sync] +// [END cloudasset_v1_generated_assetserviceclient_searchallresources_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java similarity index 90% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java index b62bcc4348f..8c207e88fed 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_SearchAllResources_StringStringListstring_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_SearchAllResources_StringStringListstring_sync] +// [END cloudasset_v1_generated_assetserviceclient_searchallresources_stringstringliststring_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java index 8a0a05656fe..e5f5bad9f15 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_UpdateFeed_async] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_UpdateFeed_async] +// [END cloudasset_v1_generated_assetserviceclient_updatefeed_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java index b209292a957..c49e7302d5c 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_UpdateFeed_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_UpdateFeed_sync] +// [END cloudasset_v1_generated_assetserviceclient_updatefeed_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java index bdf9957e778..930eaa2345a 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_AssetService_UpdateFeed_Feed_sync] +// [START cloudasset_v1_generated_assetserviceclient_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_AssetService_UpdateFeed_Feed_sync] +// [END cloudasset_v1_generated_assetserviceclient_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 02f4b3c7712..3d5d3c829be 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 31de0fc5913..825f2fc417e 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/basebigtabledata/checkandmutaterow/AsyncCheckAndMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/AsyncCheckAndMutateRow.java similarity index 94% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/AsyncCheckAndMutateRow.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/AsyncCheckAndMutateRow.java index 5512d594243..c239cb97cce 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/AsyncCheckAndMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/AsyncCheckAndMutateRow.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_async] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_CheckAndMutateRow_async] +// [END bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_async] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRow.java similarity index 93% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRow.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRow.java index 6b77dd5c0dc..f091b9029c3 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRow.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_CheckAndMutateRow_sync] +// [END bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java similarity index 90% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java index 803d65bc7ba..7c13ec3e960 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_StringBytestringRowfilterListmutationListmutation_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_CheckAndMutateRow_StringBytestringRowfilterListmutationListmutation_sync] +// [END bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_stringbytestringrowfilterlistmutationlistmutation_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java similarity index 90% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java index 1280e1fa298..546c08d12bd 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_StringBytestringRowfilterListmutationListmutationString_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_CheckAndMutateRow_StringBytestringRowfilterListmutationListmutationString_sync] +// [END bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_stringbytestringrowfilterlistmutationlistmutationstring_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java similarity index 89% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java index 5cf895095e8..855a486e1ce 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_TablenameBytestringRowfilterListmutationListmutation_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_CheckAndMutateRow_TablenameBytestringRowfilterListmutationListmutation_sync] +// [END bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_tablenamebytestringrowfilterlistmutationlistmutation_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java similarity index 89% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java index 9cdcf53a07c..10427749d1a 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_TablenameBytestringRowfilterListmutationListmutationString_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_CheckAndMutateRow_TablenameBytestringRowfilterListmutationListmutationString_sync] +// [END bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_tablenamebytestringrowfilterlistmutationlistmutationstring_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/create/SyncCreateSetCredentialsProvider.java index f66938186f9..98cefb28e76 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_Create_SetCredentialsProvider_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_Create_SetCredentialsProvider_sync] +// [END bigtable_v2_generated_basebigtabledataclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/create/SyncCreateSetEndpoint.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/create/SyncCreateSetEndpoint.java index f6f57cfa511..508e397d2a7 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_Create_SetEndpoint_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_Create_SetEndpoint_sync] +// [END bigtable_v2_generated_basebigtabledataclient_create_setendpoint_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/AsyncMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/AsyncMutateRow.java similarity index 94% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/AsyncMutateRow.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/AsyncMutateRow.java index 50662848b66..c0cbcf32376 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/AsyncMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/AsyncMutateRow.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_MutateRow_async] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_MutateRow_async] +// [END bigtable_v2_generated_basebigtabledataclient_mutaterow_async] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRow.java similarity index 93% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRow.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRow.java index 2a781526b95..afe159a6139 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRow.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_MutateRow_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_MutateRow_sync] +// [END bigtable_v2_generated_basebigtabledataclient_mutaterow_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowStringBytestringListmutation.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowStringBytestringListmutation.java similarity index 90% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowStringBytestringListmutation.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowStringBytestringListmutation.java index cba00753a5f..11d1351a6e2 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowStringBytestringListmutation.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowStringBytestringListmutation.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_MutateRow_StringBytestringListmutation_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_MutateRow_StringBytestringListmutation_sync] +// [END bigtable_v2_generated_basebigtabledataclient_mutaterow_stringbytestringlistmutation_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowStringBytestringListmutationString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowStringBytestringListmutationString.java similarity index 90% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowStringBytestringListmutationString.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowStringBytestringListmutationString.java index cce51bae933..5aec68b28f0 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowStringBytestringListmutationString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowStringBytestringListmutationString.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_MutateRow_StringBytestringListmutationString_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_MutateRow_StringBytestringListmutationString_sync] +// [END bigtable_v2_generated_basebigtabledataclient_mutaterow_stringbytestringlistmutationstring_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowTablenameBytestringListmutation.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowTablenameBytestringListmutation.java similarity index 90% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowTablenameBytestringListmutation.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowTablenameBytestringListmutation.java index ae4227348bf..98649dea1b9 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowTablenameBytestringListmutation.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowTablenameBytestringListmutation.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_MutateRow_TablenameBytestringListmutation_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_MutateRow_TablenameBytestringListmutation_sync] +// [END bigtable_v2_generated_basebigtabledataclient_mutaterow_tablenamebytestringlistmutation_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java similarity index 90% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java index 2bc9e66996b..2aadd5ed5e3 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_MutateRow_TablenameBytestringListmutationString_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_MutateRow_TablenameBytestringListmutationString_sync] +// [END bigtable_v2_generated_basebigtabledataclient_mutaterow_tablenamebytestringlistmutationstring_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterows/AsyncMutateRows.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterows/AsyncMutateRows.java similarity index 93% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterows/AsyncMutateRows.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterows/AsyncMutateRows.java index ef7cc157a2d..06c1b8b1399 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterows/AsyncMutateRows.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterows/AsyncMutateRows.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_MutateRows_async] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_MutateRows_async] +// [END bigtable_v2_generated_basebigtabledataclient_mutaterows_async] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/AsyncReadModifyWriteRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/AsyncReadModifyWriteRow.java similarity index 93% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/AsyncReadModifyWriteRow.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/AsyncReadModifyWriteRow.java index 961a96ee4a1..25998e9002e 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/AsyncReadModifyWriteRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/AsyncReadModifyWriteRow.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_async] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_ReadModifyWriteRow_async] +// [END bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_async] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRow.java similarity index 93% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRow.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRow.java index 1c79af443d8..efc0c775195 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRow.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_ReadModifyWriteRow_sync] +// [END bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java similarity index 89% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java index 05c6a3709cb..9fe3f735346 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_StringBytestringListreadmodifywriterule_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_ReadModifyWriteRow_StringBytestringListreadmodifywriterule_sync] +// [END bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_stringbytestringlistreadmodifywriterule_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java similarity index 89% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java index 655f810290d..37c5e6bf522 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_StringBytestringListreadmodifywriteruleString_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_ReadModifyWriteRow_StringBytestringListreadmodifywriteruleString_sync] +// [END bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_stringbytestringlistreadmodifywriterulestring_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java similarity index 89% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java index 15f16dd17ed..1e89e38cc92 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_TablenameBytestringListreadmodifywriterule_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_ReadModifyWriteRow_TablenameBytestringListreadmodifywriterule_sync] +// [END bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_tablenamebytestringlistreadmodifywriterule_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java similarity index 89% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java index 5bfa5b796cb..b276b946bd7 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_TablenameBytestringListreadmodifywriteruleString_sync] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_ReadModifyWriteRow_TablenameBytestringListreadmodifywriteruleString_sync] +// [END bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_tablenamebytestringlistreadmodifywriterulestring_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readrows/AsyncReadRows.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readrows/AsyncReadRows.java similarity index 94% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readrows/AsyncReadRows.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readrows/AsyncReadRows.java index 745e7fbdc08..51328728895 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readrows/AsyncReadRows.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readrows/AsyncReadRows.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_ReadRows_async] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_ReadRows_async] +// [END bigtable_v2_generated_basebigtabledataclient_readrows_async] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/samplerowkeys/AsyncSampleRowKeys.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/samplerowkeys/AsyncSampleRowKeys.java similarity index 93% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/samplerowkeys/AsyncSampleRowKeys.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/samplerowkeys/AsyncSampleRowKeys.java index bd252a0f6d6..a2e0468a451 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/samplerowkeys/AsyncSampleRowKeys.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/samplerowkeys/AsyncSampleRowKeys.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_BaseBigtableData_SampleRowKeys_async] +// [START bigtable_v2_generated_basebigtabledataclient_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_BaseBigtableData_SampleRowKeys_async] +// [END bigtable_v2_generated_basebigtabledataclient_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 9b3ac3557e9..216212eac81 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 3194f8487c9..be5058d4a52 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/addresses/aggregatedlist/AsyncAggregatedList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/AsyncAggregatedList.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedList.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/AsyncAggregatedList.java index fd623a44bfa..2c48e6113d3 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/AsyncAggregatedList.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_AggregatedList_async] +// [START compute_v1small_generated_addressesclient_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_Addresses_AggregatedList_async] +// [END compute_v1small_generated_addressesclient_aggregatedlist_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedListPaged.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/AsyncAggregatedListPaged.java similarity index 94% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedListPaged.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/AsyncAggregatedListPaged.java index 333c757c68f..cc8ac494477 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedListPaged.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/AsyncAggregatedListPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_AggregatedList_Paged_async] +// [START compute_v1small_generated_addressesclient_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_Addresses_AggregatedList_Paged_async] +// [END compute_v1small_generated_addressesclient_aggregatedlist_paged_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/SyncAggregatedList.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedList.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/SyncAggregatedList.java index 21afc1d2c05..64c49a659c9 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/SyncAggregatedList.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_AggregatedList_sync] +// [START compute_v1small_generated_addressesclient_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_Addresses_AggregatedList_sync] +// [END compute_v1small_generated_addressesclient_aggregatedlist_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedListString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/SyncAggregatedListString.java similarity index 91% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedListString.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/SyncAggregatedListString.java index 0320dc1970b..8584dc26017 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedListString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/SyncAggregatedListString.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_AggregatedList_String_sync] +// [START compute_v1small_generated_addressesclient_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_Addresses_AggregatedList_String_sync] +// [END compute_v1small_generated_addressesclient_aggregatedlist_string_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/create/SyncCreateSetCredentialsProvider.java index ee626b38332..ba36dc70c41 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_Create_SetCredentialsProvider_sync] +// [START compute_v1small_generated_addressesclient_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_Addresses_Create_SetCredentialsProvider_sync] +// [END compute_v1small_generated_addressesclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetEndpoint.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/create/SyncCreateSetEndpoint.java index 49a9b34bf3e..8176f67fda3 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_Create_SetEndpoint_sync] +// [START compute_v1small_generated_addressesclient_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_Addresses_Create_SetEndpoint_sync] +// [END compute_v1small_generated_addressesclient_create_setendpoint_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDelete.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/AsyncDelete.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDelete.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/AsyncDelete.java index 53a63b72eb5..1beebc8372a 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDelete.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/AsyncDelete.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_Delete_async] +// [START compute_v1small_generated_addressesclient_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_Addresses_Delete_async] +// [END compute_v1small_generated_addressesclient_delete_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDeleteLRO.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/AsyncDeleteLRO.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDeleteLRO.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/AsyncDeleteLRO.java index 86c2dc59923..ce650ce3142 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDeleteLRO.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/AsyncDeleteLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_Delete_LRO_async] +// [START compute_v1small_generated_addressesclient_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_Addresses_Delete_LRO_async] +// [END compute_v1small_generated_addressesclient_delete_lro_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDelete.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/SyncDelete.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDelete.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/SyncDelete.java index 8cc976a9a17..ca1be3321b4 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDelete.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/SyncDelete.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_Delete_sync] +// [START compute_v1small_generated_addressesclient_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_Addresses_Delete_sync] +// [END compute_v1small_generated_addressesclient_delete_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDeleteStringStringString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/SyncDeleteStringStringString.java similarity index 91% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDeleteStringStringString.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/SyncDeleteStringStringString.java index d9152c6c411..85e0501168f 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDeleteStringStringString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/SyncDeleteStringStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_Delete_StringStringString_sync] +// [START compute_v1small_generated_addressesclient_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_Addresses_Delete_StringStringString_sync] +// [END compute_v1small_generated_addressesclient_delete_stringstringstring_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsert.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/AsyncInsert.java similarity index 94% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsert.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/AsyncInsert.java index c4004a223dc..be58773685d 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsert.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/AsyncInsert.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_Insert_async] +// [START compute_v1small_generated_addressesclient_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_Addresses_Insert_async] +// [END compute_v1small_generated_addressesclient_insert_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsertLRO.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/AsyncInsertLRO.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsertLRO.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/AsyncInsertLRO.java index 4e70ce04b14..502fe4c8e28 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsertLRO.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/AsyncInsertLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_Insert_LRO_async] +// [START compute_v1small_generated_addressesclient_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_Addresses_Insert_LRO_async] +// [END compute_v1small_generated_addressesclient_insert_lro_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsert.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/SyncInsert.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsert.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/SyncInsert.java index 3c38ab50fb5..494a59828e2 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsert.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/SyncInsert.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_Insert_sync] +// [START compute_v1small_generated_addressesclient_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_Addresses_Insert_sync] +// [END compute_v1small_generated_addressesclient_insert_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsertStringStringAddress.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/SyncInsertStringStringAddress.java similarity index 91% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsertStringStringAddress.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/SyncInsertStringStringAddress.java index 3f6d001f754..1e9683a4d10 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsertStringStringAddress.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/SyncInsertStringStringAddress.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_Insert_StringStringAddress_sync] +// [START compute_v1small_generated_addressesclient_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_Addresses_Insert_StringStringAddress_sync] +// [END compute_v1small_generated_addressesclient_insert_stringstringaddress_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/AsyncList.java similarity index 94% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncList.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/AsyncList.java index 89088a5a04b..af52a45ec7c 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/AsyncList.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_List_async] +// [START compute_v1small_generated_addressesclient_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_Addresses_List_async] +// [END compute_v1small_generated_addressesclient_list_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncListPaged.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/AsyncListPaged.java similarity index 94% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncListPaged.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/AsyncListPaged.java index e749bc75952..660ec082b89 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncListPaged.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/AsyncListPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_List_Paged_async] +// [START compute_v1small_generated_addressesclient_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_Addresses_List_Paged_async] +// [END compute_v1small_generated_addressesclient_list_paged_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/SyncList.java similarity index 94% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncList.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/SyncList.java index 3c105181a7f..6b7f31ada71 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/SyncList.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_List_sync] +// [START compute_v1small_generated_addressesclient_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_Addresses_List_sync] +// [END compute_v1small_generated_addressesclient_list_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncListStringStringString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/SyncListStringStringString.java similarity index 91% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncListStringStringString.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/SyncListStringStringString.java index bc47d773c97..ee547f1107a 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncListStringStringString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/SyncListStringStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_Addresses_List_StringStringString_sync] +// [START compute_v1small_generated_addressesclient_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_Addresses_List_StringStringString_sync] +// [END compute_v1small_generated_addressesclient_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 fa405f919ba..d2b76886b03 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/regionoperations/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/create/SyncCreateSetCredentialsProvider.java similarity index 90% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/create/SyncCreateSetCredentialsProvider.java index 2768ddd3578..9a7c59a44a6 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_RegionOperations_Create_SetCredentialsProvider_sync] +// [START compute_v1small_generated_regionoperationsclient_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_RegionOperations_Create_SetCredentialsProvider_sync] +// [END compute_v1small_generated_regionoperationsclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetEndpoint.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/create/SyncCreateSetEndpoint.java index d8bbb778d7a..98f3320db3b 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_RegionOperations_Create_SetEndpoint_sync] +// [START compute_v1small_generated_regionoperationsclient_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_RegionOperations_Create_SetEndpoint_sync] +// [END compute_v1small_generated_regionoperationsclient_create_setendpoint_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/AsyncGet.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/AsyncGet.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/AsyncGet.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/AsyncGet.java index ab424fc0c15..ae4ba65890d 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/AsyncGet.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/AsyncGet.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_RegionOperations_Get_async] +// [START compute_v1small_generated_regionoperationsclient_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_RegionOperations_Get_async] +// [END compute_v1small_generated_regionoperationsclient_get_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGet.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/SyncGet.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGet.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/SyncGet.java index 59138ed2e81..caaa2ce9ec4 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGet.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/SyncGet.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_RegionOperations_Get_sync] +// [START compute_v1small_generated_regionoperationsclient_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_RegionOperations_Get_sync] +// [END compute_v1small_generated_regionoperationsclient_get_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGetStringStringString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/SyncGetStringStringString.java similarity index 90% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGetStringStringString.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/SyncGetStringStringString.java index 00ebf2a01e6..64eb4512643 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGetStringStringString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/SyncGetStringStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_RegionOperations_Get_StringStringString_sync] +// [START compute_v1small_generated_regionoperationsclient_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_RegionOperations_Get_StringStringString_sync] +// [END compute_v1small_generated_regionoperationsclient_get_stringstringstring_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/AsyncWait.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/AsyncWait.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/AsyncWait.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/AsyncWait.java index f02fcb2fade..52ae3a1ff1d 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/AsyncWait.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/AsyncWait.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_RegionOperations_Wait_async] +// [START compute_v1small_generated_regionoperationsclient_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_RegionOperations_Wait_async] +// [END compute_v1small_generated_regionoperationsclient_wait_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWait.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/SyncWait.java similarity index 92% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWait.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/SyncWait.java index 41c9b225748..8b1947a19a4 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWait.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/SyncWait.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_RegionOperations_Wait_sync] +// [START compute_v1small_generated_regionoperationsclient_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_RegionOperations_Wait_sync] +// [END compute_v1small_generated_regionoperationsclient_wait_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWaitStringStringString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/SyncWaitStringStringString.java similarity index 90% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWaitStringStringString.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/SyncWaitStringStringString.java index 791fdfe1708..da7031e67ab 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWaitStringStringString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/SyncWaitStringStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_RegionOperations_Wait_StringStringString_sync] +// [START compute_v1small_generated_regionoperationsclient_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_RegionOperations_Wait_StringStringString_sync] +// [END compute_v1small_generated_regionoperationsclient_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 87bb6ca3300..e599705557f 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 4d7ea1ee76b..32a9994c46d 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 4e2e67f189a..956110de2e6 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/iamcredentials/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetCredentialsProvider.java similarity index 90% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetCredentialsProvider.java index 3146b16b814..db4fcb3ceaa 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_Create_SetCredentialsProvider_sync] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_Create_SetCredentialsProvider_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetEndpoint.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetEndpoint.java index facddbfac47..c9044fbb8b8 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_Create_SetEndpoint_sync] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_Create_SetEndpoint_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_create_setendpoint_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/AsyncGenerateAccessToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/AsyncGenerateAccessToken.java similarity index 93% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/AsyncGenerateAccessToken.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/AsyncGenerateAccessToken.java index dee5a52a871..82fec39f819 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/AsyncGenerateAccessToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/AsyncGenerateAccessToken.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_GenerateAccessToken_async] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_GenerateAccessToken_async] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_async] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessToken.java similarity index 92% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessToken.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessToken.java index b4ebf01b22a..4cf48ad7f3e 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessToken.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_GenerateAccessToken_sync] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_GenerateAccessToken_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java similarity index 89% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java index ccdd12da608..e93168fe153 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_GenerateAccessToken_ServiceaccountnameListstringListstringDuration_sync] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_GenerateAccessToken_ServiceaccountnameListstringListstringDuration_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_serviceaccountnameliststringliststringduration_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java similarity index 89% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java index 0cf10fcd52c..bfcdbec493b 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_GenerateAccessToken_StringListstringListstringDuration_sync] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_GenerateAccessToken_StringListstringListstringDuration_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_stringliststringliststringduration_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/AsyncGenerateIdToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/AsyncGenerateIdToken.java similarity index 93% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/AsyncGenerateIdToken.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/AsyncGenerateIdToken.java index f4191b5b769..f670fc541c1 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/AsyncGenerateIdToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/AsyncGenerateIdToken.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_GenerateIdToken_async] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_GenerateIdToken_async] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_async] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdToken.java similarity index 92% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdToken.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdToken.java index 8de72543a30..8828bf341c7 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdToken.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_GenerateIdToken_sync] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_GenerateIdToken_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java similarity index 89% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java index c0580eb9195..f4b403409ad 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_GenerateIdToken_ServiceaccountnameListstringStringBoolean_sync] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_GenerateIdToken_ServiceaccountnameListstringStringBoolean_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_serviceaccountnameliststringstringboolean_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java similarity index 90% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java index 7ce5cb46a57..56277450689 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_GenerateIdToken_StringListstringStringBoolean_sync] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_GenerateIdToken_StringListstringStringBoolean_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_stringliststringstringboolean_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/AsyncSignBlob.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/AsyncSignBlob.java similarity index 93% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/AsyncSignBlob.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/AsyncSignBlob.java index 52b0a779e42..338c3112e0f 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/AsyncSignBlob.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/AsyncSignBlob.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_SignBlob_async] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_SignBlob_async] +// [END iamcredentials_v1_generated_iamcredentialsclient_signblob_async] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlob.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlob.java similarity index 93% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlob.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlob.java index 8a53f4257ac..da2fa84ba8e 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlob.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlob.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_SignBlob_sync] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_SignBlob_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_signblob_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java similarity index 89% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java index 5d7fa16f032..12ad8f05d7c 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_SignBlob_ServiceaccountnameListstringBytestring_sync] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_SignBlob_ServiceaccountnameListstringBytestring_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_signblob_serviceaccountnameliststringbytestring_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobStringListstringBytestring.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobStringListstringBytestring.java similarity index 90% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobStringListstringBytestring.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobStringListstringBytestring.java index d5fbb9b84e8..8e1906d162b 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobStringListstringBytestring.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobStringListstringBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_SignBlob_StringListstringBytestring_sync] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_SignBlob_StringListstringBytestring_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_signblob_stringliststringbytestring_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/AsyncSignJwt.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/AsyncSignJwt.java similarity index 93% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/AsyncSignJwt.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/AsyncSignJwt.java index 4fa410b6bc5..e788c93cee1 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/AsyncSignJwt.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/AsyncSignJwt.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_SignJwt_async] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_SignJwt_async] +// [END iamcredentials_v1_generated_iamcredentialsclient_signjwt_async] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwt.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwt.java similarity index 93% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwt.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwt.java index 0ccf396ecf2..82b687d7810 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwt.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwt.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_SignJwt_sync] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_SignJwt_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_signjwt_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtServiceaccountnameListstringString.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtServiceaccountnameListstringString.java similarity index 90% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtServiceaccountnameListstringString.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtServiceaccountnameListstringString.java index 644b820f85a..b0bfa2c1beb 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtServiceaccountnameListstringString.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtServiceaccountnameListstringString.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_SignJwt_ServiceaccountnameListstringString_sync] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_SignJwt_ServiceaccountnameListstringString_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_signjwt_serviceaccountnameliststringstring_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtStringListstringString.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtStringListstringString.java similarity index 90% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtStringListstringString.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtStringListstringString.java index a6e6e0426a9..fdb2a5080e3 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtStringListstringString.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtStringListstringString.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_IamCredentials_SignJwt_StringListstringString_sync] +// [START iamcredentials_v1_generated_iamcredentialsclient_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_IamCredentials_SignJwt_StringListstringString_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_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 2e6a9be158b..9de6e9526c4 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 f23179fcee5..9668a2229f7 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/iampolicy/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/create/SyncCreateSetCredentialsProvider.java index 5b8e4b20794..4cd74600b97 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_IAMPolicy_Create_SetCredentialsProvider_sync] +// [START iam_v1_generated_iampolicyclient_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_IAMPolicy_Create_SetCredentialsProvider_sync] +// [END iam_v1_generated_iampolicyclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetEndpoint.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/create/SyncCreateSetEndpoint.java similarity index 92% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/create/SyncCreateSetEndpoint.java index fe71ec99349..16fdc643558 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_IAMPolicy_Create_SetEndpoint_sync] +// [START iam_v1_generated_iampolicyclient_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_IAMPolicy_Create_SetEndpoint_sync] +// [END iam_v1_generated_iampolicyclient_create_setendpoint_sync] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/getiampolicy/AsyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/AsyncGetIamPolicy.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/getiampolicy/AsyncGetIamPolicy.java index 768a0bde7c9..441d834597b 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/getiampolicy/AsyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_IAMPolicy_GetIamPolicy_async] +// [START iam_v1_generated_iampolicyclient_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_IAMPolicy_GetIamPolicy_async] +// [END iam_v1_generated_iampolicyclient_getiampolicy_async] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/getiampolicy/SyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/SyncGetIamPolicy.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/getiampolicy/SyncGetIamPolicy.java index 6a2c2866385..ac82d3739ce 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/getiampolicy/SyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_IAMPolicy_GetIamPolicy_sync] +// [START iam_v1_generated_iampolicyclient_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_IAMPolicy_GetIamPolicy_sync] +// [END iam_v1_generated_iampolicyclient_getiampolicy_sync] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/setiampolicy/AsyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/AsyncSetIamPolicy.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/setiampolicy/AsyncSetIamPolicy.java index fdcde733d30..2aea2886b99 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/setiampolicy/AsyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_IAMPolicy_SetIamPolicy_async] +// [START iam_v1_generated_iampolicyclient_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_IAMPolicy_SetIamPolicy_async] +// [END iam_v1_generated_iampolicyclient_setiampolicy_async] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/setiampolicy/SyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/SyncSetIamPolicy.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/setiampolicy/SyncSetIamPolicy.java index 55d362db48c..9e01e5cf1f8 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/setiampolicy/SyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_IAMPolicy_SetIamPolicy_sync] +// [START iam_v1_generated_iampolicyclient_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_IAMPolicy_SetIamPolicy_sync] +// [END iam_v1_generated_iampolicyclient_setiampolicy_sync] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/testiampermissions/AsyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/AsyncTestIamPermissions.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/testiampermissions/AsyncTestIamPermissions.java index ebaa1ba3519..4e7920f9cc4 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/testiampermissions/AsyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_IAMPolicy_TestIamPermissions_async] +// [START iam_v1_generated_iampolicyclient_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_IAMPolicy_TestIamPermissions_async] +// [END iam_v1_generated_iampolicyclient_testiampermissions_async] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/testiampermissions/SyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/SyncTestIamPermissions.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/testiampermissions/SyncTestIamPermissions.java index 70921f8b0fd..241d958b43a 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/testiampermissions/SyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_IAMPolicy_TestIamPermissions_sync] +// [START iam_v1_generated_iampolicyclient_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_IAMPolicy_TestIamPermissions_sync] +// [END iam_v1_generated_iampolicyclient_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 f97670d70b2..07c44e3f363 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 326c24a6dce..5dcf9940db5 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/keymanagementservice/asymmetricdecrypt/AsyncAsymmetricDecrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/AsyncAsymmetricDecrypt.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/AsyncAsymmetricDecrypt.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/AsyncAsymmetricDecrypt.java index 2768ea0ab88..12bc233abe7 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/AsyncAsymmetricDecrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/AsyncAsymmetricDecrypt.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_AsymmetricDecrypt_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecrypt.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecrypt.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecrypt.java index 13ee008da35..a30ce59b2f9 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecrypt.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_AsymmetricDecrypt_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java index 402cbd4ecbc..17d42368d09 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_CryptokeyversionnameBytestring_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_AsymmetricDecrypt_CryptokeyversionnameBytestring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_cryptokeyversionnamebytestring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java index 2e7e021dce2..83b946207e4 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_StringBytestring_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_AsymmetricDecrypt_StringBytestring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_stringbytestring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/AsyncAsymmetricSign.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/AsyncAsymmetricSign.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/AsyncAsymmetricSign.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/AsyncAsymmetricSign.java index 458da95d072..caa1473dde6 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/AsyncAsymmetricSign.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/AsyncAsymmetricSign.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_AsymmetricSign_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_AsymmetricSign_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSign.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSign.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSign.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSign.java index 6d38dccafec..d16356d4b97 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSign.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSign.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_AsymmetricSign_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_AsymmetricSign_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java index 2f3802533a3..37dca400184 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_AsymmetricSign_CryptokeyversionnameDigest_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_AsymmetricSign_CryptokeyversionnameDigest_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_cryptokeyversionnamedigest_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignStringDigest.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignStringDigest.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignStringDigest.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignStringDigest.java index 905a71eb32a..693e9bfc5e8 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignStringDigest.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignStringDigest.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_AsymmetricSign_StringDigest_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_AsymmetricSign_StringDigest_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_stringdigest_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetCredentialsProvider.java index c96d3a6bdf6..9e76f9250c3 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_Create_SetCredentialsProvider_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_Create_SetCredentialsProvider_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetEndpoint.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetEndpoint.java index deb933fa8ac..a47ef9da7c5 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_Create_SetEndpoint_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_Create_SetEndpoint_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_create_setendpoint_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/AsyncCreateCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/AsyncCreateCryptoKey.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/AsyncCreateCryptoKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/AsyncCreateCryptoKey.java index 4ffbf58a503..509ec9c1aae 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/AsyncCreateCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/AsyncCreateCryptoKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateCryptoKey_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKey.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKey.java index ea9b5365537..4626d271e1e 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateCryptoKey_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java index d8cec59da04..d40e15a2692 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_KeyringnameStringCryptokey_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateCryptoKey_KeyringnameStringCryptokey_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_keyringnamestringcryptokey_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java index ba7eda7d355..3b1616c1e95 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_StringStringCryptokey_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateCryptoKey_StringStringCryptokey_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_stringstringcryptokey_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java index e4fe7cef5ce..0595997ae55 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateCryptoKeyVersion_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersion.java index 3d5b68f74ae..8b4f543898a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateCryptoKeyVersion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java index 6fa204a3dad..8ccdcf86b36 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_CryptokeynameCryptokeyversion_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateCryptoKeyVersion_CryptokeynameCryptokeyversion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_cryptokeynamecryptokeyversion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java index 5a64f18b000..338d57775e4 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_StringCryptokeyversion_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateCryptoKeyVersion_StringCryptokeyversion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_stringcryptokeyversion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/AsyncCreateImportJob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/AsyncCreateImportJob.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/AsyncCreateImportJob.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/AsyncCreateImportJob.java index 458b666b2a1..b557f641f98 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/AsyncCreateImportJob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/AsyncCreateImportJob.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateImportJob_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateImportJob_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_createimportjob_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJob.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJob.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJob.java index 10ac1fe7ee2..1a1066d560f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJob.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateImportJob_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateImportJob_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createimportjob_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java index e25252b6a00..8fe9146ac74 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateImportJob_KeyringnameStringImportjob_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateImportJob_KeyringnameStringImportjob_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createimportjob_keyringnamestringimportjob_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobStringStringImportjob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobStringStringImportjob.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobStringStringImportjob.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobStringStringImportjob.java index 69d497e017f..9d8031894f0 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobStringStringImportjob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobStringStringImportjob.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateImportJob_StringStringImportjob_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateImportJob_StringStringImportjob_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createimportjob_stringstringimportjob_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/AsyncCreateKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/AsyncCreateKeyRing.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/AsyncCreateKeyRing.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/AsyncCreateKeyRing.java index d39ca8f888a..a0c7c2dd6e0 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/AsyncCreateKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/AsyncCreateKeyRing.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateKeyRing_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateKeyRing_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_createkeyring_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRing.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRing.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRing.java index c58aa6961a5..be6e331a4d1 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRing.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateKeyRing_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateKeyRing_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createkeyring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java index 46add0d8c92..907f57aa3d1 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateKeyRing_LocationnameStringKeyring_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateKeyRing_LocationnameStringKeyring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createkeyring_locationnamestringkeyring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingStringStringKeyring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingStringStringKeyring.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingStringStringKeyring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingStringStringKeyring.java index 067e82288a7..3ae29299094 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingStringStringKeyring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingStringStringKeyring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_CreateKeyRing_StringStringKeyring_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_CreateKeyRing_StringStringKeyring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createkeyring_stringstringkeyring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/AsyncDecrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/AsyncDecrypt.java similarity index 94% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/AsyncDecrypt.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/AsyncDecrypt.java index 6a32d6f8e15..20e0506c550 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/AsyncDecrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/AsyncDecrypt.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_Decrypt_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_Decrypt_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_decrypt_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecrypt.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecrypt.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecrypt.java index dac8b2ca952..733948ab43b 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecrypt.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_Decrypt_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_Decrypt_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_decrypt_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptCryptokeynameBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptCryptokeynameBytestring.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptCryptokeynameBytestring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptCryptokeynameBytestring.java index a2980791bd7..9d0f93de64f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptCryptokeynameBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptCryptokeynameBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_Decrypt_CryptokeynameBytestring_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_Decrypt_CryptokeynameBytestring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_decrypt_cryptokeynamebytestring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptStringBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptStringBytestring.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptStringBytestring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptStringBytestring.java index b94582483c8..0e9ebecd782 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptStringBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptStringBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_Decrypt_StringBytestring_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_Decrypt_StringBytestring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_decrypt_stringbytestring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java index 8a42b375c33..6e35f418577 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_DestroyCryptoKeyVersion_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java index c2bb7e68d41..00484ded761 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_DestroyCryptoKeyVersion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java index 560f7680802..4089e10ef0c 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_Cryptokeyversionname_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_DestroyCryptoKeyVersion_Cryptokeyversionname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_cryptokeyversionname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java index 60880a6a3ab..b8d997f9d6c 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_String_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_DestroyCryptoKeyVersion_String_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_string_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/AsyncEncrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/AsyncEncrypt.java similarity index 94% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/AsyncEncrypt.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/AsyncEncrypt.java index b31c045a115..77aa9a7a32d 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/AsyncEncrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/AsyncEncrypt.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_Encrypt_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_Encrypt_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_encrypt_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncrypt.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncrypt.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncrypt.java index 0c8fe72c445..1d6f5928f5e 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncrypt.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_Encrypt_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_Encrypt_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_encrypt_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptResourcenameBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptResourcenameBytestring.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptResourcenameBytestring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptResourcenameBytestring.java index 1b332fefc84..79d3932c9df 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptResourcenameBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptResourcenameBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_Encrypt_ResourcenameBytestring_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_Encrypt_ResourcenameBytestring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_encrypt_resourcenamebytestring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptStringBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptStringBytestring.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptStringBytestring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptStringBytestring.java index 07762a2140c..cec9cf23336 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptStringBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptStringBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_Encrypt_StringBytestring_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_Encrypt_StringBytestring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_encrypt_stringbytestring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/AsyncGetCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/AsyncGetCryptoKey.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/AsyncGetCryptoKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/AsyncGetCryptoKey.java index 0a317395bc9..f777d40c396 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/AsyncGetCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/AsyncGetCryptoKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKey_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetCryptoKey_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKey.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKey.java index 5bc4d96d8a8..2ec60f12958 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKey_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetCryptoKey_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyCryptokeyname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyCryptokeyname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyCryptokeyname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyCryptokeyname.java index 9c07a8a3f9c..d049f653a2c 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyCryptokeyname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyCryptokeyname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKey_Cryptokeyname_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetCryptoKey_Cryptokeyname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_cryptokeyname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyString.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyString.java index 9216849d6b2..88f08857ee7 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKey_String_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetCryptoKey_String_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_string_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/AsyncGetCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/AsyncGetCryptoKeyVersion.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/AsyncGetCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/AsyncGetCryptoKeyVersion.java index bdc547e7bfe..97d8ab731c2 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/AsyncGetCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/AsyncGetCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetCryptoKeyVersion_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersion.java index 22ce91d55e4..4977fc91a16 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetCryptoKeyVersion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java index 73aa2d577a0..2310db9ebb8 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_Cryptokeyversionname_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetCryptoKeyVersion_Cryptokeyversionname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_cryptokeyversionname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionString.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionString.java index 67abf494d58..08c77286838 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_String_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetCryptoKeyVersion_String_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_string_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/AsyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/AsyncGetIamPolicy.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/AsyncGetIamPolicy.java index 93eb30dac0c..401096168cb 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/AsyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetIamPolicy_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetIamPolicy_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_getiampolicy_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/SyncGetIamPolicy.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/SyncGetIamPolicy.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/SyncGetIamPolicy.java index 5e0bfa23da5..c27aff66022 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/SyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetIamPolicy_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetIamPolicy_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getiampolicy_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/AsyncGetImportJob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/AsyncGetImportJob.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/AsyncGetImportJob.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/AsyncGetImportJob.java index bcad674dc7f..ef11db67a02 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/AsyncGetImportJob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/AsyncGetImportJob.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetImportJob_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetImportJob_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_getimportjob_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJob.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJob.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJob.java index 7cd02a81ea9..47cb997d542 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJob.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetImportJob_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetImportJob_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getimportjob_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobImportjobname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobImportjobname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobImportjobname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobImportjobname.java index ec167187798..04cd565d8f9 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobImportjobname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobImportjobname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetImportJob_Importjobname_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetImportJob_Importjobname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getimportjob_importjobname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobString.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobString.java index ad8655ede8d..134f1f7981e 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetImportJob_String_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetImportJob_String_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getimportjob_string_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/AsyncGetKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/AsyncGetKeyRing.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/AsyncGetKeyRing.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/AsyncGetKeyRing.java index 59a16e87408..24cce5e9be8 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/AsyncGetKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/AsyncGetKeyRing.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetKeyRing_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetKeyRing_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_getkeyring_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRing.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRing.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRing.java index a880293179f..03f7a908ecd 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRing.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetKeyRing_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetKeyRing_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getkeyring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingKeyringname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingKeyringname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingKeyringname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingKeyringname.java index 5353772a9f3..5a91330c62b 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingKeyringname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingKeyringname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetKeyRing_Keyringname_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetKeyRing_Keyringname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getkeyring_keyringname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingString.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingString.java index b6305c4ce73..9e86f8e39fe 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetKeyRing_String_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetKeyRing_String_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getkeyring_string_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/AsyncGetLocation.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/AsyncGetLocation.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/AsyncGetLocation.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/AsyncGetLocation.java index b496695cc21..b2b1b8a18f8 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/AsyncGetLocation.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/AsyncGetLocation.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetLocation_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetLocation_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_getlocation_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/SyncGetLocation.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/SyncGetLocation.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/SyncGetLocation.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/SyncGetLocation.java index 5972b438355..c26d5c7d309 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/SyncGetLocation.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/SyncGetLocation.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetLocation_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetLocation_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getlocation_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/AsyncGetPublicKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/AsyncGetPublicKey.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/AsyncGetPublicKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/AsyncGetPublicKey.java index 1ba333176d2..5f779b2f9ba 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/AsyncGetPublicKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/AsyncGetPublicKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetPublicKey_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetPublicKey_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_getpublickey_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKey.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKey.java index cd3d9e3e13c..7a5412ce503 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetPublicKey_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetPublicKey_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getpublickey_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyCryptokeyversionname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyCryptokeyversionname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyCryptokeyversionname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyCryptokeyversionname.java index 933f9681ab0..b83c6ef0d39 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyCryptokeyversionname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyCryptokeyversionname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetPublicKey_Cryptokeyversionname_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetPublicKey_Cryptokeyversionname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getpublickey_cryptokeyversionname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyString.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyString.java index 371d27f6971..21ef9ac23c4 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_GetPublicKey_String_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_GetPublicKey_String_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getpublickey_string_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/AsyncImportCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/AsyncImportCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/AsyncImportCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/AsyncImportCryptoKeyVersion.java index 7325f636c0d..e8af8616fcb 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/AsyncImportCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/AsyncImportCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ImportCryptoKeyVersion_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ImportCryptoKeyVersion_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_importcryptokeyversion_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/SyncImportCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/SyncImportCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/SyncImportCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/SyncImportCryptoKeyVersion.java index e6c5a63a11e..b1e7a2e6751 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/SyncImportCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/SyncImportCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ImportCryptoKeyVersion_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ImportCryptoKeyVersion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_importcryptokeyversion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeys.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeys.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeys.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeys.java index 6d8d5396960..9d57500ce0c 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeys.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeys.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListCryptoKeys_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeysPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeysPaged.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeysPaged.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeysPaged.java index 06b5ceb184b..78e51a07867 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeysPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeysPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_Paged_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListCryptoKeys_Paged_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_paged_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeys.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeys.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeys.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeys.java index 1d4cacf80ee..425054f5a69 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeys.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeys.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListCryptoKeys_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysKeyringname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysKeyringname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysKeyringname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysKeyringname.java index 9f246270111..d717447b4f5 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysKeyringname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysKeyringname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_Keyringname_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListCryptoKeys_Keyringname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_keyringname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysString.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysString.java index b32726dab85..e724974a82f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_String_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListCryptoKeys_String_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_string_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersions.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersions.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersions.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersions.java index 59182b4b2dc..08ca16b7edb 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersions.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersions.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListCryptoKeyVersions_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java index ac7a2dd8a47..874c92f9190 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_Paged_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListCryptoKeyVersions_Paged_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_paged_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersions.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersions.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersions.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersions.java index 68a38385ca8..f06def473d0 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersions.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersions.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListCryptoKeyVersions_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java index 0941b5c4d78..98f65347deb 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_Cryptokeyname_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListCryptoKeyVersions_Cryptokeyname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_cryptokeyname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsString.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsString.java index 6cd8fc68508..86d2d44eed4 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_String_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListCryptoKeyVersions_String_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_string_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobs.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobs.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobs.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobs.java index 192e034b1e3..d9cad3d1111 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobs.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobs.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListImportJobs_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListImportJobs_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobsPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobsPaged.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobsPaged.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobsPaged.java index 59b6b51662a..5860192ae26 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobsPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListImportJobs_Paged_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListImportJobs_Paged_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_paged_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobs.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobs.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobs.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobs.java index dfd76a428b4..8d332bb928f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobs.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobs.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListImportJobs_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListImportJobs_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsKeyringname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsKeyringname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsKeyringname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsKeyringname.java index 4500177df19..dda6bdac386 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsKeyringname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsKeyringname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListImportJobs_Keyringname_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListImportJobs_Keyringname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_keyringname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsString.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsString.java index 66d5957f30e..a0c62ce5be2 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListImportJobs_String_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListImportJobs_String_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_string_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRings.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRings.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRings.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRings.java index 83d8701f1a4..e368d4e74c5 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRings.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRings.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListKeyRings_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListKeyRings_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRingsPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRingsPaged.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRingsPaged.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRingsPaged.java index 381b2c92a05..0f1699844e6 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRingsPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRingsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListKeyRings_Paged_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListKeyRings_Paged_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_paged_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRings.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRings.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRings.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRings.java index 732646f6e85..8a47b96eb62 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRings.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRings.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListKeyRings_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListKeyRings_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsLocationname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsLocationname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsLocationname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsLocationname.java index 9a75758574a..bf0004166dc 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsLocationname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsLocationname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListKeyRings_Locationname_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListKeyRings_Locationname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_locationname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsString.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsString.java index 49ab833c619..a1bc04535eb 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListKeyRings_String_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListKeyRings_String_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_string_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocations.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocations.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocations.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocations.java index 77194106246..2c93eac415e 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocations.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocations.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListLocations_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListLocations_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listlocations_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocationsPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocationsPaged.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocationsPaged.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocationsPaged.java index c5ac23eeb3e..855e186729f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocationsPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocationsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListLocations_Paged_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListLocations_Paged_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listlocations_paged_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/SyncListLocations.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/SyncListLocations.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/SyncListLocations.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/SyncListLocations.java index c3773810387..1ea5a3db8a0 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/SyncListLocations.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/SyncListLocations.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_ListLocations_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_ListLocations_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listlocations_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java index 1bad87972d7..715493b98b0 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_RestoreCryptoKeyVersion_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java index 68b6ed6531d..a3de0c99b82 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_RestoreCryptoKeyVersion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java index 986539cc016..4c9cde50312 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_Cryptokeyversionname_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_RestoreCryptoKeyVersion_Cryptokeyversionname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_cryptokeyversionname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java index fc372ed700e..876353526f3 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_String_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_RestoreCryptoKeyVersion_String_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_string_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/AsyncTestIamPermissions.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/AsyncTestIamPermissions.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/AsyncTestIamPermissions.java index ac5a8915977..3597e58f5af 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/AsyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_TestIamPermissions_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_TestIamPermissions_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_testiampermissions_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/SyncTestIamPermissions.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/SyncTestIamPermissions.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/SyncTestIamPermissions.java index 2394e3686b1..e33b06bb8bb 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/SyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_TestIamPermissions_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_TestIamPermissions_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_testiampermissions_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/AsyncUpdateCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/AsyncUpdateCryptoKey.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/AsyncUpdateCryptoKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/AsyncUpdateCryptoKey.java index 3c70757f69d..832a0e648f7 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/AsyncUpdateCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/AsyncUpdateCryptoKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKey_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_UpdateCryptoKey_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokey_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKey.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKey.java index 19f8b75878a..86c9549eb20 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKey_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_UpdateCryptoKey_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokey_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java index b61deebb66d..980affb15bd 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKey_CryptokeyFieldmask_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_UpdateCryptoKey_CryptokeyFieldmask_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokey_cryptokeyfieldmask_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java index 5d1306e7f6f..011d28534f1 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_UpdateCryptoKeyPrimaryVersion_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java index 91c10be7993..9d10d6f50e8 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_UpdateCryptoKeyPrimaryVersion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java index 302e5fa67b7..09f41244ee3 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_CryptokeynameString_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_UpdateCryptoKeyPrimaryVersion_CryptokeynameString_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_cryptokeynamestring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java index 377b15c87f3..a9b17f02d86 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_StringString_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_UpdateCryptoKeyPrimaryVersion_StringString_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_stringstring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java index 801687a7a6a..07666ee3edc 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyVersion_async] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_UpdateCryptoKeyVersion_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyversion_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java index 20825bbf949..f91fa9f0bd8 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyVersion_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_UpdateCryptoKeyVersion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyversion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java index 3b54c8b97f8..77307193842 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyVersion_CryptokeyversionFieldmask_sync] +// [START cloudkms_v1_generated_keymanagementserviceclient_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_KeyManagementService_UpdateCryptoKeyVersion_CryptokeyversionFieldmask_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_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 3a20509fde7..c2bfa0f01c8 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 75547f5f7ae..a41ec9fa588 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/libraryservice/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetCredentialsProvider.java index 0a449701a15..b6f6a12b952 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_Create_SetCredentialsProvider_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_Create_SetCredentialsProvider_sync] +// [END example_v1_generated_libraryserviceclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetEndpoint.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetEndpoint.java index 1ed4230d03d..2e9674debb7 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_Create_SetEndpoint_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_Create_SetEndpoint_sync] +// [END example_v1_generated_libraryserviceclient_create_setendpoint_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/AsyncCreateBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/AsyncCreateBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/AsyncCreateBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/AsyncCreateBook.java index d58d7c2ca57..5dbe9ea3a80 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/AsyncCreateBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/AsyncCreateBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_CreateBook_async] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_CreateBook_async] +// [END example_v1_generated_libraryserviceclient_createbook_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBook.java index 206c7673f52..b593ac0f365 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_CreateBook_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_CreateBook_sync] +// [END example_v1_generated_libraryserviceclient_createbook_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookShelfnameBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookShelfnameBook.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookShelfnameBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookShelfnameBook.java index 5cd834c7541..4155f046ee6 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookShelfnameBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookShelfnameBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_CreateBook_ShelfnameBook_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_CreateBook_ShelfnameBook_sync] +// [END example_v1_generated_libraryserviceclient_createbook_shelfnamebook_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookStringBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookStringBook.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookStringBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookStringBook.java index 97a22b457ae..6bc2eb732a9 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookStringBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookStringBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_CreateBook_StringBook_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_CreateBook_StringBook_sync] +// [END example_v1_generated_libraryserviceclient_createbook_stringbook_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/AsyncCreateShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/AsyncCreateShelf.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/AsyncCreateShelf.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/AsyncCreateShelf.java index a6707d3f059..1a3e4e0cb89 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/AsyncCreateShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/AsyncCreateShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_CreateShelf_async] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_CreateShelf_async] +// [END example_v1_generated_libraryserviceclient_createshelf_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelf.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelf.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelf.java index b1017b88944..7cc61a07b85 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_CreateShelf_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_CreateShelf_sync] +// [END example_v1_generated_libraryserviceclient_createshelf_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelfShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelfShelf.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelfShelf.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelfShelf.java index d5949943782..067c90e13de 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelfShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelfShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_CreateShelf_Shelf_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_CreateShelf_Shelf_sync] +// [END example_v1_generated_libraryserviceclient_createshelf_shelf_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/AsyncDeleteBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/AsyncDeleteBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/AsyncDeleteBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/AsyncDeleteBook.java index 1402bdeb2bf..3388ada78df 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/AsyncDeleteBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/AsyncDeleteBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_DeleteBook_async] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_DeleteBook_async] +// [END example_v1_generated_libraryserviceclient_deletebook_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBook.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBook.java index ce5f72f7d44..4ef50221de5 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_DeleteBook_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_DeleteBook_sync] +// [END example_v1_generated_libraryserviceclient_deletebook_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookBookname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookBookname.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookBookname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookBookname.java index 4984014875a..0ebe865a594 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookBookname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookBookname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_DeleteBook_Bookname_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_DeleteBook_Bookname_sync] +// [END example_v1_generated_libraryserviceclient_deletebook_bookname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookString.java index 2747919b8cb..369ae353d3d 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_DeleteBook_String_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_DeleteBook_String_sync] +// [END example_v1_generated_libraryserviceclient_deletebook_string_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/AsyncDeleteShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/AsyncDeleteShelf.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/AsyncDeleteShelf.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/AsyncDeleteShelf.java index 00960baafea..c1e9375ce31 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/AsyncDeleteShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/AsyncDeleteShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_DeleteShelf_async] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_DeleteShelf_async] +// [END example_v1_generated_libraryserviceclient_deleteshelf_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelf.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelf.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelf.java index 737844b6381..23220373053 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_DeleteShelf_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_DeleteShelf_sync] +// [END example_v1_generated_libraryserviceclient_deleteshelf_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfShelfname.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfShelfname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfShelfname.java index 5b9a49da88b..7de331b3618 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfShelfname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_DeleteShelf_Shelfname_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_DeleteShelf_Shelfname_sync] +// [END example_v1_generated_libraryserviceclient_deleteshelf_shelfname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfString.java index 6a1bc22c885..8a32bb7d78d 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_DeleteShelf_String_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_DeleteShelf_String_sync] +// [END example_v1_generated_libraryserviceclient_deleteshelf_string_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/AsyncGetBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/AsyncGetBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/AsyncGetBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/AsyncGetBook.java index 19f18d0b29a..b819462eb0b 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/AsyncGetBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/AsyncGetBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_GetBook_async] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_GetBook_async] +// [END example_v1_generated_libraryserviceclient_getbook_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBook.java index 31858147efe..6c4569ecdb9 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_GetBook_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_GetBook_sync] +// [END example_v1_generated_libraryserviceclient_getbook_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookBookname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookBookname.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookBookname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookBookname.java index 718395228e0..d7029a08a25 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookBookname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookBookname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_GetBook_Bookname_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_GetBook_Bookname_sync] +// [END example_v1_generated_libraryserviceclient_getbook_bookname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookString.java index 5c7f398a5ef..a36359a4259 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_GetBook_String_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_GetBook_String_sync] +// [END example_v1_generated_libraryserviceclient_getbook_string_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/AsyncGetShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/AsyncGetShelf.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/AsyncGetShelf.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/AsyncGetShelf.java index 0d7d770f7ce..e759952106b 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/AsyncGetShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/AsyncGetShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_GetShelf_async] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_GetShelf_async] +// [END example_v1_generated_libraryserviceclient_getshelf_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelf.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelf.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelf.java index b6ddbfd368e..719c5e6354a 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_GetShelf_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_GetShelf_sync] +// [END example_v1_generated_libraryserviceclient_getshelf_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfShelfname.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfShelfname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfShelfname.java index 7d6955a5f79..a819099ef37 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfShelfname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_GetShelf_Shelfname_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_GetShelf_Shelfname_sync] +// [END example_v1_generated_libraryserviceclient_getshelf_shelfname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfString.java index 9f4e4133069..e2a693d78dd 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_GetShelf_String_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_GetShelf_String_sync] +// [END example_v1_generated_libraryserviceclient_getshelf_string_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooks.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooks.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooks.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooks.java index b5b4237d8ba..6b790d499ce 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooks.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooks.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_ListBooks_async] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_ListBooks_async] +// [END example_v1_generated_libraryserviceclient_listbooks_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooksPaged.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooksPaged.java similarity index 94% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooksPaged.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooksPaged.java index 243f5c65252..dedb1f397fa 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooksPaged.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooksPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_ListBooks_Paged_async] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_ListBooks_Paged_async] +// [END example_v1_generated_libraryserviceclient_listbooks_paged_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooks.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooks.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooks.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooks.java index 34a171a818d..57d84742efb 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooks.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooks.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_ListBooks_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_ListBooks_sync] +// [END example_v1_generated_libraryserviceclient_listbooks_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksShelfname.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksShelfname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksShelfname.java index fc80b4f2781..e952a2db7b6 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksShelfname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_ListBooks_Shelfname_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_ListBooks_Shelfname_sync] +// [END example_v1_generated_libraryserviceclient_listbooks_shelfname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksString.java index e1b8889824b..5a581add94b 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_ListBooks_String_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_ListBooks_String_sync] +// [END example_v1_generated_libraryserviceclient_listbooks_string_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelves.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelves.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelves.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelves.java index a211012179f..0d45b07458c 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelves.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelves.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_ListShelves_async] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_ListShelves_async] +// [END example_v1_generated_libraryserviceclient_listshelves_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelvesPaged.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelvesPaged.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelvesPaged.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelvesPaged.java index b4c6b47d3e3..85dcf4049b0 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelvesPaged.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelvesPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_ListShelves_Paged_async] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_ListShelves_Paged_async] +// [END example_v1_generated_libraryserviceclient_listshelves_paged_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/SyncListShelves.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/SyncListShelves.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/SyncListShelves.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/SyncListShelves.java index 05a25be7c78..e8d44e35115 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/SyncListShelves.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/SyncListShelves.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_ListShelves_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_ListShelves_sync] +// [END example_v1_generated_libraryserviceclient_listshelves_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/AsyncMergeShelves.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/AsyncMergeShelves.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/AsyncMergeShelves.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/AsyncMergeShelves.java index c987d1f46af..5dc9c53a6ba 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/AsyncMergeShelves.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/AsyncMergeShelves.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_MergeShelves_async] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_MergeShelves_async] +// [END example_v1_generated_libraryserviceclient_mergeshelves_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelves.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelves.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelves.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelves.java index 789de5490dd..3a64bddc081 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelves.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelves.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_MergeShelves_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_MergeShelves_sync] +// [END example_v1_generated_libraryserviceclient_mergeshelves_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameShelfname.java similarity index 90% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameShelfname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameShelfname.java index db19cd564f8..af84c48d3b7 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameShelfname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_MergeShelves_ShelfnameShelfname_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_MergeShelves_ShelfnameShelfname_sync] +// [END example_v1_generated_libraryserviceclient_mergeshelves_shelfnameshelfname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameString.java similarity index 90% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameString.java index e0d1e6e92e5..e88240c32f8 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_MergeShelves_ShelfnameString_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_MergeShelves_ShelfnameString_sync] +// [END example_v1_generated_libraryserviceclient_mergeshelves_shelfnamestring_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringShelfname.java similarity index 90% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringShelfname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringShelfname.java index 069e1c53a9c..31a440ea6f6 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringShelfname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_MergeShelves_StringShelfname_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_MergeShelves_StringShelfname_sync] +// [END example_v1_generated_libraryserviceclient_mergeshelves_stringshelfname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringString.java index a43b537dff2..8742a51ff62 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_MergeShelves_StringString_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_MergeShelves_StringString_sync] +// [END example_v1_generated_libraryserviceclient_mergeshelves_stringstring_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/AsyncMoveBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/AsyncMoveBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/AsyncMoveBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/AsyncMoveBook.java index d708cf7261a..9f085bda348 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/AsyncMoveBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/AsyncMoveBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_MoveBook_async] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_MoveBook_async] +// [END example_v1_generated_libraryserviceclient_movebook_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBook.java index f6550c13c44..99259bf445e 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_MoveBook_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_MoveBook_sync] +// [END example_v1_generated_libraryserviceclient_movebook_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameShelfname.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameShelfname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameShelfname.java index 99c1fd34f9d..6381bac0cdb 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameShelfname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_MoveBook_BooknameShelfname_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_MoveBook_BooknameShelfname_sync] +// [END example_v1_generated_libraryserviceclient_movebook_booknameshelfname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameString.java index c9054e654db..479dc95ea14 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_MoveBook_BooknameString_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_MoveBook_BooknameString_sync] +// [END example_v1_generated_libraryserviceclient_movebook_booknamestring_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringShelfname.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringShelfname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringShelfname.java index be18f93ee6e..e08d509fab5 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringShelfname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_MoveBook_StringShelfname_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_MoveBook_StringShelfname_sync] +// [END example_v1_generated_libraryserviceclient_movebook_stringshelfname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringString.java index f1382475269..a3cca843503 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_MoveBook_StringString_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_MoveBook_StringString_sync] +// [END example_v1_generated_libraryserviceclient_movebook_stringstring_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/AsyncUpdateBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/AsyncUpdateBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/AsyncUpdateBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/AsyncUpdateBook.java index f2d4c0b2108..7f6be01fc12 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/AsyncUpdateBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/AsyncUpdateBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_UpdateBook_async] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_UpdateBook_async] +// [END example_v1_generated_libraryserviceclient_updatebook_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBook.java index cf7e3d05181..81e7750c212 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_UpdateBook_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_UpdateBook_sync] +// [END example_v1_generated_libraryserviceclient_updatebook_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBookBookFieldmask.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBookBookFieldmask.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBookBookFieldmask.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBookBookFieldmask.java index d35550ea877..78e82287d46 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBookBookFieldmask.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBookBookFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_LibraryService_UpdateBook_BookFieldmask_sync] +// [START example_v1_generated_libraryserviceclient_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_LibraryService_UpdateBook_BookFieldmask_sync] +// [END example_v1_generated_libraryserviceclient_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 f308ba1d66b..27b03794890 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 0634f4ea7c0..8f00ce9db7b 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/config/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/create/SyncCreateSetCredentialsProvider.java index 432e6b9e512..f2f40663083 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_Create_SetCredentialsProvider_sync] +// [START logging_v2_generated_configclient_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_Config_Create_SetCredentialsProvider_sync] +// [END logging_v2_generated_configclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/create/SyncCreateSetEndpoint.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/create/SyncCreateSetEndpoint.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/create/SyncCreateSetEndpoint.java index 86efaf695f6..afec2022d9e 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_Create_SetEndpoint_sync] +// [START logging_v2_generated_configclient_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_Config_Create_SetEndpoint_sync] +// [END logging_v2_generated_configclient_create_setendpoint_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createbucket/AsyncCreateBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createbucket/AsyncCreateBucket.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createbucket/AsyncCreateBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createbucket/AsyncCreateBucket.java index 06be0eddafd..9455e1f5838 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createbucket/AsyncCreateBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createbucket/AsyncCreateBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateBucket_async] +// [START logging_v2_generated_configclient_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_Config_CreateBucket_async] +// [END logging_v2_generated_configclient_createbucket_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createbucket/SyncCreateBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createbucket/SyncCreateBucket.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createbucket/SyncCreateBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createbucket/SyncCreateBucket.java index f38b8b932f3..44a2380e7f7 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createbucket/SyncCreateBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createbucket/SyncCreateBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateBucket_sync] +// [START logging_v2_generated_configclient_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_Config_CreateBucket_sync] +// [END logging_v2_generated_configclient_createbucket_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/AsyncCreateExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/AsyncCreateExclusion.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/AsyncCreateExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/AsyncCreateExclusion.java index 147251209b5..5a727225c7a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/AsyncCreateExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/AsyncCreateExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateExclusion_async] +// [START logging_v2_generated_configclient_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_Config_CreateExclusion_async] +// [END logging_v2_generated_configclient_createexclusion_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusion.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusion.java index 5ceb46e1422..3456f78c793 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateExclusion_sync] +// [START logging_v2_generated_configclient_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_Config_CreateExclusion_sync] +// [END logging_v2_generated_configclient_createexclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java index e705079d851..40e27846f0e 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateExclusion_BillingaccountnameLogexclusion_sync] +// [START logging_v2_generated_configclient_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_Config_CreateExclusion_BillingaccountnameLogexclusion_sync] +// [END logging_v2_generated_configclient_createexclusion_billingaccountnamelogexclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java index f3f10e65d92..dc1fabf988f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateExclusion_FoldernameLogexclusion_sync] +// [START logging_v2_generated_configclient_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_Config_CreateExclusion_FoldernameLogexclusion_sync] +// [END logging_v2_generated_configclient_createexclusion_foldernamelogexclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java index f2ff73a6aaa..c68db9bcd70 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateExclusion_OrganizationnameLogexclusion_sync] +// [START logging_v2_generated_configclient_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_Config_CreateExclusion_OrganizationnameLogexclusion_sync] +// [END logging_v2_generated_configclient_createexclusion_organizationnamelogexclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java index 07f7abd06b7..c1e47a5a2d1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateExclusion_ProjectnameLogexclusion_sync] +// [START logging_v2_generated_configclient_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_Config_CreateExclusion_ProjectnameLogexclusion_sync] +// [END logging_v2_generated_configclient_createexclusion_projectnamelogexclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionStringLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionStringLogexclusion.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionStringLogexclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionStringLogexclusion.java index c6080b90674..87cf6e299d6 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionStringLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionStringLogexclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateExclusion_StringLogexclusion_sync] +// [START logging_v2_generated_configclient_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_Config_CreateExclusion_StringLogexclusion_sync] +// [END logging_v2_generated_configclient_createexclusion_stringlogexclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/AsyncCreateSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/AsyncCreateSink.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/AsyncCreateSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/AsyncCreateSink.java index 0ab887e51e2..e03a879bff1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/AsyncCreateSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/AsyncCreateSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateSink_async] +// [START logging_v2_generated_configclient_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_Config_CreateSink_async] +// [END logging_v2_generated_configclient_createsink_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSink.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSink.java index c68927ba9c0..fa2ad4fc9f0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateSink_sync] +// [START logging_v2_generated_configclient_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_Config_CreateSink_sync] +// [END logging_v2_generated_configclient_createsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkBillingaccountnameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkBillingaccountnameLogsink.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkBillingaccountnameLogsink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkBillingaccountnameLogsink.java index 3c639f4b928..572a3098c39 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkBillingaccountnameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkBillingaccountnameLogsink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateSink_BillingaccountnameLogsink_sync] +// [START logging_v2_generated_configclient_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_Config_CreateSink_BillingaccountnameLogsink_sync] +// [END logging_v2_generated_configclient_createsink_billingaccountnamelogsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkFoldernameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkFoldernameLogsink.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkFoldernameLogsink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkFoldernameLogsink.java index 24d9a1b8903..582f3638308 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkFoldernameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkFoldernameLogsink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateSink_FoldernameLogsink_sync] +// [START logging_v2_generated_configclient_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_Config_CreateSink_FoldernameLogsink_sync] +// [END logging_v2_generated_configclient_createsink_foldernamelogsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkOrganizationnameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkOrganizationnameLogsink.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkOrganizationnameLogsink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkOrganizationnameLogsink.java index db8b873e53c..c1398c0c1de 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkOrganizationnameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkOrganizationnameLogsink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateSink_OrganizationnameLogsink_sync] +// [START logging_v2_generated_configclient_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_Config_CreateSink_OrganizationnameLogsink_sync] +// [END logging_v2_generated_configclient_createsink_organizationnamelogsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkProjectnameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkProjectnameLogsink.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkProjectnameLogsink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkProjectnameLogsink.java index 4f2297db7d8..280f8ec9e0e 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkProjectnameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkProjectnameLogsink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateSink_ProjectnameLogsink_sync] +// [START logging_v2_generated_configclient_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_Config_CreateSink_ProjectnameLogsink_sync] +// [END logging_v2_generated_configclient_createsink_projectnamelogsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkStringLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkStringLogsink.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkStringLogsink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkStringLogsink.java index c496d95bd63..7b89426a58b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkStringLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkStringLogsink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateSink_StringLogsink_sync] +// [START logging_v2_generated_configclient_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_Config_CreateSink_StringLogsink_sync] +// [END logging_v2_generated_configclient_createsink_stringlogsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createview/AsyncCreateView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createview/AsyncCreateView.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createview/AsyncCreateView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createview/AsyncCreateView.java index 16454ea53a4..7d8fe181c43 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createview/AsyncCreateView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createview/AsyncCreateView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateView_async] +// [START logging_v2_generated_configclient_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_Config_CreateView_async] +// [END logging_v2_generated_configclient_createview_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createview/SyncCreateView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createview/SyncCreateView.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createview/SyncCreateView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createview/SyncCreateView.java index 3ff765e96b8..3f256b822cd 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createview/SyncCreateView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createview/SyncCreateView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_CreateView_sync] +// [START logging_v2_generated_configclient_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_Config_CreateView_sync] +// [END logging_v2_generated_configclient_createview_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletebucket/AsyncDeleteBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletebucket/AsyncDeleteBucket.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletebucket/AsyncDeleteBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletebucket/AsyncDeleteBucket.java index 42fa415a174..bfad9cc3ad2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletebucket/AsyncDeleteBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletebucket/AsyncDeleteBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_DeleteBucket_async] +// [START logging_v2_generated_configclient_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_Config_DeleteBucket_async] +// [END logging_v2_generated_configclient_deletebucket_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletebucket/SyncDeleteBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletebucket/SyncDeleteBucket.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletebucket/SyncDeleteBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletebucket/SyncDeleteBucket.java index 1ce7361f17e..b17b55d73cd 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletebucket/SyncDeleteBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletebucket/SyncDeleteBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_DeleteBucket_sync] +// [START logging_v2_generated_configclient_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_Config_DeleteBucket_sync] +// [END logging_v2_generated_configclient_deletebucket_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/AsyncDeleteExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/AsyncDeleteExclusion.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/AsyncDeleteExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/AsyncDeleteExclusion.java index 02b7bc6c5f8..6f8071f0188 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/AsyncDeleteExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/AsyncDeleteExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_DeleteExclusion_async] +// [START logging_v2_generated_configclient_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_Config_DeleteExclusion_async] +// [END logging_v2_generated_configclient_deleteexclusion_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusion.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusion.java index 659b84d8692..b37027a8d72 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_DeleteExclusion_sync] +// [START logging_v2_generated_configclient_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_Config_DeleteExclusion_sync] +// [END logging_v2_generated_configclient_deleteexclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusionLogexclusionname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusionLogexclusionname.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusionLogexclusionname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusionLogexclusionname.java index a135f9394e5..38770a232bf 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusionLogexclusionname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusionLogexclusionname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_DeleteExclusion_Logexclusionname_sync] +// [START logging_v2_generated_configclient_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_Config_DeleteExclusion_Logexclusionname_sync] +// [END logging_v2_generated_configclient_deleteexclusion_logexclusionname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusionString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusionString.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusionString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusionString.java index 8fc355ff88f..83491e1cb9f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusionString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusionString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_DeleteExclusion_String_sync] +// [START logging_v2_generated_configclient_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_Config_DeleteExclusion_String_sync] +// [END logging_v2_generated_configclient_deleteexclusion_string_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/AsyncDeleteSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/AsyncDeleteSink.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/AsyncDeleteSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/AsyncDeleteSink.java index 8eb8c5aa9ae..1f50e2f00aa 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/AsyncDeleteSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/AsyncDeleteSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_DeleteSink_async] +// [START logging_v2_generated_configclient_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_Config_DeleteSink_async] +// [END logging_v2_generated_configclient_deletesink_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSink.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSink.java index 4ddf4b4d747..3f509965ad3 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_DeleteSink_sync] +// [START logging_v2_generated_configclient_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_Config_DeleteSink_sync] +// [END logging_v2_generated_configclient_deletesink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSinkLogsinkname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSinkLogsinkname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSinkLogsinkname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSinkLogsinkname.java index 5800d2bc8b5..98b7d0132e8 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSinkLogsinkname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSinkLogsinkname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_DeleteSink_Logsinkname_sync] +// [START logging_v2_generated_configclient_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_Config_DeleteSink_Logsinkname_sync] +// [END logging_v2_generated_configclient_deletesink_logsinkname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSinkString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSinkString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSinkString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSinkString.java index 461e1e00cec..b661f1dac6e 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSinkString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSinkString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_DeleteSink_String_sync] +// [START logging_v2_generated_configclient_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_Config_DeleteSink_String_sync] +// [END logging_v2_generated_configclient_deletesink_string_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteview/AsyncDeleteView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteview/AsyncDeleteView.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteview/AsyncDeleteView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteview/AsyncDeleteView.java index 050edd81600..7f6431c9431 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteview/AsyncDeleteView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteview/AsyncDeleteView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_DeleteView_async] +// [START logging_v2_generated_configclient_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_Config_DeleteView_async] +// [END logging_v2_generated_configclient_deleteview_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteview/SyncDeleteView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteview/SyncDeleteView.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteview/SyncDeleteView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteview/SyncDeleteView.java index b7be382fa1d..6b414f800d1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteview/SyncDeleteView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteview/SyncDeleteView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_DeleteView_sync] +// [START logging_v2_generated_configclient_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_Config_DeleteView_sync] +// [END logging_v2_generated_configclient_deleteview_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getbucket/AsyncGetBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getbucket/AsyncGetBucket.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getbucket/AsyncGetBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getbucket/AsyncGetBucket.java index b88c0bf58e1..6157506a15a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getbucket/AsyncGetBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getbucket/AsyncGetBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_GetBucket_async] +// [START logging_v2_generated_configclient_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_Config_GetBucket_async] +// [END logging_v2_generated_configclient_getbucket_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getbucket/SyncGetBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getbucket/SyncGetBucket.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getbucket/SyncGetBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getbucket/SyncGetBucket.java index 76f8f64dcd1..289ecd07cf1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getbucket/SyncGetBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getbucket/SyncGetBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_GetBucket_sync] +// [START logging_v2_generated_configclient_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_Config_GetBucket_sync] +// [END logging_v2_generated_configclient_getbucket_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getcmeksettings/AsyncGetCmekSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getcmeksettings/AsyncGetCmekSettings.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getcmeksettings/AsyncGetCmekSettings.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getcmeksettings/AsyncGetCmekSettings.java index a1a38dbe276..c5db5ddfa02 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getcmeksettings/AsyncGetCmekSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getcmeksettings/AsyncGetCmekSettings.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_GetCmekSettings_async] +// [START logging_v2_generated_configclient_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_Config_GetCmekSettings_async] +// [END logging_v2_generated_configclient_getcmeksettings_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getcmeksettings/SyncGetCmekSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getcmeksettings/SyncGetCmekSettings.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getcmeksettings/SyncGetCmekSettings.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getcmeksettings/SyncGetCmekSettings.java index cedb4e7bf4c..ff80e74e330 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getcmeksettings/SyncGetCmekSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getcmeksettings/SyncGetCmekSettings.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_GetCmekSettings_sync] +// [START logging_v2_generated_configclient_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_Config_GetCmekSettings_sync] +// [END logging_v2_generated_configclient_getcmeksettings_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/AsyncGetExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/AsyncGetExclusion.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/AsyncGetExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/AsyncGetExclusion.java index 0915b1c70b3..05a03f2bfe0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/AsyncGetExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/AsyncGetExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_GetExclusion_async] +// [START logging_v2_generated_configclient_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_Config_GetExclusion_async] +// [END logging_v2_generated_configclient_getexclusion_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusion.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusion.java index 3419efced15..2eb5d880d6e 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_GetExclusion_sync] +// [START logging_v2_generated_configclient_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_Config_GetExclusion_sync] +// [END logging_v2_generated_configclient_getexclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusionLogexclusionname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusionLogexclusionname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusionLogexclusionname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusionLogexclusionname.java index 42483f6648a..3820286ea50 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusionLogexclusionname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusionLogexclusionname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_GetExclusion_Logexclusionname_sync] +// [START logging_v2_generated_configclient_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_Config_GetExclusion_Logexclusionname_sync] +// [END logging_v2_generated_configclient_getexclusion_logexclusionname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusionString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusionString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusionString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusionString.java index 07b2643c501..e67d873b5dd 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusionString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusionString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_GetExclusion_String_sync] +// [START logging_v2_generated_configclient_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_Config_GetExclusion_String_sync] +// [END logging_v2_generated_configclient_getexclusion_string_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/AsyncGetSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/AsyncGetSink.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/AsyncGetSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/AsyncGetSink.java index 851a6d94601..423c78be9b6 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/AsyncGetSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/AsyncGetSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_GetSink_async] +// [START logging_v2_generated_configclient_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_Config_GetSink_async] +// [END logging_v2_generated_configclient_getsink_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSink.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSink.java index 6c39d0fe51c..c29e05d6e31 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_GetSink_sync] +// [START logging_v2_generated_configclient_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_Config_GetSink_sync] +// [END logging_v2_generated_configclient_getsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSinkLogsinkname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSinkLogsinkname.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSinkLogsinkname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSinkLogsinkname.java index 3a4b4ff9d8c..358e9b90b79 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSinkLogsinkname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSinkLogsinkname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_GetSink_Logsinkname_sync] +// [START logging_v2_generated_configclient_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_Config_GetSink_Logsinkname_sync] +// [END logging_v2_generated_configclient_getsink_logsinkname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSinkString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSinkString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSinkString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSinkString.java index 1221c48ce91..24f09d1911d 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSinkString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSinkString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_GetSink_String_sync] +// [START logging_v2_generated_configclient_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_Config_GetSink_String_sync] +// [END logging_v2_generated_configclient_getsink_string_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getview/AsyncGetView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getview/AsyncGetView.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getview/AsyncGetView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getview/AsyncGetView.java index 3bfc68cd768..d86f2b1b208 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getview/AsyncGetView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getview/AsyncGetView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_GetView_async] +// [START logging_v2_generated_configclient_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_Config_GetView_async] +// [END logging_v2_generated_configclient_getview_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getview/SyncGetView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getview/SyncGetView.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getview/SyncGetView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getview/SyncGetView.java index 1c9e3010d74..21b1c6a56d9 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getview/SyncGetView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getview/SyncGetView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_GetView_sync] +// [START logging_v2_generated_configclient_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_Config_GetView_sync] +// [END logging_v2_generated_configclient_getview_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/AsyncListBuckets.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/AsyncListBuckets.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/AsyncListBuckets.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/AsyncListBuckets.java index f8de847d452..5cb0f97bfe2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/AsyncListBuckets.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/AsyncListBuckets.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListBuckets_async] +// [START logging_v2_generated_configclient_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_Config_ListBuckets_async] +// [END logging_v2_generated_configclient_listbuckets_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/AsyncListBucketsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/AsyncListBucketsPaged.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/AsyncListBucketsPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/AsyncListBucketsPaged.java index 438dd1ab4fe..fc067a503af 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/AsyncListBucketsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/AsyncListBucketsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListBuckets_Paged_async] +// [START logging_v2_generated_configclient_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_Config_ListBuckets_Paged_async] +// [END logging_v2_generated_configclient_listbuckets_paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBuckets.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBuckets.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBuckets.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBuckets.java index 1ceeba8e929..f9adc31ed01 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBuckets.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBuckets.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListBuckets_sync] +// [START logging_v2_generated_configclient_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_Config_ListBuckets_sync] +// [END logging_v2_generated_configclient_listbuckets_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsBillingaccountlocationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsBillingaccountlocationname.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsBillingaccountlocationname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsBillingaccountlocationname.java index dc60676d8c8..fe18d0f88d1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsBillingaccountlocationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsBillingaccountlocationname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListBuckets_Billingaccountlocationname_sync] +// [START logging_v2_generated_configclient_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_Config_ListBuckets_Billingaccountlocationname_sync] +// [END logging_v2_generated_configclient_listbuckets_billingaccountlocationname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsFolderlocationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsFolderlocationname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsFolderlocationname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsFolderlocationname.java index 08b69d83801..f0f250172e7 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsFolderlocationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsFolderlocationname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListBuckets_Folderlocationname_sync] +// [START logging_v2_generated_configclient_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_Config_ListBuckets_Folderlocationname_sync] +// [END logging_v2_generated_configclient_listbuckets_folderlocationname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsLocationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsLocationname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsLocationname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsLocationname.java index e7eef6601c0..b00f3902e7f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsLocationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsLocationname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListBuckets_Locationname_sync] +// [START logging_v2_generated_configclient_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_Config_ListBuckets_Locationname_sync] +// [END logging_v2_generated_configclient_listbuckets_locationname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsOrganizationlocationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsOrganizationlocationname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsOrganizationlocationname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsOrganizationlocationname.java index 80c27cb25c6..d5ceef258d0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsOrganizationlocationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsOrganizationlocationname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListBuckets_Organizationlocationname_sync] +// [START logging_v2_generated_configclient_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_Config_ListBuckets_Organizationlocationname_sync] +// [END logging_v2_generated_configclient_listbuckets_organizationlocationname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsString.java index 3dc2e096632..a8148fe4f0e 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListBuckets_String_sync] +// [START logging_v2_generated_configclient_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_Config_ListBuckets_String_sync] +// [END logging_v2_generated_configclient_listbuckets_string_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/AsyncListExclusions.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/AsyncListExclusions.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/AsyncListExclusions.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/AsyncListExclusions.java index b5b751e512d..dec620d85c3 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/AsyncListExclusions.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/AsyncListExclusions.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListExclusions_async] +// [START logging_v2_generated_configclient_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_Config_ListExclusions_async] +// [END logging_v2_generated_configclient_listexclusions_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/AsyncListExclusionsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/AsyncListExclusionsPaged.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/AsyncListExclusionsPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/AsyncListExclusionsPaged.java index dcc315a987a..bfe5d1fb3df 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/AsyncListExclusionsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/AsyncListExclusionsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListExclusions_Paged_async] +// [START logging_v2_generated_configclient_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_Config_ListExclusions_Paged_async] +// [END logging_v2_generated_configclient_listexclusions_paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusions.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusions.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusions.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusions.java index 50fcbb7413b..c069af988b4 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusions.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusions.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListExclusions_sync] +// [START logging_v2_generated_configclient_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_Config_ListExclusions_sync] +// [END logging_v2_generated_configclient_listexclusions_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsBillingaccountname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsBillingaccountname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsBillingaccountname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsBillingaccountname.java index 9939428ec0e..e7ac9c19e1b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsBillingaccountname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsBillingaccountname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListExclusions_Billingaccountname_sync] +// [START logging_v2_generated_configclient_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_Config_ListExclusions_Billingaccountname_sync] +// [END logging_v2_generated_configclient_listexclusions_billingaccountname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsFoldername.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsFoldername.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsFoldername.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsFoldername.java index 3008fc13a18..4c2f70e3e6d 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsFoldername.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsFoldername.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListExclusions_Foldername_sync] +// [START logging_v2_generated_configclient_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_Config_ListExclusions_Foldername_sync] +// [END logging_v2_generated_configclient_listexclusions_foldername_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsOrganizationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsOrganizationname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsOrganizationname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsOrganizationname.java index 457259ff275..06ff515d5d0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsOrganizationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsOrganizationname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListExclusions_Organizationname_sync] +// [START logging_v2_generated_configclient_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_Config_ListExclusions_Organizationname_sync] +// [END logging_v2_generated_configclient_listexclusions_organizationname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsProjectname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsProjectname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsProjectname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsProjectname.java index 087d4e7241f..a71c6371730 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsProjectname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListExclusions_Projectname_sync] +// [START logging_v2_generated_configclient_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_Config_ListExclusions_Projectname_sync] +// [END logging_v2_generated_configclient_listexclusions_projectname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsString.java index 29eab9f45b3..780159346c0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListExclusions_String_sync] +// [START logging_v2_generated_configclient_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_Config_ListExclusions_String_sync] +// [END logging_v2_generated_configclient_listexclusions_string_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/AsyncListSinks.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/AsyncListSinks.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/AsyncListSinks.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/AsyncListSinks.java index bf52d0e4887..46a682b0c07 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/AsyncListSinks.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/AsyncListSinks.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListSinks_async] +// [START logging_v2_generated_configclient_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_Config_ListSinks_async] +// [END logging_v2_generated_configclient_listsinks_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/AsyncListSinksPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/AsyncListSinksPaged.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/AsyncListSinksPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/AsyncListSinksPaged.java index 66fc641d8bf..93d3ff719c1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/AsyncListSinksPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/AsyncListSinksPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListSinks_Paged_async] +// [START logging_v2_generated_configclient_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_Config_ListSinks_Paged_async] +// [END logging_v2_generated_configclient_listsinks_paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinks.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinks.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinks.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinks.java index 28a7508adac..64d444f784f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinks.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinks.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListSinks_sync] +// [START logging_v2_generated_configclient_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_Config_ListSinks_sync] +// [END logging_v2_generated_configclient_listsinks_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksBillingaccountname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksBillingaccountname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksBillingaccountname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksBillingaccountname.java index f90b7ddf60a..c0dde5f3591 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksBillingaccountname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksBillingaccountname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListSinks_Billingaccountname_sync] +// [START logging_v2_generated_configclient_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_Config_ListSinks_Billingaccountname_sync] +// [END logging_v2_generated_configclient_listsinks_billingaccountname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksFoldername.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksFoldername.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksFoldername.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksFoldername.java index ac9330d5561..797aa9ab66f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksFoldername.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksFoldername.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListSinks_Foldername_sync] +// [START logging_v2_generated_configclient_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_Config_ListSinks_Foldername_sync] +// [END logging_v2_generated_configclient_listsinks_foldername_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksOrganizationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksOrganizationname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksOrganizationname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksOrganizationname.java index 110aff10e28..a6f77fb8033 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksOrganizationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksOrganizationname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListSinks_Organizationname_sync] +// [START logging_v2_generated_configclient_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_Config_ListSinks_Organizationname_sync] +// [END logging_v2_generated_configclient_listsinks_organizationname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksProjectname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksProjectname.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksProjectname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksProjectname.java index 991cf621c68..345a523d78a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksProjectname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListSinks_Projectname_sync] +// [START logging_v2_generated_configclient_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_Config_ListSinks_Projectname_sync] +// [END logging_v2_generated_configclient_listsinks_projectname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksString.java index 251b54b9cdc..be0f4d59622 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListSinks_String_sync] +// [START logging_v2_generated_configclient_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_Config_ListSinks_String_sync] +// [END logging_v2_generated_configclient_listsinks_string_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/AsyncListViews.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/AsyncListViews.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/AsyncListViews.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/AsyncListViews.java index 5063a7df093..d8640496900 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/AsyncListViews.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/AsyncListViews.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListViews_async] +// [START logging_v2_generated_configclient_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_Config_ListViews_async] +// [END logging_v2_generated_configclient_listviews_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/AsyncListViewsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/AsyncListViewsPaged.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/AsyncListViewsPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/AsyncListViewsPaged.java index 8e2b30f750c..1128e0c953e 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/AsyncListViewsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/AsyncListViewsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListViews_Paged_async] +// [START logging_v2_generated_configclient_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_Config_ListViews_Paged_async] +// [END logging_v2_generated_configclient_listviews_paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/SyncListViews.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/SyncListViews.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/SyncListViews.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/SyncListViews.java index 65ab409b36f..952e9a693b5 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/SyncListViews.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/SyncListViews.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListViews_sync] +// [START logging_v2_generated_configclient_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_Config_ListViews_sync] +// [END logging_v2_generated_configclient_listviews_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/SyncListViewsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/SyncListViewsString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/SyncListViewsString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/SyncListViewsString.java index 90d4eb7a3f0..8823b13a830 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/SyncListViewsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/SyncListViewsString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_ListViews_String_sync] +// [START logging_v2_generated_configclient_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_Config_ListViews_String_sync] +// [END logging_v2_generated_configclient_listviews_string_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/undeletebucket/AsyncUndeleteBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/undeletebucket/AsyncUndeleteBucket.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/undeletebucket/AsyncUndeleteBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/undeletebucket/AsyncUndeleteBucket.java index 4ac4f216003..3ce4cbddee1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/undeletebucket/AsyncUndeleteBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/undeletebucket/AsyncUndeleteBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UndeleteBucket_async] +// [START logging_v2_generated_configclient_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_Config_UndeleteBucket_async] +// [END logging_v2_generated_configclient_undeletebucket_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/undeletebucket/SyncUndeleteBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/undeletebucket/SyncUndeleteBucket.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/undeletebucket/SyncUndeleteBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/undeletebucket/SyncUndeleteBucket.java index a6d397c7bba..084e5535f4b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/undeletebucket/SyncUndeleteBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/undeletebucket/SyncUndeleteBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UndeleteBucket_sync] +// [START logging_v2_generated_configclient_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_Config_UndeleteBucket_sync] +// [END logging_v2_generated_configclient_undeletebucket_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatebucket/AsyncUpdateBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatebucket/AsyncUpdateBucket.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatebucket/AsyncUpdateBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatebucket/AsyncUpdateBucket.java index 2bdf045fefe..0f0c1b04bee 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatebucket/AsyncUpdateBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatebucket/AsyncUpdateBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateBucket_async] +// [START logging_v2_generated_configclient_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_Config_UpdateBucket_async] +// [END logging_v2_generated_configclient_updatebucket_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatebucket/SyncUpdateBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatebucket/SyncUpdateBucket.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatebucket/SyncUpdateBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatebucket/SyncUpdateBucket.java index 6bc0a81437e..dc2a5272417 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatebucket/SyncUpdateBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatebucket/SyncUpdateBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateBucket_sync] +// [START logging_v2_generated_configclient_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_Config_UpdateBucket_sync] +// [END logging_v2_generated_configclient_updatebucket_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatecmeksettings/AsyncUpdateCmekSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatecmeksettings/AsyncUpdateCmekSettings.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatecmeksettings/AsyncUpdateCmekSettings.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatecmeksettings/AsyncUpdateCmekSettings.java index 075afc71d93..7dbb0368ce7 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatecmeksettings/AsyncUpdateCmekSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatecmeksettings/AsyncUpdateCmekSettings.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateCmekSettings_async] +// [START logging_v2_generated_configclient_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_Config_UpdateCmekSettings_async] +// [END logging_v2_generated_configclient_updatecmeksettings_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatecmeksettings/SyncUpdateCmekSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatecmeksettings/SyncUpdateCmekSettings.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatecmeksettings/SyncUpdateCmekSettings.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatecmeksettings/SyncUpdateCmekSettings.java index 066db0f2219..d3792e3208b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatecmeksettings/SyncUpdateCmekSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatecmeksettings/SyncUpdateCmekSettings.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateCmekSettings_sync] +// [START logging_v2_generated_configclient_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_Config_UpdateCmekSettings_sync] +// [END logging_v2_generated_configclient_updatecmeksettings_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/AsyncUpdateExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/AsyncUpdateExclusion.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/AsyncUpdateExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/AsyncUpdateExclusion.java index e2c794e3489..e55d0d0fe98 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/AsyncUpdateExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/AsyncUpdateExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateExclusion_async] +// [START logging_v2_generated_configclient_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_Config_UpdateExclusion_async] +// [END logging_v2_generated_configclient_updateexclusion_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusion.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusion.java index 635ae3138a1..1db3dc488ae 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateExclusion_sync] +// [START logging_v2_generated_configclient_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_Config_UpdateExclusion_sync] +// [END logging_v2_generated_configclient_updateexclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java index 019d31b844b..78a1e5a9866 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateExclusion_LogexclusionnameLogexclusionFieldmask_sync] +// [START logging_v2_generated_configclient_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_Config_UpdateExclusion_LogexclusionnameLogexclusionFieldmask_sync] +// [END logging_v2_generated_configclient_updateexclusion_logexclusionnamelogexclusionfieldmask_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java index 0382f5dd3ce..75c16f8caec 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateExclusion_StringLogexclusionFieldmask_sync] +// [START logging_v2_generated_configclient_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_Config_UpdateExclusion_StringLogexclusionFieldmask_sync] +// [END logging_v2_generated_configclient_updateexclusion_stringlogexclusionfieldmask_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/AsyncUpdateSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/AsyncUpdateSink.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/AsyncUpdateSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/AsyncUpdateSink.java index ab63f731ff3..7fcf0bdf1c6 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/AsyncUpdateSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/AsyncUpdateSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateSink_async] +// [START logging_v2_generated_configclient_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_Config_UpdateSink_async] +// [END logging_v2_generated_configclient_updatesink_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSink.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSink.java index a642e8af7f4..7c8807c8afe 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateSink_sync] +// [START logging_v2_generated_configclient_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_Config_UpdateSink_sync] +// [END logging_v2_generated_configclient_updatesink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkLogsinknameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkLogsinknameLogsink.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkLogsinknameLogsink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkLogsinknameLogsink.java index 8a6d30e8400..78a81f89373 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkLogsinknameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkLogsinknameLogsink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateSink_LogsinknameLogsink_sync] +// [START logging_v2_generated_configclient_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_Config_UpdateSink_LogsinknameLogsink_sync] +// [END logging_v2_generated_configclient_updatesink_logsinknamelogsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java index 32323d55d34..e06b9c774cb 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateSink_LogsinknameLogsinkFieldmask_sync] +// [START logging_v2_generated_configclient_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_Config_UpdateSink_LogsinknameLogsinkFieldmask_sync] +// [END logging_v2_generated_configclient_updatesink_logsinknamelogsinkfieldmask_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkStringLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkStringLogsink.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkStringLogsink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkStringLogsink.java index 8e7effd9228..86cc0f5b954 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkStringLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkStringLogsink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateSink_StringLogsink_sync] +// [START logging_v2_generated_configclient_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_Config_UpdateSink_StringLogsink_sync] +// [END logging_v2_generated_configclient_updatesink_stringlogsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java index 1c7601f9e85..b7f8f651227 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateSink_StringLogsinkFieldmask_sync] +// [START logging_v2_generated_configclient_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_Config_UpdateSink_StringLogsinkFieldmask_sync] +// [END logging_v2_generated_configclient_updatesink_stringlogsinkfieldmask_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateview/AsyncUpdateView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateview/AsyncUpdateView.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateview/AsyncUpdateView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateview/AsyncUpdateView.java index d184350a612..3f0daf24c3b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateview/AsyncUpdateView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateview/AsyncUpdateView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateView_async] +// [START logging_v2_generated_configclient_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_Config_UpdateView_async] +// [END logging_v2_generated_configclient_updateview_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateview/SyncUpdateView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateview/SyncUpdateView.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateview/SyncUpdateView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateview/SyncUpdateView.java index de3ed279b0a..d1d31171331 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateview/SyncUpdateView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateview/SyncUpdateView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Config_UpdateView_sync] +// [START logging_v2_generated_configclient_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_Config_UpdateView_sync] +// [END logging_v2_generated_configclient_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 4ce50113117..53cfac1f8f1 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/logging/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/create/SyncCreateSetCredentialsProvider.java index d3e7fce8597..1e0aca60623 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_Create_SetCredentialsProvider_sync] +// [START logging_v2_generated_loggingclient_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_Logging_Create_SetCredentialsProvider_sync] +// [END logging_v2_generated_loggingclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/create/SyncCreateSetEndpoint.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/create/SyncCreateSetEndpoint.java index cc7769f0b08..22c45b6a900 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_Create_SetEndpoint_sync] +// [START logging_v2_generated_loggingclient_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_Logging_Create_SetEndpoint_sync] +// [END logging_v2_generated_loggingclient_create_setendpoint_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/AsyncDeleteLog.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/AsyncDeleteLog.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/AsyncDeleteLog.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/AsyncDeleteLog.java index 65dfbf6fc43..0c043527314 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/AsyncDeleteLog.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/AsyncDeleteLog.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_DeleteLog_async] +// [START logging_v2_generated_loggingclient_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_Logging_DeleteLog_async] +// [END logging_v2_generated_loggingclient_deletelog_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLog.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLog.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLog.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLog.java index f58e35379b9..92d383e7cb3 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLog.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLog.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_DeleteLog_sync] +// [START logging_v2_generated_loggingclient_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_Logging_DeleteLog_sync] +// [END logging_v2_generated_loggingclient_deletelog_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLogLogname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLogLogname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLogLogname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLogLogname.java index c12ea2f593c..6a76c31d201 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLogLogname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLogLogname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_DeleteLog_Logname_sync] +// [START logging_v2_generated_loggingclient_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_Logging_DeleteLog_Logname_sync] +// [END logging_v2_generated_loggingclient_deletelog_logname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLogString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLogString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLogString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLogString.java index fe86078e27e..65d291b1bcc 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLogString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLogString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_DeleteLog_String_sync] +// [START logging_v2_generated_loggingclient_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_Logging_DeleteLog_String_sync] +// [END logging_v2_generated_loggingclient_deletelog_string_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/AsyncListLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/AsyncListLogEntries.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/AsyncListLogEntries.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/AsyncListLogEntries.java index ef5d7e8ccb3..c169336b224 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/AsyncListLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/AsyncListLogEntries.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListLogEntries_async] +// [START logging_v2_generated_loggingclient_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_Logging_ListLogEntries_async] +// [END logging_v2_generated_loggingclient_listlogentries_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/AsyncListLogEntriesPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/AsyncListLogEntriesPaged.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/AsyncListLogEntriesPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/AsyncListLogEntriesPaged.java index 2bfb1b6c3fd..311f40bbd9d 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/AsyncListLogEntriesPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/AsyncListLogEntriesPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListLogEntries_Paged_async] +// [START logging_v2_generated_loggingclient_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_Logging_ListLogEntries_Paged_async] +// [END logging_v2_generated_loggingclient_listlogentries_paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/SyncListLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/SyncListLogEntries.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/SyncListLogEntries.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/SyncListLogEntries.java index 94861f95710..e8b582e4007 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/SyncListLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/SyncListLogEntries.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListLogEntries_sync] +// [START logging_v2_generated_loggingclient_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_Logging_ListLogEntries_sync] +// [END logging_v2_generated_loggingclient_listlogentries_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/SyncListLogEntriesListstringStringString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/SyncListLogEntriesListstringStringString.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/SyncListLogEntriesListstringStringString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/SyncListLogEntriesListstringStringString.java index 94ce4dac9a8..1bcaaf470e1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/SyncListLogEntriesListstringStringString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/SyncListLogEntriesListstringStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListLogEntries_ListstringStringString_sync] +// [START logging_v2_generated_loggingclient_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_Logging_ListLogEntries_ListstringStringString_sync] +// [END logging_v2_generated_loggingclient_listlogentries_liststringstringstring_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/AsyncListLogs.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/AsyncListLogs.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/AsyncListLogs.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/AsyncListLogs.java index 6152c9cb13d..bc7e1709c37 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/AsyncListLogs.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/AsyncListLogs.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListLogs_async] +// [START logging_v2_generated_loggingclient_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_Logging_ListLogs_async] +// [END logging_v2_generated_loggingclient_listlogs_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/AsyncListLogsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/AsyncListLogsPaged.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/AsyncListLogsPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/AsyncListLogsPaged.java index e2b6c24eab0..18e4bd70d9f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/AsyncListLogsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/AsyncListLogsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListLogs_Paged_async] +// [START logging_v2_generated_loggingclient_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_Logging_ListLogs_Paged_async] +// [END logging_v2_generated_loggingclient_listlogs_paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogs.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogs.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogs.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogs.java index ad9b101fe97..141b91f95f2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogs.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogs.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListLogs_sync] +// [START logging_v2_generated_loggingclient_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_Logging_ListLogs_sync] +// [END logging_v2_generated_loggingclient_listlogs_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsBillingaccountname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsBillingaccountname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsBillingaccountname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsBillingaccountname.java index ea94e648b7c..ca034d54fbf 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsBillingaccountname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsBillingaccountname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListLogs_Billingaccountname_sync] +// [START logging_v2_generated_loggingclient_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_Logging_ListLogs_Billingaccountname_sync] +// [END logging_v2_generated_loggingclient_listlogs_billingaccountname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsFoldername.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsFoldername.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsFoldername.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsFoldername.java index 97385d41dc1..07aec779252 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsFoldername.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsFoldername.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListLogs_Foldername_sync] +// [START logging_v2_generated_loggingclient_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_Logging_ListLogs_Foldername_sync] +// [END logging_v2_generated_loggingclient_listlogs_foldername_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsOrganizationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsOrganizationname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsOrganizationname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsOrganizationname.java index f217a490ab3..ac63a26b681 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsOrganizationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsOrganizationname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListLogs_Organizationname_sync] +// [START logging_v2_generated_loggingclient_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_Logging_ListLogs_Organizationname_sync] +// [END logging_v2_generated_loggingclient_listlogs_organizationname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsProjectname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsProjectname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsProjectname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsProjectname.java index baeac438a0d..4ce1d9fe0be 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsProjectname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListLogs_Projectname_sync] +// [START logging_v2_generated_loggingclient_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_Logging_ListLogs_Projectname_sync] +// [END logging_v2_generated_loggingclient_listlogs_projectname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsString.java index 343ea0797d7..99b9cb34371 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListLogs_String_sync] +// [START logging_v2_generated_loggingclient_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_Logging_ListLogs_String_sync] +// [END logging_v2_generated_loggingclient_listlogs_string_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java index 0393705c878..a24c7196864 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListMonitoredResourceDescriptors_async] +// [START logging_v2_generated_loggingclient_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_Logging_ListMonitoredResourceDescriptors_async] +// [END logging_v2_generated_loggingclient_listmonitoredresourcedescriptors_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java index a60e62e53fb..389ac1437d2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListMonitoredResourceDescriptors_Paged_async] +// [START logging_v2_generated_loggingclient_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_Logging_ListMonitoredResourceDescriptors_Paged_async] +// [END logging_v2_generated_loggingclient_listmonitoredresourcedescriptors_paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java index 0240d0ae200..10f2bd95d2a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_ListMonitoredResourceDescriptors_sync] +// [START logging_v2_generated_loggingclient_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_Logging_ListMonitoredResourceDescriptors_sync] +// [END logging_v2_generated_loggingclient_listmonitoredresourcedescriptors_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/taillogentries/AsyncTailLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/taillogentries/AsyncTailLogEntries.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/taillogentries/AsyncTailLogEntries.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/taillogentries/AsyncTailLogEntries.java index 04500ea8a93..11ad1e4b8a0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/taillogentries/AsyncTailLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/taillogentries/AsyncTailLogEntries.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_TailLogEntries_async] +// [START logging_v2_generated_loggingclient_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_Logging_TailLogEntries_async] +// [END logging_v2_generated_loggingclient_taillogentries_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/AsyncWriteLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/AsyncWriteLogEntries.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/AsyncWriteLogEntries.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/AsyncWriteLogEntries.java index b8aac8db890..9669ae5aa9e 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/AsyncWriteLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/AsyncWriteLogEntries.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_WriteLogEntries_async] +// [START logging_v2_generated_loggingclient_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_Logging_WriteLogEntries_async] +// [END logging_v2_generated_loggingclient_writelogentries_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntries.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntries.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntries.java index 649f1366b94..034a50c3228 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntries.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_WriteLogEntries_sync] +// [START logging_v2_generated_loggingclient_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_Logging_WriteLogEntries_sync] +// [END logging_v2_generated_loggingclient_writelogentries_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java index 65ba6735800..b122e0ca596 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_WriteLogEntries_LognameMonitoredresourceMapstringstringListlogentry_sync] +// [START logging_v2_generated_loggingclient_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_Logging_WriteLogEntries_LognameMonitoredresourceMapstringstringListlogentry_sync] +// [END logging_v2_generated_loggingclient_writelogentries_lognamemonitoredresourcemapstringstringlistlogentry_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java index d69e7f5f35f..90432747f19 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Logging_WriteLogEntries_StringMonitoredresourceMapstringstringListlogentry_sync] +// [START logging_v2_generated_loggingclient_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_Logging_WriteLogEntries_StringMonitoredresourceMapstringstringListlogentry_sync] +// [END logging_v2_generated_loggingclient_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 11841688bad..0eeb1e8ec10 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/metrics/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/create/SyncCreateSetCredentialsProvider.java index 2b202407d37..4a7fad7c9c2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_Create_SetCredentialsProvider_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_Create_SetCredentialsProvider_sync] +// [END logging_v2_generated_metricsclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/create/SyncCreateSetEndpoint.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/create/SyncCreateSetEndpoint.java index 74cba5dfc80..f619e9fcd8c 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_Create_SetEndpoint_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_Create_SetEndpoint_sync] +// [END logging_v2_generated_metricsclient_create_setendpoint_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/AsyncCreateLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/AsyncCreateLogMetric.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/AsyncCreateLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/AsyncCreateLogMetric.java index bedd6dc5465..4bd3ba31865 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/AsyncCreateLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/AsyncCreateLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_CreateLogMetric_async] +// [START logging_v2_generated_metricsclient_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_Metrics_CreateLogMetric_async] +// [END logging_v2_generated_metricsclient_createlogmetric_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetric.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetric.java index f8fd7a6882f..a88b849b709 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_CreateLogMetric_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_CreateLogMetric_sync] +// [END logging_v2_generated_metricsclient_createlogmetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java index 25844b26af3..abe243b3ce6 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_CreateLogMetric_ProjectnameLogmetric_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_CreateLogMetric_ProjectnameLogmetric_sync] +// [END logging_v2_generated_metricsclient_createlogmetric_projectnamelogmetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetricStringLogmetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetricStringLogmetric.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetricStringLogmetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetricStringLogmetric.java index 0f3b22f116a..7c6ae95efa6 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetricStringLogmetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetricStringLogmetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_CreateLogMetric_StringLogmetric_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_CreateLogMetric_StringLogmetric_sync] +// [END logging_v2_generated_metricsclient_createlogmetric_stringlogmetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/AsyncDeleteLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/AsyncDeleteLogMetric.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/AsyncDeleteLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/AsyncDeleteLogMetric.java index fabe228bf23..aeaaa68a98c 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/AsyncDeleteLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/AsyncDeleteLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_DeleteLogMetric_async] +// [START logging_v2_generated_metricsclient_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_Metrics_DeleteLogMetric_async] +// [END logging_v2_generated_metricsclient_deletelogmetric_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetric.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetric.java index 5130f428faa..246790429fa 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_DeleteLogMetric_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_DeleteLogMetric_sync] +// [END logging_v2_generated_metricsclient_deletelogmetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetricLogmetricname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetricLogmetricname.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetricLogmetricname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetricLogmetricname.java index a512881e8f6..46b6b255ff8 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetricLogmetricname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetricLogmetricname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_DeleteLogMetric_Logmetricname_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_DeleteLogMetric_Logmetricname_sync] +// [END logging_v2_generated_metricsclient_deletelogmetric_logmetricname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetricString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetricString.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetricString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetricString.java index ac60ed04e76..8cb923cf77a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetricString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetricString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_DeleteLogMetric_String_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_DeleteLogMetric_String_sync] +// [END logging_v2_generated_metricsclient_deletelogmetric_string_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/AsyncGetLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/AsyncGetLogMetric.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/AsyncGetLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/AsyncGetLogMetric.java index 32808dc48be..b7db353cf2a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/AsyncGetLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/AsyncGetLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_GetLogMetric_async] +// [START logging_v2_generated_metricsclient_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_Metrics_GetLogMetric_async] +// [END logging_v2_generated_metricsclient_getlogmetric_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetric.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetric.java index b73437233f7..a9970e2b400 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_GetLogMetric_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_GetLogMetric_sync] +// [END logging_v2_generated_metricsclient_getlogmetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetricLogmetricname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetricLogmetricname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetricLogmetricname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetricLogmetricname.java index 9fe81972fbe..d2c15e1c467 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetricLogmetricname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetricLogmetricname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_GetLogMetric_Logmetricname_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_GetLogMetric_Logmetricname_sync] +// [END logging_v2_generated_metricsclient_getlogmetric_logmetricname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetricString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetricString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetricString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetricString.java index 49336d172d1..da9854a0df5 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetricString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetricString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_GetLogMetric_String_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_GetLogMetric_String_sync] +// [END logging_v2_generated_metricsclient_getlogmetric_string_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/AsyncListLogMetrics.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/AsyncListLogMetrics.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/AsyncListLogMetrics.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/AsyncListLogMetrics.java index 9baa82c72e8..27a380cec91 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/AsyncListLogMetrics.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/AsyncListLogMetrics.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_ListLogMetrics_async] +// [START logging_v2_generated_metricsclient_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_Metrics_ListLogMetrics_async] +// [END logging_v2_generated_metricsclient_listlogmetrics_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/AsyncListLogMetricsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/AsyncListLogMetricsPaged.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/AsyncListLogMetricsPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/AsyncListLogMetricsPaged.java index e403a31d81c..2d9de6a783f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/AsyncListLogMetricsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/AsyncListLogMetricsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_ListLogMetrics_Paged_async] +// [START logging_v2_generated_metricsclient_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_Metrics_ListLogMetrics_Paged_async] +// [END logging_v2_generated_metricsclient_listlogmetrics_paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetrics.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetrics.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetrics.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetrics.java index 4cd6c5b24a9..2ac1b067e8b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetrics.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetrics.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_ListLogMetrics_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_ListLogMetrics_sync] +// [END logging_v2_generated_metricsclient_listlogmetrics_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetricsProjectname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetricsProjectname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetricsProjectname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetricsProjectname.java index c9311ec6f58..cf6269ed8a9 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetricsProjectname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetricsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_ListLogMetrics_Projectname_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_ListLogMetrics_Projectname_sync] +// [END logging_v2_generated_metricsclient_listlogmetrics_projectname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetricsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetricsString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetricsString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetricsString.java index f549e4fcfd8..9ed1d30246f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetricsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetricsString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_ListLogMetrics_String_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_ListLogMetrics_String_sync] +// [END logging_v2_generated_metricsclient_listlogmetrics_string_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/AsyncUpdateLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/AsyncUpdateLogMetric.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/AsyncUpdateLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/AsyncUpdateLogMetric.java index b5b805473b3..f7b38ecde53 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/AsyncUpdateLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/AsyncUpdateLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_UpdateLogMetric_async] +// [START logging_v2_generated_metricsclient_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_Metrics_UpdateLogMetric_async] +// [END logging_v2_generated_metricsclient_updatelogmetric_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetric.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetric.java index d9ddd5cabfe..3130ade6612 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_UpdateLogMetric_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_UpdateLogMetric_sync] +// [END logging_v2_generated_metricsclient_updatelogmetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java index 95afee63f12..350e4dedc8b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_UpdateLogMetric_LogmetricnameLogmetric_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_UpdateLogMetric_LogmetricnameLogmetric_sync] +// [END logging_v2_generated_metricsclient_updatelogmetric_logmetricnamelogmetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java index 72d5b2a9148..ef975ac05cd 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_Metrics_UpdateLogMetric_StringLogmetric_sync] +// [START logging_v2_generated_metricsclient_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_Metrics_UpdateLogMetric_StringLogmetric_sync] +// [END logging_v2_generated_metricsclient_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 7827c8c0a84..8d790e3197e 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 cf43da01a29..bb2b8d8ed71 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 9dbb84f39f2..c9ea0e0fe66 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 be68fa61439..ef0eed02579 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/schemaservice/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/create/SyncCreateSetCredentialsProvider.java index f66d3eb2807..8d6ba7006ed 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_Create_SetCredentialsProvider_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_Create_SetCredentialsProvider_sync] +// [END pubsub_v1_generated_schemaserviceclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetEndpoint.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/create/SyncCreateSetEndpoint.java index 6fef477696d..64b754ef54c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_Create_SetEndpoint_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_Create_SetEndpoint_sync] +// [END pubsub_v1_generated_schemaserviceclient_create_setendpoint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/AsyncCreateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/AsyncCreateSchema.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/AsyncCreateSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/AsyncCreateSchema.java index 8177b54efe1..faf8677a74d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/AsyncCreateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/AsyncCreateSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_CreateSchema_async] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_CreateSchema_async] +// [END pubsub_v1_generated_schemaserviceclient_createschema_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchema.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchema.java index 6318c403b59..eb04b75b150 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_CreateSchema_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_CreateSchema_sync] +// [END pubsub_v1_generated_schemaserviceclient_createschema_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaProjectnameSchemaString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchemaProjectnameSchemaString.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaProjectnameSchemaString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchemaProjectnameSchemaString.java index 63d1ec61c04..9aa8f43218d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaProjectnameSchemaString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchemaProjectnameSchemaString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_CreateSchema_ProjectnameSchemaString_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_CreateSchema_ProjectnameSchemaString_sync] +// [END pubsub_v1_generated_schemaserviceclient_createschema_projectnameschemastring_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaStringSchemaString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchemaStringSchemaString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaStringSchemaString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchemaStringSchemaString.java index e1e42c77df1..8fd4669d1e8 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaStringSchemaString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchemaStringSchemaString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_CreateSchema_StringSchemaString_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_CreateSchema_StringSchemaString_sync] +// [END pubsub_v1_generated_schemaserviceclient_createschema_stringschemastring_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/AsyncDeleteSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/AsyncDeleteSchema.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/AsyncDeleteSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/AsyncDeleteSchema.java index e278448b05a..07b999d269f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/AsyncDeleteSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/AsyncDeleteSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_DeleteSchema_async] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_DeleteSchema_async] +// [END pubsub_v1_generated_schemaserviceclient_deleteschema_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchema.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchema.java index b7e421a8a88..04ee5a3078c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_DeleteSchema_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_DeleteSchema_sync] +// [END pubsub_v1_generated_schemaserviceclient_deleteschema_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaSchemaname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchemaSchemaname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaSchemaname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchemaSchemaname.java index af400a0849c..600c71d0e57 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaSchemaname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchemaSchemaname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_DeleteSchema_Schemaname_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_DeleteSchema_Schemaname_sync] +// [END pubsub_v1_generated_schemaserviceclient_deleteschema_schemaname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchemaString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchemaString.java index 52af2a9a273..59d1983e02a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchemaString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_DeleteSchema_String_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_DeleteSchema_String_sync] +// [END pubsub_v1_generated_schemaserviceclient_deleteschema_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getiampolicy/AsyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/AsyncGetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getiampolicy/AsyncGetIamPolicy.java index 17b5095bd32..89eee40dc09 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getiampolicy/AsyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_GetIamPolicy_async] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_GetIamPolicy_async] +// [END pubsub_v1_generated_schemaserviceclient_getiampolicy_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getiampolicy/SyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/SyncGetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getiampolicy/SyncGetIamPolicy.java index 94900150359..a479793be6a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getiampolicy/SyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_GetIamPolicy_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_GetIamPolicy_sync] +// [END pubsub_v1_generated_schemaserviceclient_getiampolicy_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/AsyncGetSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/AsyncGetSchema.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/AsyncGetSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/AsyncGetSchema.java index 6ffacc689a8..2d2e1fd522a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/AsyncGetSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/AsyncGetSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_GetSchema_async] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_GetSchema_async] +// [END pubsub_v1_generated_schemaserviceclient_getschema_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchema.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchema.java index 5daf4351de0..dfe599dae70 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_GetSchema_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_GetSchema_sync] +// [END pubsub_v1_generated_schemaserviceclient_getschema_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaSchemaname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchemaSchemaname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaSchemaname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchemaSchemaname.java index c0a7730113c..6f4c1ad2b26 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaSchemaname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchemaSchemaname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_GetSchema_Schemaname_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_GetSchema_Schemaname_sync] +// [END pubsub_v1_generated_schemaserviceclient_getschema_schemaname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchemaString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchemaString.java index bc666dbc1ce..1033d3f4b12 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchemaString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_GetSchema_String_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_GetSchema_String_sync] +// [END pubsub_v1_generated_schemaserviceclient_getschema_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemas.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/AsyncListSchemas.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemas.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/AsyncListSchemas.java index b32fd480b5a..db3e3f29dc3 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemas.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/AsyncListSchemas.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_ListSchemas_async] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_ListSchemas_async] +// [END pubsub_v1_generated_schemaserviceclient_listschemas_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemasPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/AsyncListSchemasPaged.java similarity index 94% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemasPaged.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/AsyncListSchemasPaged.java index 6076b5e9660..3b09948cd05 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemasPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/AsyncListSchemasPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_ListSchemas_Paged_async] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_ListSchemas_Paged_async] +// [END pubsub_v1_generated_schemaserviceclient_listschemas_paged_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemas.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemas.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemas.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemas.java index 705545481f2..944e349087c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemas.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemas.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_ListSchemas_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_ListSchemas_sync] +// [END pubsub_v1_generated_schemaserviceclient_listschemas_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasProjectname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemasProjectname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasProjectname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemasProjectname.java index d8508321ea7..e763eab4fd7 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasProjectname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemasProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_ListSchemas_Projectname_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_ListSchemas_Projectname_sync] +// [END pubsub_v1_generated_schemaserviceclient_listschemas_projectname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemasString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemasString.java index 51ece993eb5..f7e84a39038 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemasString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_ListSchemas_String_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_ListSchemas_String_sync] +// [END pubsub_v1_generated_schemaserviceclient_listschemas_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/setiampolicy/AsyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/AsyncSetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/setiampolicy/AsyncSetIamPolicy.java index 2ed22cb8759..f0bc5642089 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/setiampolicy/AsyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_SetIamPolicy_async] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_SetIamPolicy_async] +// [END pubsub_v1_generated_schemaserviceclient_setiampolicy_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/setiampolicy/SyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/SyncSetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/setiampolicy/SyncSetIamPolicy.java index e5bd6247818..8adab7bd366 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/setiampolicy/SyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_SetIamPolicy_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_SetIamPolicy_sync] +// [END pubsub_v1_generated_schemaserviceclient_setiampolicy_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/testiampermissions/AsyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/AsyncTestIamPermissions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/testiampermissions/AsyncTestIamPermissions.java index f90e406a06e..5811d23d1c3 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/testiampermissions/AsyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_TestIamPermissions_async] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_TestIamPermissions_async] +// [END pubsub_v1_generated_schemaserviceclient_testiampermissions_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/testiampermissions/SyncTestIamPermissions.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/SyncTestIamPermissions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/testiampermissions/SyncTestIamPermissions.java index 2cc276ac721..da49c01d547 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/testiampermissions/SyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_TestIamPermissions_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_TestIamPermissions_sync] +// [END pubsub_v1_generated_schemaserviceclient_testiampermissions_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/AsyncValidateMessage.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validatemessage/AsyncValidateMessage.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/AsyncValidateMessage.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validatemessage/AsyncValidateMessage.java index 9e14354d7bc..0697504355a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/AsyncValidateMessage.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validatemessage/AsyncValidateMessage.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_ValidateMessage_async] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_ValidateMessage_async] +// [END pubsub_v1_generated_schemaserviceclient_validatemessage_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/SyncValidateMessage.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validatemessage/SyncValidateMessage.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/SyncValidateMessage.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validatemessage/SyncValidateMessage.java index 639b29346b7..12068a1d54f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/SyncValidateMessage.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validatemessage/SyncValidateMessage.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_ValidateMessage_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_ValidateMessage_sync] +// [END pubsub_v1_generated_schemaserviceclient_validatemessage_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/AsyncValidateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/AsyncValidateSchema.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/AsyncValidateSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/AsyncValidateSchema.java index ff299bad221..492fcf08035 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/AsyncValidateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/AsyncValidateSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_ValidateSchema_async] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_ValidateSchema_async] +// [END pubsub_v1_generated_schemaserviceclient_validateschema_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchema.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchema.java index 48554202986..0d2c0a78a38 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_ValidateSchema_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_ValidateSchema_sync] +// [END pubsub_v1_generated_schemaserviceclient_validateschema_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaProjectnameSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchemaProjectnameSchema.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaProjectnameSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchemaProjectnameSchema.java index 02e4cd0c207..fb0ea01fed1 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaProjectnameSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchemaProjectnameSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_ValidateSchema_ProjectnameSchema_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_ValidateSchema_ProjectnameSchema_sync] +// [END pubsub_v1_generated_schemaserviceclient_validateschema_projectnameschema_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaStringSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchemaStringSchema.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaStringSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchemaStringSchema.java index 0b99145866f..2cca6e31309 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaStringSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchemaStringSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SchemaService_ValidateSchema_StringSchema_sync] +// [START pubsub_v1_generated_schemaserviceclient_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_SchemaService_ValidateSchema_StringSchema_sync] +// [END pubsub_v1_generated_schemaserviceclient_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 b19fdbf7fbd..91efa0a7a08 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 df62a5021b9..659e6f2a4f8 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 5f9bbe406f7..9d6ccf77b1b 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 ea4083396e0..be52f20f4fb 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/subscriptionadmin/acknowledge/AsyncAcknowledge.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/AsyncAcknowledge.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/AsyncAcknowledge.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/AsyncAcknowledge.java index 29614b0859a..1b3c6066255 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/AsyncAcknowledge.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/AsyncAcknowledge.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_Acknowledge_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_Acknowledge_async] +// [END pubsub_v1_generated_subscriptionadminclient_acknowledge_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledge.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledge.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledge.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledge.java index 751dfb0d782..b906a3e82c2 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledge.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledge.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_Acknowledge_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_Acknowledge_sync] +// [END pubsub_v1_generated_subscriptionadminclient_acknowledge_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledgeStringListstring.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledgeStringListstring.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledgeStringListstring.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledgeStringListstring.java index 8cdc60b7909..5aa2df865dc 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledgeStringListstring.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledgeStringListstring.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_Acknowledge_StringListstring_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_Acknowledge_StringListstring_sync] +// [END pubsub_v1_generated_subscriptionadminclient_acknowledge_stringliststring_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java index c34aa36f1d5..9c2dcf4927a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_Acknowledge_SubscriptionnameListstring_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_Acknowledge_SubscriptionnameListstring_sync] +// [END pubsub_v1_generated_subscriptionadminclient_acknowledge_subscriptionnameliststring_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/create/SyncCreateSetCredentialsProvider.java index 9b5057e4763..3acdaf154eb 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_Create_SetCredentialsProvider_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_Create_SetCredentialsProvider_sync] +// [END pubsub_v1_generated_subscriptionadminclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/create/SyncCreateSetEndpoint.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/create/SyncCreateSetEndpoint.java index e23042c9c33..8e5d38436ba 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_Create_SetEndpoint_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_Create_SetEndpoint_sync] +// [END pubsub_v1_generated_subscriptionadminclient_create_setendpoint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/AsyncCreateSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/AsyncCreateSnapshot.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/AsyncCreateSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/AsyncCreateSnapshot.java index 6fbc541b5e3..4eb276cd655 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/AsyncCreateSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/AsyncCreateSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_CreateSnapshot_async] +// [END pubsub_v1_generated_subscriptionadminclient_createsnapshot_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshot.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshot.java index 29edfc51c53..dc2bdd6504c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_CreateSnapshot_sync] +// [END pubsub_v1_generated_subscriptionadminclient_createsnapshot_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotSnapshotnameString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotSnapshotnameString.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotSnapshotnameString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotSnapshotnameString.java index 6946725a408..a3a11e309be 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotSnapshotnameString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotSnapshotnameString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_SnapshotnameString_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_CreateSnapshot_SnapshotnameString_sync] +// [END pubsub_v1_generated_subscriptionadminclient_createsnapshot_snapshotnamestring_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java index 8411049f9ed..5d237c5280a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_SnapshotnameSubscriptionname_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_CreateSnapshot_SnapshotnameSubscriptionname_sync] +// [END pubsub_v1_generated_subscriptionadminclient_createsnapshot_snapshotnamesubscriptionname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotStringString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotStringString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotStringString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotStringString.java index da5863331b9..6be73f743d8 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotStringString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_StringString_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_CreateSnapshot_StringString_sync] +// [END pubsub_v1_generated_subscriptionadminclient_createsnapshot_stringstring_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java index 339814cabe6..e3c5c25fca0 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_StringSubscriptionname_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_CreateSnapshot_StringSubscriptionname_sync] +// [END pubsub_v1_generated_subscriptionadminclient_createsnapshot_stringsubscriptionname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/AsyncCreateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/AsyncCreateSubscription.java similarity index 95% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/AsyncCreateSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/AsyncCreateSubscription.java index 7d51d4ea882..f5c291a69b5 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/AsyncCreateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/AsyncCreateSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_CreateSubscription_async] +// [END pubsub_v1_generated_subscriptionadminclient_createsubscription_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscription.java similarity index 94% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscription.java index 6f9ec0df0f7..cf9498af7e6 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_CreateSubscription_sync] +// [END pubsub_v1_generated_subscriptionadminclient_createsubscription_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java index 04f5007d198..29689fa9962 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_StringStringPushconfigInt_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_CreateSubscription_StringStringPushconfigInt_sync] +// [END pubsub_v1_generated_subscriptionadminclient_createsubscription_stringstringpushconfigint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java index a67223a0466..8bb5df7f35b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_StringTopicnamePushconfigInt_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_CreateSubscription_StringTopicnamePushconfigInt_sync] +// [END pubsub_v1_generated_subscriptionadminclient_createsubscription_stringtopicnamepushconfigint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java index 574fe47706d..b88fb5fff05 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_SubscriptionnameStringPushconfigInt_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_CreateSubscription_SubscriptionnameStringPushconfigInt_sync] +// [END pubsub_v1_generated_subscriptionadminclient_createsubscription_subscriptionnamestringpushconfigint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java similarity index 89% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java index 4aee56b88d8..db965129bfa 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_SubscriptionnameTopicnamePushconfigInt_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_CreateSubscription_SubscriptionnameTopicnamePushconfigInt_sync] +// [END pubsub_v1_generated_subscriptionadminclient_createsubscription_subscriptionnametopicnamepushconfigint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/AsyncDeleteSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/AsyncDeleteSnapshot.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/AsyncDeleteSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/AsyncDeleteSnapshot.java index 80b063f2d19..feb62e0fbee 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/AsyncDeleteSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/AsyncDeleteSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSnapshot_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_DeleteSnapshot_async] +// [END pubsub_v1_generated_subscriptionadminclient_deletesnapshot_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshot.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshot.java index dd52f69b522..82a245cc5ef 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSnapshot_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_DeleteSnapshot_sync] +// [END pubsub_v1_generated_subscriptionadminclient_deletesnapshot_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshotSnapshotname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshotSnapshotname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshotSnapshotname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshotSnapshotname.java index 4932bb9f6ff..4ca1c0bcc6f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshotSnapshotname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshotSnapshotname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSnapshot_Snapshotname_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_DeleteSnapshot_Snapshotname_sync] +// [END pubsub_v1_generated_subscriptionadminclient_deletesnapshot_snapshotname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshotString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshotString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshotString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshotString.java index eaf04e65eec..b728a12ba8b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshotString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshotString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSnapshot_String_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_DeleteSnapshot_String_sync] +// [END pubsub_v1_generated_subscriptionadminclient_deletesnapshot_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/AsyncDeleteSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/AsyncDeleteSubscription.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/AsyncDeleteSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/AsyncDeleteSubscription.java index b5b5cd8dabc..8a55c39faf2 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/AsyncDeleteSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/AsyncDeleteSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSubscription_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_DeleteSubscription_async] +// [END pubsub_v1_generated_subscriptionadminclient_deletesubscription_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscription.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscription.java index dad68bcb90e..346e57f842d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSubscription_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_DeleteSubscription_sync] +// [END pubsub_v1_generated_subscriptionadminclient_deletesubscription_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscriptionString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscriptionString.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscriptionString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscriptionString.java index 4b93510039b..075f759ed7b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscriptionString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscriptionString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSubscription_String_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_DeleteSubscription_String_sync] +// [END pubsub_v1_generated_subscriptionadminclient_deletesubscription_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java similarity index 89% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java index cd58d7c94ae..e66a3a93e29 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSubscription_Subscriptionname_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_DeleteSubscription_Subscriptionname_sync] +// [END pubsub_v1_generated_subscriptionadminclient_deletesubscription_subscriptionname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getiampolicy/AsyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getiampolicy/AsyncGetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getiampolicy/AsyncGetIamPolicy.java index a4008113c58..0f9feb64d35 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getiampolicy/AsyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_GetIamPolicy_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_GetIamPolicy_async] +// [END pubsub_v1_generated_subscriptionadminclient_getiampolicy_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getiampolicy/SyncGetIamPolicy.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getiampolicy/SyncGetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getiampolicy/SyncGetIamPolicy.java index 5f5010cdf01..bdb63a6ab6a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getiampolicy/SyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_GetIamPolicy_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_GetIamPolicy_sync] +// [END pubsub_v1_generated_subscriptionadminclient_getiampolicy_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/AsyncGetSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/AsyncGetSnapshot.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/AsyncGetSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/AsyncGetSnapshot.java index b23e6c203ad..5e95662956f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/AsyncGetSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/AsyncGetSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_GetSnapshot_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_GetSnapshot_async] +// [END pubsub_v1_generated_subscriptionadminclient_getsnapshot_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshot.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshot.java index e6b917d600b..bc865fa6003 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_GetSnapshot_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_GetSnapshot_sync] +// [END pubsub_v1_generated_subscriptionadminclient_getsnapshot_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshotSnapshotname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshotSnapshotname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshotSnapshotname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshotSnapshotname.java index 9089e7a7eb9..e9fc164f91c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshotSnapshotname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshotSnapshotname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_GetSnapshot_Snapshotname_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_GetSnapshot_Snapshotname_sync] +// [END pubsub_v1_generated_subscriptionadminclient_getsnapshot_snapshotname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshotString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshotString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshotString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshotString.java index d0b18341913..7de3b85c4e0 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshotString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshotString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_GetSnapshot_String_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_GetSnapshot_String_sync] +// [END pubsub_v1_generated_subscriptionadminclient_getsnapshot_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/AsyncGetSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/AsyncGetSubscription.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/AsyncGetSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/AsyncGetSubscription.java index 5aa661cd092..9b1e63ebc03 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/AsyncGetSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/AsyncGetSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_GetSubscription_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_GetSubscription_async] +// [END pubsub_v1_generated_subscriptionadminclient_getsubscription_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscription.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscription.java index af814f76d26..cbeabada4d7 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_GetSubscription_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_GetSubscription_sync] +// [END pubsub_v1_generated_subscriptionadminclient_getsubscription_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscriptionString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscriptionString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscriptionString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscriptionString.java index 96318e4fb6e..3bd50b6001c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscriptionString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscriptionString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_GetSubscription_String_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_GetSubscription_String_sync] +// [END pubsub_v1_generated_subscriptionadminclient_getsubscription_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscriptionSubscriptionname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscriptionSubscriptionname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscriptionSubscriptionname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscriptionSubscriptionname.java index 9139aaea831..4923c9dcf84 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscriptionSubscriptionname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscriptionSubscriptionname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_GetSubscription_Subscriptionname_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_GetSubscription_Subscriptionname_sync] +// [END pubsub_v1_generated_subscriptionadminclient_getsubscription_subscriptionname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/AsyncListSnapshots.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/AsyncListSnapshots.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/AsyncListSnapshots.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/AsyncListSnapshots.java index 4bdc239e587..ea951f4f41d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/AsyncListSnapshots.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/AsyncListSnapshots.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ListSnapshots_async] +// [END pubsub_v1_generated_subscriptionadminclient_listsnapshots_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/AsyncListSnapshotsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/AsyncListSnapshotsPaged.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/AsyncListSnapshotsPaged.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/AsyncListSnapshotsPaged.java index 3a2e369ced3..28bc0d20832 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/AsyncListSnapshotsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/AsyncListSnapshotsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_Paged_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ListSnapshots_Paged_async] +// [END pubsub_v1_generated_subscriptionadminclient_listsnapshots_paged_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshots.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshots.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshots.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshots.java index 6fa35252722..261d05cfa8e 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshots.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshots.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ListSnapshots_sync] +// [END pubsub_v1_generated_subscriptionadminclient_listsnapshots_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshotsProjectname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshotsProjectname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshotsProjectname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshotsProjectname.java index f17df582c9f..bd4d286c6df 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshotsProjectname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshotsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_Projectname_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ListSnapshots_Projectname_sync] +// [END pubsub_v1_generated_subscriptionadminclient_listsnapshots_projectname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshotsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshotsString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshotsString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshotsString.java index c5c71dcdb88..5b3cba33121 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshotsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshotsString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_String_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ListSnapshots_String_sync] +// [END pubsub_v1_generated_subscriptionadminclient_listsnapshots_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/AsyncListSubscriptions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/AsyncListSubscriptions.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/AsyncListSubscriptions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/AsyncListSubscriptions.java index c80178b90bf..8cc89c68569 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/AsyncListSubscriptions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/AsyncListSubscriptions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ListSubscriptions_async] +// [END pubsub_v1_generated_subscriptionadminclient_listsubscriptions_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/AsyncListSubscriptionsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/AsyncListSubscriptionsPaged.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/AsyncListSubscriptionsPaged.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/AsyncListSubscriptionsPaged.java index 5caf00064ac..8836db0ab21 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/AsyncListSubscriptionsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/AsyncListSubscriptionsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_Paged_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ListSubscriptions_Paged_async] +// [END pubsub_v1_generated_subscriptionadminclient_listsubscriptions_paged_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptions.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptions.java index 888b1baf121..d7bb4f92fec 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ListSubscriptions_sync] +// [END pubsub_v1_generated_subscriptionadminclient_listsubscriptions_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptionsProjectname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptionsProjectname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptionsProjectname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptionsProjectname.java index feec6ee3943..d36a99ac62e 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptionsProjectname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptionsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_Projectname_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ListSubscriptions_Projectname_sync] +// [END pubsub_v1_generated_subscriptionadminclient_listsubscriptions_projectname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptionsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptionsString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptionsString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptionsString.java index 14e0d0a9e16..af1c8187dd4 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptionsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptionsString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_String_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ListSubscriptions_String_sync] +// [END pubsub_v1_generated_subscriptionadminclient_listsubscriptions_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/AsyncModifyAckDeadline.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/AsyncModifyAckDeadline.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/AsyncModifyAckDeadline.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/AsyncModifyAckDeadline.java index 62c37591bb9..7cbd8d2a6f2 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/AsyncModifyAckDeadline.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/AsyncModifyAckDeadline.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ModifyAckDeadline_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ModifyAckDeadline_async] +// [END pubsub_v1_generated_subscriptionadminclient_modifyackdeadline_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadline.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadline.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadline.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadline.java index e606d1d958a..5be7ebb0185 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadline.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadline.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ModifyAckDeadline_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ModifyAckDeadline_sync] +// [END pubsub_v1_generated_subscriptionadminclient_modifyackdeadline_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java index 9c801638316..7b40b2dbc2c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ModifyAckDeadline_StringListstringInt_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ModifyAckDeadline_StringListstringInt_sync] +// [END pubsub_v1_generated_subscriptionadminclient_modifyackdeadline_stringliststringint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java similarity index 89% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java index 0f6c75fb281..208b31b2565 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ModifyAckDeadline_SubscriptionnameListstringInt_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ModifyAckDeadline_SubscriptionnameListstringInt_sync] +// [END pubsub_v1_generated_subscriptionadminclient_modifyackdeadline_subscriptionnameliststringint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/AsyncModifyPushConfig.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/AsyncModifyPushConfig.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/AsyncModifyPushConfig.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/AsyncModifyPushConfig.java index e4f4b494a9f..668ec61965b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/AsyncModifyPushConfig.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/AsyncModifyPushConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ModifyPushConfig_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ModifyPushConfig_async] +// [END pubsub_v1_generated_subscriptionadminclient_modifypushconfig_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfig.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfig.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfig.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfig.java index 4b98fffbf33..72f4e5369cd 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfig.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ModifyPushConfig_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ModifyPushConfig_sync] +// [END pubsub_v1_generated_subscriptionadminclient_modifypushconfig_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfigStringPushconfig.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfigStringPushconfig.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfigStringPushconfig.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfigStringPushconfig.java index 9d10bea2aa5..ac730021be2 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfigStringPushconfig.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfigStringPushconfig.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ModifyPushConfig_StringPushconfig_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ModifyPushConfig_StringPushconfig_sync] +// [END pubsub_v1_generated_subscriptionadminclient_modifypushconfig_stringpushconfig_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java similarity index 89% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java index a158e59cc07..de4a8dfbd9c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_ModifyPushConfig_SubscriptionnamePushconfig_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_ModifyPushConfig_SubscriptionnamePushconfig_sync] +// [END pubsub_v1_generated_subscriptionadminclient_modifypushconfig_subscriptionnamepushconfig_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/AsyncPull.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/AsyncPull.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/AsyncPull.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/AsyncPull.java index f947a915b50..c893d34fee7 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/AsyncPull.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/AsyncPull.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_Pull_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_Pull_async] +// [END pubsub_v1_generated_subscriptionadminclient_pull_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPull.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPull.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPull.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPull.java index c1a1079c5d7..6704f86359f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPull.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPull.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_Pull_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_Pull_sync] +// [END pubsub_v1_generated_subscriptionadminclient_pull_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullStringBooleanInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullStringBooleanInt.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullStringBooleanInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullStringBooleanInt.java index bf9f3708ef9..00f4ebb1d10 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullStringBooleanInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullStringBooleanInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_Pull_StringBooleanInt_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_Pull_StringBooleanInt_sync] +// [END pubsub_v1_generated_subscriptionadminclient_pull_stringbooleanint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullStringInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullStringInt.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullStringInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullStringInt.java index 33f0db5f86f..e0c3a4f0e90 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullStringInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullStringInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_Pull_StringInt_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_Pull_StringInt_sync] +// [END pubsub_v1_generated_subscriptionadminclient_pull_stringint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullSubscriptionnameBooleanInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullSubscriptionnameBooleanInt.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullSubscriptionnameBooleanInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullSubscriptionnameBooleanInt.java index 48adb74d45b..04beea7b2c0 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullSubscriptionnameBooleanInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullSubscriptionnameBooleanInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_Pull_SubscriptionnameBooleanInt_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_Pull_SubscriptionnameBooleanInt_sync] +// [END pubsub_v1_generated_subscriptionadminclient_pull_subscriptionnamebooleanint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullSubscriptionnameInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullSubscriptionnameInt.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullSubscriptionnameInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullSubscriptionnameInt.java index 50621657137..853c3002950 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullSubscriptionnameInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullSubscriptionnameInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_Pull_SubscriptionnameInt_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_Pull_SubscriptionnameInt_sync] +// [END pubsub_v1_generated_subscriptionadminclient_pull_subscriptionnameint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/seek/AsyncSeek.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/seek/AsyncSeek.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/seek/AsyncSeek.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/seek/AsyncSeek.java index 55212dd97d1..d5443a89e11 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/seek/AsyncSeek.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/seek/AsyncSeek.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_Seek_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_Seek_async] +// [END pubsub_v1_generated_subscriptionadminclient_seek_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/seek/SyncSeek.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/seek/SyncSeek.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/seek/SyncSeek.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/seek/SyncSeek.java index 70a99a9ef7f..ce4818173c2 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/seek/SyncSeek.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/seek/SyncSeek.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_Seek_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_Seek_sync] +// [END pubsub_v1_generated_subscriptionadminclient_seek_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/setiampolicy/AsyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/setiampolicy/AsyncSetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/setiampolicy/AsyncSetIamPolicy.java index ac7cb04a375..577c1380ffb 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/setiampolicy/AsyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_SetIamPolicy_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_SetIamPolicy_async] +// [END pubsub_v1_generated_subscriptionadminclient_setiampolicy_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/setiampolicy/SyncSetIamPolicy.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/setiampolicy/SyncSetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/setiampolicy/SyncSetIamPolicy.java index 38453850c6c..7f0493ca7ea 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/setiampolicy/SyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_SetIamPolicy_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_SetIamPolicy_sync] +// [END pubsub_v1_generated_subscriptionadminclient_setiampolicy_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/streamingpull/AsyncStreamingPull.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/streamingpull/AsyncStreamingPull.java similarity index 94% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/streamingpull/AsyncStreamingPull.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/streamingpull/AsyncStreamingPull.java index 72baf126076..977dca9e234 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/streamingpull/AsyncStreamingPull.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/streamingpull/AsyncStreamingPull.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_StreamingPull_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_StreamingPull_async] +// [END pubsub_v1_generated_subscriptionadminclient_streamingpull_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/testiampermissions/AsyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/testiampermissions/AsyncTestIamPermissions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/testiampermissions/AsyncTestIamPermissions.java index 8cd6983fa85..e23f707afd3 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/testiampermissions/AsyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_TestIamPermissions_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_TestIamPermissions_async] +// [END pubsub_v1_generated_subscriptionadminclient_testiampermissions_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/testiampermissions/SyncTestIamPermissions.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/testiampermissions/SyncTestIamPermissions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/testiampermissions/SyncTestIamPermissions.java index b412b30fbb1..12d3af92b36 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/testiampermissions/SyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_TestIamPermissions_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_TestIamPermissions_sync] +// [END pubsub_v1_generated_subscriptionadminclient_testiampermissions_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesnapshot/AsyncUpdateSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesnapshot/AsyncUpdateSnapshot.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesnapshot/AsyncUpdateSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesnapshot/AsyncUpdateSnapshot.java index 36ce3fd4253..d53c3e60020 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesnapshot/AsyncUpdateSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesnapshot/AsyncUpdateSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_UpdateSnapshot_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_UpdateSnapshot_async] +// [END pubsub_v1_generated_subscriptionadminclient_updatesnapshot_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesnapshot/SyncUpdateSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesnapshot/SyncUpdateSnapshot.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesnapshot/SyncUpdateSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesnapshot/SyncUpdateSnapshot.java index 742fd2aeb5b..07efdc75e41 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesnapshot/SyncUpdateSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesnapshot/SyncUpdateSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_UpdateSnapshot_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_UpdateSnapshot_sync] +// [END pubsub_v1_generated_subscriptionadminclient_updatesnapshot_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesubscription/AsyncUpdateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesubscription/AsyncUpdateSubscription.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesubscription/AsyncUpdateSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesubscription/AsyncUpdateSubscription.java index 0d442b959b8..61872dc63a7 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesubscription/AsyncUpdateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesubscription/AsyncUpdateSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_UpdateSubscription_async] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_UpdateSubscription_async] +// [END pubsub_v1_generated_subscriptionadminclient_updatesubscription_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesubscription/SyncUpdateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesubscription/SyncUpdateSubscription.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesubscription/SyncUpdateSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesubscription/SyncUpdateSubscription.java index c4ec8bfe5fd..ef29dce71a1 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesubscription/SyncUpdateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesubscription/SyncUpdateSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_SubscriptionAdmin_UpdateSubscription_sync] +// [START pubsub_v1_generated_subscriptionadminclient_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_SubscriptionAdmin_UpdateSubscription_sync] +// [END pubsub_v1_generated_subscriptionadminclient_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 4b8fc85b528..9f7b49153c9 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/topicadmin/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/create/SyncCreateSetCredentialsProvider.java index 2689c5e6443..73b3852ce3d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_Create_SetCredentialsProvider_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_Create_SetCredentialsProvider_sync] +// [END pubsub_v1_generated_topicadminclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/create/SyncCreateSetEndpoint.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/create/SyncCreateSetEndpoint.java index 7a9873e2e18..d3010d7cdb2 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_Create_SetEndpoint_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_Create_SetEndpoint_sync] +// [END pubsub_v1_generated_topicadminclient_create_setendpoint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/AsyncCreateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/AsyncCreateTopic.java similarity index 94% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/AsyncCreateTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/AsyncCreateTopic.java index d2e14dd0733..9e392a2e53b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/AsyncCreateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/AsyncCreateTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_CreateTopic_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_CreateTopic_async] +// [END pubsub_v1_generated_topicadminclient_createtopic_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopic.java similarity index 94% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopic.java index 40695121e2e..0811718acbf 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_CreateTopic_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_CreateTopic_sync] +// [END pubsub_v1_generated_topicadminclient_createtopic_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopicString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopicString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopicString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopicString.java index c7fbe1a5076..db218d5ab63 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopicString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopicString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_CreateTopic_String_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_CreateTopic_String_sync] +// [END pubsub_v1_generated_topicadminclient_createtopic_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopicTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopicTopicname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopicTopicname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopicTopicname.java index a87e0a41ba1..40c1e72690f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopicTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopicTopicname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_CreateTopic_Topicname_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_CreateTopic_Topicname_sync] +// [END pubsub_v1_generated_topicadminclient_createtopic_topicname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/AsyncDeleteTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/AsyncDeleteTopic.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/AsyncDeleteTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/AsyncDeleteTopic.java index 54087a1a067..4984ec56a23 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/AsyncDeleteTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/AsyncDeleteTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_DeleteTopic_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_DeleteTopic_async] +// [END pubsub_v1_generated_topicadminclient_deletetopic_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopic.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopic.java index 66d35980751..fa1ed996ea6 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_DeleteTopic_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_DeleteTopic_sync] +// [END pubsub_v1_generated_topicadminclient_deletetopic_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopicString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopicString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopicString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopicString.java index 54c2d3a70d4..c4476880bbb 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopicString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopicString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_DeleteTopic_String_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_DeleteTopic_String_sync] +// [END pubsub_v1_generated_topicadminclient_deletetopic_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopicTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopicTopicname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopicTopicname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopicTopicname.java index ecfd69242ab..3e06153b59e 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopicTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopicTopicname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_DeleteTopic_Topicname_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_DeleteTopic_Topicname_sync] +// [END pubsub_v1_generated_topicadminclient_deletetopic_topicname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/detachsubscription/AsyncDetachSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/detachsubscription/AsyncDetachSubscription.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/detachsubscription/AsyncDetachSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/detachsubscription/AsyncDetachSubscription.java index 570b9cba9c2..ea439643f65 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/detachsubscription/AsyncDetachSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/detachsubscription/AsyncDetachSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_DetachSubscription_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_DetachSubscription_async] +// [END pubsub_v1_generated_topicadminclient_detachsubscription_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/detachsubscription/SyncDetachSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/detachsubscription/SyncDetachSubscription.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/detachsubscription/SyncDetachSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/detachsubscription/SyncDetachSubscription.java index 0078b627cc0..9921df6dc0e 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/detachsubscription/SyncDetachSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/detachsubscription/SyncDetachSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_DetachSubscription_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_DetachSubscription_sync] +// [END pubsub_v1_generated_topicadminclient_detachsubscription_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/getiampolicy/AsyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/getiampolicy/AsyncGetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/getiampolicy/AsyncGetIamPolicy.java index ba611dabba2..6d374e2d12a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/getiampolicy/AsyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_GetIamPolicy_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_GetIamPolicy_async] +// [END pubsub_v1_generated_topicadminclient_getiampolicy_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/getiampolicy/SyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/getiampolicy/SyncGetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/getiampolicy/SyncGetIamPolicy.java index 469141c01e3..9a7b21f97b8 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/getiampolicy/SyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_GetIamPolicy_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_GetIamPolicy_sync] +// [END pubsub_v1_generated_topicadminclient_getiampolicy_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/AsyncGetTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/AsyncGetTopic.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/AsyncGetTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/AsyncGetTopic.java index 38812517c29..a9c350d1a9f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/AsyncGetTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/AsyncGetTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_GetTopic_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_GetTopic_async] +// [END pubsub_v1_generated_topicadminclient_gettopic_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopic.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopic.java index a33abdc612c..417ff4bbeea 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_GetTopic_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_GetTopic_sync] +// [END pubsub_v1_generated_topicadminclient_gettopic_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopicString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopicString.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopicString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopicString.java index 8747bad91ab..e18e0fd46da 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopicString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopicString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_GetTopic_String_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_GetTopic_String_sync] +// [END pubsub_v1_generated_topicadminclient_gettopic_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopicTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopicTopicname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopicTopicname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopicTopicname.java index e73310c483d..d5c014b0041 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopicTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopicTopicname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_GetTopic_Topicname_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_GetTopic_Topicname_sync] +// [END pubsub_v1_generated_topicadminclient_gettopic_topicname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/AsyncListTopics.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/AsyncListTopics.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/AsyncListTopics.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/AsyncListTopics.java index 20e95874a92..204698edd8f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/AsyncListTopics.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/AsyncListTopics.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopics_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopics_async] +// [END pubsub_v1_generated_topicadminclient_listtopics_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/AsyncListTopicsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/AsyncListTopicsPaged.java similarity index 94% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/AsyncListTopicsPaged.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/AsyncListTopicsPaged.java index cd76f71f61c..674eb38ee04 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/AsyncListTopicsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/AsyncListTopicsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopics_Paged_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopics_Paged_async] +// [END pubsub_v1_generated_topicadminclient_listtopics_paged_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopics.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopics.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopics.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopics.java index 225852c9056..c613ba487bb 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopics.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopics.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopics_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopics_sync] +// [END pubsub_v1_generated_topicadminclient_listtopics_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopicsProjectname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopicsProjectname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopicsProjectname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopicsProjectname.java index 8a778609532..85213f16748 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopicsProjectname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopicsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopics_Projectname_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopics_Projectname_sync] +// [END pubsub_v1_generated_topicadminclient_listtopics_projectname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopicsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopicsString.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopicsString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopicsString.java index 7d5cef7204e..6a8d893f07d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopicsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopicsString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopics_String_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopics_String_sync] +// [END pubsub_v1_generated_topicadminclient_listtopics_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/AsyncListTopicSnapshots.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/AsyncListTopicSnapshots.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/AsyncListTopicSnapshots.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/AsyncListTopicSnapshots.java index fe65e4f98c9..9b862febb83 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/AsyncListTopicSnapshots.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/AsyncListTopicSnapshots.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopicSnapshots_async] +// [END pubsub_v1_generated_topicadminclient_listtopicsnapshots_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java index b89916be967..7d39cf98d30 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_Paged_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopicSnapshots_Paged_async] +// [END pubsub_v1_generated_topicadminclient_listtopicsnapshots_paged_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshots.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshots.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshots.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshots.java index dbf6f6c855b..4fe184cae83 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshots.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshots.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopicSnapshots_sync] +// [END pubsub_v1_generated_topicadminclient_listtopicsnapshots_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshotsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshotsString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshotsString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshotsString.java index b8fcb984602..6c6ea28f014 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshotsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshotsString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_String_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopicSnapshots_String_sync] +// [END pubsub_v1_generated_topicadminclient_listtopicsnapshots_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java index 143193b4227..835c9ba0f1d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_Topicname_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopicSnapshots_Topicname_sync] +// [END pubsub_v1_generated_topicadminclient_listtopicsnapshots_topicname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/AsyncListTopicSubscriptions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/AsyncListTopicSubscriptions.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/AsyncListTopicSubscriptions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/AsyncListTopicSubscriptions.java index d81e41eb1f5..684c18072e6 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/AsyncListTopicSubscriptions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/AsyncListTopicSubscriptions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopicSubscriptions_async] +// [END pubsub_v1_generated_topicadminclient_listtopicsubscriptions_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java index 8e1e6e74435..056cacdc039 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_Paged_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopicSubscriptions_Paged_async] +// [END pubsub_v1_generated_topicadminclient_listtopicsubscriptions_paged_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptions.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptions.java index ddacb54ab26..5106175cdfe 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopicSubscriptions_sync] +// [END pubsub_v1_generated_topicadminclient_listtopicsubscriptions_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptionsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptionsString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptionsString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptionsString.java index d3b44f61bbe..0f3a7de139b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptionsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptionsString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_String_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopicSubscriptions_String_sync] +// [END pubsub_v1_generated_topicadminclient_listtopicsubscriptions_string_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java index 0b7ba70458e..c94024d9bd0 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_Topicname_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_ListTopicSubscriptions_Topicname_sync] +// [END pubsub_v1_generated_topicadminclient_listtopicsubscriptions_topicname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/AsyncPublish.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/AsyncPublish.java similarity index 94% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/AsyncPublish.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/AsyncPublish.java index 7be4c1d4a6f..0428022c898 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/AsyncPublish.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/AsyncPublish.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_Publish_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_Publish_async] +// [END pubsub_v1_generated_topicadminclient_publish_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublish.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublish.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublish.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublish.java index 159a94a8b09..82abe2dcc52 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublish.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublish.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_Publish_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_Publish_sync] +// [END pubsub_v1_generated_topicadminclient_publish_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublishStringListpubsubmessage.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublishStringListpubsubmessage.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublishStringListpubsubmessage.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublishStringListpubsubmessage.java index 0e293316b59..304ed27e2d8 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublishStringListpubsubmessage.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublishStringListpubsubmessage.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_Publish_StringListpubsubmessage_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_Publish_StringListpubsubmessage_sync] +// [END pubsub_v1_generated_topicadminclient_publish_stringlistpubsubmessage_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublishTopicnameListpubsubmessage.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublishTopicnameListpubsubmessage.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublishTopicnameListpubsubmessage.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublishTopicnameListpubsubmessage.java index 3ee1c88f3f5..049d7bd6288 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublishTopicnameListpubsubmessage.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublishTopicnameListpubsubmessage.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_Publish_TopicnameListpubsubmessage_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_Publish_TopicnameListpubsubmessage_sync] +// [END pubsub_v1_generated_topicadminclient_publish_topicnamelistpubsubmessage_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/setiampolicy/AsyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/setiampolicy/AsyncSetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/setiampolicy/AsyncSetIamPolicy.java index a1e5d19d56d..99d5635a283 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/setiampolicy/AsyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_SetIamPolicy_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_SetIamPolicy_async] +// [END pubsub_v1_generated_topicadminclient_setiampolicy_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/setiampolicy/SyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/setiampolicy/SyncSetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/setiampolicy/SyncSetIamPolicy.java index 25a50f9d5a0..e362c3811a3 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/setiampolicy/SyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_SetIamPolicy_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_SetIamPolicy_sync] +// [END pubsub_v1_generated_topicadminclient_setiampolicy_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/testiampermissions/AsyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/testiampermissions/AsyncTestIamPermissions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/testiampermissions/AsyncTestIamPermissions.java index 2c521262f6a..880ce9aa23a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/testiampermissions/AsyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_TestIamPermissions_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_TestIamPermissions_async] +// [END pubsub_v1_generated_topicadminclient_testiampermissions_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/testiampermissions/SyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/testiampermissions/SyncTestIamPermissions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/testiampermissions/SyncTestIamPermissions.java index 2dfa13eb660..de87ca71342 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/testiampermissions/SyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_TestIamPermissions_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_TestIamPermissions_sync] +// [END pubsub_v1_generated_topicadminclient_testiampermissions_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/updatetopic/AsyncUpdateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/updatetopic/AsyncUpdateTopic.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/updatetopic/AsyncUpdateTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/updatetopic/AsyncUpdateTopic.java index 4a1dc41af97..4455b8f1987 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/updatetopic/AsyncUpdateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/updatetopic/AsyncUpdateTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_UpdateTopic_async] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_UpdateTopic_async] +// [END pubsub_v1_generated_topicadminclient_updatetopic_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/updatetopic/SyncUpdateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/updatetopic/SyncUpdateTopic.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/updatetopic/SyncUpdateTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/updatetopic/SyncUpdateTopic.java index ea1839364cb..5ba8feede11 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/updatetopic/SyncUpdateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/updatetopic/SyncUpdateTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_TopicAdmin_UpdateTopic_sync] +// [START pubsub_v1_generated_topicadminclient_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_TopicAdmin_UpdateTopic_sync] +// [END pubsub_v1_generated_topicadminclient_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 e716aca1df8..5e38346067f 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/cloudredis/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/create/SyncCreateSetCredentialsProvider.java index 97a5a48105f..84b8b68262b 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_Create_SetCredentialsProvider_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_Create_SetCredentialsProvider_sync] +// [END redis_v1beta1_generated_cloudredisclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetEndpoint.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/create/SyncCreateSetEndpoint.java index 91b14d3867d..dc877d2084a 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_Create_SetEndpoint_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_Create_SetEndpoint_sync] +// [END redis_v1beta1_generated_cloudredisclient_create_setendpoint_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/AsyncCreateInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/AsyncCreateInstance.java index 6e439e0dcee..96519758d6d 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/AsyncCreateInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_CreateInstance_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_CreateInstance_async] +// [END redis_v1beta1_generated_cloudredisclient_createinstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/AsyncCreateInstanceLRO.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/AsyncCreateInstanceLRO.java index 6399d919639..35fea74142f 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/AsyncCreateInstanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_CreateInstance_LRO_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_CreateInstance_LRO_async] +// [END redis_v1beta1_generated_cloudredisclient_createinstance_lro_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstance.java index c5ddf376791..ba5cd839a18 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_CreateInstance_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_CreateInstance_sync] +// [END redis_v1beta1_generated_cloudredisclient_createinstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceLocationnameStringInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstanceLocationnameStringInstance.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceLocationnameStringInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstanceLocationnameStringInstance.java index 11313ca84b2..4a0d38a8596 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceLocationnameStringInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstanceLocationnameStringInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_CreateInstance_LocationnameStringInstance_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_CreateInstance_LocationnameStringInstance_sync] +// [END redis_v1beta1_generated_cloudredisclient_createinstance_locationnamestringinstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceStringStringInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstanceStringStringInstance.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceStringStringInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstanceStringStringInstance.java index 9ee0ca14d4d..e3af6e6083a 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceStringStringInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstanceStringStringInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_CreateInstance_StringStringInstance_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_CreateInstance_StringStringInstance_sync] +// [END redis_v1beta1_generated_cloudredisclient_createinstance_stringstringinstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/AsyncDeleteInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/AsyncDeleteInstance.java index de5db2b35af..be1676aca8f 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/AsyncDeleteInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_DeleteInstance_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_DeleteInstance_async] +// [END redis_v1beta1_generated_cloudredisclient_deleteinstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/AsyncDeleteInstanceLRO.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/AsyncDeleteInstanceLRO.java index 3ec5e853bf9..d1eb442ee80 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/AsyncDeleteInstanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_DeleteInstance_LRO_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_DeleteInstance_LRO_async] +// [END redis_v1beta1_generated_cloudredisclient_deleteinstance_lro_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstance.java index e1966e46ec8..33b0ebb99eb 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_DeleteInstance_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_DeleteInstance_sync] +// [END redis_v1beta1_generated_cloudredisclient_deleteinstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceInstancename.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstanceInstancename.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceInstancename.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstanceInstancename.java index 88e9c960dd6..942b4b99e37 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceInstancename.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstanceInstancename.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_DeleteInstance_Instancename_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_DeleteInstance_Instancename_sync] +// [END redis_v1beta1_generated_cloudredisclient_deleteinstance_instancename_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstanceString.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstanceString.java index 676a72f40e8..64add1b20cd 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstanceString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_DeleteInstance_String_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_DeleteInstance_String_sync] +// [END redis_v1beta1_generated_cloudredisclient_deleteinstance_string_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/AsyncExportInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/AsyncExportInstance.java index a708fea9780..dfef10de39d 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/AsyncExportInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_ExportInstance_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_ExportInstance_async] +// [END redis_v1beta1_generated_cloudredisclient_exportinstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/AsyncExportInstanceLRO.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/AsyncExportInstanceLRO.java index 82df97b5f01..4eb0cd23e07 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/AsyncExportInstanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_ExportInstance_LRO_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_ExportInstance_LRO_async] +// [END redis_v1beta1_generated_cloudredisclient_exportinstance_lro_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/SyncExportInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/SyncExportInstance.java index f67d16d01ba..0a6078e327a 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/SyncExportInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_ExportInstance_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_ExportInstance_sync] +// [END redis_v1beta1_generated_cloudredisclient_exportinstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstanceStringOutputconfig.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/SyncExportInstanceStringOutputconfig.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstanceStringOutputconfig.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/SyncExportInstanceStringOutputconfig.java index 840fe4f0a4f..1e3a19f42b2 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstanceStringOutputconfig.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/SyncExportInstanceStringOutputconfig.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_ExportInstance_StringOutputconfig_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_ExportInstance_StringOutputconfig_sync] +// [END redis_v1beta1_generated_cloudredisclient_exportinstance_stringoutputconfig_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/AsyncFailoverInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/AsyncFailoverInstance.java index 9d5dad8db37..a6cf421f485 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/AsyncFailoverInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_FailoverInstance_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_FailoverInstance_async] +// [END redis_v1beta1_generated_cloudredisclient_failoverinstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/AsyncFailoverInstanceLRO.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/AsyncFailoverInstanceLRO.java index 03091e37675..05f0f05aec4 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/AsyncFailoverInstanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_FailoverInstance_LRO_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_FailoverInstance_LRO_async] +// [END redis_v1beta1_generated_cloudredisclient_failoverinstance_lro_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstance.java index 9fd4f0823a9..f5c369f45f1 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_FailoverInstance_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_FailoverInstance_sync] +// [END redis_v1beta1_generated_cloudredisclient_failoverinstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java similarity index 88% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java index 725f87aa079..7fdd68b0a19 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_FailoverInstance_InstancenameFailoverinstancerequestdataprotectionmode_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_FailoverInstance_InstancenameFailoverinstancerequestdataprotectionmode_sync] +// [END redis_v1beta1_generated_cloudredisclient_failoverinstance_instancenamefailoverinstancerequestdataprotectionmode_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java similarity index 89% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java index 42404416ba4..54d5a60b95f 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_FailoverInstance_StringFailoverinstancerequestdataprotectionmode_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_FailoverInstance_StringFailoverinstancerequestdataprotectionmode_sync] +// [END redis_v1beta1_generated_cloudredisclient_failoverinstance_stringfailoverinstancerequestdataprotectionmode_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/AsyncGetInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/AsyncGetInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/AsyncGetInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/AsyncGetInstance.java index 50e7e345fed..a447cd39e75 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/AsyncGetInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/AsyncGetInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_GetInstance_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_GetInstance_async] +// [END redis_v1beta1_generated_cloudredisclient_getinstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstance.java index 51a60582bd7..4bc00a7ab7a 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_GetInstance_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_GetInstance_sync] +// [END redis_v1beta1_generated_cloudredisclient_getinstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceInstancename.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstanceInstancename.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceInstancename.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstanceInstancename.java index 06236cdee0a..e22472c887d 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceInstancename.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstanceInstancename.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_GetInstance_Instancename_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_GetInstance_Instancename_sync] +// [END redis_v1beta1_generated_cloudredisclient_getinstance_instancename_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstanceString.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstanceString.java index 884d4e25443..1d3b9298088 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstanceString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_GetInstance_String_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_GetInstance_String_sync] +// [END redis_v1beta1_generated_cloudredisclient_getinstance_string_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/AsyncGetInstanceAuthString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/AsyncGetInstanceAuthString.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/AsyncGetInstanceAuthString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/AsyncGetInstanceAuthString.java index 8b6d217ea14..070ea20e4e1 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/AsyncGetInstanceAuthString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/AsyncGetInstanceAuthString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_GetInstanceAuthString_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_GetInstanceAuthString_async] +// [END redis_v1beta1_generated_cloudredisclient_getinstanceauthstring_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthString.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthString.java index 8e1750fb998..9bf0be720f4 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_GetInstanceAuthString_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_GetInstanceAuthString_sync] +// [END redis_v1beta1_generated_cloudredisclient_getinstanceauthstring_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java index aba48b769dc..51ccae536e4 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_GetInstanceAuthString_Instancename_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_GetInstanceAuthString_Instancename_sync] +// [END redis_v1beta1_generated_cloudredisclient_getinstanceauthstring_instancename_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthStringString.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthStringString.java index 01ce1d24316..2099b73459f 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_GetInstanceAuthString_String_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_GetInstanceAuthString_String_sync] +// [END redis_v1beta1_generated_cloudredisclient_getinstanceauthstring_string_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/AsyncImportInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/AsyncImportInstance.java index 3f622336805..d35688f4867 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/AsyncImportInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_ImportInstance_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_ImportInstance_async] +// [END redis_v1beta1_generated_cloudredisclient_importinstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/AsyncImportInstanceLRO.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/AsyncImportInstanceLRO.java index d42251d1efa..da4076dc262 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/AsyncImportInstanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_ImportInstance_LRO_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_ImportInstance_LRO_async] +// [END redis_v1beta1_generated_cloudredisclient_importinstance_lro_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/SyncImportInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/SyncImportInstance.java index f263e715d85..91af8a59c53 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/SyncImportInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_ImportInstance_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_ImportInstance_sync] +// [END redis_v1beta1_generated_cloudredisclient_importinstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstanceStringInputconfig.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/SyncImportInstanceStringInputconfig.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstanceStringInputconfig.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/SyncImportInstanceStringInputconfig.java index ddea6e6e403..074dea83e1d 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstanceStringInputconfig.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/SyncImportInstanceStringInputconfig.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_ImportInstance_StringInputconfig_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_ImportInstance_StringInputconfig_sync] +// [END redis_v1beta1_generated_cloudredisclient_importinstance_stringinputconfig_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstances.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/AsyncListInstances.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstances.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/AsyncListInstances.java index 20c7f67e8f1..666111e35e5 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstances.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/AsyncListInstances.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_ListInstances_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_ListInstances_async] +// [END redis_v1beta1_generated_cloudredisclient_listinstances_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstancesPaged.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/AsyncListInstancesPaged.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstancesPaged.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/AsyncListInstancesPaged.java index d9bfef025a0..b528de4cfac 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstancesPaged.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/AsyncListInstancesPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_ListInstances_Paged_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_ListInstances_Paged_async] +// [END redis_v1beta1_generated_cloudredisclient_listinstances_paged_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstances.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstances.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstances.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstances.java index f1273b5344d..8b44b76ab93 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstances.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstances.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_ListInstances_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_ListInstances_sync] +// [END redis_v1beta1_generated_cloudredisclient_listinstances_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesLocationname.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstancesLocationname.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesLocationname.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstancesLocationname.java index 9298fb26d58..074b04ba05d 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesLocationname.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstancesLocationname.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_ListInstances_Locationname_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_ListInstances_Locationname_sync] +// [END redis_v1beta1_generated_cloudredisclient_listinstances_locationname_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstancesString.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstancesString.java index 1e7395077b5..32a46245a8a 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstancesString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_ListInstances_String_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_ListInstances_String_sync] +// [END redis_v1beta1_generated_cloudredisclient_listinstances_string_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/AsyncRescheduleMaintenance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/AsyncRescheduleMaintenance.java index 0cd397acca6..6afd7c602aa 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/AsyncRescheduleMaintenance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_RescheduleMaintenance_async] +// [END redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java index d9b3ae2e1b5..d37e56f9182 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_LRO_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_RescheduleMaintenance_LRO_async] +// [END redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_lro_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenance.java index 5b97aea2e82..8b8238870a1 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_RescheduleMaintenance_sync] +// [END redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java similarity index 88% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java index b0291cf630a..3cb0db55f37 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_InstancenameReschedulemaintenancerequestrescheduletypeTimestamp_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_RescheduleMaintenance_InstancenameReschedulemaintenancerequestrescheduletypeTimestamp_sync] +// [END redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_instancenamereschedulemaintenancerequestrescheduletypetimestamp_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java similarity index 89% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java index c9f19c0ff23..ec59dafbe34 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_StringReschedulemaintenancerequestrescheduletypeTimestamp_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_RescheduleMaintenance_StringReschedulemaintenancerequestrescheduletypeTimestamp_sync] +// [END redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_stringreschedulemaintenancerequestrescheduletypetimestamp_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/AsyncUpdateInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/AsyncUpdateInstance.java index bbfd0e043ae..5e60c29ba85 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/AsyncUpdateInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_UpdateInstance_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_UpdateInstance_async] +// [END redis_v1beta1_generated_cloudredisclient_updateinstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/AsyncUpdateInstanceLRO.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/AsyncUpdateInstanceLRO.java index 342b132f9d2..fcbc0ff7636 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/AsyncUpdateInstanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_UpdateInstance_LRO_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_UpdateInstance_LRO_async] +// [END redis_v1beta1_generated_cloudredisclient_updateinstance_lro_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/SyncUpdateInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/SyncUpdateInstance.java index 8bb1c193fe6..f1bea39c8fe 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/SyncUpdateInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_UpdateInstance_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_UpdateInstance_sync] +// [END redis_v1beta1_generated_cloudredisclient_updateinstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstanceFieldmaskInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/SyncUpdateInstanceFieldmaskInstance.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstanceFieldmaskInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/SyncUpdateInstanceFieldmaskInstance.java index 65d41c35abd..d400476d730 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstanceFieldmaskInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/SyncUpdateInstanceFieldmaskInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_UpdateInstance_FieldmaskInstance_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_UpdateInstance_FieldmaskInstance_sync] +// [END redis_v1beta1_generated_cloudredisclient_updateinstance_fieldmaskinstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/AsyncUpgradeInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/AsyncUpgradeInstance.java index 64e797aed0f..9f91d32f631 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/AsyncUpgradeInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_UpgradeInstance_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_UpgradeInstance_async] +// [END redis_v1beta1_generated_cloudredisclient_upgradeinstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/AsyncUpgradeInstanceLRO.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/AsyncUpgradeInstanceLRO.java index 9db9a43a4fe..9837b002141 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/AsyncUpgradeInstanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_UpgradeInstance_LRO_async] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_UpgradeInstance_LRO_async] +// [END redis_v1beta1_generated_cloudredisclient_upgradeinstance_lro_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstance.java index 64108a66fc2..54ad26057c8 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_UpgradeInstance_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_UpgradeInstance_sync] +// [END redis_v1beta1_generated_cloudredisclient_upgradeinstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceInstancenameString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstanceInstancenameString.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceInstancenameString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstanceInstancenameString.java index 6026622393c..b2249259dff 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceInstancenameString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstanceInstancenameString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_UpgradeInstance_InstancenameString_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_UpgradeInstance_InstancenameString_sync] +// [END redis_v1beta1_generated_cloudredisclient_upgradeinstance_instancenamestring_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceStringString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstanceStringString.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceStringString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstanceStringString.java index 20816972711..4dfc6e9b852 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceStringString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstanceStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_CloudRedis_UpgradeInstance_StringString_sync] +// [START redis_v1beta1_generated_cloudredisclient_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_CloudRedis_UpgradeInstance_StringString_sync] +// [END redis_v1beta1_generated_cloudredisclient_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 e8fb16fa8a6..09bc7209e5d 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 364e543a798..4e3bd14b066 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/storage/composeobject/AsyncComposeObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/composeobject/AsyncComposeObject.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/AsyncComposeObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/composeobject/AsyncComposeObject.java index 0e7d8f5b05b..600ff7ed696 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/AsyncComposeObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/composeobject/AsyncComposeObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ComposeObject_async] +// [START storage_v2_generated_storageclient_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_Storage_ComposeObject_async] +// [END storage_v2_generated_storageclient_composeobject_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/SyncComposeObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/composeobject/SyncComposeObject.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/SyncComposeObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/composeobject/SyncComposeObject.java index 3ae9348e7bb..981389805db 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/SyncComposeObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/composeobject/SyncComposeObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ComposeObject_sync] +// [START storage_v2_generated_storageclient_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_Storage_ComposeObject_sync] +// [END storage_v2_generated_storageclient_composeobject_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/create/SyncCreateSetCredentialsProvider.java index c17ea693e17..85bff4fd736 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_Create_SetCredentialsProvider_sync] +// [START storage_v2_generated_storageclient_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_Storage_Create_SetCredentialsProvider_sync] +// [END storage_v2_generated_storageclient_create_setcredentialsprovider_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetEndpoint.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/create/SyncCreateSetEndpoint.java index b43c1b1baa7..c25efcc6482 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_Create_SetEndpoint_sync] +// [START storage_v2_generated_storageclient_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_Storage_Create_SetEndpoint_sync] +// [END storage_v2_generated_storageclient_create_setendpoint_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/AsyncCreateBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/AsyncCreateBucket.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/AsyncCreateBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/AsyncCreateBucket.java index 6ffaca8866b..bdce3c935b1 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/AsyncCreateBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/AsyncCreateBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_CreateBucket_async] +// [START storage_v2_generated_storageclient_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_Storage_CreateBucket_async] +// [END storage_v2_generated_storageclient_createbucket_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucket.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucket.java index 5978d8d46e5..933718403f6 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_CreateBucket_sync] +// [START storage_v2_generated_storageclient_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_Storage_CreateBucket_sync] +// [END storage_v2_generated_storageclient_createbucket_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketProjectnameBucketString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucketProjectnameBucketString.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketProjectnameBucketString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucketProjectnameBucketString.java index 38fba8446b5..40af1d09c13 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketProjectnameBucketString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucketProjectnameBucketString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_CreateBucket_ProjectnameBucketString_sync] +// [START storage_v2_generated_storageclient_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_Storage_CreateBucket_ProjectnameBucketString_sync] +// [END storage_v2_generated_storageclient_createbucket_projectnamebucketstring_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketStringBucketString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucketStringBucketString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketStringBucketString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucketStringBucketString.java index 7c6327688ce..347bcd26133 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketStringBucketString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucketStringBucketString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_CreateBucket_StringBucketString_sync] +// [START storage_v2_generated_storageclient_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_Storage_CreateBucket_StringBucketString_sync] +// [END storage_v2_generated_storageclient_createbucket_stringbucketstring_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/AsyncCreateHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/AsyncCreateHmacKey.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/AsyncCreateHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/AsyncCreateHmacKey.java index 82e3900e95d..a309a09f9c2 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/AsyncCreateHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/AsyncCreateHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_CreateHmacKey_async] +// [START storage_v2_generated_storageclient_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_Storage_CreateHmacKey_async] +// [END storage_v2_generated_storageclient_createhmackey_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKey.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKey.java index 6a77091f331..1fc92bad1b4 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_CreateHmacKey_sync] +// [START storage_v2_generated_storageclient_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_Storage_CreateHmacKey_sync] +// [END storage_v2_generated_storageclient_createhmackey_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyProjectnameString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKeyProjectnameString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyProjectnameString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKeyProjectnameString.java index fc3577f1aa4..f5ec47da68d 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyProjectnameString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKeyProjectnameString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_CreateHmacKey_ProjectnameString_sync] +// [START storage_v2_generated_storageclient_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_Storage_CreateHmacKey_ProjectnameString_sync] +// [END storage_v2_generated_storageclient_createhmackey_projectnamestring_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKeyStringString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyStringString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKeyStringString.java index 9223e5e485c..dc0ad3ab2bf 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKeyStringString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_CreateHmacKey_StringString_sync] +// [START storage_v2_generated_storageclient_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_Storage_CreateHmacKey_StringString_sync] +// [END storage_v2_generated_storageclient_createhmackey_stringstring_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/AsyncCreateNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/AsyncCreateNotification.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/AsyncCreateNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/AsyncCreateNotification.java index 6155ee24d44..fdaee0a18f6 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/AsyncCreateNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/AsyncCreateNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_CreateNotification_async] +// [START storage_v2_generated_storageclient_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_Storage_CreateNotification_async] +// [END storage_v2_generated_storageclient_createnotification_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotification.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotification.java index f48aec3a56c..e184870aeec 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_CreateNotification_sync] +// [START storage_v2_generated_storageclient_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_Storage_CreateNotification_sync] +// [END storage_v2_generated_storageclient_createnotification_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationProjectnameNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotificationProjectnameNotification.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationProjectnameNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotificationProjectnameNotification.java index bacc5f080be..18b1de9bc45 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationProjectnameNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotificationProjectnameNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_CreateNotification_ProjectnameNotification_sync] +// [START storage_v2_generated_storageclient_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_Storage_CreateNotification_ProjectnameNotification_sync] +// [END storage_v2_generated_storageclient_createnotification_projectnamenotification_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationStringNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotificationStringNotification.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationStringNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotificationStringNotification.java index 89588971910..d46baddb9ea 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationStringNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotificationStringNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_CreateNotification_StringNotification_sync] +// [START storage_v2_generated_storageclient_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_Storage_CreateNotification_StringNotification_sync] +// [END storage_v2_generated_storageclient_createnotification_stringnotification_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/AsyncDeleteBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/AsyncDeleteBucket.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/AsyncDeleteBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/AsyncDeleteBucket.java index 383879beda5..dffde3bea38 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/AsyncDeleteBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/AsyncDeleteBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteBucket_async] +// [START storage_v2_generated_storageclient_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_Storage_DeleteBucket_async] +// [END storage_v2_generated_storageclient_deletebucket_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucket.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucket.java index 9f273a03b60..0ba562f1052 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteBucket_sync] +// [START storage_v2_generated_storageclient_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_Storage_DeleteBucket_sync] +// [END storage_v2_generated_storageclient_deletebucket_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketBucketname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucketBucketname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketBucketname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucketBucketname.java index 058b3ba4e26..df4a03d2361 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketBucketname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucketBucketname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteBucket_Bucketname_sync] +// [START storage_v2_generated_storageclient_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_Storage_DeleteBucket_Bucketname_sync] +// [END storage_v2_generated_storageclient_deletebucket_bucketname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucketString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucketString.java index 5f2ad3506c8..2da6d7f5e16 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucketString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteBucket_String_sync] +// [START storage_v2_generated_storageclient_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_Storage_DeleteBucket_String_sync] +// [END storage_v2_generated_storageclient_deletebucket_string_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/AsyncDeleteHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/AsyncDeleteHmacKey.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/AsyncDeleteHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/AsyncDeleteHmacKey.java index 4d5371ce77d..76bc4d96ca1 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/AsyncDeleteHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/AsyncDeleteHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteHmacKey_async] +// [START storage_v2_generated_storageclient_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_Storage_DeleteHmacKey_async] +// [END storage_v2_generated_storageclient_deletehmackey_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKey.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKey.java index 4c4987aae38..7963ea332da 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteHmacKey_sync] +// [START storage_v2_generated_storageclient_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_Storage_DeleteHmacKey_sync] +// [END storage_v2_generated_storageclient_deletehmackey_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKeyStringProjectname.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringProjectname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKeyStringProjectname.java index 8268243bb2b..94737c74006 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKeyStringProjectname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteHmacKey_StringProjectname_sync] +// [START storage_v2_generated_storageclient_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_Storage_DeleteHmacKey_StringProjectname_sync] +// [END storage_v2_generated_storageclient_deletehmackey_stringprojectname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKeyStringString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKeyStringString.java index 0c80aa1abd3..af282596446 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKeyStringString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteHmacKey_StringString_sync] +// [START storage_v2_generated_storageclient_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_Storage_DeleteHmacKey_StringString_sync] +// [END storage_v2_generated_storageclient_deletehmackey_stringstring_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/AsyncDeleteNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/AsyncDeleteNotification.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/AsyncDeleteNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/AsyncDeleteNotification.java index 13375c27c80..9750969abe4 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/AsyncDeleteNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/AsyncDeleteNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteNotification_async] +// [START storage_v2_generated_storageclient_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_Storage_DeleteNotification_async] +// [END storage_v2_generated_storageclient_deletenotification_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotification.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotification.java index eb16ccf746b..61711276a6f 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteNotification_sync] +// [START storage_v2_generated_storageclient_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_Storage_DeleteNotification_sync] +// [END storage_v2_generated_storageclient_deletenotification_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationNotificationname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotificationNotificationname.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationNotificationname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotificationNotificationname.java index 2066a7f99bd..997e2a981a6 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationNotificationname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotificationNotificationname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteNotification_Notificationname_sync] +// [START storage_v2_generated_storageclient_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_Storage_DeleteNotification_Notificationname_sync] +// [END storage_v2_generated_storageclient_deletenotification_notificationname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotificationString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotificationString.java index fdae07c6849..fb4a6eb0f2f 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotificationString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteNotification_String_sync] +// [START storage_v2_generated_storageclient_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_Storage_DeleteNotification_String_sync] +// [END storage_v2_generated_storageclient_deletenotification_string_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/AsyncDeleteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/AsyncDeleteObject.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/AsyncDeleteObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/AsyncDeleteObject.java index 714cd0468bd..7a2be046303 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/AsyncDeleteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/AsyncDeleteObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteObject_async] +// [START storage_v2_generated_storageclient_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_Storage_DeleteObject_async] +// [END storage_v2_generated_storageclient_deleteobject_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObject.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObject.java index 2256af68a96..7a75b1b37f3 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteObject_sync] +// [START storage_v2_generated_storageclient_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_Storage_DeleteObject_sync] +// [END storage_v2_generated_storageclient_deleteobject_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObjectStringString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObjectStringString.java index 17f92a5fb8b..71bd69ab79b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObjectStringString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteObject_StringString_sync] +// [START storage_v2_generated_storageclient_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_Storage_DeleteObject_StringString_sync] +// [END storage_v2_generated_storageclient_deleteobject_stringstring_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringStringLong.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObjectStringStringLong.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringStringLong.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObjectStringStringLong.java index 96ece219266..95901e4bfff 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringStringLong.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObjectStringStringLong.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_DeleteObject_StringStringLong_sync] +// [START storage_v2_generated_storageclient_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_Storage_DeleteObject_StringStringLong_sync] +// [END storage_v2_generated_storageclient_deleteobject_stringstringlong_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/AsyncGetBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/AsyncGetBucket.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/AsyncGetBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/AsyncGetBucket.java index 3dcdced845d..4ffc9d602ad 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/AsyncGetBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/AsyncGetBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetBucket_async] +// [START storage_v2_generated_storageclient_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_Storage_GetBucket_async] +// [END storage_v2_generated_storageclient_getbucket_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucket.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucket.java index 7f538febb92..7041a175292 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetBucket_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetBucket_sync] +// [END storage_v2_generated_storageclient_getbucket_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketBucketname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucketBucketname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketBucketname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucketBucketname.java index 4380dde62dc..423ab72d7b7 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketBucketname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucketBucketname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetBucket_Bucketname_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetBucket_Bucketname_sync] +// [END storage_v2_generated_storageclient_getbucket_bucketname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucketString.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucketString.java index b405ab5bf89..8c45b96b536 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucketString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetBucket_String_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetBucket_String_sync] +// [END storage_v2_generated_storageclient_getbucket_string_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/AsyncGetHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/AsyncGetHmacKey.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/AsyncGetHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/AsyncGetHmacKey.java index 6296790f3a5..496208daa20 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/AsyncGetHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/AsyncGetHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetHmacKey_async] +// [START storage_v2_generated_storageclient_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_Storage_GetHmacKey_async] +// [END storage_v2_generated_storageclient_gethmackey_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKey.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKey.java index 3e10b169286..279f0db52cd 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetHmacKey_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetHmacKey_sync] +// [END storage_v2_generated_storageclient_gethmackey_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKeyStringProjectname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringProjectname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKeyStringProjectname.java index 1f9a3af72e1..b301e0005a8 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKeyStringProjectname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetHmacKey_StringProjectname_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetHmacKey_StringProjectname_sync] +// [END storage_v2_generated_storageclient_gethmackey_stringprojectname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKeyStringString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKeyStringString.java index 2d474fe1f78..a83efed1ad7 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKeyStringString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetHmacKey_StringString_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetHmacKey_StringString_sync] +// [END storage_v2_generated_storageclient_gethmackey_stringstring_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/AsyncGetIamPolicy.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/AsyncGetIamPolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/AsyncGetIamPolicy.java index 3ad40f83e0e..9ffab60de89 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/AsyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetIamPolicy_async] +// [START storage_v2_generated_storageclient_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_Storage_GetIamPolicy_async] +// [END storage_v2_generated_storageclient_getiampolicy_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicy.java index 8afb23d68de..f6ef5b73fa1 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetIamPolicy_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetIamPolicy_sync] +// [END storage_v2_generated_storageclient_getiampolicy_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyResourcename.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicyResourcename.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyResourcename.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicyResourcename.java index 7957b007f7e..d8c2afdd951 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyResourcename.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicyResourcename.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetIamPolicy_Resourcename_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetIamPolicy_Resourcename_sync] +// [END storage_v2_generated_storageclient_getiampolicy_resourcename_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicyString.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicyString.java index abf33118f16..df87a09e177 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicyString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetIamPolicy_String_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetIamPolicy_String_sync] +// [END storage_v2_generated_storageclient_getiampolicy_string_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/AsyncGetNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/AsyncGetNotification.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/AsyncGetNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/AsyncGetNotification.java index e435ab17d99..f836ad97b66 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/AsyncGetNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/AsyncGetNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetNotification_async] +// [START storage_v2_generated_storageclient_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_Storage_GetNotification_async] +// [END storage_v2_generated_storageclient_getnotification_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotification.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotification.java index cf7daa57e1a..68baa46722d 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetNotification_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetNotification_sync] +// [END storage_v2_generated_storageclient_getnotification_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationBucketname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotificationBucketname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationBucketname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotificationBucketname.java index c02279bd044..836c0fb469c 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationBucketname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotificationBucketname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetNotification_Bucketname_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetNotification_Bucketname_sync] +// [END storage_v2_generated_storageclient_getnotification_bucketname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotificationString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotificationString.java index c986a36bd9c..d7bbf4beb9c 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotificationString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetNotification_String_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetNotification_String_sync] +// [END storage_v2_generated_storageclient_getnotification_string_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/AsyncGetObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/AsyncGetObject.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/AsyncGetObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/AsyncGetObject.java index 7c9ec69f23a..bb46a24b2ef 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/AsyncGetObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/AsyncGetObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetObject_async] +// [START storage_v2_generated_storageclient_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_Storage_GetObject_async] +// [END storage_v2_generated_storageclient_getobject_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObject.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObject.java index 2df38b04115..ef07fe163d3 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetObject_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetObject_sync] +// [END storage_v2_generated_storageclient_getobject_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObjectStringString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObjectStringString.java index 055976559c3..fd0bbefc1e2 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObjectStringString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetObject_StringString_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetObject_StringString_sync] +// [END storage_v2_generated_storageclient_getobject_stringstring_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringStringLong.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObjectStringStringLong.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringStringLong.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObjectStringStringLong.java index d1b7872f9f2..815106ef57e 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringStringLong.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObjectStringStringLong.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetObject_StringStringLong_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetObject_StringStringLong_sync] +// [END storage_v2_generated_storageclient_getobject_stringstringlong_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/AsyncGetServiceAccount.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/AsyncGetServiceAccount.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/AsyncGetServiceAccount.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/AsyncGetServiceAccount.java index 5a7bc7f5bdb..f582fbccbf5 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/AsyncGetServiceAccount.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/AsyncGetServiceAccount.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetServiceAccount_async] +// [START storage_v2_generated_storageclient_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_Storage_GetServiceAccount_async] +// [END storage_v2_generated_storageclient_getserviceaccount_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccount.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccount.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccount.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccount.java index ac6aa64809c..0460911b386 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccount.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccount.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetServiceAccount_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetServiceAccount_sync] +// [END storage_v2_generated_storageclient_getserviceaccount_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccountProjectname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountProjectname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccountProjectname.java index 9c73fbfd80c..55c604cec53 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccountProjectname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetServiceAccount_Projectname_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetServiceAccount_Projectname_sync] +// [END storage_v2_generated_storageclient_getserviceaccount_projectname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccountString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccountString.java index 366ed9739ea..41643f50af0 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccountString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_GetServiceAccount_String_sync] +// [START storage_v2_generated_storageclient_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_Storage_GetServiceAccount_String_sync] +// [END storage_v2_generated_storageclient_getserviceaccount_string_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBuckets.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/AsyncListBuckets.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBuckets.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/AsyncListBuckets.java index ee836eb6811..d04519c59b0 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBuckets.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/AsyncListBuckets.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListBuckets_async] +// [START storage_v2_generated_storageclient_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_Storage_ListBuckets_async] +// [END storage_v2_generated_storageclient_listbuckets_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBucketsPaged.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/AsyncListBucketsPaged.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBucketsPaged.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/AsyncListBucketsPaged.java index 50804dc510e..adf9444d2db 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBucketsPaged.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/AsyncListBucketsPaged.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListBuckets_Paged_async] +// [START storage_v2_generated_storageclient_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_Storage_ListBuckets_Paged_async] +// [END storage_v2_generated_storageclient_listbuckets_paged_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBuckets.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBuckets.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBuckets.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBuckets.java index e8a58250929..53c374d5d38 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBuckets.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBuckets.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListBuckets_sync] +// [START storage_v2_generated_storageclient_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_Storage_ListBuckets_sync] +// [END storage_v2_generated_storageclient_listbuckets_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBucketsProjectname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsProjectname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBucketsProjectname.java index e9c9424c1a3..603a1b7d05f 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBucketsProjectname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListBuckets_Projectname_sync] +// [START storage_v2_generated_storageclient_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_Storage_ListBuckets_Projectname_sync] +// [END storage_v2_generated_storageclient_listbuckets_projectname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBucketsString.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBucketsString.java index 630f6bc2975..e9aca45a508 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBucketsString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListBuckets_String_sync] +// [START storage_v2_generated_storageclient_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_Storage_ListBuckets_String_sync] +// [END storage_v2_generated_storageclient_listbuckets_string_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeys.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/AsyncListHmacKeys.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeys.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/AsyncListHmacKeys.java index 93a5d2848dd..2880515eb30 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeys.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/AsyncListHmacKeys.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListHmacKeys_async] +// [START storage_v2_generated_storageclient_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_Storage_ListHmacKeys_async] +// [END storage_v2_generated_storageclient_listhmackeys_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeysPaged.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/AsyncListHmacKeysPaged.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeysPaged.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/AsyncListHmacKeysPaged.java index 4ab0838fb2b..e65983b0e40 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeysPaged.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/AsyncListHmacKeysPaged.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListHmacKeys_Paged_async] +// [START storage_v2_generated_storageclient_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_Storage_ListHmacKeys_Paged_async] +// [END storage_v2_generated_storageclient_listhmackeys_paged_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeys.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeys.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeys.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeys.java index aa3911a12ea..9eaf07bc4e0 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeys.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeys.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListHmacKeys_sync] +// [START storage_v2_generated_storageclient_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_Storage_ListHmacKeys_sync] +// [END storage_v2_generated_storageclient_listhmackeys_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeysProjectname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysProjectname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeysProjectname.java index 4a4791ca22a..672f339b415 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeysProjectname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListHmacKeys_Projectname_sync] +// [START storage_v2_generated_storageclient_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_Storage_ListHmacKeys_Projectname_sync] +// [END storage_v2_generated_storageclient_listhmackeys_projectname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeysString.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeysString.java index cc45b359b6b..a5852cea5ba 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeysString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListHmacKeys_String_sync] +// [START storage_v2_generated_storageclient_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_Storage_ListHmacKeys_String_sync] +// [END storage_v2_generated_storageclient_listhmackeys_string_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotifications.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/AsyncListNotifications.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotifications.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/AsyncListNotifications.java index 24f3399182f..a3e87303b16 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotifications.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/AsyncListNotifications.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListNotifications_async] +// [START storage_v2_generated_storageclient_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_Storage_ListNotifications_async] +// [END storage_v2_generated_storageclient_listnotifications_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotificationsPaged.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/AsyncListNotificationsPaged.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotificationsPaged.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/AsyncListNotificationsPaged.java index 9f14a283b13..b7db1c172d8 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotificationsPaged.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/AsyncListNotificationsPaged.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListNotifications_Paged_async] +// [START storage_v2_generated_storageclient_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_Storage_ListNotifications_Paged_async] +// [END storage_v2_generated_storageclient_listnotifications_paged_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotifications.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotifications.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotifications.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotifications.java index 0ccd2eb0d39..65dabd0edbe 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotifications.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotifications.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListNotifications_sync] +// [START storage_v2_generated_storageclient_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_Storage_ListNotifications_sync] +// [END storage_v2_generated_storageclient_listnotifications_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotificationsProjectname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsProjectname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotificationsProjectname.java index d7ee513685c..8b545ca5f4f 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotificationsProjectname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListNotifications_Projectname_sync] +// [START storage_v2_generated_storageclient_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_Storage_ListNotifications_Projectname_sync] +// [END storage_v2_generated_storageclient_listnotifications_projectname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotificationsString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotificationsString.java index 34898b1a5c3..10dc0ca3fc0 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotificationsString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListNotifications_String_sync] +// [START storage_v2_generated_storageclient_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_Storage_ListNotifications_String_sync] +// [END storage_v2_generated_storageclient_listnotifications_string_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjects.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/AsyncListObjects.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjects.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/AsyncListObjects.java index b3dc4aab673..540d821a452 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjects.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/AsyncListObjects.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListObjects_async] +// [START storage_v2_generated_storageclient_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_Storage_ListObjects_async] +// [END storage_v2_generated_storageclient_listobjects_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjectsPaged.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/AsyncListObjectsPaged.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjectsPaged.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/AsyncListObjectsPaged.java index 52ec9785724..38ab63055e2 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjectsPaged.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/AsyncListObjectsPaged.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListObjects_Paged_async] +// [START storage_v2_generated_storageclient_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_Storage_ListObjects_Paged_async] +// [END storage_v2_generated_storageclient_listobjects_paged_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjects.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjects.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjects.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjects.java index 0a7b1bf7c9a..52ee085997d 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjects.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjects.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListObjects_sync] +// [START storage_v2_generated_storageclient_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_Storage_ListObjects_sync] +// [END storage_v2_generated_storageclient_listobjects_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjectsProjectname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsProjectname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjectsProjectname.java index ffeab2e8001..d58a09ddd80 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjectsProjectname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListObjects_Projectname_sync] +// [START storage_v2_generated_storageclient_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_Storage_ListObjects_Projectname_sync] +// [END storage_v2_generated_storageclient_listobjects_projectname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjectsString.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjectsString.java index 07d0103f29d..eb5365e3db1 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjectsString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ListObjects_String_sync] +// [START storage_v2_generated_storageclient_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_Storage_ListObjects_String_sync] +// [END storage_v2_generated_storageclient_listobjects_string_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java index 0a03174d88a..9e1629faf5e 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_LockBucketRetentionPolicy_async] +// [START storage_v2_generated_storageclient_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_Storage_LockBucketRetentionPolicy_async] +// [END storage_v2_generated_storageclient_lockbucketretentionpolicy_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java index 47cfec99e8b..ef748a5b052 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_LockBucketRetentionPolicy_sync] +// [START storage_v2_generated_storageclient_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_Storage_LockBucketRetentionPolicy_sync] +// [END storage_v2_generated_storageclient_lockbucketretentionpolicy_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java index 975b421c1fd..34a49422c7d 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_LockBucketRetentionPolicy_Bucketname_sync] +// [START storage_v2_generated_storageclient_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_Storage_LockBucketRetentionPolicy_Bucketname_sync] +// [END storage_v2_generated_storageclient_lockbucketretentionpolicy_bucketname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java index 9a368ae767d..2a3a6a6d204 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_LockBucketRetentionPolicy_String_sync] +// [START storage_v2_generated_storageclient_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_Storage_LockBucketRetentionPolicy_String_sync] +// [END storage_v2_generated_storageclient_lockbucketretentionpolicy_string_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/AsyncQueryWriteStatus.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/AsyncQueryWriteStatus.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/AsyncQueryWriteStatus.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/AsyncQueryWriteStatus.java index 920ed5636d3..77d3793d695 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/AsyncQueryWriteStatus.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/AsyncQueryWriteStatus.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_QueryWriteStatus_async] +// [START storage_v2_generated_storageclient_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_Storage_QueryWriteStatus_async] +// [END storage_v2_generated_storageclient_querywritestatus_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatus.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/SyncQueryWriteStatus.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatus.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/SyncQueryWriteStatus.java index c6ca964f029..1e9a839858c 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatus.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/SyncQueryWriteStatus.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_QueryWriteStatus_sync] +// [START storage_v2_generated_storageclient_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_Storage_QueryWriteStatus_sync] +// [END storage_v2_generated_storageclient_querywritestatus_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatusString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/SyncQueryWriteStatusString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatusString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/SyncQueryWriteStatusString.java index edce608da67..8e893433d63 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatusString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/SyncQueryWriteStatusString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_QueryWriteStatus_String_sync] +// [START storage_v2_generated_storageclient_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_Storage_QueryWriteStatus_String_sync] +// [END storage_v2_generated_storageclient_querywritestatus_string_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/readobject/AsyncReadObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/readobject/AsyncReadObject.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/readobject/AsyncReadObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/readobject/AsyncReadObject.java index 9c514c72f75..2c973e42a98 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/readobject/AsyncReadObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/readobject/AsyncReadObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_ReadObject_async] +// [START storage_v2_generated_storageclient_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_Storage_ReadObject_async] +// [END storage_v2_generated_storageclient_readobject_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/AsyncRewriteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/rewriteobject/AsyncRewriteObject.java similarity index 96% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/AsyncRewriteObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/rewriteobject/AsyncRewriteObject.java index a85b895d7f3..299e85e4848 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/AsyncRewriteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/rewriteobject/AsyncRewriteObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_RewriteObject_async] +// [START storage_v2_generated_storageclient_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_Storage_RewriteObject_async] +// [END storage_v2_generated_storageclient_rewriteobject_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/SyncRewriteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/rewriteobject/SyncRewriteObject.java similarity index 96% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/SyncRewriteObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/rewriteobject/SyncRewriteObject.java index b51f59f440d..18fb3abe11f 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/SyncRewriteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/rewriteobject/SyncRewriteObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_RewriteObject_sync] +// [START storage_v2_generated_storageclient_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_Storage_RewriteObject_sync] +// [END storage_v2_generated_storageclient_rewriteobject_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/AsyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/AsyncSetIamPolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/AsyncSetIamPolicy.java index d4ee7afcc6d..fcfef46b4e3 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/AsyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_SetIamPolicy_async] +// [START storage_v2_generated_storageclient_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_Storage_SetIamPolicy_async] +// [END storage_v2_generated_storageclient_setiampolicy_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicy.java index 83ce240bc6e..162a976b3a5 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_SetIamPolicy_sync] +// [START storage_v2_generated_storageclient_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_Storage_SetIamPolicy_sync] +// [END storage_v2_generated_storageclient_setiampolicy_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java index b8c315d928c..eeb939ee738 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_SetIamPolicy_ResourcenamePolicy_sync] +// [START storage_v2_generated_storageclient_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_Storage_SetIamPolicy_ResourcenamePolicy_sync] +// [END storage_v2_generated_storageclient_setiampolicy_resourcenamepolicy_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyStringPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicyStringPolicy.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyStringPolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicyStringPolicy.java index 39e5e74725b..7e952f016d0 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyStringPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicyStringPolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_SetIamPolicy_StringPolicy_sync] +// [START storage_v2_generated_storageclient_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_Storage_SetIamPolicy_StringPolicy_sync] +// [END storage_v2_generated_storageclient_setiampolicy_stringpolicy_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/AsyncStartResumableWrite.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/startresumablewrite/AsyncStartResumableWrite.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/AsyncStartResumableWrite.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/startresumablewrite/AsyncStartResumableWrite.java index 6475b7054e1..1fd68bad188 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/AsyncStartResumableWrite.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/startresumablewrite/AsyncStartResumableWrite.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_StartResumableWrite_async] +// [START storage_v2_generated_storageclient_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_Storage_StartResumableWrite_async] +// [END storage_v2_generated_storageclient_startresumablewrite_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/SyncStartResumableWrite.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/startresumablewrite/SyncStartResumableWrite.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/SyncStartResumableWrite.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/startresumablewrite/SyncStartResumableWrite.java index 3b707f8b52d..e89e5828c44 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/SyncStartResumableWrite.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/startresumablewrite/SyncStartResumableWrite.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_StartResumableWrite_sync] +// [START storage_v2_generated_storageclient_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_Storage_StartResumableWrite_sync] +// [END storage_v2_generated_storageclient_startresumablewrite_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/AsyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/AsyncTestIamPermissions.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/AsyncTestIamPermissions.java index c8eb1c96407..66726a9a22d 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/AsyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_TestIamPermissions_async] +// [START storage_v2_generated_storageclient_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_Storage_TestIamPermissions_async] +// [END storage_v2_generated_storageclient_testiampermissions_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissions.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissions.java index dae7ffbb49f..f0b63017958 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_TestIamPermissions_sync] +// [START storage_v2_generated_storageclient_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_Storage_TestIamPermissions_sync] +// [END storage_v2_generated_storageclient_testiampermissions_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java index fe6593f2b14..8e12e2e1b11 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_TestIamPermissions_ResourcenameListstring_sync] +// [START storage_v2_generated_storageclient_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_Storage_TestIamPermissions_ResourcenameListstring_sync] +// [END storage_v2_generated_storageclient_testiampermissions_resourcenameliststring_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsStringListstring.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissionsStringListstring.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsStringListstring.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissionsStringListstring.java index 607b2ed2a4a..b0c702d65d4 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsStringListstring.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissionsStringListstring.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_TestIamPermissions_StringListstring_sync] +// [START storage_v2_generated_storageclient_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_Storage_TestIamPermissions_StringListstring_sync] +// [END storage_v2_generated_storageclient_testiampermissions_stringliststring_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/AsyncUpdateBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/AsyncUpdateBucket.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/AsyncUpdateBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/AsyncUpdateBucket.java index 0c093f53579..692e032a0c1 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/AsyncUpdateBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/AsyncUpdateBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_UpdateBucket_async] +// [START storage_v2_generated_storageclient_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_Storage_UpdateBucket_async] +// [END storage_v2_generated_storageclient_updatebucket_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/SyncUpdateBucket.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/SyncUpdateBucket.java index af6de69a6ac..2a4bf571f47 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/SyncUpdateBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_UpdateBucket_sync] +// [START storage_v2_generated_storageclient_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_Storage_UpdateBucket_sync] +// [END storage_v2_generated_storageclient_updatebucket_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucketBucketFieldmask.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/SyncUpdateBucketBucketFieldmask.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucketBucketFieldmask.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/SyncUpdateBucketBucketFieldmask.java index def1e336a32..6155dfd464e 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucketBucketFieldmask.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/SyncUpdateBucketBucketFieldmask.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_UpdateBucket_BucketFieldmask_sync] +// [START storage_v2_generated_storageclient_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_Storage_UpdateBucket_BucketFieldmask_sync] +// [END storage_v2_generated_storageclient_updatebucket_bucketfieldmask_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/AsyncUpdateHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/AsyncUpdateHmacKey.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/AsyncUpdateHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/AsyncUpdateHmacKey.java index e64d3b00af9..4d6bc6bf21b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/AsyncUpdateHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/AsyncUpdateHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_UpdateHmacKey_async] +// [START storage_v2_generated_storageclient_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_Storage_UpdateHmacKey_async] +// [END storage_v2_generated_storageclient_updatehmackey_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/SyncUpdateHmacKey.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/SyncUpdateHmacKey.java index 315cefd0cd9..348190181b6 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/SyncUpdateHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_UpdateHmacKey_sync] +// [START storage_v2_generated_storageclient_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_Storage_UpdateHmacKey_sync] +// [END storage_v2_generated_storageclient_updatehmackey_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java index 188f04a3587..8250c513727 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_UpdateHmacKey_HmackeymetadataFieldmask_sync] +// [START storage_v2_generated_storageclient_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_Storage_UpdateHmacKey_HmackeymetadataFieldmask_sync] +// [END storage_v2_generated_storageclient_updatehmackey_hmackeymetadatafieldmask_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/AsyncUpdateObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/AsyncUpdateObject.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/AsyncUpdateObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/AsyncUpdateObject.java index a91c083c6c4..2d58d876e76 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/AsyncUpdateObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/AsyncUpdateObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_UpdateObject_async] +// [START storage_v2_generated_storageclient_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_Storage_UpdateObject_async] +// [END storage_v2_generated_storageclient_updateobject_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/SyncUpdateObject.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/SyncUpdateObject.java index e5dbbf698a4..e754240336c 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/SyncUpdateObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_UpdateObject_sync] +// [START storage_v2_generated_storageclient_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_Storage_UpdateObject_sync] +// [END storage_v2_generated_storageclient_updateobject_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObjectObjectFieldmask.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/SyncUpdateObjectObjectFieldmask.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObjectObjectFieldmask.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/SyncUpdateObjectObjectFieldmask.java index c33865a01e1..7e6d83d11a5 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObjectObjectFieldmask.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/SyncUpdateObjectObjectFieldmask.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_UpdateObject_ObjectFieldmask_sync] +// [START storage_v2_generated_storageclient_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_Storage_UpdateObject_ObjectFieldmask_sync] +// [END storage_v2_generated_storageclient_updateobject_objectfieldmask_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/writeobject/AsyncWriteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/writeobject/AsyncWriteObject.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/writeobject/AsyncWriteObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/writeobject/AsyncWriteObject.java index 15ab73a6aa2..8ef622a7ead 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/writeobject/AsyncWriteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/writeobject/AsyncWriteObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_Storage_WriteObject_async] +// [START storage_v2_generated_storageclient_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_Storage_WriteObject_async] +// [END storage_v2_generated_storageclient_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 22d518e905b..064574c4d50 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 73a1bc3c2b5..4ac8cb2ed77 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]