diff --git a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/Composer.java b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/Composer.java index 8306930de1..60d4f5dde2 100644 --- a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/Composer.java +++ b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/Composer.java @@ -15,6 +15,7 @@ package com.google.api.generator.gapic.composer; import com.google.api.generator.engine.ast.ClassDefinition; +import com.google.api.generator.engine.ast.CommentStatement; import com.google.api.generator.gapic.composer.comment.CommentComposer; import com.google.api.generator.gapic.composer.grpc.GrpcServiceCallableFactoryClassComposer; import com.google.api.generator.gapic.composer.grpc.GrpcServiceStubClassComposer; @@ -36,6 +37,8 @@ import com.google.api.generator.gapic.model.Service; import com.google.api.generator.gapic.model.Transport; import com.google.common.annotations.VisibleForTesting; +import com.google.common.base.Splitter; +import com.google.common.collect.Iterables; import java.util.ArrayList; import java.util.Arrays; import java.util.List; @@ -191,36 +194,57 @@ public static List generateTestClasses(GapicContext context) { @VisibleForTesting static List prepareExecutableSamples(List clazzes, String protoPackage) { - // parse protoPackage for apiVersion and apiShortName + // parse protoPackage for apiVersion String[] pakkage = protoPackage.split("\\."); String apiVersion; - String apiShortName; // e.g. v1, v2, v1beta1 if (pakkage[pakkage.length - 1].matches("v[0-9].*")) { apiVersion = pakkage[pakkage.length - 1]; - apiShortName = pakkage[pakkage.length - 2]; } else { apiVersion = ""; - apiShortName = pakkage[pakkage.length - 1]; } - // Include license header, apiShortName, and apiVersion - return clazzes.stream() - .map( - gapicClass -> { - List samples = - gapicClass.samples().stream() - .map( - sample -> addRegionTagAndHeaderToSample(sample, apiShortName, apiVersion)) - .collect(Collectors.toList()); - return gapicClass.withSamples(samples); - }) - .collect(Collectors.toList()); + // Include license header, apiShortName, and apiVersion + List clazzesWithSamples = new ArrayList<>(); + clazzes.forEach( + gapicClass -> { + List samples = new ArrayList<>(); + gapicClass + .samples() + .forEach( + sample -> + samples.add( + addRegionTagAndHeaderToSample( + sample, parseDefaultHost(gapicClass.defaultHost()), apiVersion))); + clazzesWithSamples.add(gapicClass.withSamples(samples)); + }); + return clazzesWithSamples; } - private static Sample addRegionTagAndHeaderToSample( + // Parse defaultHost for apiShortName for the RegionTag. Need to account for regional default + // endpoints like + // "us-east1-pubsub.googleapis.com". + @VisibleForTesting + protected static String parseDefaultHost(String defaultHost) { + // If the defaultHost is of the format "**.googleapis.com", take the name before the first + // period. + String apiShortName = Iterables.getFirst(Splitter.on(".").split(defaultHost), defaultHost); + // If the defaultHost is of the format "**-**-**.googleapis.com", take the section before the + // first period and after the last dash to follow CSharp's implementation here: + // https://github.com/googleapis/gapic-generator-csharp/blob/main/Google.Api.Generator/Generation/ServiceDetails.cs#L70 + apiShortName = Iterables.getLast(Splitter.on("-").split(apiShortName), defaultHost); + // `iam-meta-api` service is an exceptional case and is handled as a one-off + if (defaultHost.contains("iam-meta-api")) { + apiShortName = "iam"; + } + return apiShortName; + } + + @VisibleForTesting + protected static Sample addRegionTagAndHeaderToSample( Sample sample, String apiShortName, String apiVersion) { + final List header = Arrays.asList(CommentComposer.APACHE_LICENSE_COMMENT); return sample - .withHeader(Arrays.asList(CommentComposer.APACHE_LICENSE_COMMENT)) + .withHeader(header) .withRegionTag( sample.regionTag().withApiVersion(apiVersion).withApiShortName(apiShortName)); } diff --git a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractServiceClientClassComposer.java b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractServiceClientClassComposer.java index cf99df8d15..c76f25c9f6 100644 --- a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractServiceClientClassComposer.java +++ b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractServiceClientClassComposer.java @@ -163,7 +163,8 @@ public GapicClass generate(GapicContext context, Service service) { .build(); updateGapicMetadata(context, service, className, grpcRpcsToJavaMethodNames); - return GapicClass.create(kind, classDef, SampleComposerUtil.handleDuplicateSamples(samples)); + return GapicClass.create(kind, classDef, SampleComposerUtil.handleDuplicateSamples(samples)) + .withDefaultHost(service.defaultHost()); } private static List createClassAnnotations(Service service, TypeStore typeStore) { diff --git a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractServiceSettingsClassComposer.java b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractServiceSettingsClassComposer.java index 68780ed6bc..08186862ae 100644 --- a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractServiceSettingsClassComposer.java +++ b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractServiceSettingsClassComposer.java @@ -126,7 +126,8 @@ public GapicClass generate(GapicContext context, Service service) { .setMethods(createClassMethods(service, typeStore)) .setNestedClasses(Arrays.asList(createNestedBuilderClass(service, typeStore))) .build(); - return GapicClass.create(kind, classDef, SampleComposerUtil.handleDuplicateSamples(samples)); + return GapicClass.create(kind, classDef, SampleComposerUtil.handleDuplicateSamples(samples)) + .withDefaultHost(service.defaultHost()); } private static List createClassHeaderComments( diff --git a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractServiceStubSettingsClassComposer.java b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractServiceStubSettingsClassComposer.java index 1074173850..cea124e96d 100644 --- a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractServiceStubSettingsClassComposer.java +++ b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractServiceStubSettingsClassComposer.java @@ -201,7 +201,8 @@ public GapicClass generate(GapicContext context, Service service) { Arrays.asList(createNestedBuilderClass(service, serviceConfig, typeStore))) .build(); return GapicClass.create( - GapicClass.Kind.STUB, classDef, SampleComposerUtil.handleDuplicateSamples(samples)); + GapicClass.Kind.STUB, classDef, SampleComposerUtil.handleDuplicateSamples(samples)) + .withDefaultHost(service.defaultHost()); } protected MethodDefinition createDefaultCredentialsProviderBuilderMethod() { diff --git a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/samplecode/SettingsSampleComposer.java b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/samplecode/SettingsSampleComposer.java index 9027f50000..372399ee56 100644 --- a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/samplecode/SettingsSampleComposer.java +++ b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/samplecode/SettingsSampleComposer.java @@ -145,6 +145,7 @@ public static Optional composeSettingsSample( .map(e -> ExprStatement.withExpr(e)) .collect(Collectors.toList()); + // TODO: alicejli edit RegionTag to match other languages RegionTag regionTag = RegionTag.builder() .setServiceName(classType.reference().name()) diff --git a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/model/GapicClass.java b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/model/GapicClass.java index eee6349fa8..165cb4d94b 100644 --- a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/model/GapicClass.java +++ b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/model/GapicClass.java @@ -35,6 +35,10 @@ public enum Kind { public abstract List samples(); + // Represents the host URL for the service. May or may not contain a regional endpoint. Only used + // for generating the region tag for samples; therefore only used in select Composers. + public abstract String defaultHost(); + public static GapicClass create(Kind kind, ClassDefinition classDefinition) { return builder().setKind(kind).setClassDefinition(classDefinition).build(); } @@ -45,7 +49,9 @@ public static GapicClass create( } static Builder builder() { - return new AutoValue_GapicClass.Builder().setSamples(Collections.emptyList()); + return new AutoValue_GapicClass.Builder() + .setSamples(Collections.emptyList()) + .setDefaultHost(""); } abstract Builder toBuilder(); @@ -54,6 +60,10 @@ public final GapicClass withSamples(List samples) { return toBuilder().setSamples(samples).build(); } + public final GapicClass withDefaultHost(String defaultHost) { + return toBuilder().setDefaultHost(defaultHost).build(); + } + @AutoValue.Builder abstract static class Builder { abstract Builder setKind(Kind kind); @@ -62,6 +72,8 @@ abstract static class Builder { abstract Builder setSamples(List samples); + abstract Builder setDefaultHost(String defaultHost); + abstract GapicClass build(); } } diff --git a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/model/RegionTag.java b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/model/RegionTag.java index d98212ef6b..29bb98eeef 100644 --- a/gapic-generator-java/src/main/java/com/google/api/generator/gapic/model/RegionTag.java +++ b/gapic-generator-java/src/main/java/com/google/api/generator/gapic/model/RegionTag.java @@ -20,6 +20,7 @@ import com.google.auto.value.AutoValue; import com.google.common.base.Preconditions; +// TODO: alicejli edit RegionTag to match other languages /** * This model represents a code sample region tag. Matching region start and end region tag comments * are used to determine the boundaries of code snippets to be used in documentation. diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/ComposerTest.java b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/ComposerTest.java index 4bbc779dcf..caf070682c 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/ComposerTest.java +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/ComposerTest.java @@ -15,6 +15,7 @@ package com.google.api.generator.gapic.composer; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; import com.google.api.generator.engine.ast.ClassDefinition; import com.google.api.generator.engine.ast.ScopeNode; @@ -25,11 +26,11 @@ import com.google.api.generator.gapic.model.GapicClass; import com.google.api.generator.gapic.model.GapicClass.Kind; import com.google.api.generator.gapic.model.GapicContext; +import com.google.api.generator.gapic.model.RegionTag; import com.google.api.generator.gapic.model.Sample; import com.google.api.generator.gapic.model.Service; import com.google.api.generator.test.framework.Assert; import com.google.api.generator.test.framework.Utils; -import com.google.common.collect.ImmutableList; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; @@ -42,8 +43,13 @@ public class ComposerTest { private final List clazzes = Arrays.asList( GrpcServiceCallableFactoryClassComposer.instance().generate(context, echoProtoService)); - private final String protoPackage = context.gapicMetadata().getProtoPackage(); - private final List samples = clazzes.get(0).samples(); + private final Sample sample = + Sample.builder() + .setRegionTag( + RegionTag.builder().setServiceName("serviceName").setRpcName("rpcName").build()) + .build(); + private List ListofSamples = Arrays.asList(new Sample[] {sample}); + private final String protoPackage = echoProtoService.protoPakkage(); @Test public void gapicClass_addApacheLicense() { @@ -65,58 +71,102 @@ public void gapicClass_addApacheLicense() { @Test public void composeSamples_showcase() { - for (Sample sample : samples) { - assertEquals( - "File header will be empty before composing samples", - sample.fileHeader(), - ImmutableList.of()); - assertEquals( - "ApiShortName will be empty before composing samples", - sample.regionTag().apiShortName(), - ""); - assertEquals( - "ApiVersion will be empty before composing samples", sample.regionTag().apiVersion(), ""); - } + GapicClass testClass = clazzes.get(0).withSamples(ListofSamples); + List testClassList = Arrays.asList(new GapicClass[] {testClass}); List composedSamples = - Composer.prepareExecutableSamples(clazzes, protoPackage).get(0).samples(); + Composer.prepareExecutableSamples(testClassList, protoPackage).get(0).samples(); + assertFalse(composedSamples.isEmpty()); for (Sample sample : composedSamples) { assertEquals( - "File header should be apache", - sample.fileHeader(), - Arrays.asList(CommentComposer.APACHE_LICENSE_COMMENT)); - assertEquals( - "ApiShortName should be showcase", sample.regionTag().apiShortName(), "showcase"); - assertEquals("ApiVersion should be v1beta1", sample.regionTag().apiVersion(), "v1beta1"); + "File header should be APACHE", + Arrays.asList(CommentComposer.APACHE_LICENSE_COMMENT), + sample.fileHeader()); + assertEquals("ApiShortName should be empty", "", sample.regionTag().apiShortName()); + assertEquals("ApiVersion should be V1beta1", "V1Beta1", sample.regionTag().apiVersion()); } } + @Test + public void parseDefaultHost_shouldReturnApiShortNameIfHostContainsRegionalEndpoint() { + String defaultHost = "us-east1-pubsub.googleapis.com"; + String apiShortName = Composer.parseDefaultHost(defaultHost); + assertEquals("pubsub", apiShortName); + } + + @Test + public void parseDefaultHost_shouldReturnApiShortName() { + String defaultHost = "logging.googleapis.com"; + String apiShortName = Composer.parseDefaultHost(defaultHost); + assertEquals("logging", apiShortName); + } + + @Test + public void parseDefaultHost_shouldReturnApiShortNameForIam() { + String defaultHost = "iam-meta-api.googleapis.com"; + String apiShortName = Composer.parseDefaultHost(defaultHost); + assertEquals("iam", apiShortName); + } + + @Test + public void parseDefaultHost_shouldReturnHostIfNoPeriods() { + String defaultHost = "logging:7469"; + String apiShortName = Composer.parseDefaultHost(defaultHost); + assertEquals("logging:7469", apiShortName); + } + + @Test + public void gapicClass_addRegionTagAndHeaderToSample() { + Sample testSample; + testSample = Composer.addRegionTagAndHeaderToSample(sample, "showcase", "v1"); + assertEquals("Showcase", testSample.regionTag().apiShortName()); + assertEquals("V1", testSample.regionTag().apiVersion()); + assertEquals(Arrays.asList(CommentComposer.APACHE_LICENSE_COMMENT), testSample.fileHeader()); + } + @Test public void composeSamples_parseProtoPackage() { + + String defaultHost = "accessapproval.googleapis.com:443"; + GapicClass testClass = clazzes.get(0).withSamples(ListofSamples).withDefaultHost(defaultHost); + List testClassList = Arrays.asList(new GapicClass[] {testClass}); String protoPack = "google.cloud.accessapproval.v1"; + List composedSamples = - Composer.prepareExecutableSamples(clazzes, protoPack).get(0).samples(); + Composer.prepareExecutableSamples(testClassList, protoPack).get(0).samples(); + + // If samples is empty, the test automatically passes without checking. + assertFalse(composedSamples.isEmpty()); for (Sample sample : composedSamples) { assertEquals( - "ApiShortName should be accessapproval", + "ApiShortName should be Accessapproval", sample.regionTag().apiShortName(), - "accessapproval"); - assertEquals("ApiVersion should be v1", sample.regionTag().apiVersion(), "v1"); + "Accessapproval"); + assertEquals("ApiVersion should be V1", sample.regionTag().apiVersion(), "V1"); } protoPack = "google.cloud.vision.v1p1beta1"; - composedSamples = Composer.prepareExecutableSamples(clazzes, protoPack).get(0).samples(); + defaultHost = "vision.googleapis.com"; + testClass = clazzes.get(0).withSamples(ListofSamples).withDefaultHost(defaultHost); + testClassList = Arrays.asList(new GapicClass[] {testClass}); + composedSamples = Composer.prepareExecutableSamples(testClassList, protoPack).get(0).samples(); + // If samples is empty, the test automatically passes without checking. + assertFalse(composedSamples.isEmpty()); + for (Sample sample : composedSamples) { - assertEquals("ApiShortName should be vision", sample.regionTag().apiShortName(), "vision"); - assertEquals("ApiVersion should be v1p1beta1", sample.regionTag().apiVersion(), "v1p1beta1"); + assertEquals("ApiShortName should be Vision", sample.regionTag().apiShortName(), "Vision"); + assertEquals("ApiVersion should be V1P1Beta1", sample.regionTag().apiVersion(), "V1P1Beta1"); } protoPack = "google.cloud.vision"; - composedSamples = Composer.prepareExecutableSamples(clazzes, protoPack).get(0).samples(); + composedSamples = Composer.prepareExecutableSamples(testClassList, protoPack).get(0).samples(); + // If samples is empty, the test automatically passes without checking. + assertFalse(composedSamples.isEmpty()); + for (Sample sample : composedSamples) { - assertEquals("ApiShortName should be vision", sample.regionTag().apiShortName(), "vision"); + assertEquals("ApiShortName should be Vision", sample.regionTag().apiShortName(), "Vision"); assertEquals("ApiVersion should be empty", sample.regionTag().apiVersion(), ""); } } diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceClientClassComposerTest.java b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceClientClassComposerTest.java index fe00c3ca04..18450c1ca8 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceClientClassComposerTest.java +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceClientClassComposerTest.java @@ -18,8 +18,7 @@ import com.google.api.generator.gapic.model.GapicContext; import com.google.api.generator.gapic.model.Service; import com.google.api.generator.test.framework.Assert; -import java.util.Arrays; -import java.util.Collection; +import java.util.*; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; @@ -30,11 +29,27 @@ public class ServiceClientClassComposerTest { public static Collection data() { return Arrays.asList( new Object[][] { - {"EchoClient", GrpcTestProtoLoader.instance().parseShowcaseEcho()}, - {"DeprecatedServiceClient", GrpcTestProtoLoader.instance().parseDeprecatedService()}, - {"IdentityClient", GrpcTestProtoLoader.instance().parseShowcaseIdentity()}, - {"BookshopClient", GrpcTestProtoLoader.instance().parseBookshopService()}, - {"MessagingClient", GrpcTestProtoLoader.instance().parseShowcaseMessaging()}, + {"EchoClient", GrpcTestProtoLoader.instance().parseShowcaseEcho(), "localhost:7469"}, + { + "DeprecatedServiceClient", + GrpcTestProtoLoader.instance().parseDeprecatedService(), + "localhost:7469" + }, + { + "IdentityClient", + GrpcTestProtoLoader.instance().parseShowcaseIdentity(), + "localhost:7469" + }, + { + "BookshopClient", + GrpcTestProtoLoader.instance().parseBookshopService(), + "localhost:2665" + }, + { + "MessagingClient", + GrpcTestProtoLoader.instance().parseShowcaseMessaging(), + "localhost:7469" + }, }); } @@ -43,6 +58,9 @@ public static Collection data() { @Parameterized.Parameter(1) public GapicContext context; + @Parameterized.Parameter(2) + public String defaultHostExpected; + @Test public void generateServiceClientClasses() { Service service = context.services().get(0); @@ -51,5 +69,6 @@ public void generateServiceClientClasses() { Assert.assertGoldenClass(this.getClass(), clazz, name + ".golden"); Assert.assertGoldenSamples( this.getClass(), name, clazz.classDefinition().packageString(), clazz.samples()); + Assert.assertCodeEquals(clazz.defaultHost(), defaultHostExpected); } } diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceSettingsClassComposerTest.java b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceSettingsClassComposerTest.java index 5857ef3352..7f59ac58d0 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceSettingsClassComposerTest.java +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceSettingsClassComposerTest.java @@ -31,8 +31,12 @@ public class ServiceSettingsClassComposerTest { public static Collection data() { return Arrays.asList( new Object[][] { - {"EchoSettings", TestProtoLoader.instance().parseShowcaseEcho()}, - {"DeprecatedServiceSettings", TestProtoLoader.instance().parseDeprecatedService()} + {"EchoSettings", TestProtoLoader.instance().parseShowcaseEcho(), "localhost:7469"}, + { + "DeprecatedServiceSettings", + TestProtoLoader.instance().parseDeprecatedService(), + "localhost:7469" + } }); } @@ -41,6 +45,9 @@ public static Collection data() { @Parameterized.Parameter(1) public GapicContext context; + @Parameterized.Parameter(2) + public String defaultHostExpected; + @Test public void generateServiceSettingsClasses() { Service service = context.services().get(0); @@ -52,5 +59,6 @@ public void generateServiceSettingsClasses() { "servicesettings", clazz.classDefinition().packageString(), clazz.samples()); + Assert.assertCodeEquals(clazz.defaultHost(), defaultHostExpected); } } diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceStubClassComposerTest.java b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceStubClassComposerTest.java index bb0619d315..0da8ac4548 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceStubClassComposerTest.java +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceStubClassComposerTest.java @@ -31,8 +31,8 @@ public class ServiceStubClassComposerTest { public static Collection data() { return Arrays.asList( new Object[][] { - {"EchoStub", TestProtoLoader.instance().parseShowcaseEcho()}, - {"DeprecatedServiceStub", TestProtoLoader.instance().parseDeprecatedService()} + {"EchoStub", TestProtoLoader.instance().parseShowcaseEcho(), ""}, + {"DeprecatedServiceStub", TestProtoLoader.instance().parseDeprecatedService(), ""} }); } @@ -41,6 +41,9 @@ public static Collection data() { @Parameterized.Parameter(1) public GapicContext context; + @Parameterized.Parameter(2) + public String defaultHostExpected; + @Test public void generateServiceStubClasses() { Service service = context.services().get(0); @@ -48,5 +51,6 @@ public void generateServiceStubClasses() { Assert.assertGoldenClass(this.getClass(), clazz, name + ".golden"); Assert.assertEmptySamples(clazz.samples()); + Assert.assertCodeEquals(clazz.defaultHost(), defaultHostExpected); } } diff --git a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceStubSettingsClassComposerTest.java b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceStubSettingsClassComposerTest.java index 9a63099d7d..019252dce3 100644 --- a/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceStubSettingsClassComposerTest.java +++ b/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/ServiceStubSettingsClassComposerTest.java @@ -30,10 +30,24 @@ public class ServiceStubSettingsClassComposerTest { public static Collection data() { return Arrays.asList( new Object[][] { - {"LoggingServiceV2StubSettings", GrpcTestProtoLoader.instance().parseLogging()}, - {"PublisherStubSettings", GrpcTestProtoLoader.instance().parsePubSubPublisher()}, - {"EchoStubSettings", GrpcTestProtoLoader.instance().parseShowcaseEcho()}, - {"DeprecatedServiceStubSettings", GrpcTestProtoLoader.instance().parseDeprecatedService()} + { + "LoggingServiceV2StubSettings", + GrpcTestProtoLoader.instance().parseLogging(), + "logging.googleapis.com:443" + }, + { + "PublisherStubSettings", + GrpcTestProtoLoader.instance().parsePubSubPublisher(), + "pubsub.googleapis.com:443" + }, + { + "EchoStubSettings", GrpcTestProtoLoader.instance().parseShowcaseEcho(), "localhost:7469" + }, + { + "DeprecatedServiceStubSettings", + GrpcTestProtoLoader.instance().parseDeprecatedService(), + "localhost:7469" + } }); } @@ -42,6 +56,9 @@ public static Collection data() { @Parameterized.Parameter(1) public GapicContext context; + @Parameterized.Parameter(2) + public String defaultHostExpected; + @Test public void generateServiceStubSettingsClasses() { Service service = context.services().get(0); @@ -53,5 +70,6 @@ public void generateServiceStubSettingsClasses() { "servicesettings/stub", clazz.classDefinition().packageString(), clazz.samples()); + Assert.assertCodeEquals(clazz.defaultHost(), defaultHostExpected); } } diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java index 61b2792c71..f8a8404fb2 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_analyzeiampolicy_async] +// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicy_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java index bdb37c4140..8a1b602a87 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_analyzeiampolicy_sync] +// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicy_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java index 089103aabe..a6ce1cb3b7 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_async] +// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java index c2848431bf..6ae9138184 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_lro_async] +// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_lro_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java index d180965d79..e2c6cc61bf 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_sync] +// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java index 0bccc2c63b..ac73e77a37 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_analyzemove_async] +// [END cloudasset_v1_generated_assetserviceclient_analyzemove_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java index dd975540ee..b79e89dc7c 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_analyzemove_sync] +// [END cloudasset_v1_generated_assetserviceclient_analyzemove_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java index 8748ef9d6d..63f45e8cca 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_batchgetassetshistory_async] +// [END cloudasset_v1_generated_assetserviceclient_batchgetassetshistory_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java index cfb9e75eaa..b5f15f0651 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_batchgetassetshistory_sync] +// [END cloudasset_v1_generated_assetserviceclient_batchgetassetshistory_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java index 913a1c1c0d..4d4016e4c1 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_create_setcredentialsprovider_sync] +// [END cloudasset_v1_generated_assetserviceclient_create_setcredentialsprovider_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java index fa2c2a4b4e..edf19aaab1 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_create_setendpoint_sync] +// [END cloudasset_v1_generated_assetserviceclient_create_setendpoint_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java index 060c56a764..5c3beea239 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_createfeed_async] +// [END cloudasset_v1_generated_assetserviceclient_createfeed_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java index fea0a079f6..9e38918b80 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_createfeed_sync] +// [END cloudasset_v1_generated_assetserviceclient_createfeed_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java index 66eddd4c27..dab302c7bf 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_createfeed_string_sync] +// [END cloudasset_v1_generated_assetserviceclient_createfeed_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java index cc5bdb96e8..8f08047829 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_deletefeed_async] +// [END cloudasset_v1_generated_assetserviceclient_deletefeed_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java index 1786f511b9..b7f134f14a 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_deletefeed_sync] +// [END cloudasset_v1_generated_assetserviceclient_deletefeed_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java index b16984b667..1722e7491b 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_deletefeed_feedname_sync] +// [END cloudasset_v1_generated_assetserviceclient_deletefeed_feedname_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java index 0ec0024d65..08ed770e30 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_deletefeed_string_sync] +// [END cloudasset_v1_generated_assetserviceclient_deletefeed_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java index 052bfdc1c8..6781343b09 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_exportassets_async] +// [END cloudasset_v1_generated_assetserviceclient_exportassets_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java index c136521b17..c097beb7dc 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_exportassets_lro_async] +// [END cloudasset_v1_generated_assetserviceclient_exportassets_lro_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java index 599bfc76de..ba8621fec4 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_exportassets_sync] +// [END cloudasset_v1_generated_assetserviceclient_exportassets_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java index 40de97de9e..4793d5051f 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_getfeed_async] +// [END cloudasset_v1_generated_assetserviceclient_getfeed_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java index 0490c1c1ea..49f0b8e475 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_getfeed_sync] +// [END cloudasset_v1_generated_assetserviceclient_getfeed_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java index f697ff3f5b..6e7d947a77 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_getfeed_feedname_sync] +// [END cloudasset_v1_generated_assetserviceclient_getfeed_feedname_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java index 9e750f6c08..c9940d9c27 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_getfeed_string_sync] +// [END cloudasset_v1_generated_assetserviceclient_getfeed_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java index 785a9297d5..75ae0c197c 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_listassets_async] +// [END cloudasset_v1_generated_assetserviceclient_listassets_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java index 4c1b35e2b0..903af880c0 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_listassets_paged_async] +// [END cloudasset_v1_generated_assetserviceclient_listassets_paged_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java index 0d05589a3b..0f257a0265 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_listassets_sync] +// [END cloudasset_v1_generated_assetserviceclient_listassets_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java index 7943dc999d..15a6333d9b 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_listassets_resourcename_sync] +// [END cloudasset_v1_generated_assetserviceclient_listassets_resourcename_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java index ddc3aa7ea5..12b46b6427 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_listassets_string_sync] +// [END cloudasset_v1_generated_assetserviceclient_listassets_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java index 3e47fc647d..9d3a8270d9 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_listfeeds_async] +// [END cloudasset_v1_generated_assetserviceclient_listfeeds_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java index 8bff72705d..5fb1b06488 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_listfeeds_sync] +// [END cloudasset_v1_generated_assetserviceclient_listfeeds_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java index 3d6a842eeb..1d4549559e 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_listfeeds_string_sync] +// [END cloudasset_v1_generated_assetserviceclient_listfeeds_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java index 7e7a38c530..8cba242783 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_searchalliampolicies_async] +// [END cloudasset_v1_generated_assetserviceclient_searchalliampolicies_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java index 4de6b3f53a..ee77539347 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_searchalliampolicies_paged_async] +// [END cloudasset_v1_generated_assetserviceclient_searchalliampolicies_paged_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java index 50ee2ef294..0268fc4940 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_searchalliampolicies_sync] +// [END cloudasset_v1_generated_assetserviceclient_searchalliampolicies_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java index 2704f9be42..6a8ba3ea40 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_searchalliampolicies_stringstring_sync] +// [END cloudasset_v1_generated_assetserviceclient_searchalliampolicies_stringstring_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java index 5d8a22c234..cc09e4e8dd 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_searchallresources_async] +// [END cloudasset_v1_generated_assetserviceclient_searchallresources_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java index c025ac210b..01a66aa016 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_searchallresources_paged_async] +// [END cloudasset_v1_generated_assetserviceclient_searchallresources_paged_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java index 5aeb9954d7..32b67c09a6 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_searchallresources_sync] +// [END cloudasset_v1_generated_assetserviceclient_searchallresources_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java index 7e87019e5d..8c207e88fe 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_searchallresources_stringstringliststring_sync] +// [END cloudasset_v1_generated_assetserviceclient_searchallresources_stringstringliststring_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java index 4239ca9a66..e5f5bad9f1 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_updatefeed_async] +// [END cloudasset_v1_generated_assetserviceclient_updatefeed_async] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java index 691eb8a262..c49e7302d5 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_updatefeed_sync] +// [END cloudasset_v1_generated_assetserviceclient_updatefeed_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java index dd9bbaba40..930eaa2345 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java +++ b/gapic-generator-java/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 asset_v1_generated_assetserviceclient_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 asset_v1_generated_assetserviceclient_updatefeed_feed_sync] +// [END cloudasset_v1_generated_assetserviceclient_updatefeed_feed_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java index d7822c14a4..3d5d3c829b 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java +++ b/gapic-generator-java/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 asset_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 asset_v1_generated_assetservicesettings_batchgetassetshistory_sync] +// [END cloudasset_v1_generated_assetservicesettings_batchgetassetshistory_sync] diff --git a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java index 2458f13c31..825f2fc417 100644 --- a/gapic-generator-java/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java +++ b/gapic-generator-java/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 asset_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 asset_v1_generated_assetservicestubsettings_batchgetassetshistory_sync] +// [END cloudasset_v1_generated_assetservicestubsettings_batchgetassetshistory_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetCredentialsProvider.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetCredentialsProvider.java index 6ccb0e85c0..db4fcb3cea 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetCredentialsProvider.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_create_setcredentialsprovider_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_create_setcredentialsprovider_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetEndpoint.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetEndpoint.java index f70e6e791d..c9044fbb8b 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetEndpoint.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_create_setendpoint_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_create_setendpoint_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/AsyncGenerateAccessToken.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/AsyncGenerateAccessToken.java index 93836ff228..82fec39f81 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/AsyncGenerateAccessToken.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_generateaccesstoken_async] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_async] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessToken.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessToken.java index 58dd152c7c..4cf48ad7f3 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessToken.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_generateaccesstoken_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java index 0a292c07fc..e93168fe15 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_generateaccesstoken_serviceaccountnameliststringliststringduration_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_serviceaccountnameliststringliststringduration_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java index 39c08418a6..bfcdbec493 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_generateaccesstoken_stringliststringliststringduration_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_stringliststringliststringduration_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/AsyncGenerateIdToken.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/AsyncGenerateIdToken.java index c944008968..f670fc541c 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/AsyncGenerateIdToken.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_generateidtoken_async] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_async] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdToken.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdToken.java index aef054705b..8828bf341c 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdToken.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_generateidtoken_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java index b40ed382f4..f4b403409a 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_generateidtoken_serviceaccountnameliststringstringboolean_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_serviceaccountnameliststringstringboolean_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java index 1dc6a89465..5627745068 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_generateidtoken_stringliststringstringboolean_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_stringliststringstringboolean_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/AsyncSignBlob.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/AsyncSignBlob.java index eadd080889..338c3112e0 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/AsyncSignBlob.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_signblob_async] +// [END iamcredentials_v1_generated_iamcredentialsclient_signblob_async] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlob.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlob.java index 629c21bceb..da2fa84ba8 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlob.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_signblob_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_signblob_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java index 7d6157ae55..12ad8f05d7 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_signblob_serviceaccountnameliststringbytestring_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_signblob_serviceaccountnameliststringbytestring_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobStringListstringBytestring.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobStringListstringBytestring.java index 0dd909a0fa..8e1906d162 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobStringListstringBytestring.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_signblob_stringliststringbytestring_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_signblob_stringliststringbytestring_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/AsyncSignJwt.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/AsyncSignJwt.java index 1d59d04e5f..e788c93cee 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/AsyncSignJwt.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_signjwt_async] +// [END iamcredentials_v1_generated_iamcredentialsclient_signjwt_async] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwt.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwt.java index 648d1d2717..82b687d781 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwt.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_signjwt_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_signjwt_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtServiceaccountnameListstringString.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtServiceaccountnameListstringString.java index 4d3775724d..b0bfa2c1be 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtServiceaccountnameListstringString.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_signjwt_serviceaccountnameliststringstring_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_signjwt_serviceaccountnameliststringstring_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtStringListstringString.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtStringListstringString.java index f4f44cb917..fdb2a5080e 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtStringListstringString.java +++ b/gapic-generator-java/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 credentials_v1_generated_iamcredentialsclient_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 credentials_v1_generated_iamcredentialsclient_signjwt_stringliststringstring_sync] +// [END iamcredentials_v1_generated_iamcredentialsclient_signjwt_stringliststringstring_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialssettings/generateaccesstoken/SyncGenerateAccessToken.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialssettings/generateaccesstoken/SyncGenerateAccessToken.java index 0ec7154cc9..9de6e9526c 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialssettings/generateaccesstoken/SyncGenerateAccessToken.java +++ b/gapic-generator-java/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 credentials_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 credentials_v1_generated_iamcredentialssettings_generateaccesstoken_sync] +// [END iamcredentials_v1_generated_iamcredentialssettings_generateaccesstoken_sync] diff --git a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/stub/iamcredentialsstubsettings/generateaccesstoken/SyncGenerateAccessToken.java b/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/stub/iamcredentialsstubsettings/generateaccesstoken/SyncGenerateAccessToken.java index a36e698604..9668a2229f 100644 --- a/gapic-generator-java/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/stub/iamcredentialsstubsettings/generateaccesstoken/SyncGenerateAccessToken.java +++ b/gapic-generator-java/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 credentials_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 credentials_v1_generated_iamcredentialsstubsettings_generateaccesstoken_sync] +// [END iamcredentials_v1_generated_iamcredentialsstubsettings_generateaccesstoken_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/AsyncAsymmetricDecrypt.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/AsyncAsymmetricDecrypt.java index 4506eaea40..12bc233abe 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/AsyncAsymmetricDecrypt.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecrypt.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecrypt.java index a4cb98e355..a30ce59b2f 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecrypt.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java index 25770fcafc..17d42368d0 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_cryptokeyversionnamebytestring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_cryptokeyversionnamebytestring_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java index 0803f0216b..83b946207e 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_stringbytestring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_stringbytestring_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/AsyncAsymmetricSign.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/AsyncAsymmetricSign.java index 9a59555f7d..caa1473dde 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/AsyncAsymmetricSign.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_asymmetricsign_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSign.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSign.java index ebeb161bf2..d16356d4b9 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSign.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_asymmetricsign_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java index 5c0d200a8b..37dca40018 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_asymmetricsign_cryptokeyversionnamedigest_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_cryptokeyversionnamedigest_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignStringDigest.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignStringDigest.java index 40d611a590..693e9bfc5e 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignStringDigest.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_asymmetricsign_stringdigest_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_stringdigest_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetCredentialsProvider.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetCredentialsProvider.java index 1de0e707ce..9e76f9250c 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_create_setcredentialsprovider_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_create_setcredentialsprovider_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetEndpoint.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetEndpoint.java index fd4fa817fb..a47ef9da7c 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetEndpoint.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_create_setendpoint_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_create_setendpoint_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/AsyncCreateCryptoKey.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/AsyncCreateCryptoKey.java index b9b9bb1382..509ec9c1aa 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/AsyncCreateCryptoKey.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createcryptokey_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKey.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKey.java index 285434da3d..4626d271e1 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKey.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createcryptokey_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java index 4d906ae061..d40e15a269 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createcryptokey_keyringnamestringcryptokey_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_keyringnamestringcryptokey_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java index 38f84ebd43..3b1616c1e9 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createcryptokey_stringstringcryptokey_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_stringstringcryptokey_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java index 1637224885..0595997ae5 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createcryptokeyversion_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersion.java index e57c816cb8..8b4f543898 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createcryptokeyversion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java index a5685dbaaa..8ccdcf86b3 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createcryptokeyversion_cryptokeynamecryptokeyversion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_cryptokeynamecryptokeyversion_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java index 1e9cb43287..338d57775e 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createcryptokeyversion_stringcryptokeyversion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_stringcryptokeyversion_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/AsyncCreateImportJob.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/AsyncCreateImportJob.java index af34ae5fcd..b557f641f9 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/AsyncCreateImportJob.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createimportjob_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_createimportjob_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJob.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJob.java index fb1480df9a..1a1066d560 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJob.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createimportjob_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createimportjob_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java index 1d388ab264..8fe9146ac7 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createimportjob_keyringnamestringimportjob_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createimportjob_keyringnamestringimportjob_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobStringStringImportjob.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobStringStringImportjob.java index 093b8799bd..9d8031894f 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobStringStringImportjob.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createimportjob_stringstringimportjob_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createimportjob_stringstringimportjob_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/AsyncCreateKeyRing.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/AsyncCreateKeyRing.java index bfa237e476..a0c7c2dd6e 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/AsyncCreateKeyRing.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createkeyring_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_createkeyring_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRing.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRing.java index 6979aa3e5c..be6e331a4d 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRing.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createkeyring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createkeyring_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java index 74034647d6..907f57aa3d 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createkeyring_locationnamestringkeyring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createkeyring_locationnamestringkeyring_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingStringStringKeyring.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingStringStringKeyring.java index 6f244ba46f..3ae2929909 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingStringStringKeyring.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_createkeyring_stringstringkeyring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_createkeyring_stringstringkeyring_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/AsyncDecrypt.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/AsyncDecrypt.java index b8d04eb6f5..20e0506c55 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/AsyncDecrypt.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_decrypt_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_decrypt_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecrypt.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecrypt.java index 5bb90544fe..733948ab43 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecrypt.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_decrypt_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_decrypt_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptCryptokeynameBytestring.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptCryptokeynameBytestring.java index 2c9fe6d8c1..9d0f93de64 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptCryptokeynameBytestring.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_decrypt_cryptokeynamebytestring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_decrypt_cryptokeynamebytestring_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptStringBytestring.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptStringBytestring.java index 26b5088c7d..0e9ebecd78 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptStringBytestring.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_decrypt_stringbytestring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_decrypt_stringbytestring_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java index 96b3f7c43b..6e35f41857 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java index 7d14750ced..00484ded76 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java index 7480f39b2a..4089e10ef0 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_cryptokeyversionname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_cryptokeyversionname_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java index f7e3f573a7..b8d997f9d6 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_string_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/AsyncEncrypt.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/AsyncEncrypt.java index 670e3c2ecc..77aa9a7a32 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/AsyncEncrypt.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_encrypt_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_encrypt_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncrypt.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncrypt.java index 2ede7ab4b1..1d6f5928f5 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncrypt.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_encrypt_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_encrypt_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptResourcenameBytestring.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptResourcenameBytestring.java index eb2dde9fd1..79d3932c9d 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptResourcenameBytestring.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_encrypt_resourcenamebytestring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_encrypt_resourcenamebytestring_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptStringBytestring.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptStringBytestring.java index 9cd6b9c0bb..cec9cf2333 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptStringBytestring.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_encrypt_stringbytestring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_encrypt_stringbytestring_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/AsyncGetCryptoKey.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/AsyncGetCryptoKey.java index 11c9d9933f..f777d40c39 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/AsyncGetCryptoKey.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getcryptokey_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKey.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKey.java index cfe6c408e4..2ec60f1295 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKey.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getcryptokey_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyCryptokeyname.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyCryptokeyname.java index 80f310af0a..d049f653a2 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyCryptokeyname.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getcryptokey_cryptokeyname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_cryptokeyname_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyString.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyString.java index 1ae0e8f179..88f08857ee 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyString.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getcryptokey_string_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/AsyncGetCryptoKeyVersion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/AsyncGetCryptoKeyVersion.java index 62243f3c20..97d8ab731c 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/AsyncGetCryptoKeyVersion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getcryptokeyversion_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersion.java index 882fb75932..4977fc91a1 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getcryptokeyversion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java index 4e28c15fda..2310db9ebb 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getcryptokeyversion_cryptokeyversionname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_cryptokeyversionname_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionString.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionString.java index febdb4a86d..08c7728683 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionString.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getcryptokeyversion_string_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/AsyncGetIamPolicy.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/AsyncGetIamPolicy.java index 50981d7822..401096168c 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/AsyncGetIamPolicy.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getiampolicy_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_getiampolicy_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/SyncGetIamPolicy.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/SyncGetIamPolicy.java index c317351717..c27aff6602 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/SyncGetIamPolicy.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getiampolicy_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getiampolicy_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/AsyncGetImportJob.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/AsyncGetImportJob.java index 15d8df664c..ef11db67a0 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/AsyncGetImportJob.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getimportjob_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_getimportjob_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJob.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJob.java index c49b07bdab..47cb997d54 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJob.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getimportjob_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getimportjob_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobImportjobname.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobImportjobname.java index 657528e659..04cd565d8f 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobImportjobname.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getimportjob_importjobname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getimportjob_importjobname_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobString.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobString.java index 0acbf4a953..134f1f7981 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobString.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getimportjob_string_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getimportjob_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/AsyncGetKeyRing.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/AsyncGetKeyRing.java index 44393ca245..24cce5e9be 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/AsyncGetKeyRing.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getkeyring_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_getkeyring_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRing.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRing.java index 7fda97b056..03f7a908ec 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRing.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getkeyring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getkeyring_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingKeyringname.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingKeyringname.java index 3c8487c8ec..5a91330c62 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingKeyringname.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getkeyring_keyringname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getkeyring_keyringname_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingString.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingString.java index 22df9329c8..9e86f8e39f 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingString.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getkeyring_string_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getkeyring_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/AsyncGetLocation.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/AsyncGetLocation.java index e6a8eae9c9..b2b1b8a18f 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/AsyncGetLocation.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getlocation_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_getlocation_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/SyncGetLocation.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/SyncGetLocation.java index 3899dffdee..c26d5c7d30 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/SyncGetLocation.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getlocation_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getlocation_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/AsyncGetPublicKey.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/AsyncGetPublicKey.java index bb11933f3c..5f779b2f9b 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/AsyncGetPublicKey.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getpublickey_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_getpublickey_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKey.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKey.java index ec2082835e..7a5412ce50 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKey.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getpublickey_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getpublickey_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyCryptokeyversionname.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyCryptokeyversionname.java index d9fc43d942..b83c6ef0d3 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyCryptokeyversionname.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getpublickey_cryptokeyversionname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getpublickey_cryptokeyversionname_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyString.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyString.java index 5f1593019e..21ef9ac23c 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyString.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_getpublickey_string_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_getpublickey_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/AsyncImportCryptoKeyVersion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/AsyncImportCryptoKeyVersion.java index 6ee3e456bb..e8af8616fc 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/AsyncImportCryptoKeyVersion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_importcryptokeyversion_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_importcryptokeyversion_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/SyncImportCryptoKeyVersion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/SyncImportCryptoKeyVersion.java index 6125e803e9..b1e7a2e675 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/SyncImportCryptoKeyVersion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_importcryptokeyversion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_importcryptokeyversion_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeys.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeys.java index ecb63ab787..9d57500ce0 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeys.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listcryptokeys_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeysPaged.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeysPaged.java index c4bd7828f1..78e51a0786 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeysPaged.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listcryptokeys_paged_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_paged_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeys.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeys.java index 241c2db795..425054f5a6 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeys.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listcryptokeys_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysKeyringname.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysKeyringname.java index 9e91cfc04c..d717447b4f 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysKeyringname.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listcryptokeys_keyringname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_keyringname_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysString.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysString.java index 6ab2e2adfc..e724974a82 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysString.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listcryptokeys_string_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersions.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersions.java index 52567c2573..08ca16b7ed 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersions.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listcryptokeyversions_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java index 9546866879..874c92f919 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listcryptokeyversions_paged_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_paged_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersions.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersions.java index 88091292a8..f06def473d 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersions.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listcryptokeyversions_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java index 3652175240..98f65347de 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listcryptokeyversions_cryptokeyname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_cryptokeyname_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsString.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsString.java index 8d054c4967..86d2d44eed 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsString.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listcryptokeyversions_string_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobs.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobs.java index 09385d58e1..d9cad3d111 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobs.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listimportjobs_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobsPaged.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobsPaged.java index 32131a1c56..5860192ae2 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobsPaged.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listimportjobs_paged_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_paged_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobs.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobs.java index 73e3363831..8d332bb928 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobs.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listimportjobs_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsKeyringname.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsKeyringname.java index fa8fe3d794..dda6bdac38 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsKeyringname.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listimportjobs_keyringname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_keyringname_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsString.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsString.java index 36277c90f1..a0c62ce5be 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsString.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listimportjobs_string_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRings.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRings.java index 56a9cd3b95..e368d4e74c 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRings.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listkeyrings_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRingsPaged.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRingsPaged.java index 287623a523..0f1699844e 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRingsPaged.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listkeyrings_paged_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_paged_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRings.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRings.java index e8ffd8dca4..8a47b96eb6 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRings.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listkeyrings_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsLocationname.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsLocationname.java index cec3765454..bf0004166d 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsLocationname.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listkeyrings_locationname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_locationname_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsString.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsString.java index 5794db5339..a1bc04535e 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsString.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listkeyrings_string_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocations.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocations.java index 2f9a5676f1..2c93eac415 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocations.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listlocations_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listlocations_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocationsPaged.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocationsPaged.java index 28e03c81ed..855e186729 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocationsPaged.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listlocations_paged_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_listlocations_paged_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/SyncListLocations.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/SyncListLocations.java index 83d882829f..1ea5a3db8a 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/SyncListLocations.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_listlocations_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_listlocations_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java index 3e44a4eee2..715493b98b 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java index 3b7b242f1d..a3de0c99b8 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java index 6edc7d69aa..4c9cde5031 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_cryptokeyversionname_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_cryptokeyversionname_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java index 91bf17eccb..876353526f 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_string_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/AsyncTestIamPermissions.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/AsyncTestIamPermissions.java index b5a9a02d79..3597e58f5a 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/AsyncTestIamPermissions.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_testiampermissions_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_testiampermissions_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/SyncTestIamPermissions.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/SyncTestIamPermissions.java index ee169643d7..e33b06bb8b 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/SyncTestIamPermissions.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_testiampermissions_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_testiampermissions_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/AsyncUpdateCryptoKey.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/AsyncUpdateCryptoKey.java index 95168be1b8..832a0e648f 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/AsyncUpdateCryptoKey.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_updatecryptokey_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokey_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKey.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKey.java index ef8e9cded2..86c9549eb2 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKey.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_updatecryptokey_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokey_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java index b31a813a66..980affb15b 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_updatecryptokey_cryptokeyfieldmask_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokey_cryptokeyfieldmask_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java index 94399c8252..011d28534f 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java index 0f7b570e0a..9d10d6f50e 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java index ef854d7729..09f41244ee 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_cryptokeynamestring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_cryptokeynamestring_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java index aeebde50d0..a9b17f02d8 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_stringstring_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_stringstring_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java index acc9d43dec..07666ee3ed 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_updatecryptokeyversion_async] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyversion_async] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java index 97a198efb9..f91fa9f0bd 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_updatecryptokeyversion_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyversion_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java index ed1aaf15bf..7730719384 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java +++ b/gapic-generator-java/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 kms_v1_generated_keymanagementserviceclient_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 kms_v1_generated_keymanagementserviceclient_updatecryptokeyversion_cryptokeyversionfieldmask_sync] +// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyversion_cryptokeyversionfieldmask_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservicesettings/getkeyring/SyncGetKeyRing.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservicesettings/getkeyring/SyncGetKeyRing.java index 1d3331dc8a..c2bfa0f01c 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservicesettings/getkeyring/SyncGetKeyRing.java +++ b/gapic-generator-java/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 kms_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 kms_v1_generated_keymanagementservicesettings_getkeyring_sync] +// [END cloudkms_v1_generated_keymanagementservicesettings_getkeyring_sync] diff --git a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/stub/keymanagementservicestubsettings/getkeyring/SyncGetKeyRing.java b/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/stub/keymanagementservicestubsettings/getkeyring/SyncGetKeyRing.java index 7baee4a57e..a41ec9fa58 100644 --- a/gapic-generator-java/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/stub/keymanagementservicestubsettings/getkeyring/SyncGetKeyRing.java +++ b/gapic-generator-java/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 kms_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 kms_v1_generated_keymanagementservicestubsettings_getkeyring_sync] +// [END cloudkms_v1_generated_keymanagementservicestubsettings_getkeyring_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetCredentialsProvider.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetCredentialsProvider.java index a0e8d8b883..b6f6a12b95 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_create_setcredentialsprovider_sync] +// [END example_v1_generated_libraryserviceclient_create_setcredentialsprovider_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetEndpoint.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetEndpoint.java index 014b409361..2e9674debb 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetEndpoint.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_create_setendpoint_sync] +// [END example_v1_generated_libraryserviceclient_create_setendpoint_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/AsyncCreateBook.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/AsyncCreateBook.java index 19a3b5a765..5dbe9ea3a8 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/AsyncCreateBook.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_createbook_async] +// [END example_v1_generated_libraryserviceclient_createbook_async] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBook.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBook.java index d75dfd0215..b593ac0f36 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBook.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_createbook_sync] +// [END example_v1_generated_libraryserviceclient_createbook_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookShelfnameBook.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookShelfnameBook.java index bd3963e824..4155f046ee 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookShelfnameBook.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_createbook_shelfnamebook_sync] +// [END example_v1_generated_libraryserviceclient_createbook_shelfnamebook_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookStringBook.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookStringBook.java index 1c115d62ae..6bc2eb732a 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookStringBook.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_createbook_stringbook_sync] +// [END example_v1_generated_libraryserviceclient_createbook_stringbook_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/AsyncCreateShelf.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/AsyncCreateShelf.java index 1a0ed5ff87..1a3e4e0cb8 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/AsyncCreateShelf.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_createshelf_async] +// [END example_v1_generated_libraryserviceclient_createshelf_async] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelf.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelf.java index 41edfce737..7cc61a07b8 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelf.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_createshelf_sync] +// [END example_v1_generated_libraryserviceclient_createshelf_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelfShelf.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelfShelf.java index 554007f360..067c90e13d 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelfShelf.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_createshelf_shelf_sync] +// [END example_v1_generated_libraryserviceclient_createshelf_shelf_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/AsyncDeleteBook.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/AsyncDeleteBook.java index 2626b080c3..3388ada78d 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/AsyncDeleteBook.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_deletebook_async] +// [END example_v1_generated_libraryserviceclient_deletebook_async] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBook.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBook.java index 270c06e9cd..4ef50221de 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBook.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_deletebook_sync] +// [END example_v1_generated_libraryserviceclient_deletebook_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookBookname.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookBookname.java index 57bf605de1..0ebe865a59 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookBookname.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_deletebook_bookname_sync] +// [END example_v1_generated_libraryserviceclient_deletebook_bookname_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookString.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookString.java index 480c519b0c..369ae353d3 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookString.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_deletebook_string_sync] +// [END example_v1_generated_libraryserviceclient_deletebook_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/AsyncDeleteShelf.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/AsyncDeleteShelf.java index f7379ff7ca..c1e9375ce3 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/AsyncDeleteShelf.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_deleteshelf_async] +// [END example_v1_generated_libraryserviceclient_deleteshelf_async] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelf.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelf.java index 8c9506ba9d..2322037305 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelf.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_deleteshelf_sync] +// [END example_v1_generated_libraryserviceclient_deleteshelf_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfShelfname.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfShelfname.java index 68340f6c02..7de331b361 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfShelfname.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_deleteshelf_shelfname_sync] +// [END example_v1_generated_libraryserviceclient_deleteshelf_shelfname_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfString.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfString.java index 0dad6e4eb5..8a32bb7d78 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfString.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_deleteshelf_string_sync] +// [END example_v1_generated_libraryserviceclient_deleteshelf_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/AsyncGetBook.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/AsyncGetBook.java index 1d3961fa67..b819462eb0 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/AsyncGetBook.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_getbook_async] +// [END example_v1_generated_libraryserviceclient_getbook_async] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBook.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBook.java index bf96bddbe8..6c4569ecdb 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBook.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_getbook_sync] +// [END example_v1_generated_libraryserviceclient_getbook_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookBookname.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookBookname.java index 513978ef3d..d7029a08a2 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookBookname.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_getbook_bookname_sync] +// [END example_v1_generated_libraryserviceclient_getbook_bookname_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookString.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookString.java index 29fab8d271..a36359a425 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookString.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_getbook_string_sync] +// [END example_v1_generated_libraryserviceclient_getbook_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/AsyncGetShelf.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/AsyncGetShelf.java index 30daacbbb8..e759952106 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/AsyncGetShelf.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_getshelf_async] +// [END example_v1_generated_libraryserviceclient_getshelf_async] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelf.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelf.java index 627164c577..719c5e6354 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelf.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_getshelf_sync] +// [END example_v1_generated_libraryserviceclient_getshelf_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfShelfname.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfShelfname.java index 7bb09b105d..a819099ef3 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfShelfname.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_getshelf_shelfname_sync] +// [END example_v1_generated_libraryserviceclient_getshelf_shelfname_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfString.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfString.java index 2d176ba38d..e2a693d78d 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfString.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_getshelf_string_sync] +// [END example_v1_generated_libraryserviceclient_getshelf_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooks.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooks.java index 07aa0ce803..6b790d499c 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooks.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_listbooks_async] +// [END example_v1_generated_libraryserviceclient_listbooks_async] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooksPaged.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooksPaged.java index b359f09db4..dedb1f397f 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooksPaged.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_listbooks_paged_async] +// [END example_v1_generated_libraryserviceclient_listbooks_paged_async] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooks.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooks.java index 9a4c835c48..57d84742ef 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooks.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_listbooks_sync] +// [END example_v1_generated_libraryserviceclient_listbooks_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksShelfname.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksShelfname.java index 5731838424..e952a2db7b 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksShelfname.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_listbooks_shelfname_sync] +// [END example_v1_generated_libraryserviceclient_listbooks_shelfname_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksString.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksString.java index ac88e27f09..5a581add94 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksString.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_listbooks_string_sync] +// [END example_v1_generated_libraryserviceclient_listbooks_string_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelves.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelves.java index 42df784232..0d45b07458 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelves.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_listshelves_async] +// [END example_v1_generated_libraryserviceclient_listshelves_async] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelvesPaged.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelvesPaged.java index 4dae54af84..85dcf4049b 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelvesPaged.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_listshelves_paged_async] +// [END example_v1_generated_libraryserviceclient_listshelves_paged_async] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/SyncListShelves.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/SyncListShelves.java index f9f890cf89..e8d44e3511 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/SyncListShelves.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_listshelves_sync] +// [END example_v1_generated_libraryserviceclient_listshelves_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/AsyncMergeShelves.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/AsyncMergeShelves.java index 9583775c40..5dc9c53a6b 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/AsyncMergeShelves.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_mergeshelves_async] +// [END example_v1_generated_libraryserviceclient_mergeshelves_async] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelves.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelves.java index 10b6a726f0..3a64bddc08 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelves.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_mergeshelves_sync] +// [END example_v1_generated_libraryserviceclient_mergeshelves_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameShelfname.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameShelfname.java index 27bfa0decb..af84c48d3b 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameShelfname.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_mergeshelves_shelfnameshelfname_sync] +// [END example_v1_generated_libraryserviceclient_mergeshelves_shelfnameshelfname_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameString.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameString.java index 0d98e78383..e88240c32f 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameString.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_mergeshelves_shelfnamestring_sync] +// [END example_v1_generated_libraryserviceclient_mergeshelves_shelfnamestring_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringShelfname.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringShelfname.java index d6592fb44c..31a440ea6f 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringShelfname.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_mergeshelves_stringshelfname_sync] +// [END example_v1_generated_libraryserviceclient_mergeshelves_stringshelfname_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringString.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringString.java index 36dd500532..8742a51ff6 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringString.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_mergeshelves_stringstring_sync] +// [END example_v1_generated_libraryserviceclient_mergeshelves_stringstring_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/AsyncMoveBook.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/AsyncMoveBook.java index dac0502ba7..9f085bda34 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/AsyncMoveBook.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_movebook_async] +// [END example_v1_generated_libraryserviceclient_movebook_async] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBook.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBook.java index 48a42d5504..99259bf445 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBook.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_movebook_sync] +// [END example_v1_generated_libraryserviceclient_movebook_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameShelfname.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameShelfname.java index 48eba8e822..6381bac0cd 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameShelfname.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_movebook_booknameshelfname_sync] +// [END example_v1_generated_libraryserviceclient_movebook_booknameshelfname_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameString.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameString.java index 28ccd13155..479dc95ea1 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameString.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_movebook_booknamestring_sync] +// [END example_v1_generated_libraryserviceclient_movebook_booknamestring_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringShelfname.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringShelfname.java index 28be6cf5af..e08d509fab 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringShelfname.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_movebook_stringshelfname_sync] +// [END example_v1_generated_libraryserviceclient_movebook_stringshelfname_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringString.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringString.java index 90221d0f12..a3cca84350 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringString.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_movebook_stringstring_sync] +// [END example_v1_generated_libraryserviceclient_movebook_stringstring_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/AsyncUpdateBook.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/AsyncUpdateBook.java index f25e8ecd8e..7f6be01fc1 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/AsyncUpdateBook.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_updatebook_async] +// [END example_v1_generated_libraryserviceclient_updatebook_async] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBook.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBook.java index f1e77b9bde..81e7750c21 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBook.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_updatebook_sync] +// [END example_v1_generated_libraryserviceclient_updatebook_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBookBookFieldmask.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBookBookFieldmask.java index 802cde859a..78e82287d4 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBookBookFieldmask.java +++ b/gapic-generator-java/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 library_v1_generated_libraryserviceclient_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 library_v1_generated_libraryserviceclient_updatebook_bookfieldmask_sync] +// [END example_v1_generated_libraryserviceclient_updatebook_bookfieldmask_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservicesettings/createshelf/SyncCreateShelf.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservicesettings/createshelf/SyncCreateShelf.java index 4166702843..27b0379489 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservicesettings/createshelf/SyncCreateShelf.java +++ b/gapic-generator-java/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 library_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 library_v1_generated_libraryservicesettings_createshelf_sync] +// [END example_v1_generated_libraryservicesettings_createshelf_sync] diff --git a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/stub/libraryservicestubsettings/createshelf/SyncCreateShelf.java b/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/stub/libraryservicestubsettings/createshelf/SyncCreateShelf.java index 67041c148e..8f00ce9db7 100644 --- a/gapic-generator-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/stub/libraryservicestubsettings/createshelf/SyncCreateShelf.java +++ b/gapic-generator-java/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 library_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 library_v1_generated_libraryservicestubsettings_createshelf_sync] +// [END example_v1_generated_libraryservicestubsettings_createshelf_sync]