From 7872746379ce21cd6c3120df92789bbefc7e9fbc Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 9 Sep 2022 14:48:24 +0000 Subject: [PATCH 1/5] chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#155) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 472750037 Source-Link: https://github.com/googleapis/googleapis/commit/88f2ea3f53b9712f2e04f28f06210f6f77fa7e24 Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9 --- .../cloud/deploy/v1/CloudDeployClient.java | 602 +++++++++++++----- .../cloud/deploy/v1/CloudDeploySettings.java | 12 +- .../google/cloud/deploy/v1/package-info.java | 7 +- .../v1/stub/CloudDeployStubSettings.java | 12 +- .../v1/stub/HttpJsonCloudDeployStub.java | 18 +- .../approverollout/AsyncApproveRollout.java | 7 +- .../approverollout/SyncApproveRollout.java | 7 +- .../SyncApproveRolloutRolloutname.java | 7 +- .../SyncApproveRolloutString.java | 7 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../SyncCreateSetCredentialsProvider1.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../AsyncCreateDeliveryPipeline.java | 7 +- .../AsyncCreateDeliveryPipelineLRO.java | 7 +- .../SyncCreateDeliveryPipeline.java | 7 +- ...ineLocationnameDeliverypipelineString.java | 7 +- ...yPipelineStringDeliverypipelineString.java | 7 +- .../createrelease/AsyncCreateRelease.java | 7 +- .../createrelease/AsyncCreateReleaseLRO.java | 7 +- .../createrelease/SyncCreateRelease.java | 7 +- ...easeDeliverypipelinenameReleaseString.java | 7 +- .../SyncCreateReleaseStringReleaseString.java | 7 +- .../createrollout/AsyncCreateRollout.java | 7 +- .../createrollout/AsyncCreateRolloutLRO.java | 7 +- .../createrollout/SyncCreateRollout.java | 7 +- ...CreateRolloutReleasenameRolloutString.java | 7 +- .../SyncCreateRolloutStringRolloutString.java | 7 +- .../createtarget/AsyncCreateTarget.java | 7 +- .../createtarget/AsyncCreateTargetLRO.java | 7 +- .../createtarget/SyncCreateTarget.java | 7 +- ...cCreateTargetLocationnameTargetString.java | 7 +- .../SyncCreateTargetStringTargetString.java | 7 +- .../AsyncDeleteDeliveryPipeline.java | 7 +- .../AsyncDeleteDeliveryPipelineLRO.java | 7 +- .../SyncDeleteDeliveryPipeline.java | 7 +- ...eDeliveryPipelineDeliverypipelinename.java | 7 +- .../SyncDeleteDeliveryPipelineString.java | 7 +- .../deletetarget/AsyncDeleteTarget.java | 7 +- .../deletetarget/AsyncDeleteTargetLRO.java | 7 +- .../deletetarget/SyncDeleteTarget.java | 7 +- .../deletetarget/SyncDeleteTargetString.java | 7 +- .../SyncDeleteTargetTargetname.java | 7 +- .../getconfig/AsyncGetConfig.java | 7 +- .../getconfig/SyncGetConfig.java | 7 +- .../getconfig/SyncGetConfigConfigname.java | 7 +- .../getconfig/SyncGetConfigString.java | 7 +- .../AsyncGetDeliveryPipeline.java | 7 +- .../SyncGetDeliveryPipeline.java | 7 +- ...tDeliveryPipelineDeliverypipelinename.java | 7 +- .../SyncGetDeliveryPipelineString.java | 7 +- .../getrelease/AsyncGetRelease.java | 7 +- .../getrelease/SyncGetRelease.java | 7 +- .../getrelease/SyncGetReleaseReleasename.java | 7 +- .../getrelease/SyncGetReleaseString.java | 7 +- .../getrollout/AsyncGetRollout.java | 7 +- .../getrollout/SyncGetRollout.java | 7 +- .../getrollout/SyncGetRolloutRolloutname.java | 7 +- .../getrollout/SyncGetRolloutString.java | 7 +- .../gettarget/AsyncGetTarget.java | 7 +- .../gettarget/SyncGetTarget.java | 7 +- .../gettarget/SyncGetTargetString.java | 7 +- .../gettarget/SyncGetTargetTargetname.java | 7 +- .../AsyncListDeliveryPipelines.java | 7 +- .../AsyncListDeliveryPipelinesPaged.java | 7 +- .../SyncListDeliveryPipelines.java | 7 +- ...SyncListDeliveryPipelinesLocationname.java | 7 +- .../SyncListDeliveryPipelinesString.java | 7 +- .../listreleases/AsyncListReleases.java | 7 +- .../listreleases/AsyncListReleasesPaged.java | 7 +- .../listreleases/SyncListReleases.java | 7 +- .../SyncListReleasesDeliverypipelinename.java | 7 +- .../listreleases/SyncListReleasesString.java | 7 +- .../listrollouts/AsyncListRollouts.java | 7 +- .../listrollouts/AsyncListRolloutsPaged.java | 7 +- .../listrollouts/SyncListRollouts.java | 7 +- .../SyncListRolloutsReleasename.java | 7 +- .../listrollouts/SyncListRolloutsString.java | 7 +- .../listtargets/AsyncListTargets.java | 7 +- .../listtargets/AsyncListTargetsPaged.java | 7 +- .../listtargets/SyncListTargets.java | 7 +- .../SyncListTargetsLocationname.java | 7 +- .../listtargets/SyncListTargetsString.java | 7 +- .../AsyncUpdateDeliveryPipeline.java | 7 +- .../AsyncUpdateDeliveryPipelineLRO.java | 7 +- .../SyncUpdateDeliveryPipeline.java | 7 +- ...veryPipelineDeliverypipelineFieldmask.java | 7 +- .../updatetarget/AsyncUpdateTarget.java | 7 +- .../updatetarget/AsyncUpdateTargetLRO.java | 7 +- .../updatetarget/SyncUpdateTarget.java | 7 +- .../SyncUpdateTargetTargetFieldmask.java | 7 +- .../SyncGetDeliveryPipeline.java | 12 +- .../SyncGetDeliveryPipeline.java | 12 +- 92 files changed, 895 insertions(+), 375 deletions(-) diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java b/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java index a184d38..fa9e5e6 100644 --- a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java +++ b/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java @@ -48,8 +48,11 @@ * calls that map to API methods. Sample code to get started: * *
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* DeliveryPipelineName name =
* DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
@@ -86,8 +89,11 @@
* To customize credentials:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* CloudDeploySettings cloudDeploySettings =
* CloudDeploySettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -98,8 +104,11 @@
* To customize the endpoint:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* CloudDeploySettings cloudDeploySettings =
* CloudDeploySettings.newBuilder().setEndpoint(myEndpoint).build();
* CloudDeployClient cloudDeployClient = CloudDeployClient.create(cloudDeploySettings);
@@ -109,8 +118,11 @@
* the wire:
*
* {@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* CloudDeploySettings cloudDeploySettings =
* CloudDeploySettings.newBuilder()
* .setTransportChannelProvider(
@@ -202,8 +214,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* for (DeliveryPipeline element :
@@ -232,8 +247,11 @@ public final ListDeliveryPipelinesPagedResponse listDeliveryPipelines(LocationNa
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (DeliveryPipeline element :
@@ -260,8 +278,11 @@ public final ListDeliveryPipelinesPagedResponse listDeliveryPipelines(String par
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListDeliveryPipelinesRequest request =
* ListDeliveryPipelinesRequest.newBuilder()
@@ -293,8 +314,11 @@ public final ListDeliveryPipelinesPagedResponse listDeliveryPipelines(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListDeliveryPipelinesRequest request =
* ListDeliveryPipelinesRequest.newBuilder()
@@ -325,8 +349,11 @@ public final ListDeliveryPipelinesPagedResponse listDeliveryPipelines(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListDeliveryPipelinesRequest request =
* ListDeliveryPipelinesRequest.newBuilder()
@@ -364,8 +391,11 @@ public final ListDeliveryPipelinesPagedResponse listDeliveryPipelines(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* DeliveryPipelineName name =
* DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
@@ -392,8 +422,11 @@ public final DeliveryPipeline getDeliveryPipeline(DeliveryPipelineName name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String name =
* DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]").toString();
@@ -418,8 +451,11 @@ public final DeliveryPipeline getDeliveryPipeline(String name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* GetDeliveryPipelineRequest request =
* GetDeliveryPipelineRequest.newBuilder()
@@ -445,8 +481,11 @@ public final DeliveryPipeline getDeliveryPipeline(GetDeliveryPipelineRequest req
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* GetDeliveryPipelineRequest request =
* GetDeliveryPipelineRequest.newBuilder()
@@ -473,8 +512,11 @@ public final DeliveryPipeline getDeliveryPipeline(GetDeliveryPipelineRequest req
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* DeliveryPipeline deliveryPipeline = DeliveryPipeline.newBuilder().build();
@@ -510,8 +552,11 @@ public final OperationFuture createDelivery
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* DeliveryPipeline deliveryPipeline = DeliveryPipeline.newBuilder().build();
@@ -547,8 +592,11 @@ public final OperationFuture createDelivery
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateDeliveryPipelineRequest request =
* CreateDeliveryPipelineRequest.newBuilder()
@@ -577,8 +625,11 @@ public final OperationFuture createDelivery
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateDeliveryPipelineRequest request =
* CreateDeliveryPipelineRequest.newBuilder()
@@ -607,8 +658,11 @@ public final OperationFuture createDelivery
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateDeliveryPipelineRequest request =
* CreateDeliveryPipelineRequest.newBuilder()
@@ -637,8 +691,11 @@ public final OperationFuture createDelivery
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* DeliveryPipeline deliveryPipeline = DeliveryPipeline.newBuilder().build();
* FieldMask updateMask = FieldMask.newBuilder().build();
@@ -671,8 +728,11 @@ public final OperationFuture updateDelivery
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* UpdateDeliveryPipelineRequest request =
* UpdateDeliveryPipelineRequest.newBuilder()
@@ -701,8 +761,11 @@ public final OperationFuture updateDelivery
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* UpdateDeliveryPipelineRequest request =
* UpdateDeliveryPipelineRequest.newBuilder()
@@ -731,8 +794,11 @@ public final OperationFuture updateDelivery
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* UpdateDeliveryPipelineRequest request =
* UpdateDeliveryPipelineRequest.newBuilder()
@@ -761,8 +827,11 @@ public final OperationFuture updateDelivery
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* DeliveryPipelineName name =
* DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
@@ -790,8 +859,11 @@ public final OperationFuture deleteDeliveryPipelineAsy
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String name =
* DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]").toString();
@@ -816,8 +888,11 @@ public final OperationFuture deleteDeliveryPipelineAsy
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* DeleteDeliveryPipelineRequest request =
* DeleteDeliveryPipelineRequest.newBuilder()
@@ -849,8 +924,11 @@ public final OperationFuture deleteDeliveryPipelineAsy
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* DeleteDeliveryPipelineRequest request =
* DeleteDeliveryPipelineRequest.newBuilder()
@@ -882,8 +960,11 @@ public final OperationFuture deleteDeliveryPipelineAsy
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* DeleteDeliveryPipelineRequest request =
* DeleteDeliveryPipelineRequest.newBuilder()
@@ -915,8 +996,11 @@ public final OperationFuture deleteDeliveryPipelineAsy
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* for (Target element : cloudDeployClient.listTargets(parent).iterateAll()) {
@@ -944,8 +1028,11 @@ public final ListTargetsPagedResponse listTargets(LocationName parent) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Target element : cloudDeployClient.listTargets(parent).iterateAll()) {
@@ -970,8 +1057,11 @@ public final ListTargetsPagedResponse listTargets(String parent) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListTargetsRequest request =
* ListTargetsRequest.newBuilder()
@@ -1001,8 +1091,11 @@ public final ListTargetsPagedResponse listTargets(ListTargetsRequest request) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListTargetsRequest request =
* ListTargetsRequest.newBuilder()
@@ -1032,8 +1125,11 @@ public final ListTargetsPagedResponse listTargets(ListTargetsRequest request) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListTargetsRequest request =
* ListTargetsRequest.newBuilder()
@@ -1069,8 +1165,11 @@ public final UnaryCallable listTargetsC
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* TargetName name = TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]");
* Target response = cloudDeployClient.getTarget(name);
@@ -1094,8 +1193,11 @@ public final Target getTarget(TargetName name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String name = TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString();
* Target response = cloudDeployClient.getTarget(name);
@@ -1118,8 +1220,11 @@ public final Target getTarget(String name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* GetTargetRequest request =
* GetTargetRequest.newBuilder()
@@ -1143,8 +1248,11 @@ public final Target getTarget(GetTargetRequest request) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* GetTargetRequest request =
* GetTargetRequest.newBuilder()
@@ -1167,8 +1275,11 @@ public final UnaryCallable getTargetCallable() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* Target target = Target.newBuilder().build();
@@ -1201,8 +1312,11 @@ public final OperationFuture createTargetAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Target target = Target.newBuilder().build();
@@ -1235,8 +1349,11 @@ public final OperationFuture createTargetAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateTargetRequest request =
* CreateTargetRequest.newBuilder()
@@ -1265,8 +1382,11 @@ public final OperationFuture createTargetAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateTargetRequest request =
* CreateTargetRequest.newBuilder()
@@ -1295,8 +1415,11 @@ public final OperationFuture createTargetAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateTargetRequest request =
* CreateTargetRequest.newBuilder()
@@ -1323,8 +1446,11 @@ public final UnaryCallable createTargetCallable(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* Target target = Target.newBuilder().build();
* FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1353,8 +1479,11 @@ public final OperationFuture updateTargetAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* UpdateTargetRequest request =
* UpdateTargetRequest.newBuilder()
@@ -1383,8 +1512,11 @@ public final OperationFuture updateTargetAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* UpdateTargetRequest request =
* UpdateTargetRequest.newBuilder()
@@ -1413,8 +1545,11 @@ public final OperationFuture updateTargetAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* UpdateTargetRequest request =
* UpdateTargetRequest.newBuilder()
@@ -1441,8 +1576,11 @@ public final UnaryCallable updateTargetCallable(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* TargetName name = TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]");
* cloudDeployClient.deleteTargetAsync(name).get();
@@ -1466,8 +1604,11 @@ public final OperationFuture deleteTargetAsync(TargetN
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String name = TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString();
* cloudDeployClient.deleteTargetAsync(name).get();
@@ -1490,8 +1631,11 @@ public final OperationFuture deleteTargetAsync(String
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* DeleteTargetRequest request =
* DeleteTargetRequest.newBuilder()
@@ -1520,8 +1664,11 @@ public final OperationFuture deleteTargetAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* DeleteTargetRequest request =
* DeleteTargetRequest.newBuilder()
@@ -1550,8 +1697,11 @@ public final OperationFuture deleteTargetAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* DeleteTargetRequest request =
* DeleteTargetRequest.newBuilder()
@@ -1578,8 +1728,11 @@ public final UnaryCallable deleteTargetCallable(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* DeliveryPipelineName parent =
* DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
@@ -1607,8 +1760,11 @@ public final ListReleasesPagedResponse listReleases(DeliveryPipelineName parent)
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String parent =
* DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]").toString();
@@ -1633,8 +1789,11 @@ public final ListReleasesPagedResponse listReleases(String parent) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListReleasesRequest request =
* ListReleasesRequest.newBuilder()
@@ -1666,8 +1825,11 @@ public final ListReleasesPagedResponse listReleases(ListReleasesRequest request)
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListReleasesRequest request =
* ListReleasesRequest.newBuilder()
@@ -1699,8 +1861,11 @@ public final ListReleasesPagedResponse listReleases(ListReleasesRequest request)
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListReleasesRequest request =
* ListReleasesRequest.newBuilder()
@@ -1738,8 +1903,11 @@ public final UnaryCallable listReleas
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ReleaseName name =
* ReleaseName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
@@ -1764,8 +1932,11 @@ public final Release getRelease(ReleaseName name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String name =
* ReleaseName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]").toString();
@@ -1789,8 +1960,11 @@ public final Release getRelease(String name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* GetReleaseRequest request =
* GetReleaseRequest.newBuilder()
@@ -1816,8 +1990,11 @@ public final Release getRelease(GetReleaseRequest request) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* GetReleaseRequest request =
* GetReleaseRequest.newBuilder()
@@ -1842,8 +2019,11 @@ public final UnaryCallable getReleaseCallable() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* DeliveryPipelineName parent =
* DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
@@ -1878,8 +2058,11 @@ public final OperationFuture createReleaseAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String parent =
* DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]").toString();
@@ -1914,8 +2097,11 @@ public final OperationFuture createReleaseAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateReleaseRequest request =
* CreateReleaseRequest.newBuilder()
@@ -1946,8 +2132,11 @@ public final OperationFuture createReleaseAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateReleaseRequest request =
* CreateReleaseRequest.newBuilder()
@@ -1978,8 +2167,11 @@ public final OperationFuture createReleaseAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateReleaseRequest request =
* CreateReleaseRequest.newBuilder()
@@ -2008,8 +2200,11 @@ public final UnaryCallable createReleaseCallabl
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* RolloutName name =
* RolloutName.of(
@@ -2036,8 +2231,11 @@ public final ApproveRolloutResponse approveRollout(RolloutName name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String name =
* RolloutName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]")
@@ -2063,8 +2261,11 @@ public final ApproveRolloutResponse approveRollout(String name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ApproveRolloutRequest request =
* ApproveRolloutRequest.newBuilder()
@@ -2096,8 +2297,11 @@ public final ApproveRolloutResponse approveRollout(ApproveRolloutRequest request
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ApproveRolloutRequest request =
* ApproveRolloutRequest.newBuilder()
@@ -2130,8 +2334,11 @@ public final ApproveRolloutResponse approveRollout(ApproveRolloutRequest request
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ReleaseName parent =
* ReleaseName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
@@ -2159,8 +2366,11 @@ public final ListRolloutsPagedResponse listRollouts(ReleaseName parent) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String parent =
* ReleaseName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]").toString();
@@ -2185,8 +2395,11 @@ public final ListRolloutsPagedResponse listRollouts(String parent) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListRolloutsRequest request =
* ListRolloutsRequest.newBuilder()
@@ -2218,8 +2431,11 @@ public final ListRolloutsPagedResponse listRollouts(ListRolloutsRequest request)
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListRolloutsRequest request =
* ListRolloutsRequest.newBuilder()
@@ -2251,8 +2467,11 @@ public final ListRolloutsPagedResponse listRollouts(ListRolloutsRequest request)
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListRolloutsRequest request =
* ListRolloutsRequest.newBuilder()
@@ -2290,8 +2509,11 @@ public final UnaryCallable listRollou
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* RolloutName name =
* RolloutName.of(
@@ -2317,8 +2539,11 @@ public final Rollout getRollout(RolloutName name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String name =
* RolloutName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]")
@@ -2343,8 +2568,11 @@ public final Rollout getRollout(String name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* GetRolloutRequest request =
* GetRolloutRequest.newBuilder()
@@ -2375,8 +2603,11 @@ public final Rollout getRollout(GetRolloutRequest request) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* GetRolloutRequest request =
* GetRolloutRequest.newBuilder()
@@ -2406,8 +2637,11 @@ public final UnaryCallable getRolloutCallable() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ReleaseName parent =
* ReleaseName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
@@ -2442,8 +2676,11 @@ public final OperationFuture createRolloutAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String parent =
* ReleaseName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]").toString();
@@ -2478,8 +2715,11 @@ public final OperationFuture createRolloutAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateRolloutRequest request =
* CreateRolloutRequest.newBuilder()
@@ -2510,8 +2750,11 @@ public final OperationFuture createRolloutAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateRolloutRequest request =
* CreateRolloutRequest.newBuilder()
@@ -2542,8 +2785,11 @@ public final OperationFuture createRolloutAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateRolloutRequest request =
* CreateRolloutRequest.newBuilder()
@@ -2572,8 +2818,11 @@ public final UnaryCallable createRolloutCallabl
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ConfigName name = ConfigName.of("[PROJECT]", "[LOCATION]");
* Config response = cloudDeployClient.getConfig(name);
@@ -2596,8 +2845,11 @@ public final Config getConfig(ConfigName name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* String name = ConfigName.of("[PROJECT]", "[LOCATION]").toString();
* Config response = cloudDeployClient.getConfig(name);
@@ -2619,8 +2871,11 @@ public final Config getConfig(String name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* GetConfigRequest request =
* GetConfigRequest.newBuilder()
@@ -2644,8 +2899,11 @@ public final Config getConfig(GetConfigRequest request) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* GetConfigRequest request =
* GetConfigRequest.newBuilder()
diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java b/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java
index dc75aab..30e28d8 100644
--- a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java
+++ b/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java
@@ -59,16 +59,16 @@
* For example, to set the total timeout of getDeliveryPipeline to 30 seconds:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* CloudDeploySettings.Builder cloudDeploySettingsBuilder = CloudDeploySettings.newBuilder();
* cloudDeploySettingsBuilder
* .getDeliveryPipelineSettings()
* .setRetrySettings(
- * cloudDeploySettingsBuilder
- * .getDeliveryPipelineSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * cloudDeploySettingsBuilder.getDeliveryPipelineSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* CloudDeploySettings cloudDeploySettings = cloudDeploySettingsBuilder.build();
diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java b/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java
index 61ef015..16bdcde 100644
--- a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java
+++ b/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java
@@ -27,8 +27,11 @@
* Sample for CloudDeployClient:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* DeliveryPipelineName name =
* DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java b/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java
index 5e4f799..e991b6b 100644
--- a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java
+++ b/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java
@@ -108,17 +108,17 @@
* For example, to set the total timeout of getDeliveryPipeline to 30 seconds:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* CloudDeployStubSettings.Builder cloudDeploySettingsBuilder =
* CloudDeployStubSettings.newBuilder();
* cloudDeploySettingsBuilder
* .getDeliveryPipelineSettings()
* .setRetrySettings(
- * cloudDeploySettingsBuilder
- * .getDeliveryPipelineSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * cloudDeploySettingsBuilder.getDeliveryPipelineSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* CloudDeployStubSettings cloudDeploySettings = cloudDeploySettingsBuilder.build();
diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployStub.java b/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployStub.java
index 4019516..b3df0fb 100644
--- a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployStub.java
+++ b/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployStub.java
@@ -199,7 +199,7 @@ public class HttpJsonCloudDeployStub extends CloudDeployStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("deliveryPipeline", request.getDeliveryPipeline()))
+ .toBody("deliveryPipeline", request.getDeliveryPipeline(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -247,7 +247,7 @@ public class HttpJsonCloudDeployStub extends CloudDeployStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("deliveryPipeline", request.getDeliveryPipeline()))
+ .toBody("deliveryPipeline", request.getDeliveryPipeline(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -401,7 +401,8 @@ public class HttpJsonCloudDeployStub extends CloudDeployStub {
})
.setRequestBodyExtractor(
request ->
- ProtoRestSerializer.create().toBody("target", request.getTarget()))
+ ProtoRestSerializer.create()
+ .toBody("target", request.getTarget(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -446,7 +447,8 @@ public class HttpJsonCloudDeployStub extends CloudDeployStub {
})
.setRequestBodyExtractor(
request ->
- ProtoRestSerializer.create().toBody("target", request.getTarget()))
+ ProtoRestSerializer.create()
+ .toBody("target", request.getTarget(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -599,7 +601,8 @@ public class HttpJsonCloudDeployStub extends CloudDeployStub {
})
.setRequestBodyExtractor(
request ->
- ProtoRestSerializer.create().toBody("release", request.getRelease()))
+ ProtoRestSerializer.create()
+ .toBody("release", request.getRelease(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -638,7 +641,7 @@ public class HttpJsonCloudDeployStub extends CloudDeployStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearName().build()))
+ .toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -746,7 +749,8 @@ public class HttpJsonCloudDeployStub extends CloudDeployStub {
})
.setRequestBodyExtractor(
request ->
- ProtoRestSerializer.create().toBody("rollout", request.getRollout()))
+ ProtoRestSerializer.create()
+ .toBody("rollout", request.getRollout(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/AsyncApproveRollout.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/AsyncApproveRollout.java
index f63741b..1233d71 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/AsyncApproveRollout.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/AsyncApproveRollout.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncApproveRollout() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ApproveRolloutRequest request =
ApproveRolloutRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/SyncApproveRollout.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/SyncApproveRollout.java
index 3453ac8..e639ea8 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/SyncApproveRollout.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/SyncApproveRollout.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncApproveRollout() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ApproveRolloutRequest request =
ApproveRolloutRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/SyncApproveRolloutRolloutname.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/SyncApproveRolloutRolloutname.java
index 49a2a4a..7d1f504 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/SyncApproveRolloutRolloutname.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/SyncApproveRolloutRolloutname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncApproveRolloutRolloutname() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
RolloutName name =
RolloutName.of(
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/SyncApproveRolloutString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/SyncApproveRolloutString.java
index 33ec2a6..fb3cedf 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/SyncApproveRolloutString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/approverollout/SyncApproveRolloutString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncApproveRolloutString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String name =
RolloutName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]")
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/create/SyncCreateSetCredentialsProvider.java
index fc268ce..9e43b15 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateSetCredentialsProvider() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
CloudDeploySettings cloudDeploySettings =
CloudDeploySettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/create/SyncCreateSetCredentialsProvider1.java
index 6f705c7..9be5519 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateSetCredentialsProvider1() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
CloudDeploySettings cloudDeploySettings =
CloudDeploySettings.newBuilder()
.setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/create/SyncCreateSetEndpoint.java
index bf4006d..065f249 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/create/SyncCreateSetEndpoint.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateSetEndpoint() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
CloudDeploySettings cloudDeploySettings =
CloudDeploySettings.newBuilder().setEndpoint(myEndpoint).build();
CloudDeployClient cloudDeployClient = CloudDeployClient.create(cloudDeploySettings);
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/AsyncCreateDeliveryPipeline.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/AsyncCreateDeliveryPipeline.java
index f064df7..ddce216 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/AsyncCreateDeliveryPipeline.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/AsyncCreateDeliveryPipeline.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncCreateDeliveryPipeline() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
CreateDeliveryPipelineRequest request =
CreateDeliveryPipelineRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/AsyncCreateDeliveryPipelineLRO.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/AsyncCreateDeliveryPipelineLRO.java
index eb87a91..f91dd8a 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/AsyncCreateDeliveryPipelineLRO.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/AsyncCreateDeliveryPipelineLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncCreateDeliveryPipelineLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
CreateDeliveryPipelineRequest request =
CreateDeliveryPipelineRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/SyncCreateDeliveryPipeline.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/SyncCreateDeliveryPipeline.java
index c5e3856..99f4236 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/SyncCreateDeliveryPipeline.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/SyncCreateDeliveryPipeline.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateDeliveryPipeline() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
CreateDeliveryPipelineRequest request =
CreateDeliveryPipelineRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/SyncCreateDeliveryPipelineLocationnameDeliverypipelineString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/SyncCreateDeliveryPipelineLocationnameDeliverypipelineString.java
index c669785..7c583db 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/SyncCreateDeliveryPipelineLocationnameDeliverypipelineString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/SyncCreateDeliveryPipelineLocationnameDeliverypipelineString.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
public static void syncCreateDeliveryPipelineLocationnameDeliverypipelineString()
throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
DeliveryPipeline deliveryPipeline = DeliveryPipeline.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/SyncCreateDeliveryPipelineStringDeliverypipelineString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/SyncCreateDeliveryPipelineStringDeliverypipelineString.java
index 031dc57..59ff343 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/SyncCreateDeliveryPipelineStringDeliverypipelineString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createdeliverypipeline/SyncCreateDeliveryPipelineStringDeliverypipelineString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateDeliveryPipelineStringDeliverypipelineString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
DeliveryPipeline deliveryPipeline = DeliveryPipeline.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/AsyncCreateRelease.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/AsyncCreateRelease.java
index e1c6310..3b41ce0 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/AsyncCreateRelease.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/AsyncCreateRelease.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncCreateRelease() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
CreateReleaseRequest request =
CreateReleaseRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/AsyncCreateReleaseLRO.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/AsyncCreateReleaseLRO.java
index cc99688..27c2d66 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/AsyncCreateReleaseLRO.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/AsyncCreateReleaseLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncCreateReleaseLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
CreateReleaseRequest request =
CreateReleaseRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/SyncCreateRelease.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/SyncCreateRelease.java
index f6ff9e3..beb3078 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/SyncCreateRelease.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/SyncCreateRelease.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateRelease() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
CreateReleaseRequest request =
CreateReleaseRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/SyncCreateReleaseDeliverypipelinenameReleaseString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/SyncCreateReleaseDeliverypipelinenameReleaseString.java
index b877b06..1890363 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/SyncCreateReleaseDeliverypipelinenameReleaseString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/SyncCreateReleaseDeliverypipelinenameReleaseString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateReleaseDeliverypipelinenameReleaseString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
DeliveryPipelineName parent =
DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/SyncCreateReleaseStringReleaseString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/SyncCreateReleaseStringReleaseString.java
index 5a4a23d..b0533c8 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/SyncCreateReleaseStringReleaseString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrelease/SyncCreateReleaseStringReleaseString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateReleaseStringReleaseString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String parent =
DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/AsyncCreateRollout.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/AsyncCreateRollout.java
index e3b9934..25dd136 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/AsyncCreateRollout.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/AsyncCreateRollout.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncCreateRollout() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
CreateRolloutRequest request =
CreateRolloutRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/AsyncCreateRolloutLRO.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/AsyncCreateRolloutLRO.java
index 2b752f3..c3976bb 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/AsyncCreateRolloutLRO.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/AsyncCreateRolloutLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncCreateRolloutLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
CreateRolloutRequest request =
CreateRolloutRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/SyncCreateRollout.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/SyncCreateRollout.java
index 96a48a7..7d9d06e 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/SyncCreateRollout.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/SyncCreateRollout.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateRollout() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
CreateRolloutRequest request =
CreateRolloutRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/SyncCreateRolloutReleasenameRolloutString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/SyncCreateRolloutReleasenameRolloutString.java
index 4309b5b..28eeb00 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/SyncCreateRolloutReleasenameRolloutString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/SyncCreateRolloutReleasenameRolloutString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateRolloutReleasenameRolloutString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ReleaseName parent =
ReleaseName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/SyncCreateRolloutStringRolloutString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/SyncCreateRolloutStringRolloutString.java
index 9f9da47..ea35dc3 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/SyncCreateRolloutStringRolloutString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createrollout/SyncCreateRolloutStringRolloutString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateRolloutStringRolloutString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String parent =
ReleaseName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/AsyncCreateTarget.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/AsyncCreateTarget.java
index a22cd34..3345768 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/AsyncCreateTarget.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/AsyncCreateTarget.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncCreateTarget() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
CreateTargetRequest request =
CreateTargetRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/AsyncCreateTargetLRO.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/AsyncCreateTargetLRO.java
index ee3219d..0c46e31 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/AsyncCreateTargetLRO.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/AsyncCreateTargetLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncCreateTargetLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
CreateTargetRequest request =
CreateTargetRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/SyncCreateTarget.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/SyncCreateTarget.java
index 9a3766c..0406213 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/SyncCreateTarget.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/SyncCreateTarget.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateTarget() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
CreateTargetRequest request =
CreateTargetRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/SyncCreateTargetLocationnameTargetString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/SyncCreateTargetLocationnameTargetString.java
index d93d715..6799fbd 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/SyncCreateTargetLocationnameTargetString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/SyncCreateTargetLocationnameTargetString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateTargetLocationnameTargetString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
Target target = Target.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/SyncCreateTargetStringTargetString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/SyncCreateTargetStringTargetString.java
index 545f00a..af1b057 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/SyncCreateTargetStringTargetString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/createtarget/SyncCreateTargetStringTargetString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateTargetStringTargetString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
Target target = Target.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/AsyncDeleteDeliveryPipeline.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/AsyncDeleteDeliveryPipeline.java
index 8c2310e..0c0af75 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/AsyncDeleteDeliveryPipeline.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/AsyncDeleteDeliveryPipeline.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncDeleteDeliveryPipeline() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
DeleteDeliveryPipelineRequest request =
DeleteDeliveryPipelineRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/AsyncDeleteDeliveryPipelineLRO.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/AsyncDeleteDeliveryPipelineLRO.java
index 190991e..7a9eba5 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/AsyncDeleteDeliveryPipelineLRO.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/AsyncDeleteDeliveryPipelineLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncDeleteDeliveryPipelineLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
DeleteDeliveryPipelineRequest request =
DeleteDeliveryPipelineRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/SyncDeleteDeliveryPipeline.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/SyncDeleteDeliveryPipeline.java
index 7ba84e2..c0a8bda 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/SyncDeleteDeliveryPipeline.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/SyncDeleteDeliveryPipeline.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncDeleteDeliveryPipeline() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
DeleteDeliveryPipelineRequest request =
DeleteDeliveryPipelineRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/SyncDeleteDeliveryPipelineDeliverypipelinename.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/SyncDeleteDeliveryPipelineDeliverypipelinename.java
index 126bf2b..8f1ba05 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/SyncDeleteDeliveryPipelineDeliverypipelinename.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/SyncDeleteDeliveryPipelineDeliverypipelinename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncDeleteDeliveryPipelineDeliverypipelinename() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
DeliveryPipelineName name =
DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/SyncDeleteDeliveryPipelineString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/SyncDeleteDeliveryPipelineString.java
index 6dd3f52..46710f3 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/SyncDeleteDeliveryPipelineString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletedeliverypipeline/SyncDeleteDeliveryPipelineString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncDeleteDeliveryPipelineString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String name =
DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/AsyncDeleteTarget.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/AsyncDeleteTarget.java
index 4f59c2b..eb42085 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/AsyncDeleteTarget.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/AsyncDeleteTarget.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncDeleteTarget() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
DeleteTargetRequest request =
DeleteTargetRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/AsyncDeleteTargetLRO.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/AsyncDeleteTargetLRO.java
index 15c3f25..429ac39 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/AsyncDeleteTargetLRO.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/AsyncDeleteTargetLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncDeleteTargetLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
DeleteTargetRequest request =
DeleteTargetRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/SyncDeleteTarget.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/SyncDeleteTarget.java
index ab59cd8..ef946e7 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/SyncDeleteTarget.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/SyncDeleteTarget.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncDeleteTarget() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
DeleteTargetRequest request =
DeleteTargetRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/SyncDeleteTargetString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/SyncDeleteTargetString.java
index 2927382..12792fd 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/SyncDeleteTargetString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/SyncDeleteTargetString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncDeleteTargetString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String name = TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString();
cloudDeployClient.deleteTargetAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/SyncDeleteTargetTargetname.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/SyncDeleteTargetTargetname.java
index 587e893..76eb4c7 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/SyncDeleteTargetTargetname.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/deletetarget/SyncDeleteTargetTargetname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncDeleteTargetTargetname() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
TargetName name = TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]");
cloudDeployClient.deleteTargetAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/AsyncGetConfig.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/AsyncGetConfig.java
index 90f969b..f6f99fc 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/AsyncGetConfig.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/AsyncGetConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncGetConfig() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
GetConfigRequest request =
GetConfigRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/SyncGetConfig.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/SyncGetConfig.java
index f14df41..acd8ca7 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/SyncGetConfig.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/SyncGetConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetConfig() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
GetConfigRequest request =
GetConfigRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/SyncGetConfigConfigname.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/SyncGetConfigConfigname.java
index 4908cd9..3a89b5b 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/SyncGetConfigConfigname.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/SyncGetConfigConfigname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetConfigConfigname() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ConfigName name = ConfigName.of("[PROJECT]", "[LOCATION]");
Config response = cloudDeployClient.getConfig(name);
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/SyncGetConfigString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/SyncGetConfigString.java
index 54b2d23..a40495e 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/SyncGetConfigString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getconfig/SyncGetConfigString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetConfigString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String name = ConfigName.of("[PROJECT]", "[LOCATION]").toString();
Config response = cloudDeployClient.getConfig(name);
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/AsyncGetDeliveryPipeline.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/AsyncGetDeliveryPipeline.java
index 1154284..f9bb4f1 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/AsyncGetDeliveryPipeline.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/AsyncGetDeliveryPipeline.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncGetDeliveryPipeline() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
GetDeliveryPipelineRequest request =
GetDeliveryPipelineRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/SyncGetDeliveryPipeline.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/SyncGetDeliveryPipeline.java
index b29533c..fd91f43 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/SyncGetDeliveryPipeline.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/SyncGetDeliveryPipeline.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetDeliveryPipeline() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
GetDeliveryPipelineRequest request =
GetDeliveryPipelineRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/SyncGetDeliveryPipelineDeliverypipelinename.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/SyncGetDeliveryPipelineDeliverypipelinename.java
index c6c11e3..43e6001 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/SyncGetDeliveryPipelineDeliverypipelinename.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/SyncGetDeliveryPipelineDeliverypipelinename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetDeliveryPipelineDeliverypipelinename() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
DeliveryPipelineName name =
DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/SyncGetDeliveryPipelineString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/SyncGetDeliveryPipelineString.java
index 1a5e2e4..b3a85bc 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/SyncGetDeliveryPipelineString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getdeliverypipeline/SyncGetDeliveryPipelineString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetDeliveryPipelineString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String name =
DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/AsyncGetRelease.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/AsyncGetRelease.java
index dd5c692..8c3332c 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/AsyncGetRelease.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/AsyncGetRelease.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncGetRelease() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
GetReleaseRequest request =
GetReleaseRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/SyncGetRelease.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/SyncGetRelease.java
index 58f906b..02ae27e 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/SyncGetRelease.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/SyncGetRelease.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetRelease() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
GetReleaseRequest request =
GetReleaseRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/SyncGetReleaseReleasename.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/SyncGetReleaseReleasename.java
index 61100fa..4feabfd 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/SyncGetReleaseReleasename.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/SyncGetReleaseReleasename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetReleaseReleasename() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ReleaseName name =
ReleaseName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/SyncGetReleaseString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/SyncGetReleaseString.java
index 327560e..8680d9d 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/SyncGetReleaseString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrelease/SyncGetReleaseString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetReleaseString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String name =
ReleaseName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/AsyncGetRollout.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/AsyncGetRollout.java
index 0932981..3eee321 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/AsyncGetRollout.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/AsyncGetRollout.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncGetRollout() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
GetRolloutRequest request =
GetRolloutRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/SyncGetRollout.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/SyncGetRollout.java
index d94f94a..ca3140a 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/SyncGetRollout.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/SyncGetRollout.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetRollout() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
GetRolloutRequest request =
GetRolloutRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/SyncGetRolloutRolloutname.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/SyncGetRolloutRolloutname.java
index beef71b..dff4fc5 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/SyncGetRolloutRolloutname.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/SyncGetRolloutRolloutname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetRolloutRolloutname() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
RolloutName name =
RolloutName.of(
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/SyncGetRolloutString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/SyncGetRolloutString.java
index 4aebcee..b9e8f39 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/SyncGetRolloutString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/getrollout/SyncGetRolloutString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetRolloutString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String name =
RolloutName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]")
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/AsyncGetTarget.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/AsyncGetTarget.java
index 7d167b1..8a55764 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/AsyncGetTarget.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/AsyncGetTarget.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncGetTarget() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
GetTargetRequest request =
GetTargetRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/SyncGetTarget.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/SyncGetTarget.java
index 163714c..b09ef0b 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/SyncGetTarget.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/SyncGetTarget.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetTarget() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
GetTargetRequest request =
GetTargetRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/SyncGetTargetString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/SyncGetTargetString.java
index 1fa3ddc..650f261 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/SyncGetTargetString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/SyncGetTargetString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetTargetString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String name = TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString();
Target response = cloudDeployClient.getTarget(name);
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/SyncGetTargetTargetname.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/SyncGetTargetTargetname.java
index e474618..e403c4b 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/SyncGetTargetTargetname.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/gettarget/SyncGetTargetTargetname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetTargetTargetname() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
TargetName name = TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]");
Target response = cloudDeployClient.getTarget(name);
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/AsyncListDeliveryPipelines.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/AsyncListDeliveryPipelines.java
index 24e4fa0..02b90f1 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/AsyncListDeliveryPipelines.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/AsyncListDeliveryPipelines.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncListDeliveryPipelines() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ListDeliveryPipelinesRequest request =
ListDeliveryPipelinesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/AsyncListDeliveryPipelinesPaged.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/AsyncListDeliveryPipelinesPaged.java
index dad0b42..9a05bd4 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/AsyncListDeliveryPipelinesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/AsyncListDeliveryPipelinesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncListDeliveryPipelinesPaged() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ListDeliveryPipelinesRequest request =
ListDeliveryPipelinesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/SyncListDeliveryPipelines.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/SyncListDeliveryPipelines.java
index 240c1dc..b498673 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/SyncListDeliveryPipelines.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/SyncListDeliveryPipelines.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListDeliveryPipelines() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ListDeliveryPipelinesRequest request =
ListDeliveryPipelinesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/SyncListDeliveryPipelinesLocationname.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/SyncListDeliveryPipelinesLocationname.java
index a5c1b37..0c06cbd 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/SyncListDeliveryPipelinesLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/SyncListDeliveryPipelinesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListDeliveryPipelinesLocationname() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
for (DeliveryPipeline element :
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/SyncListDeliveryPipelinesString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/SyncListDeliveryPipelinesString.java
index e13a4d2..801b9e5 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/SyncListDeliveryPipelinesString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listdeliverypipelines/SyncListDeliveryPipelinesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListDeliveryPipelinesString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
for (DeliveryPipeline element :
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/AsyncListReleases.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/AsyncListReleases.java
index cf321ad..9d6edf2 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/AsyncListReleases.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/AsyncListReleases.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncListReleases() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ListReleasesRequest request =
ListReleasesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/AsyncListReleasesPaged.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/AsyncListReleasesPaged.java
index deaa2a6..178af43 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/AsyncListReleasesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/AsyncListReleasesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncListReleasesPaged() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ListReleasesRequest request =
ListReleasesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/SyncListReleases.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/SyncListReleases.java
index 7563a9f..3e9792a 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/SyncListReleases.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/SyncListReleases.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListReleases() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ListReleasesRequest request =
ListReleasesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/SyncListReleasesDeliverypipelinename.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/SyncListReleasesDeliverypipelinename.java
index 7e330ae..a711a0b 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/SyncListReleasesDeliverypipelinename.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/SyncListReleasesDeliverypipelinename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListReleasesDeliverypipelinename() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
DeliveryPipelineName parent =
DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/SyncListReleasesString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/SyncListReleasesString.java
index 7d94b26..5610ac5 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/SyncListReleasesString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listreleases/SyncListReleasesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListReleasesString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String parent =
DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/AsyncListRollouts.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/AsyncListRollouts.java
index 22fe376..aebbeb1 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/AsyncListRollouts.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/AsyncListRollouts.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncListRollouts() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ListRolloutsRequest request =
ListRolloutsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/AsyncListRolloutsPaged.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/AsyncListRolloutsPaged.java
index 8762da8..c89608a 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/AsyncListRolloutsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/AsyncListRolloutsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncListRolloutsPaged() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ListRolloutsRequest request =
ListRolloutsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/SyncListRollouts.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/SyncListRollouts.java
index fe0049e..3f729f6 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/SyncListRollouts.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/SyncListRollouts.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListRollouts() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ListRolloutsRequest request =
ListRolloutsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/SyncListRolloutsReleasename.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/SyncListRolloutsReleasename.java
index 52d4c7d..7157db9 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/SyncListRolloutsReleasename.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/SyncListRolloutsReleasename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListRolloutsReleasename() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ReleaseName parent =
ReleaseName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]");
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/SyncListRolloutsString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/SyncListRolloutsString.java
index 50c608c..5147222 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/SyncListRolloutsString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listrollouts/SyncListRolloutsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListRolloutsString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String parent =
ReleaseName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/AsyncListTargets.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/AsyncListTargets.java
index f5af269..226ea63 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/AsyncListTargets.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/AsyncListTargets.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncListTargets() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ListTargetsRequest request =
ListTargetsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/AsyncListTargetsPaged.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/AsyncListTargetsPaged.java
index 83be9cb..28114e9 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/AsyncListTargetsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/AsyncListTargetsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncListTargetsPaged() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ListTargetsRequest request =
ListTargetsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/SyncListTargets.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/SyncListTargets.java
index 448be9c..fb9426b 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/SyncListTargets.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/SyncListTargets.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListTargets() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
ListTargetsRequest request =
ListTargetsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/SyncListTargetsLocationname.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/SyncListTargetsLocationname.java
index d52c055..c282acc 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/SyncListTargetsLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/SyncListTargetsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListTargetsLocationname() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
for (Target element : cloudDeployClient.listTargets(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/SyncListTargetsString.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/SyncListTargetsString.java
index 68b4467..0f14fc0 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/SyncListTargetsString.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/listtargets/SyncListTargetsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListTargetsString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
for (Target element : cloudDeployClient.listTargets(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/AsyncUpdateDeliveryPipeline.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/AsyncUpdateDeliveryPipeline.java
index 9aa6d48..7f10c76 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/AsyncUpdateDeliveryPipeline.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/AsyncUpdateDeliveryPipeline.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncUpdateDeliveryPipeline() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
UpdateDeliveryPipelineRequest request =
UpdateDeliveryPipelineRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/AsyncUpdateDeliveryPipelineLRO.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/AsyncUpdateDeliveryPipelineLRO.java
index 60c9c7e..9dee4b0 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/AsyncUpdateDeliveryPipelineLRO.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/AsyncUpdateDeliveryPipelineLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncUpdateDeliveryPipelineLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
UpdateDeliveryPipelineRequest request =
UpdateDeliveryPipelineRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/SyncUpdateDeliveryPipeline.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/SyncUpdateDeliveryPipeline.java
index 8f074ba..00be2bb 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/SyncUpdateDeliveryPipeline.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/SyncUpdateDeliveryPipeline.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncUpdateDeliveryPipeline() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
UpdateDeliveryPipelineRequest request =
UpdateDeliveryPipelineRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/SyncUpdateDeliveryPipelineDeliverypipelineFieldmask.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/SyncUpdateDeliveryPipelineDeliverypipelineFieldmask.java
index 140a51f..8e36a4e 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/SyncUpdateDeliveryPipelineDeliverypipelineFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatedeliverypipeline/SyncUpdateDeliveryPipelineDeliverypipelineFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncUpdateDeliveryPipelineDeliverypipelineFieldmask() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
DeliveryPipeline deliveryPipeline = DeliveryPipeline.newBuilder().build();
FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/AsyncUpdateTarget.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/AsyncUpdateTarget.java
index 5d35077..d2d5841 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/AsyncUpdateTarget.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/AsyncUpdateTarget.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncUpdateTarget() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
UpdateTargetRequest request =
UpdateTargetRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/AsyncUpdateTargetLRO.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/AsyncUpdateTargetLRO.java
index ef5730f..4ab803f 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/AsyncUpdateTargetLRO.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/AsyncUpdateTargetLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncUpdateTargetLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
UpdateTargetRequest request =
UpdateTargetRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/SyncUpdateTarget.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/SyncUpdateTarget.java
index c5d8c9a..286a885 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/SyncUpdateTarget.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/SyncUpdateTarget.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncUpdateTarget() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
UpdateTargetRequest request =
UpdateTargetRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/SyncUpdateTargetTargetFieldmask.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/SyncUpdateTargetTargetFieldmask.java
index af1b106..afddd9a 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/SyncUpdateTargetTargetFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeployclient/updatetarget/SyncUpdateTargetTargetFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncUpdateTargetTargetFieldmask() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
Target target = Target.newBuilder().build();
FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploysettings/getdeliverypipeline/SyncGetDeliveryPipeline.java b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploysettings/getdeliverypipeline/SyncGetDeliveryPipeline.java
index c7dfb62..0bfdc7c 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploysettings/getdeliverypipeline/SyncGetDeliveryPipeline.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploysettings/getdeliverypipeline/SyncGetDeliveryPipeline.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetDeliveryPipeline() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
CloudDeploySettings.Builder cloudDeploySettingsBuilder = CloudDeploySettings.newBuilder();
cloudDeploySettingsBuilder
.getDeliveryPipelineSettings()
.setRetrySettings(
- cloudDeploySettingsBuilder
- .getDeliveryPipelineSettings()
- .getRetrySettings()
- .toBuilder()
+ cloudDeploySettingsBuilder.getDeliveryPipelineSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
CloudDeploySettings cloudDeploySettings = cloudDeploySettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/deploy/v1/stub/clouddeploystubsettings/getdeliverypipeline/SyncGetDeliveryPipeline.java b/samples/snippets/generated/com/google/cloud/deploy/v1/stub/clouddeploystubsettings/getdeliverypipeline/SyncGetDeliveryPipeline.java
index 21f2a60..705eba5 100644
--- a/samples/snippets/generated/com/google/cloud/deploy/v1/stub/clouddeploystubsettings/getdeliverypipeline/SyncGetDeliveryPipeline.java
+++ b/samples/snippets/generated/com/google/cloud/deploy/v1/stub/clouddeploystubsettings/getdeliverypipeline/SyncGetDeliveryPipeline.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetDeliveryPipeline() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
CloudDeployStubSettings.Builder cloudDeploySettingsBuilder =
CloudDeployStubSettings.newBuilder();
cloudDeploySettingsBuilder
.getDeliveryPipelineSettings()
.setRetrySettings(
- cloudDeploySettingsBuilder
- .getDeliveryPipelineSettings()
- .getRetrySettings()
- .toBuilder()
+ cloudDeploySettingsBuilder.getDeliveryPipelineSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
CloudDeployStubSettings cloudDeploySettings = cloudDeploySettingsBuilder.build();
From 0f03ff96f771d3913dc64e98a1041d86de30ef9d Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Fri, 9 Sep 2022 15:28:39 +0000
Subject: [PATCH 2/5] chore(main): release 1.1.6-SNAPSHOT (#158)
:robot: I have created a release *beep* *boop*
---
### Updating meta-information for bleeding-edge SNAPSHOT release.
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
---
google-cloud-deploy-bom/pom.xml | 8 ++++----
google-cloud-deploy/pom.xml | 4 ++--
grpc-google-cloud-deploy-v1/pom.xml | 4 ++--
pom.xml | 8 ++++----
proto-google-cloud-deploy-v1/pom.xml | 4 ++--
versions.txt | 6 +++---
6 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/google-cloud-deploy-bom/pom.xml b/google-cloud-deploy-bom/pom.xml
index 881a8bb..b5ef955 100644
--- a/google-cloud-deploy-bom/pom.xml
+++ b/google-cloud-deploy-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-deploy-bom
- 1.1.5
+ 1.1.6-SNAPSHOT
pom
com.google.cloud
@@ -65,17 +65,17 @@
com.google.cloud
google-cloud-deploy
- 1.1.5
+ 1.1.6-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-deploy-v1
- 1.1.5
+ 1.1.6-SNAPSHOT
com.google.api.grpc
proto-google-cloud-deploy-v1
- 1.1.5
+ 1.1.6-SNAPSHOT
diff --git a/google-cloud-deploy/pom.xml b/google-cloud-deploy/pom.xml
index f497544..e09cc85 100644
--- a/google-cloud-deploy/pom.xml
+++ b/google-cloud-deploy/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-deploy
- 1.1.5
+ 1.1.6-SNAPSHOT
jar
Google Google CLoud Deploy
https://github.com/googleapis/java-deploy
@@ -11,7 +11,7 @@
com.google.cloud
google-cloud-deploy-parent
- 1.1.5
+ 1.1.6-SNAPSHOT
google-cloud-deploy
diff --git a/grpc-google-cloud-deploy-v1/pom.xml b/grpc-google-cloud-deploy-v1/pom.xml
index a3b546b..debf90c 100644
--- a/grpc-google-cloud-deploy-v1/pom.xml
+++ b/grpc-google-cloud-deploy-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-deploy-v1
- 1.1.5
+ 1.1.6-SNAPSHOT
grpc-google-cloud-deploy-v1
GRPC library for google-cloud-deploy
com.google.cloud
google-cloud-deploy-parent
- 1.1.5
+ 1.1.6-SNAPSHOT
diff --git a/pom.xml b/pom.xml
index 4951477..98c770b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-deploy-parent
pom
- 1.1.5
+ 1.1.6-SNAPSHOT
Google Google CLoud Deploy Parent
https://github.com/googleapis/java-deploy
@@ -69,17 +69,17 @@
com.google.cloud
google-cloud-deploy
- 1.1.5
+ 1.1.6-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-deploy-v1
- 1.1.5
+ 1.1.6-SNAPSHOT
com.google.api.grpc
proto-google-cloud-deploy-v1
- 1.1.5
+ 1.1.6-SNAPSHOT
diff --git a/proto-google-cloud-deploy-v1/pom.xml b/proto-google-cloud-deploy-v1/pom.xml
index dd1dc93..02f13a8 100644
--- a/proto-google-cloud-deploy-v1/pom.xml
+++ b/proto-google-cloud-deploy-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-deploy-v1
- 1.1.5
+ 1.1.6-SNAPSHOT
proto-google-cloud-deploy-v1
Proto library for google-cloud-deploy
com.google.cloud
google-cloud-deploy-parent
- 1.1.5
+ 1.1.6-SNAPSHOT
diff --git a/versions.txt b/versions.txt
index 8000c56..7bb5693 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-cloud-deploy:1.1.5:1.1.5
-grpc-google-cloud-deploy-v1:1.1.5:1.1.5
-proto-google-cloud-deploy-v1:1.1.5:1.1.5
+google-cloud-deploy:1.1.5:1.1.6-SNAPSHOT
+grpc-google-cloud-deploy-v1:1.1.5:1.1.6-SNAPSHOT
+proto-google-cloud-deploy-v1:1.1.5:1.1.6-SNAPSHOT
From 4fc737c0dc4032f873f1ae7e4877479f3418e9a8 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Sat, 10 Sep 2022 02:12:12 +0000
Subject: [PATCH 3/5] chore: Generated snippets should not be owned by samples
reviewers (#1575) (#160)
Source-Link: https://github.com/googleapis/synthtool/commit/2e9ac19d5b8181af77cdc5337cf922517813cc49
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
---
.github/.OwlBot.lock.yaml | 3 +--
.github/CODEOWNERS | 3 +++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index f8b912a..6259292 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -13,5 +13,4 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
- digest: sha256:b47e411068ffc6e6990cb4e0802fbac9a4488dec7f5f424553518ba21abea208
-# created: 2022-07-26T16:25:31.033836225Z
+ digest: sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 1578dc2..5232f38 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -10,3 +10,6 @@
# The java-samples-reviewers team is the default owner for samples changes
samples/**/*.java @googleapis/java-samples-reviewers
+
+# Generated snippets should not be owned by samples reviewers
+samples/snippets/generated/ @googleapis/yoshi-java
From e12c353ed112a316114af975f0c7fb1354322a80 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 15 Sep 2022 15:50:20 +0200
Subject: [PATCH 4/5] deps: update dependency
com.google.cloud:google-cloud-shared-dependencies to v3.0.3 (#161)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.2` -> `3.0.3` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
googleapis/java-shared-dependencies
### [`v3.0.3`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#303-httpsgithubcomgoogleapisjava-shared-dependenciescomparev302v303-2022-09-14)
[Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.2...v3.0.3)
##### Dependencies
- Google-cloud-core 2.8.12 ([#799](https://togithub.com/googleapis/java-shared-dependencies/issues/799)) ([1b3db8d](https://togithub.com/googleapis/java-shared-dependencies/commit/1b3db8d1e17c49ebae79fc96164fa9058e1df6e3))
- Moving gson to first-party-dependencies ([#800](https://togithub.com/googleapis/java-shared-dependencies/issues/800)) ([a41fcc1](https://togithub.com/googleapis/java-shared-dependencies/commit/a41fcc11d32e02e5af2837561792e3919f6d4b3f))
- Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#797](https://togithub.com/googleapis/java-shared-dependencies/issues/797)) ([bc5fdc9](https://togithub.com/googleapis/java-shared-dependencies/commit/bc5fdc9b3af7973c28f063a9ac156fe2af562814))
- Update gax.version to v2.19.1 ([#798](https://togithub.com/googleapis/java-shared-dependencies/issues/798)) ([84e5487](https://togithub.com/googleapis/java-shared-dependencies/commit/84e5487b2e3dce4bb60badecebde788c3cb702b8))
- Update google.core.version to v2.8.11 ([#793](https://togithub.com/googleapis/java-shared-dependencies/issues/793)) ([63c1297](https://togithub.com/googleapis/java-shared-dependencies/commit/63c129722aa0b821031ff5b4c11004adf7b12044))
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-deploy).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 98c770b..044e2b9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -85,7 +85,7 @@
com.google.cloud
google-cloud-shared-dependencies
- 3.0.2
+ 3.0.3
pom
import
From 3a94079a53a8d62f13595c7e854fe0015d34a84b Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Thu, 15 Sep 2022 14:04:11 +0000
Subject: [PATCH 5/5] chore(main): release 1.1.6 (#162)
:robot: I have created a release *beep* *boop*
---
## [1.1.6](https://github.com/googleapis/java-deploy/compare/v1.1.5...v1.1.6) (2022-09-15)
### Dependencies
* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#161](https://github.com/googleapis/java-deploy/issues/161)) ([e12c353](https://github.com/googleapis/java-deploy/commit/e12c353ed112a316114af975f0c7fb1354322a80))
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
---
CHANGELOG.md | 7 +++++++
google-cloud-deploy-bom/pom.xml | 8 ++++----
google-cloud-deploy/pom.xml | 4 ++--
grpc-google-cloud-deploy-v1/pom.xml | 4 ++--
pom.xml | 8 ++++----
proto-google-cloud-deploy-v1/pom.xml | 4 ++--
versions.txt | 6 +++---
7 files changed, 24 insertions(+), 17 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c17abf1..e691525 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [1.1.6](https://github.com/googleapis/java-deploy/compare/v1.1.5...v1.1.6) (2022-09-15)
+
+
+### Dependencies
+
+* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#161](https://github.com/googleapis/java-deploy/issues/161)) ([e12c353](https://github.com/googleapis/java-deploy/commit/e12c353ed112a316114af975f0c7fb1354322a80))
+
## [1.1.5](https://github.com/googleapis/java-deploy/compare/v1.1.4...v1.1.5) (2022-09-09)
diff --git a/google-cloud-deploy-bom/pom.xml b/google-cloud-deploy-bom/pom.xml
index b5ef955..059d36e 100644
--- a/google-cloud-deploy-bom/pom.xml
+++ b/google-cloud-deploy-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-deploy-bom
- 1.1.6-SNAPSHOT
+ 1.1.6
pom
com.google.cloud
@@ -65,17 +65,17 @@
com.google.cloud
google-cloud-deploy
- 1.1.6-SNAPSHOT
+ 1.1.6
com.google.api.grpc
grpc-google-cloud-deploy-v1
- 1.1.6-SNAPSHOT
+ 1.1.6
com.google.api.grpc
proto-google-cloud-deploy-v1
- 1.1.6-SNAPSHOT
+ 1.1.6
diff --git a/google-cloud-deploy/pom.xml b/google-cloud-deploy/pom.xml
index e09cc85..8c1bc7d 100644
--- a/google-cloud-deploy/pom.xml
+++ b/google-cloud-deploy/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-deploy
- 1.1.6-SNAPSHOT
+ 1.1.6
jar
Google Google CLoud Deploy
https://github.com/googleapis/java-deploy
@@ -11,7 +11,7 @@
com.google.cloud
google-cloud-deploy-parent
- 1.1.6-SNAPSHOT
+ 1.1.6
google-cloud-deploy
diff --git a/grpc-google-cloud-deploy-v1/pom.xml b/grpc-google-cloud-deploy-v1/pom.xml
index debf90c..be4fb08 100644
--- a/grpc-google-cloud-deploy-v1/pom.xml
+++ b/grpc-google-cloud-deploy-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-deploy-v1
- 1.1.6-SNAPSHOT
+ 1.1.6
grpc-google-cloud-deploy-v1
GRPC library for google-cloud-deploy
com.google.cloud
google-cloud-deploy-parent
- 1.1.6-SNAPSHOT
+ 1.1.6
diff --git a/pom.xml b/pom.xml
index 044e2b9..f53875a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-deploy-parent
pom
- 1.1.6-SNAPSHOT
+ 1.1.6
Google Google CLoud Deploy Parent
https://github.com/googleapis/java-deploy
@@ -69,17 +69,17 @@
com.google.cloud
google-cloud-deploy
- 1.1.6-SNAPSHOT
+ 1.1.6
com.google.api.grpc
grpc-google-cloud-deploy-v1
- 1.1.6-SNAPSHOT
+ 1.1.6
com.google.api.grpc
proto-google-cloud-deploy-v1
- 1.1.6-SNAPSHOT
+ 1.1.6
diff --git a/proto-google-cloud-deploy-v1/pom.xml b/proto-google-cloud-deploy-v1/pom.xml
index 02f13a8..37a9bd3 100644
--- a/proto-google-cloud-deploy-v1/pom.xml
+++ b/proto-google-cloud-deploy-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-deploy-v1
- 1.1.6-SNAPSHOT
+ 1.1.6
proto-google-cloud-deploy-v1
Proto library for google-cloud-deploy
com.google.cloud
google-cloud-deploy-parent
- 1.1.6-SNAPSHOT
+ 1.1.6
diff --git a/versions.txt b/versions.txt
index 7bb5693..0ef0c3f 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-cloud-deploy:1.1.5:1.1.6-SNAPSHOT
-grpc-google-cloud-deploy-v1:1.1.5:1.1.6-SNAPSHOT
-proto-google-cloud-deploy-v1:1.1.5:1.1.6-SNAPSHOT
+google-cloud-deploy:1.1.6:1.1.6
+grpc-google-cloud-deploy-v1:1.1.6:1.1.6
+proto-google-cloud-deploy-v1:1.1.6:1.1.6