{@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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* GameServerClusterName name =
@@ -88,8 +91,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
* GameServerClustersServiceSettings gameServerClustersServiceSettings =
* GameServerClustersServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -101,8 +107,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
* GameServerClustersServiceSettings gameServerClustersServiceSettings =
* GameServerClustersServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* GameServerClustersServiceClient gameServerClustersServiceClient =
@@ -113,8 +122,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
* GameServerClustersServiceSettings gameServerClustersServiceSettings =
* GameServerClustersServiceSettings.newBuilder()
* .setTransportChannelProvider(
@@ -210,8 +222,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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* RealmName parent = RealmName.of("[PROJECT]", "[LOCATION]", "[REALM]");
@@ -241,8 +256,11 @@ public final ListGameServerClustersPagedResponse listGameServerClusters(RealmNam
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* String parent = RealmName.of("[PROJECT]", "[LOCATION]", "[REALM]").toString();
@@ -270,8 +288,11 @@ public final ListGameServerClustersPagedResponse listGameServerClusters(String p
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* ListGameServerClustersRequest request =
@@ -305,8 +326,11 @@ public final ListGameServerClustersPagedResponse listGameServerClusters(
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* ListGameServerClustersRequest request =
@@ -339,8 +363,11 @@ public final ListGameServerClustersPagedResponse listGameServerClusters(
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* ListGameServerClustersRequest request =
@@ -380,8 +407,11 @@ public final ListGameServerClustersPagedResponse listGameServerClusters(
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* GameServerClusterName name =
@@ -409,8 +439,11 @@ public final GameServerCluster getGameServerCluster(GameServerClusterName 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* String name =
@@ -436,8 +469,11 @@ public final GameServerCluster getGameServerCluster(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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* GetGameServerClusterRequest request =
@@ -465,8 +501,11 @@ public final GameServerCluster getGameServerCluster(GetGameServerClusterRequest
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* GetGameServerClusterRequest request =
@@ -495,8 +534,11 @@ public final GameServerCluster getGameServerCluster(GetGameServerClusterRequest
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* RealmName parent = RealmName.of("[PROJECT]", "[LOCATION]", "[REALM]");
@@ -533,8 +575,11 @@ public final OperationFuture createGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* String parent = RealmName.of("[PROJECT]", "[LOCATION]", "[REALM]").toString();
@@ -571,8 +616,11 @@ public final OperationFuture createGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* CreateGameServerClusterRequest request =
@@ -601,8 +649,11 @@ public final OperationFuture createGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* CreateGameServerClusterRequest request =
@@ -633,8 +684,11 @@ public final OperationFuture createGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* CreateGameServerClusterRequest request =
@@ -662,8 +716,11 @@ public final OperationFuture createGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* PreviewCreateGameServerClusterRequest request =
@@ -694,8 +751,11 @@ public final PreviewCreateGameServerClusterResponse previewCreateGameServerClust
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* PreviewCreateGameServerClusterRequest request =
@@ -728,8 +788,11 @@ public final PreviewCreateGameServerClusterResponse previewCreateGameServerClust
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* GameServerClusterName name =
@@ -758,8 +821,11 @@ public final OperationFuture deleteGameServerClusterAs
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* String name =
@@ -785,8 +851,11 @@ public final OperationFuture deleteGameServerClusterAs
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* DeleteGameServerClusterRequest request =
@@ -814,8 +883,11 @@ public final OperationFuture deleteGameServerClusterAs
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* DeleteGameServerClusterRequest request =
@@ -845,8 +917,11 @@ public final OperationFuture deleteGameServerClusterAs
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* DeleteGameServerClusterRequest request =
@@ -874,8 +949,11 @@ public final OperationFuture deleteGameServerClusterAs
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* PreviewDeleteGameServerClusterRequest request =
@@ -905,8 +983,11 @@ public final PreviewDeleteGameServerClusterResponse previewDeleteGameServerClust
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* PreviewDeleteGameServerClusterRequest request =
@@ -938,8 +1019,11 @@ public final PreviewDeleteGameServerClusterResponse previewDeleteGameServerClust
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* GameServerCluster gameServerCluster = GameServerCluster.newBuilder().build();
@@ -975,8 +1059,11 @@ public final OperationFuture updateGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* UpdateGameServerClusterRequest request =
@@ -1004,8 +1091,11 @@ public final OperationFuture updateGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* UpdateGameServerClusterRequest request =
@@ -1035,8 +1125,11 @@ public final OperationFuture updateGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* UpdateGameServerClusterRequest request =
@@ -1063,8 +1156,11 @@ public final OperationFuture updateGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* PreviewUpdateGameServerClusterRequest request =
@@ -1093,8 +1189,11 @@ public final PreviewUpdateGameServerClusterResponse previewUpdateGameServerClust
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* PreviewUpdateGameServerClusterRequest request =
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerClustersServiceSettings.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerClustersServiceSettings.java
index 762843cd..a29525e1 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerClustersServiceSettings.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerClustersServiceSettings.java
@@ -56,8 +56,11 @@
* For example, to set the total timeout of getGameServerCluster 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
* GameServerClustersServiceSettings.Builder gameServerClustersServiceSettingsBuilder =
* GameServerClustersServiceSettings.newBuilder();
* gameServerClustersServiceSettingsBuilder
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerConfigsServiceClient.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerConfigsServiceClient.java
index 9cb4e1c4..13baec8a 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerConfigsServiceClient.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerConfigsServiceClient.java
@@ -46,8 +46,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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* GameServerConfigName name =
@@ -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
* GameServerConfigsServiceSettings gameServerConfigsServiceSettings =
* GameServerConfigsServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -99,8 +105,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
* GameServerConfigsServiceSettings gameServerConfigsServiceSettings =
* GameServerConfigsServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* GameServerConfigsServiceClient gameServerConfigsServiceClient =
@@ -111,8 +120,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
* GameServerConfigsServiceSettings gameServerConfigsServiceSettings =
* GameServerConfigsServiceSettings.newBuilder()
* .setTransportChannelProvider(
@@ -208,8 +220,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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* GameServerDeploymentName parent =
@@ -241,8 +256,11 @@ public final ListGameServerConfigsPagedResponse listGameServerConfigs(
* 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* String parent =
@@ -271,8 +289,11 @@ public final ListGameServerConfigsPagedResponse listGameServerConfigs(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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* ListGameServerConfigsRequest request =
@@ -306,8 +327,11 @@ public final ListGameServerConfigsPagedResponse listGameServerConfigs(
* 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* ListGameServerConfigsRequest request =
@@ -340,8 +364,11 @@ public final ListGameServerConfigsPagedResponse listGameServerConfigs(
* 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* ListGameServerConfigsRequest request =
@@ -381,8 +408,11 @@ public final ListGameServerConfigsPagedResponse listGameServerConfigs(
* 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* GameServerConfigName name =
@@ -410,8 +440,11 @@ public final GameServerConfig getGameServerConfig(GameServerConfigName 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* String name =
@@ -437,8 +470,11 @@ public final GameServerConfig getGameServerConfig(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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* GetGameServerConfigRequest request =
@@ -465,8 +501,11 @@ public final GameServerConfig getGameServerConfig(GetGameServerConfigRequest 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* GetGameServerConfigRequest request =
@@ -496,8 +535,11 @@ public final GameServerConfig getGameServerConfig(GetGameServerConfigRequest 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* GameServerDeploymentName parent =
@@ -534,8 +576,11 @@ public final OperationFuture createGameServ
* 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* String parent =
@@ -572,8 +617,11 @@ public final OperationFuture createGameServ
* 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* CreateGameServerConfigRequest request =
@@ -605,8 +653,11 @@ public final OperationFuture createGameServ
* 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* CreateGameServerConfigRequest request =
@@ -639,8 +690,11 @@ public final OperationFuture createGameServ
* 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* CreateGameServerConfigRequest request =
@@ -670,8 +724,11 @@ public final OperationFuture createGameServ
* 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* GameServerConfigName name =
@@ -701,8 +758,11 @@ public final OperationFuture deleteGameServerConfigAsy
* 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* String name =
@@ -729,8 +789,11 @@ public final OperationFuture deleteGameServerConfigAsy
* 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* DeleteGameServerConfigRequest request =
@@ -759,8 +822,11 @@ public final OperationFuture deleteGameServerConfigAsy
* 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* DeleteGameServerConfigRequest request =
@@ -791,8 +857,11 @@ public final OperationFuture deleteGameServerConfigAsy
* 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* DeleteGameServerConfigRequest request =
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerConfigsServiceSettings.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerConfigsServiceSettings.java
index d28d2598..260d41a4 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerConfigsServiceSettings.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerConfigsServiceSettings.java
@@ -56,8 +56,11 @@
* For example, to set the total timeout of getGameServerConfig 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
* GameServerConfigsServiceSettings.Builder gameServerConfigsServiceSettingsBuilder =
* GameServerConfigsServiceSettings.newBuilder();
* gameServerConfigsServiceSettingsBuilder
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerDeploymentsServiceClient.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerDeploymentsServiceClient.java
index 3cc0975f..331516d2 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerDeploymentsServiceClient.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerDeploymentsServiceClient.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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* GameServerDeploymentName name =
@@ -89,8 +92,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
* GameServerDeploymentsServiceSettings gameServerDeploymentsServiceSettings =
* GameServerDeploymentsServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -102,8 +108,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
* GameServerDeploymentsServiceSettings gameServerDeploymentsServiceSettings =
* GameServerDeploymentsServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
@@ -114,8 +123,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
* GameServerDeploymentsServiceSettings gameServerDeploymentsServiceSettings =
* GameServerDeploymentsServiceSettings.newBuilder()
* .setTransportChannelProvider(
@@ -214,8 +226,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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -246,8 +261,11 @@ public final ListGameServerDeploymentsPagedResponse listGameServerDeployments(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -275,8 +293,11 @@ public final ListGameServerDeploymentsPagedResponse listGameServerDeployments(St
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* ListGameServerDeploymentsRequest request =
@@ -309,8 +330,11 @@ public final ListGameServerDeploymentsPagedResponse listGameServerDeployments(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* ListGameServerDeploymentsRequest request =
@@ -345,8 +369,11 @@ public final ListGameServerDeploymentsPagedResponse listGameServerDeployments(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* ListGameServerDeploymentsRequest request =
@@ -385,8 +412,11 @@ public final ListGameServerDeploymentsPagedResponse listGameServerDeployments(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* GameServerDeploymentName name =
@@ -415,8 +445,11 @@ public final GameServerDeployment getGameServerDeployment(GameServerDeploymentNa
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* String name =
@@ -443,8 +476,11 @@ public final GameServerDeployment getGameServerDeployment(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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* GetGameServerDeploymentRequest request =
@@ -472,8 +508,11 @@ public final GameServerDeployment getGameServerDeployment(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* GetGameServerDeploymentRequest request =
@@ -500,8 +539,11 @@ public final GameServerDeployment getGameServerDeployment(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -536,8 +578,11 @@ public final GameServerDeployment getGameServerDeployment(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -571,8 +616,11 @@ public final GameServerDeployment getGameServerDeployment(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* CreateGameServerDeploymentRequest request =
@@ -601,8 +649,11 @@ public final GameServerDeployment getGameServerDeployment(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* CreateGameServerDeploymentRequest request =
@@ -633,8 +684,11 @@ public final GameServerDeployment getGameServerDeployment(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* CreateGameServerDeploymentRequest request =
@@ -664,8 +718,11 @@ public final GameServerDeployment getGameServerDeployment(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* GameServerDeploymentName name =
@@ -694,8 +751,11 @@ public final OperationFuture deleteGameServerDeploymen
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* String name =
@@ -722,8 +782,11 @@ public final OperationFuture deleteGameServerDeploymen
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* DeleteGameServerDeploymentRequest request =
@@ -750,8 +813,11 @@ public final OperationFuture deleteGameServerDeploymen
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* DeleteGameServerDeploymentRequest request =
@@ -780,8 +846,11 @@ public final OperationFuture deleteGameServerDeploymen
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* DeleteGameServerDeploymentRequest request =
@@ -810,8 +879,11 @@ public final OperationFuture deleteGameServerDeploymen
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* GameServerDeployment gameServerDeployment = GameServerDeployment.newBuilder().build();
@@ -848,8 +920,11 @@ public final OperationFuture deleteGameServerDeploymen
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* UpdateGameServerDeploymentRequest request =
@@ -877,8 +952,11 @@ public final OperationFuture deleteGameServerDeploymen
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* UpdateGameServerDeploymentRequest request =
@@ -908,8 +986,11 @@ public final OperationFuture deleteGameServerDeploymen
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* UpdateGameServerDeploymentRequest request =
@@ -938,8 +1019,11 @@ public final OperationFuture deleteGameServerDeploymen
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* GameServerDeploymentName name =
@@ -969,8 +1053,11 @@ public final GameServerDeploymentRollout getGameServerDeploymentRollout(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* String name =
@@ -997,8 +1084,11 @@ public final GameServerDeploymentRollout getGameServerDeploymentRollout(String n
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* GetGameServerDeploymentRolloutRequest request =
@@ -1026,8 +1116,11 @@ public final GameServerDeploymentRollout getGameServerDeploymentRollout(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* GetGameServerDeploymentRolloutRequest request =
@@ -1060,8 +1153,11 @@ public final GameServerDeploymentRollout getGameServerDeploymentRollout(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* GameServerDeploymentRollout rollout = GameServerDeploymentRollout.newBuilder().build();
@@ -1102,8 +1198,11 @@ public final GameServerDeploymentRollout getGameServerDeploymentRollout(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* UpdateGameServerDeploymentRolloutRequest request =
@@ -1135,8 +1234,11 @@ public final GameServerDeploymentRollout getGameServerDeploymentRollout(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* UpdateGameServerDeploymentRolloutRequest request =
@@ -1170,8 +1272,11 @@ public final GameServerDeploymentRollout getGameServerDeploymentRollout(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* UpdateGameServerDeploymentRolloutRequest request =
@@ -1200,8 +1305,11 @@ public final GameServerDeploymentRollout getGameServerDeploymentRollout(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* PreviewGameServerDeploymentRolloutRequest request =
@@ -1230,8 +1338,11 @@ public final PreviewGameServerDeploymentRolloutResponse previewGameServerDeploym
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* PreviewGameServerDeploymentRolloutRequest request =
@@ -1264,8 +1375,11 @@ public final PreviewGameServerDeploymentRolloutResponse previewGameServerDeploym
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* FetchDeploymentStateRequest request =
@@ -1292,8 +1406,11 @@ public final FetchDeploymentStateResponse fetchDeploymentState(
* 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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* FetchDeploymentStateRequest request =
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerDeploymentsServiceSettings.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerDeploymentsServiceSettings.java
index aa9270e3..87069059 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerDeploymentsServiceSettings.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/GameServerDeploymentsServiceSettings.java
@@ -56,8 +56,11 @@
* For example, to set the total timeout of getGameServerDeployment 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
* GameServerDeploymentsServiceSettings.Builder gameServerDeploymentsServiceSettingsBuilder =
* GameServerDeploymentsServiceSettings.newBuilder();
* gameServerDeploymentsServiceSettingsBuilder
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/RealmsServiceClient.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/RealmsServiceClient.java
index 078544d4..a330111a 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/RealmsServiceClient.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/RealmsServiceClient.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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* RealmName name = RealmName.of("[PROJECT]", "[LOCATION]", "[REALM]");
* Realm response = realmsServiceClient.getRealm(name);
@@ -85,8 +88,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
* RealmsServiceSettings realmsServiceSettings =
* RealmsServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -97,8 +103,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
* RealmsServiceSettings realmsServiceSettings =
* RealmsServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* RealmsServiceClient realmsServiceClient = RealmsServiceClient.create(realmsServiceSettings);
@@ -108,8 +117,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
* RealmsServiceSettings realmsServiceSettings =
* RealmsServiceSettings.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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* for (Realm element : realmsServiceClient.listRealms(parent).iterateAll()) {
@@ -229,8 +244,11 @@ public final ListRealmsPagedResponse listRealms(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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Realm element : realmsServiceClient.listRealms(parent).iterateAll()) {
@@ -255,8 +273,11 @@ public final ListRealmsPagedResponse listRealms(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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* ListRealmsRequest request =
* ListRealmsRequest.newBuilder()
@@ -286,8 +307,11 @@ public final ListRealmsPagedResponse listRealms(ListRealmsRequest 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* ListRealmsRequest request =
* ListRealmsRequest.newBuilder()
@@ -316,8 +340,11 @@ public final UnaryCallable listRealm
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* ListRealmsRequest request =
* ListRealmsRequest.newBuilder()
@@ -353,8 +380,11 @@ public final UnaryCallable listRealmsCall
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* RealmName name = RealmName.of("[PROJECT]", "[LOCATION]", "[REALM]");
* Realm response = realmsServiceClient.getRealm(name);
@@ -378,8 +408,11 @@ public final Realm getRealm(RealmName 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* String name = RealmName.of("[PROJECT]", "[LOCATION]", "[REALM]").toString();
* Realm response = realmsServiceClient.getRealm(name);
@@ -402,8 +435,11 @@ public final Realm getRealm(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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* GetRealmRequest request =
* GetRealmRequest.newBuilder()
@@ -427,8 +463,11 @@ public final Realm getRealm(GetRealmRequest 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* GetRealmRequest request =
* GetRealmRequest.newBuilder()
@@ -451,8 +490,11 @@ public final UnaryCallable getRealmCallable() {
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* Realm realm = Realm.newBuilder().build();
@@ -485,8 +527,11 @@ public final OperationFuture createRealmAsync(
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Realm realm = Realm.newBuilder().build();
@@ -519,8 +564,11 @@ public final OperationFuture createRealmAsync(
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* CreateRealmRequest request =
* CreateRealmRequest.newBuilder()
@@ -547,8 +595,11 @@ public final OperationFuture createRealmAsync(
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* CreateRealmRequest request =
* CreateRealmRequest.newBuilder()
@@ -575,8 +626,11 @@ public final OperationFuture createRealmAsync(
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* CreateRealmRequest request =
* CreateRealmRequest.newBuilder()
@@ -601,8 +655,11 @@ public final UnaryCallable createRealmCallable()
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* RealmName name = RealmName.of("[PROJECT]", "[LOCATION]", "[REALM]");
* realmsServiceClient.deleteRealmAsync(name).get();
@@ -626,8 +683,11 @@ public final OperationFuture deleteRealmAsync(RealmNam
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* String name = RealmName.of("[PROJECT]", "[LOCATION]", "[REALM]").toString();
* realmsServiceClient.deleteRealmAsync(name).get();
@@ -650,8 +710,11 @@ public final OperationFuture deleteRealmAsync(String n
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* DeleteRealmRequest request =
* DeleteRealmRequest.newBuilder()
@@ -676,8 +739,11 @@ public final OperationFuture deleteRealmAsync(
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* DeleteRealmRequest request =
* DeleteRealmRequest.newBuilder()
@@ -702,8 +768,11 @@ public final OperationFuture deleteRealmAsync(
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* DeleteRealmRequest request =
* DeleteRealmRequest.newBuilder()
@@ -726,8 +795,11 @@ public final UnaryCallable deleteRealmCallable()
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* Realm realm = Realm.newBuilder().build();
* FieldMask updateMask = FieldMask.newBuilder().build();
@@ -756,8 +828,11 @@ public final OperationFuture updateRealmAsync(
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* UpdateRealmRequest request =
* UpdateRealmRequest.newBuilder()
@@ -783,8 +858,11 @@ public final OperationFuture updateRealmAsync(
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* UpdateRealmRequest request =
* UpdateRealmRequest.newBuilder()
@@ -810,8 +888,11 @@ public final OperationFuture updateRealmAsync(
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* UpdateRealmRequest request =
* UpdateRealmRequest.newBuilder()
@@ -835,8 +916,11 @@ public final UnaryCallable updateRealmCallable()
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* PreviewRealmUpdateRequest request =
* PreviewRealmUpdateRequest.newBuilder()
@@ -862,8 +946,11 @@ public final PreviewRealmUpdateResponse previewRealmUpdate(PreviewRealmUpdateReq
* 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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* PreviewRealmUpdateRequest request =
* PreviewRealmUpdateRequest.newBuilder()
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/RealmsServiceSettings.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/RealmsServiceSettings.java
index 8f2642f0..b531b563 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/RealmsServiceSettings.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/RealmsServiceSettings.java
@@ -56,16 +56,16 @@
* For example, to set the total timeout of getRealm 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
* RealmsServiceSettings.Builder realmsServiceSettingsBuilder = RealmsServiceSettings.newBuilder();
* realmsServiceSettingsBuilder
* .getRealmSettings()
* .setRetrySettings(
- * realmsServiceSettingsBuilder
- * .getRealmSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * realmsServiceSettingsBuilder.getRealmSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* RealmsServiceSettings realmsServiceSettings = realmsServiceSettingsBuilder.build();
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/package-info.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/package-info.java
index be30ea8f..94472bd6 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/package-info.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/package-info.java
@@ -25,8 +25,11 @@
* Sample for GameServerClustersServiceClient:
*
*
{@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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* GameServerClusterName name =
@@ -42,8 +45,11 @@
* Sample for GameServerConfigsServiceClient:
*
*
{@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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* GameServerConfigName name =
@@ -60,8 +66,11 @@
* Sample for GameServerDeploymentsServiceClient:
*
*
{@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 (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient =
* GameServerDeploymentsServiceClient.create()) {
* GameServerDeploymentName name =
@@ -79,8 +88,11 @@
* Sample for RealmsServiceClient:
*
*
{@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 (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
* RealmName name = RealmName.of("[PROJECT]", "[LOCATION]", "[REALM]");
* Realm response = realmsServiceClient.getRealm(name);
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/GameServerClustersServiceStubSettings.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/GameServerClustersServiceStubSettings.java
index 830494e2..f86997c7 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/GameServerClustersServiceStubSettings.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/GameServerClustersServiceStubSettings.java
@@ -90,8 +90,11 @@
* For example, to set the total timeout of getGameServerCluster 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
* GameServerClustersServiceStubSettings.Builder gameServerClustersServiceSettingsBuilder =
* GameServerClustersServiceStubSettings.newBuilder();
* gameServerClustersServiceSettingsBuilder
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/GameServerConfigsServiceStubSettings.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/GameServerConfigsServiceStubSettings.java
index 85191606..94758290 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/GameServerConfigsServiceStubSettings.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/GameServerConfigsServiceStubSettings.java
@@ -83,8 +83,11 @@
* For example, to set the total timeout of getGameServerConfig 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
* GameServerConfigsServiceStubSettings.Builder gameServerConfigsServiceSettingsBuilder =
* GameServerConfigsServiceStubSettings.newBuilder();
* gameServerConfigsServiceSettingsBuilder
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/GameServerDeploymentsServiceStubSettings.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/GameServerDeploymentsServiceStubSettings.java
index 1d5461cc..4ebda4e0 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/GameServerDeploymentsServiceStubSettings.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/GameServerDeploymentsServiceStubSettings.java
@@ -91,8 +91,11 @@
* For example, to set the total timeout of getGameServerDeployment 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
* GameServerDeploymentsServiceStubSettings.Builder gameServerDeploymentsServiceSettingsBuilder =
* GameServerDeploymentsServiceStubSettings.newBuilder();
* gameServerDeploymentsServiceSettingsBuilder
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonGameServerClustersServiceStub.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonGameServerClustersServiceStub.java
index d1ae48f5..774d309c 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonGameServerClustersServiceStub.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonGameServerClustersServiceStub.java
@@ -180,7 +180,8 @@ public class HttpJsonGameServerClustersServiceStub extends GameServerClustersSer
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("gameServerCluster", request.getGameServerCluster()))
+ .toBody(
+ "gameServerCluster", request.getGameServerCluster(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -228,7 +229,8 @@ public class HttpJsonGameServerClustersServiceStub extends GameServerClustersSer
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("gameServerCluster", request.getGameServerCluster()))
+ .toBody(
+ "gameServerCluster", request.getGameServerCluster(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -347,7 +349,8 @@ public class HttpJsonGameServerClustersServiceStub extends GameServerClustersSer
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("gameServerCluster", request.getGameServerCluster()))
+ .toBody(
+ "gameServerCluster", request.getGameServerCluster(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -396,7 +399,8 @@ public class HttpJsonGameServerClustersServiceStub extends GameServerClustersSer
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("gameServerCluster", request.getGameServerCluster()))
+ .toBody(
+ "gameServerCluster", request.getGameServerCluster(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonGameServerConfigsServiceStub.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonGameServerConfigsServiceStub.java
index ab2cdccb..353da202 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonGameServerConfigsServiceStub.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonGameServerConfigsServiceStub.java
@@ -170,7 +170,7 @@ public class HttpJsonGameServerConfigsServiceStub extends GameServerConfigsServi
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("gameServerConfig", request.getGameServerConfig()))
+ .toBody("gameServerConfig", request.getGameServerConfig(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonGameServerDeploymentsServiceStub.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonGameServerDeploymentsServiceStub.java
index 8fe0b744..e9bdb0a0 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonGameServerDeploymentsServiceStub.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonGameServerDeploymentsServiceStub.java
@@ -180,7 +180,9 @@ public class HttpJsonGameServerDeploymentsServiceStub extends GameServerDeployme
request ->
ProtoRestSerializer.create()
.toBody(
- "gameServerDeployment", request.getGameServerDeployment()))
+ "gameServerDeployment",
+ request.getGameServerDeployment(),
+ false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -262,7 +264,9 @@ public class HttpJsonGameServerDeploymentsServiceStub extends GameServerDeployme
request ->
ProtoRestSerializer.create()
.toBody(
- "gameServerDeployment", request.getGameServerDeployment()))
+ "gameServerDeployment",
+ request.getGameServerDeployment(),
+ false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -340,7 +344,8 @@ public class HttpJsonGameServerDeploymentsServiceStub extends GameServerDeployme
})
.setRequestBodyExtractor(
request ->
- ProtoRestSerializer.create().toBody("rollout", request.getRollout()))
+ ProtoRestSerializer.create()
+ .toBody("rollout", request.getRollout(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -388,7 +393,8 @@ public class HttpJsonGameServerDeploymentsServiceStub extends GameServerDeployme
})
.setRequestBodyExtractor(
request ->
- ProtoRestSerializer.create().toBody("rollout", request.getRollout()))
+ ProtoRestSerializer.create()
+ .toBody("rollout", request.getRollout(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser
@@ -429,7 +435,7 @@ public class HttpJsonGameServerDeploymentsServiceStub extends GameServerDeployme
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("*", request.toBuilder().clearName().build()))
+ .toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonRealmsServiceStub.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonRealmsServiceStub.java
index 325121f1..3f2f682d 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonRealmsServiceStub.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/HttpJsonRealmsServiceStub.java
@@ -166,7 +166,8 @@ public class HttpJsonRealmsServiceStub extends RealmsServiceStub {
})
.setRequestBodyExtractor(
request ->
- ProtoRestSerializer.create().toBody("realm", request.getRealm()))
+ ProtoRestSerializer.create()
+ .toBody("realm", request.getRealm(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -242,7 +243,8 @@ public class HttpJsonRealmsServiceStub extends RealmsServiceStub {
})
.setRequestBodyExtractor(
request ->
- ProtoRestSerializer.create().toBody("realm", request.getRealm()))
+ ProtoRestSerializer.create()
+ .toBody("realm", request.getRealm(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -284,7 +286,8 @@ public class HttpJsonRealmsServiceStub extends RealmsServiceStub {
})
.setRequestBodyExtractor(
request ->
- ProtoRestSerializer.create().toBody("realm", request.getRealm()))
+ ProtoRestSerializer.create()
+ .toBody("realm", request.getRealm(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/RealmsServiceStubSettings.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/RealmsServiceStubSettings.java
index b0e5817a..6797f0eb 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/RealmsServiceStubSettings.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1/stub/RealmsServiceStubSettings.java
@@ -86,17 +86,17 @@
* For example, to set the total timeout of getRealm 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
* RealmsServiceStubSettings.Builder realmsServiceSettingsBuilder =
* RealmsServiceStubSettings.newBuilder();
* realmsServiceSettingsBuilder
* .getRealmSettings()
* .setRetrySettings(
- * realmsServiceSettingsBuilder
- * .getRealmSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * realmsServiceSettingsBuilder.getRealmSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* RealmsServiceStubSettings realmsServiceSettings = realmsServiceSettingsBuilder.build();
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1beta/GameServerClustersServiceClient.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1beta/GameServerClustersServiceClient.java
index 74b95ec1..5212da28 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1beta/GameServerClustersServiceClient.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1beta/GameServerClustersServiceClient.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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* GameServerClusterName name =
@@ -88,8 +91,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
* GameServerClustersServiceSettings gameServerClustersServiceSettings =
* GameServerClustersServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -101,8 +107,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
* GameServerClustersServiceSettings gameServerClustersServiceSettings =
* GameServerClustersServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* GameServerClustersServiceClient gameServerClustersServiceClient =
@@ -113,8 +122,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
* GameServerClustersServiceSettings gameServerClustersServiceSettings =
* GameServerClustersServiceSettings.newBuilder()
* .setTransportChannelProvider(
@@ -211,8 +223,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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* RealmName parent = RealmName.of("[PROJECT]", "[LOCATION]", "[REALM]");
@@ -242,8 +257,11 @@ public final ListGameServerClustersPagedResponse listGameServerClusters(RealmNam
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* String parent = RealmName.of("[PROJECT]", "[LOCATION]", "[REALM]").toString();
@@ -271,8 +289,11 @@ public final ListGameServerClustersPagedResponse listGameServerClusters(String p
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* ListGameServerClustersRequest request =
@@ -305,8 +326,11 @@ public final ListGameServerClustersPagedResponse listGameServerClusters(
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* ListGameServerClustersRequest request =
@@ -338,8 +362,11 @@ public final ListGameServerClustersPagedResponse listGameServerClusters(
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* ListGameServerClustersRequest request =
@@ -378,8 +405,11 @@ public final ListGameServerClustersPagedResponse listGameServerClusters(
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* GameServerClusterName name =
@@ -407,8 +437,11 @@ public final GameServerCluster getGameServerCluster(GameServerClusterName 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* String name =
@@ -434,8 +467,11 @@ public final GameServerCluster getGameServerCluster(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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* GetGameServerClusterRequest request =
@@ -462,8 +498,11 @@ public final GameServerCluster getGameServerCluster(GetGameServerClusterRequest
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* GetGameServerClusterRequest request =
@@ -491,8 +530,11 @@ public final GameServerCluster getGameServerCluster(GetGameServerClusterRequest
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* RealmName parent = RealmName.of("[PROJECT]", "[LOCATION]", "[REALM]");
@@ -529,8 +571,11 @@ public final OperationFuture createGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* String parent = RealmName.of("[PROJECT]", "[LOCATION]", "[REALM]").toString();
@@ -567,8 +612,11 @@ public final OperationFuture createGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* CreateGameServerClusterRequest request =
@@ -597,8 +645,11 @@ public final OperationFuture createGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* CreateGameServerClusterRequest request =
@@ -629,8 +680,11 @@ public final OperationFuture createGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* CreateGameServerClusterRequest request =
@@ -658,8 +712,11 @@ public final OperationFuture createGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* PreviewCreateGameServerClusterRequest request =
@@ -689,8 +746,11 @@ public final PreviewCreateGameServerClusterResponse previewCreateGameServerClust
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* PreviewCreateGameServerClusterRequest request =
@@ -722,8 +782,11 @@ public final PreviewCreateGameServerClusterResponse previewCreateGameServerClust
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* GameServerClusterName name =
@@ -752,8 +815,11 @@ public final OperationFuture deleteGameServerClusterAs
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* String name =
@@ -779,8 +845,11 @@ public final OperationFuture deleteGameServerClusterAs
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* DeleteGameServerClusterRequest request =
@@ -808,8 +877,11 @@ public final OperationFuture deleteGameServerClusterAs
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* DeleteGameServerClusterRequest request =
@@ -839,8 +911,11 @@ public final OperationFuture deleteGameServerClusterAs
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* DeleteGameServerClusterRequest request =
@@ -868,8 +943,11 @@ public final OperationFuture deleteGameServerClusterAs
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* PreviewDeleteGameServerClusterRequest request =
@@ -899,8 +977,11 @@ public final PreviewDeleteGameServerClusterResponse previewDeleteGameServerClust
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* PreviewDeleteGameServerClusterRequest request =
@@ -932,8 +1013,11 @@ public final PreviewDeleteGameServerClusterResponse previewDeleteGameServerClust
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* GameServerCluster gameServerCluster = GameServerCluster.newBuilder().build();
@@ -970,8 +1054,11 @@ public final OperationFuture updateGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* UpdateGameServerClusterRequest request =
@@ -999,8 +1086,11 @@ public final OperationFuture updateGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* UpdateGameServerClusterRequest request =
@@ -1030,8 +1120,11 @@ public final OperationFuture updateGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* UpdateGameServerClusterRequest request =
@@ -1058,8 +1151,11 @@ public final OperationFuture updateGameSer
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* PreviewUpdateGameServerClusterRequest request =
@@ -1088,8 +1184,11 @@ public final PreviewUpdateGameServerClusterResponse previewUpdateGameServerClust
* 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 (GameServerClustersServiceClient gameServerClustersServiceClient =
* GameServerClustersServiceClient.create()) {
* PreviewUpdateGameServerClusterRequest request =
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1beta/GameServerClustersServiceSettings.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1beta/GameServerClustersServiceSettings.java
index ee4cce12..4f4662b9 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1beta/GameServerClustersServiceSettings.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1beta/GameServerClustersServiceSettings.java
@@ -56,8 +56,11 @@
* For example, to set the total timeout of getGameServerCluster 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
* GameServerClustersServiceSettings.Builder gameServerClustersServiceSettingsBuilder =
* GameServerClustersServiceSettings.newBuilder();
* gameServerClustersServiceSettingsBuilder
diff --git a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1beta/GameServerConfigsServiceClient.java b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1beta/GameServerConfigsServiceClient.java
index 679749c8..5a9c5d95 100644
--- a/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1beta/GameServerConfigsServiceClient.java
+++ b/google-cloud-game-servers/src/main/java/com/google/cloud/gaming/v1beta/GameServerConfigsServiceClient.java
@@ -46,8 +46,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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* GameServerConfigName name =
@@ -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
* GameServerConfigsServiceSettings gameServerConfigsServiceSettings =
* GameServerConfigsServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -99,8 +105,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
* GameServerConfigsServiceSettings gameServerConfigsServiceSettings =
* GameServerConfigsServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* GameServerConfigsServiceClient gameServerConfigsServiceClient =
@@ -111,8 +120,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
* GameServerConfigsServiceSettings gameServerConfigsServiceSettings =
* GameServerConfigsServiceSettings.newBuilder()
* .setTransportChannelProvider(
@@ -209,8 +221,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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* GameServerDeploymentName parent =
@@ -242,8 +257,11 @@ public final ListGameServerConfigsPagedResponse listGameServerConfigs(
* 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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* String parent =
@@ -272,8 +290,11 @@ public final ListGameServerConfigsPagedResponse listGameServerConfigs(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 (GameServerConfigsServiceClient gameServerConfigsServiceClient =
* GameServerConfigsServiceClient.create()) {
* ListGameServerConfigsRequest request =
@@ -307,8 +328,11 @@ public final ListGameServerConfigsPagedResponse listGameServerConfigs(
*