diff --git a/java-recommendations-ai/google-cloud-recommendations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceClient.java b/java-recommendations-ai/google-cloud-recommendations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceClient.java index 5ca969779da5..f54dc152c55f 100644 --- a/java-recommendations-ai/google-cloud-recommendations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceClient.java +++ b/java-recommendations-ai/google-cloud-recommendations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceClient.java @@ -191,6 +191,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/java-recommendations-ai/google-cloud-recommendations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceClient.java b/java-recommendations-ai/google-cloud-recommendations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceClient.java index 525a2f58236a..29c68ec08c13 100644 --- a/java-recommendations-ai/google-cloud-recommendations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceClient.java +++ b/java-recommendations-ai/google-cloud-recommendations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceClient.java @@ -195,6 +195,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/create/SyncCreateSetCredentialsProvider.java index 0b3174bd52f2..127ed725724e 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_catalogserviceclient_create_setcredentialsprovider_sync] +// [START recommendationengine_v1beta1_generated_catalogserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceClient; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceSettings; @@ -39,5 +38,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { CatalogServiceClient catalogServiceClient = CatalogServiceClient.create(catalogServiceSettings); } } -// [END -// recommendationengine_v1beta1_generated_catalogserviceclient_create_setcredentialsprovider_sync] +// [END recommendationengine_v1beta1_generated_catalogserviceclient_create_setcredentialsprovider_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/create/SyncCreateSetCredentialsProvider1.java index a90ab8db682b..4198bf00c15c 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_catalogserviceclient_create_setcredentialsprovider1_sync] +// [START recommendationengine_v1beta1_generated_catalogserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.recommendationengine.v1beta1.CatalogServiceClient; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceSettings; @@ -38,5 +37,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { CatalogServiceClient catalogServiceClient = CatalogServiceClient.create(catalogServiceSettings); } } -// [END -// recommendationengine_v1beta1_generated_catalogserviceclient_create_setcredentialsprovider1_sync] +// [END recommendationengine_v1beta1_generated_catalogserviceclient_create_setcredentialsprovider1_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/createcatalogitem/SyncCreateCatalogItemCatalognameCatalogitem.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/createcatalogitem/SyncCreateCatalogItemCatalognameCatalogitem.java index ba83fb64f3c8..facfb065b51b 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/createcatalogitem/SyncCreateCatalogItemCatalognameCatalogitem.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/createcatalogitem/SyncCreateCatalogItemCatalognameCatalogitem.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_catalogserviceclient_createcatalogitem_catalognamecatalogitem_sync] +// [START recommendationengine_v1beta1_generated_catalogserviceclient_createcatalogitem_catalognamecatalogitem_sync] import com.google.cloud.recommendationengine.v1beta1.CatalogItem; import com.google.cloud.recommendationengine.v1beta1.CatalogName; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceClient; @@ -38,5 +37,4 @@ public static void syncCreateCatalogItemCatalognameCatalogitem() throws Exceptio } } } -// [END -// recommendationengine_v1beta1_generated_catalogserviceclient_createcatalogitem_catalognamecatalogitem_sync] +// [END recommendationengine_v1beta1_generated_catalogserviceclient_createcatalogitem_catalognamecatalogitem_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/createcatalogitem/SyncCreateCatalogItemStringCatalogitem.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/createcatalogitem/SyncCreateCatalogItemStringCatalogitem.java index 23d64c6a9d0b..fca23eab6a43 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/createcatalogitem/SyncCreateCatalogItemStringCatalogitem.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/createcatalogitem/SyncCreateCatalogItemStringCatalogitem.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_catalogserviceclient_createcatalogitem_stringcatalogitem_sync] +// [START recommendationengine_v1beta1_generated_catalogserviceclient_createcatalogitem_stringcatalogitem_sync] import com.google.cloud.recommendationengine.v1beta1.CatalogItem; import com.google.cloud.recommendationengine.v1beta1.CatalogName; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceClient; @@ -38,5 +37,4 @@ public static void syncCreateCatalogItemStringCatalogitem() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_catalogserviceclient_createcatalogitem_stringcatalogitem_sync] +// [END recommendationengine_v1beta1_generated_catalogserviceclient_createcatalogitem_stringcatalogitem_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/deletecatalogitem/SyncDeleteCatalogItem.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/deletecatalogitem/SyncDeleteCatalogItem.java index 27a4ed225528..635e4200d19e 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/deletecatalogitem/SyncDeleteCatalogItem.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/deletecatalogitem/SyncDeleteCatalogItem.java @@ -20,6 +20,7 @@ import com.google.cloud.recommendationengine.v1beta1.CatalogItemPathName; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceClient; import com.google.cloud.recommendationengine.v1beta1.DeleteCatalogItemRequest; +import com.google.protobuf.Empty; public class SyncDeleteCatalogItem { diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/deletecatalogitem/SyncDeleteCatalogItemCatalogitempathname.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/deletecatalogitem/SyncDeleteCatalogItemCatalogitempathname.java index 73212007a91a..4f14c7c99e2a 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/deletecatalogitem/SyncDeleteCatalogItemCatalogitempathname.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/deletecatalogitem/SyncDeleteCatalogItemCatalogitempathname.java @@ -16,10 +16,10 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_catalogserviceclient_deletecatalogitem_catalogitempathname_sync] +// [START recommendationengine_v1beta1_generated_catalogserviceclient_deletecatalogitem_catalogitempathname_sync] import com.google.cloud.recommendationengine.v1beta1.CatalogItemPathName; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteCatalogItemCatalogitempathname { @@ -37,5 +37,4 @@ public static void syncDeleteCatalogItemCatalogitempathname() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_catalogserviceclient_deletecatalogitem_catalogitempathname_sync] +// [END recommendationengine_v1beta1_generated_catalogserviceclient_deletecatalogitem_catalogitempathname_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/deletecatalogitem/SyncDeleteCatalogItemString.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/deletecatalogitem/SyncDeleteCatalogItemString.java index 58bcb48216b5..06b0e6dfec40 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/deletecatalogitem/SyncDeleteCatalogItemString.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/deletecatalogitem/SyncDeleteCatalogItemString.java @@ -19,6 +19,7 @@ // [START recommendationengine_v1beta1_generated_catalogserviceclient_deletecatalogitem_string_sync] import com.google.cloud.recommendationengine.v1beta1.CatalogItemPathName; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteCatalogItemString { diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/getcatalogitem/SyncGetCatalogItemCatalogitempathname.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/getcatalogitem/SyncGetCatalogItemCatalogitempathname.java index 54a4de84060e..05e37bb8d78e 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/getcatalogitem/SyncGetCatalogItemCatalogitempathname.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/getcatalogitem/SyncGetCatalogItemCatalogitempathname.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_catalogserviceclient_getcatalogitem_catalogitempathname_sync] +// [START recommendationengine_v1beta1_generated_catalogserviceclient_getcatalogitem_catalogitempathname_sync] import com.google.cloud.recommendationengine.v1beta1.CatalogItem; import com.google.cloud.recommendationengine.v1beta1.CatalogItemPathName; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceClient; @@ -38,5 +37,4 @@ public static void syncGetCatalogItemCatalogitempathname() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_catalogserviceclient_getcatalogitem_catalogitempathname_sync] +// [END recommendationengine_v1beta1_generated_catalogserviceclient_getcatalogitem_catalogitempathname_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/importcatalogitems/SyncImportCatalogItemsCatalognameStringInputconfigImporterrorsconfig.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/importcatalogitems/SyncImportCatalogItemsCatalognameStringInputconfigImporterrorsconfig.java index 2829d65234c8..e57a74d3e3d6 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/importcatalogitems/SyncImportCatalogItemsCatalognameStringInputconfigImporterrorsconfig.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/importcatalogitems/SyncImportCatalogItemsCatalognameStringInputconfigImporterrorsconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_catalogserviceclient_importcatalogitems_catalognamestringinputconfigimporterrorsconfig_sync] +// [START recommendationengine_v1beta1_generated_catalogserviceclient_importcatalogitems_catalognamestringinputconfigimporterrorsconfig_sync] import com.google.cloud.recommendationengine.v1beta1.CatalogName; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceClient; import com.google.cloud.recommendationengine.v1beta1.ImportCatalogItemsResponse; @@ -46,5 +45,4 @@ public static void syncImportCatalogItemsCatalognameStringInputconfigImporterror } } } -// [END -// recommendationengine_v1beta1_generated_catalogserviceclient_importcatalogitems_catalognamestringinputconfigimporterrorsconfig_sync] +// [END recommendationengine_v1beta1_generated_catalogserviceclient_importcatalogitems_catalognamestringinputconfigimporterrorsconfig_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/importcatalogitems/SyncImportCatalogItemsStringStringInputconfigImporterrorsconfig.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/importcatalogitems/SyncImportCatalogItemsStringStringInputconfigImporterrorsconfig.java index bece54fa3206..c6a7dd49036b 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/importcatalogitems/SyncImportCatalogItemsStringStringInputconfigImporterrorsconfig.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/importcatalogitems/SyncImportCatalogItemsStringStringInputconfigImporterrorsconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_catalogserviceclient_importcatalogitems_stringstringinputconfigimporterrorsconfig_sync] +// [START recommendationengine_v1beta1_generated_catalogserviceclient_importcatalogitems_stringstringinputconfigimporterrorsconfig_sync] import com.google.cloud.recommendationengine.v1beta1.CatalogName; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceClient; import com.google.cloud.recommendationengine.v1beta1.ImportCatalogItemsResponse; @@ -46,5 +45,4 @@ public static void syncImportCatalogItemsStringStringInputconfigImporterrorsconf } } } -// [END -// recommendationengine_v1beta1_generated_catalogserviceclient_importcatalogitems_stringstringinputconfigimporterrorsconfig_sync] +// [END recommendationengine_v1beta1_generated_catalogserviceclient_importcatalogitems_stringstringinputconfigimporterrorsconfig_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/listcatalogitems/SyncListCatalogItemsCatalognameString.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/listcatalogitems/SyncListCatalogItemsCatalognameString.java index 7f327e669d5d..7cab5a71a2f6 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/listcatalogitems/SyncListCatalogItemsCatalognameString.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/listcatalogitems/SyncListCatalogItemsCatalognameString.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_catalogserviceclient_listcatalogitems_catalognamestring_sync] +// [START recommendationengine_v1beta1_generated_catalogserviceclient_listcatalogitems_catalognamestring_sync] import com.google.cloud.recommendationengine.v1beta1.CatalogItem; import com.google.cloud.recommendationengine.v1beta1.CatalogName; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceClient; @@ -41,5 +40,4 @@ public static void syncListCatalogItemsCatalognameString() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_catalogserviceclient_listcatalogitems_catalognamestring_sync] +// [END recommendationengine_v1beta1_generated_catalogserviceclient_listcatalogitems_catalognamestring_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/listcatalogitems/SyncListCatalogItemsStringString.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/listcatalogitems/SyncListCatalogItemsStringString.java index bb3b84d293d6..af3b4d9886e0 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/listcatalogitems/SyncListCatalogItemsStringString.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/listcatalogitems/SyncListCatalogItemsStringString.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_catalogserviceclient_listcatalogitems_stringstring_sync] +// [START recommendationengine_v1beta1_generated_catalogserviceclient_listcatalogitems_stringstring_sync] import com.google.cloud.recommendationengine.v1beta1.CatalogItem; import com.google.cloud.recommendationengine.v1beta1.CatalogName; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceClient; @@ -41,5 +40,4 @@ public static void syncListCatalogItemsStringString() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_catalogserviceclient_listcatalogitems_stringstring_sync] +// [END recommendationengine_v1beta1_generated_catalogserviceclient_listcatalogitems_stringstring_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/updatecatalogitem/SyncUpdateCatalogItemCatalogitempathnameCatalogitemFieldmask.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/updatecatalogitem/SyncUpdateCatalogItemCatalogitempathnameCatalogitemFieldmask.java index 6f2c3d5865bc..fa3fe4df9718 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/updatecatalogitem/SyncUpdateCatalogItemCatalogitempathnameCatalogitemFieldmask.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/updatecatalogitem/SyncUpdateCatalogItemCatalogitempathnameCatalogitemFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_catalogserviceclient_updatecatalogitem_catalogitempathnamecatalogitemfieldmask_sync] +// [START recommendationengine_v1beta1_generated_catalogserviceclient_updatecatalogitem_catalogitempathnamecatalogitemfieldmask_sync] import com.google.cloud.recommendationengine.v1beta1.CatalogItem; import com.google.cloud.recommendationengine.v1beta1.CatalogItemPathName; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceClient; @@ -42,5 +41,4 @@ public static void syncUpdateCatalogItemCatalogitempathnameCatalogitemFieldmask( } } } -// [END -// recommendationengine_v1beta1_generated_catalogserviceclient_updatecatalogitem_catalogitempathnamecatalogitemfieldmask_sync] +// [END recommendationengine_v1beta1_generated_catalogserviceclient_updatecatalogitem_catalogitempathnamecatalogitemfieldmask_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/updatecatalogitem/SyncUpdateCatalogItemStringCatalogitemFieldmask.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/updatecatalogitem/SyncUpdateCatalogItemStringCatalogitemFieldmask.java index b0e3f2748dc7..b437c096a88b 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/updatecatalogitem/SyncUpdateCatalogItemStringCatalogitemFieldmask.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/catalogserviceclient/updatecatalogitem/SyncUpdateCatalogItemStringCatalogitemFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_catalogserviceclient_updatecatalogitem_stringcatalogitemfieldmask_sync] +// [START recommendationengine_v1beta1_generated_catalogserviceclient_updatecatalogitem_stringcatalogitemfieldmask_sync] import com.google.cloud.recommendationengine.v1beta1.CatalogItem; import com.google.cloud.recommendationengine.v1beta1.CatalogItemPathName; import com.google.cloud.recommendationengine.v1beta1.CatalogServiceClient; @@ -42,5 +41,4 @@ public static void syncUpdateCatalogItemStringCatalogitemFieldmask() throws Exce } } } -// [END -// recommendationengine_v1beta1_generated_catalogserviceclient_updatecatalogitem_stringcatalogitemfieldmask_sync] +// [END recommendationengine_v1beta1_generated_catalogserviceclient_updatecatalogitem_stringcatalogitemfieldmask_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/create/SyncCreateSetCredentialsProvider.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/create/SyncCreateSetCredentialsProvider.java index be2660f9ce48..c7c6d7b0f058 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_create_setcredentialsprovider_sync] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistrySettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { PredictionApiKeyRegistryClient.create(predictionApiKeyRegistrySettings); } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_create_setcredentialsprovider_sync] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_create_setcredentialsprovider_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/create/SyncCreateSetCredentialsProvider1.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/create/SyncCreateSetCredentialsProvider1.java index 1df36d584612..8df2d4284dc1 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_create_setcredentialsprovider1_sync] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_create_setcredentialsprovider1_sync] import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistrySettings; @@ -39,5 +38,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { PredictionApiKeyRegistryClient.create(predictionApiKeyRegistrySettings); } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_create_setcredentialsprovider1_sync] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_create_setcredentialsprovider1_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/create/SyncCreateSetEndpoint.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/create/SyncCreateSetEndpoint.java index 3f593c0870d1..b6955fb1e69b 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/create/SyncCreateSetEndpoint.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/create/SyncCreateSetEndpoint.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_create_setendpoint_sync] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_create_setendpoint_sync] import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistrySettings; import com.google.cloud.recommendationengine.v1beta1.myEndpoint; @@ -37,5 +36,4 @@ public static void syncCreateSetEndpoint() throws Exception { PredictionApiKeyRegistryClient.create(predictionApiKeyRegistrySettings); } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_create_setendpoint_sync] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_create_setendpoint_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/AsyncCreatePredictionApiKeyRegistration.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/AsyncCreatePredictionApiKeyRegistration.java index 9f48a4a7b548..15c95efeb030 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/AsyncCreatePredictionApiKeyRegistration.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/AsyncCreatePredictionApiKeyRegistration.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_async] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_async] import com.google.api.core.ApiFuture; import com.google.cloud.recommendationengine.v1beta1.CreatePredictionApiKeyRegistrationRequest; import com.google.cloud.recommendationengine.v1beta1.EventStoreName; @@ -51,5 +50,4 @@ public static void asyncCreatePredictionApiKeyRegistration() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_async] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_async] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistration.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistration.java index 3ebd18c2c04a..65c45e75fdd3 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistration.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistration.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_sync] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_sync] import com.google.cloud.recommendationengine.v1beta1.CreatePredictionApiKeyRegistrationRequest; import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration; @@ -46,5 +45,4 @@ public static void syncCreatePredictionApiKeyRegistration() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_sync] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistrationEventstorenamePredictionapikeyregistration.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistrationEventstorenamePredictionapikeyregistration.java index 10919a9760e4..bace15fdb9c0 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistrationEventstorenamePredictionapikeyregistration.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistrationEventstorenamePredictionapikeyregistration.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_eventstorenamepredictionapikeyregistration_sync] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_eventstorenamepredictionapikeyregistration_sync] import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient; @@ -45,5 +44,4 @@ public static void main(String[] args) throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_eventstorenamepredictionapikeyregistration_sync] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_eventstorenamepredictionapikeyregistration_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistrationStringPredictionapikeyregistration.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistrationStringPredictionapikeyregistration.java index 8e46c5bd70a1..6490c7597dd5 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistrationStringPredictionapikeyregistration.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistrationStringPredictionapikeyregistration.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_stringpredictionapikeyregistration_sync] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_stringpredictionapikeyregistration_sync] import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient; @@ -44,5 +43,4 @@ public static void syncCreatePredictionApiKeyRegistrationStringPredictionapikeyr } } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_stringpredictionapikeyregistration_sync] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_createpredictionapikeyregistration_stringpredictionapikeyregistration_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/AsyncDeletePredictionApiKeyRegistration.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/AsyncDeletePredictionApiKeyRegistration.java index 68db66517f6e..a7b1b0330bb1 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/AsyncDeletePredictionApiKeyRegistration.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/AsyncDeletePredictionApiKeyRegistration.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_async] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_async] import com.google.api.core.ApiFuture; import com.google.cloud.recommendationengine.v1beta1.DeletePredictionApiKeyRegistrationRequest; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistrationName; @@ -55,5 +54,4 @@ public static void asyncDeletePredictionApiKeyRegistration() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_async] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_async] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/SyncDeletePredictionApiKeyRegistration.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/SyncDeletePredictionApiKeyRegistration.java index 2ad321c9b477..1dd2190485ff 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/SyncDeletePredictionApiKeyRegistration.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/SyncDeletePredictionApiKeyRegistration.java @@ -16,11 +16,11 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_sync] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_sync] import com.google.cloud.recommendationengine.v1beta1.DeletePredictionApiKeyRegistrationRequest; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistrationName; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient; +import com.google.protobuf.Empty; public class SyncDeletePredictionApiKeyRegistration { @@ -48,5 +48,4 @@ public static void syncDeletePredictionApiKeyRegistration() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_sync] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/SyncDeletePredictionApiKeyRegistrationPredictionapikeyregistrationname.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/SyncDeletePredictionApiKeyRegistrationPredictionapikeyregistrationname.java index 023ca20bc3e6..d182a6253dea 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/SyncDeletePredictionApiKeyRegistrationPredictionapikeyregistrationname.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/SyncDeletePredictionApiKeyRegistrationPredictionapikeyregistrationname.java @@ -16,10 +16,10 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_predictionapikeyregistrationname_sync] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_predictionapikeyregistrationname_sync] import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistrationName; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient; +import com.google.protobuf.Empty; public class SyncDeletePredictionApiKeyRegistrationPredictionapikeyregistrationname { @@ -44,5 +44,4 @@ public static void syncDeletePredictionApiKeyRegistrationPredictionapikeyregistr } } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_predictionapikeyregistrationname_sync] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_predictionapikeyregistrationname_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/SyncDeletePredictionApiKeyRegistrationString.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/SyncDeletePredictionApiKeyRegistrationString.java index 04a6f533cf69..289d4503ceab 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/SyncDeletePredictionApiKeyRegistrationString.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/deletepredictionapikeyregistration/SyncDeletePredictionApiKeyRegistrationString.java @@ -16,10 +16,10 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_string_sync] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_string_sync] import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistrationName; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient; +import com.google.protobuf.Empty; public class SyncDeletePredictionApiKeyRegistrationString { @@ -44,5 +44,4 @@ public static void syncDeletePredictionApiKeyRegistrationString() throws Excepti } } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_string_sync] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_deletepredictionapikeyregistration_string_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/AsyncListPredictionApiKeyRegistrations.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/AsyncListPredictionApiKeyRegistrations.java index d45488cd3f46..ea9134ead7d2 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/AsyncListPredictionApiKeyRegistrations.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/AsyncListPredictionApiKeyRegistrations.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_async] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_async] import com.google.api.core.ApiFuture; import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsRequest; @@ -54,5 +53,4 @@ public static void asyncListPredictionApiKeyRegistrations() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_async] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_async] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/AsyncListPredictionApiKeyRegistrationsPaged.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/AsyncListPredictionApiKeyRegistrationsPaged.java index 2f5f59442a3b..c657e9d8bf8d 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/AsyncListPredictionApiKeyRegistrationsPaged.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/AsyncListPredictionApiKeyRegistrationsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_paged_async] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_paged_async] import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsRequest; import com.google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsResponse; @@ -63,5 +62,4 @@ public static void asyncListPredictionApiKeyRegistrationsPaged() throws Exceptio } } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_paged_async] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_paged_async] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/SyncListPredictionApiKeyRegistrations.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/SyncListPredictionApiKeyRegistrations.java index f0a87411ce98..6764146c85d2 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/SyncListPredictionApiKeyRegistrations.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/SyncListPredictionApiKeyRegistrations.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_sync] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_sync] import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsRequest; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration; @@ -49,5 +48,4 @@ public static void syncListPredictionApiKeyRegistrations() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_sync] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/SyncListPredictionApiKeyRegistrationsEventstorename.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/SyncListPredictionApiKeyRegistrationsEventstorename.java index 5bcf4a220d65..fafd8a21b927 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/SyncListPredictionApiKeyRegistrationsEventstorename.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/SyncListPredictionApiKeyRegistrationsEventstorename.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_eventstorename_sync] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_eventstorename_sync] import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient; @@ -42,5 +41,4 @@ public static void syncListPredictionApiKeyRegistrationsEventstorename() throws } } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_eventstorename_sync] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_eventstorename_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/SyncListPredictionApiKeyRegistrationsString.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/SyncListPredictionApiKeyRegistrationsString.java index 302442134c42..f8ed0a0a9eae 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/SyncListPredictionApiKeyRegistrationsString.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistryclient/listpredictionapikeyregistrations/SyncListPredictionApiKeyRegistrationsString.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_string_sync] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_string_sync] import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration; import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient; @@ -42,5 +41,4 @@ public static void syncListPredictionApiKeyRegistrationsString() throws Exceptio } } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_string_sync] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistryclient_listpredictionapikeyregistrations_string_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistrysettings/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistration.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistrysettings/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistration.java index 3e3dee770529..c9ceebd3710b 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistrysettings/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistration.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionapikeyregistrysettings/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistration.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistrysettings_createpredictionapikeyregistration_sync] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistrysettings_createpredictionapikeyregistration_sync] import com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistrySettings; import java.time.Duration; @@ -45,5 +44,4 @@ public static void syncCreatePredictionApiKeyRegistration() throws Exception { predictionApiKeyRegistrySettingsBuilder.build(); } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistrysettings_createpredictionapikeyregistration_sync] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistrysettings_createpredictionapikeyregistration_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/create/SyncCreateSetCredentialsProvider.java index 8f6528d0b889..be3678cc5464 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionserviceclient_create_setcredentialsprovider_sync] +// [START recommendationengine_v1beta1_generated_predictionserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.recommendationengine.v1beta1.PredictionServiceClient; import com.google.cloud.recommendationengine.v1beta1.PredictionServiceSettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { PredictionServiceClient.create(predictionServiceSettings); } } -// [END -// recommendationengine_v1beta1_generated_predictionserviceclient_create_setcredentialsprovider_sync] +// [END recommendationengine_v1beta1_generated_predictionserviceclient_create_setcredentialsprovider_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/create/SyncCreateSetCredentialsProvider1.java index c4148e2f6605..13d9e88c13ec 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionserviceclient_create_setcredentialsprovider1_sync] +// [START recommendationengine_v1beta1_generated_predictionserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.recommendationengine.v1beta1.PredictionServiceClient; import com.google.cloud.recommendationengine.v1beta1.PredictionServiceSettings; @@ -39,5 +38,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { PredictionServiceClient.create(predictionServiceSettings); } } -// [END -// recommendationengine_v1beta1_generated_predictionserviceclient_create_setcredentialsprovider1_sync] +// [END recommendationengine_v1beta1_generated_predictionserviceclient_create_setcredentialsprovider1_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/predict/SyncPredictPlacementnameUserevent.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/predict/SyncPredictPlacementnameUserevent.java index 474044e00239..007e7a2a8849 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/predict/SyncPredictPlacementnameUserevent.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/predict/SyncPredictPlacementnameUserevent.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionserviceclient_predict_placementnameuserevent_sync] +// [START recommendationengine_v1beta1_generated_predictionserviceclient_predict_placementnameuserevent_sync] import com.google.cloud.recommendationengine.v1beta1.PlacementName; import com.google.cloud.recommendationengine.v1beta1.PredictionServiceClient; import com.google.cloud.recommendationengine.v1beta1.UserEvent; @@ -44,5 +43,4 @@ public static void syncPredictPlacementnameUserevent() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_predictionserviceclient_predict_placementnameuserevent_sync] +// [END recommendationengine_v1beta1_generated_predictionserviceclient_predict_placementnameuserevent_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/predict/SyncPredictStringUserevent.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/predict/SyncPredictStringUserevent.java index a2e61e8ae8f5..3b82fdcf1633 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/predict/SyncPredictStringUserevent.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/predictionserviceclient/predict/SyncPredictStringUserevent.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_predictionserviceclient_predict_stringuserevent_sync] +// [START recommendationengine_v1beta1_generated_predictionserviceclient_predict_stringuserevent_sync] import com.google.cloud.recommendationengine.v1beta1.PlacementName; import com.google.cloud.recommendationengine.v1beta1.PredictionServiceClient; import com.google.cloud.recommendationengine.v1beta1.UserEvent; diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/stub/predictionapikeyregistrystubsettings/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistration.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/stub/predictionapikeyregistrystubsettings/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistration.java index c74c499d6dbc..1c96ba9a1208 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/stub/predictionapikeyregistrystubsettings/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistration.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/stub/predictionapikeyregistrystubsettings/createpredictionapikeyregistration/SyncCreatePredictionApiKeyRegistration.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.stub.samples; -// [START -// recommendationengine_v1beta1_generated_predictionapikeyregistrystubsettings_createpredictionapikeyregistration_sync] +// [START recommendationengine_v1beta1_generated_predictionapikeyregistrystubsettings_createpredictionapikeyregistration_sync] import com.google.cloud.recommendationengine.v1beta1.stub.PredictionApiKeyRegistryStubSettings; import java.time.Duration; @@ -45,5 +44,4 @@ public static void syncCreatePredictionApiKeyRegistration() throws Exception { predictionApiKeyRegistrySettingsBuilder.build(); } } -// [END -// recommendationengine_v1beta1_generated_predictionapikeyregistrystubsettings_createpredictionapikeyregistration_sync] +// [END recommendationengine_v1beta1_generated_predictionapikeyregistrystubsettings_createpredictionapikeyregistration_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/collectuserevent/SyncCollectUserEventEventstorenameStringStringLong.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/collectuserevent/SyncCollectUserEventEventstorenameStringStringLong.java index bcb96af6e606..06dbcccea3ba 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/collectuserevent/SyncCollectUserEventEventstorenameStringStringLong.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/collectuserevent/SyncCollectUserEventEventstorenameStringStringLong.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_usereventserviceclient_collectuserevent_eventstorenamestringstringlong_sync] +// [START recommendationengine_v1beta1_generated_usereventserviceclient_collectuserevent_eventstorenamestringstringlong_sync] import com.google.api.HttpBody; import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.UserEventServiceClient; @@ -41,5 +40,4 @@ public static void syncCollectUserEventEventstorenameStringStringLong() throws E } } } -// [END -// recommendationengine_v1beta1_generated_usereventserviceclient_collectuserevent_eventstorenamestringstringlong_sync] +// [END recommendationengine_v1beta1_generated_usereventserviceclient_collectuserevent_eventstorenamestringstringlong_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/collectuserevent/SyncCollectUserEventStringStringStringLong.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/collectuserevent/SyncCollectUserEventStringStringStringLong.java index f3ad23e4ea96..070525ecf8fd 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/collectuserevent/SyncCollectUserEventStringStringStringLong.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/collectuserevent/SyncCollectUserEventStringStringStringLong.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_usereventserviceclient_collectuserevent_stringstringstringlong_sync] +// [START recommendationengine_v1beta1_generated_usereventserviceclient_collectuserevent_stringstringstringlong_sync] import com.google.api.HttpBody; import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.UserEventServiceClient; @@ -41,5 +40,4 @@ public static void syncCollectUserEventStringStringStringLong() throws Exception } } } -// [END -// recommendationengine_v1beta1_generated_usereventserviceclient_collectuserevent_stringstringstringlong_sync] +// [END recommendationengine_v1beta1_generated_usereventserviceclient_collectuserevent_stringstringstringlong_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/create/SyncCreateSetCredentialsProvider.java index f0f8a8014e80..51906a0d8ad0 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_usereventserviceclient_create_setcredentialsprovider_sync] +// [START recommendationengine_v1beta1_generated_usereventserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.recommendationengine.v1beta1.UserEventServiceClient; import com.google.cloud.recommendationengine.v1beta1.UserEventServiceSettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { UserEventServiceClient.create(userEventServiceSettings); } } -// [END -// recommendationengine_v1beta1_generated_usereventserviceclient_create_setcredentialsprovider_sync] +// [END recommendationengine_v1beta1_generated_usereventserviceclient_create_setcredentialsprovider_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/create/SyncCreateSetCredentialsProvider1.java index a2f8a27d5a3d..fcf2408d9dc7 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_usereventserviceclient_create_setcredentialsprovider1_sync] +// [START recommendationengine_v1beta1_generated_usereventserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.recommendationengine.v1beta1.UserEventServiceClient; import com.google.cloud.recommendationengine.v1beta1.UserEventServiceSettings; @@ -39,5 +38,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { UserEventServiceClient.create(userEventServiceSettings); } } -// [END -// recommendationengine_v1beta1_generated_usereventserviceclient_create_setcredentialsprovider1_sync] +// [END recommendationengine_v1beta1_generated_usereventserviceclient_create_setcredentialsprovider1_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/importuserevents/SyncImportUserEventsEventstorenameStringInputconfigImporterrorsconfig.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/importuserevents/SyncImportUserEventsEventstorenameStringInputconfigImporterrorsconfig.java index 84076ac5ec73..951f0fa5dc42 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/importuserevents/SyncImportUserEventsEventstorenameStringInputconfigImporterrorsconfig.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/importuserevents/SyncImportUserEventsEventstorenameStringInputconfigImporterrorsconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_usereventserviceclient_importuserevents_eventstorenamestringinputconfigimporterrorsconfig_sync] +// [START recommendationengine_v1beta1_generated_usereventserviceclient_importuserevents_eventstorenamestringinputconfigimporterrorsconfig_sync] import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig; import com.google.cloud.recommendationengine.v1beta1.ImportUserEventsResponse; @@ -47,5 +46,4 @@ public static void syncImportUserEventsEventstorenameStringInputconfigImporterro } } } -// [END -// recommendationengine_v1beta1_generated_usereventserviceclient_importuserevents_eventstorenamestringinputconfigimporterrorsconfig_sync] +// [END recommendationengine_v1beta1_generated_usereventserviceclient_importuserevents_eventstorenamestringinputconfigimporterrorsconfig_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/importuserevents/SyncImportUserEventsStringStringInputconfigImporterrorsconfig.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/importuserevents/SyncImportUserEventsStringStringInputconfigImporterrorsconfig.java index 9a61c94b8c14..72231efeab64 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/importuserevents/SyncImportUserEventsStringStringInputconfigImporterrorsconfig.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/importuserevents/SyncImportUserEventsStringStringInputconfigImporterrorsconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_usereventserviceclient_importuserevents_stringstringinputconfigimporterrorsconfig_sync] +// [START recommendationengine_v1beta1_generated_usereventserviceclient_importuserevents_stringstringinputconfigimporterrorsconfig_sync] import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig; import com.google.cloud.recommendationengine.v1beta1.ImportUserEventsResponse; @@ -47,5 +46,4 @@ public static void syncImportUserEventsStringStringInputconfigImporterrorsconfig } } } -// [END -// recommendationengine_v1beta1_generated_usereventserviceclient_importuserevents_stringstringinputconfigimporterrorsconfig_sync] +// [END recommendationengine_v1beta1_generated_usereventserviceclient_importuserevents_stringstringinputconfigimporterrorsconfig_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/listuserevents/SyncListUserEventsEventstorenameString.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/listuserevents/SyncListUserEventsEventstorenameString.java index 836094e8ec3c..3d30dad31bbb 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/listuserevents/SyncListUserEventsEventstorenameString.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/listuserevents/SyncListUserEventsEventstorenameString.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_usereventserviceclient_listuserevents_eventstorenamestring_sync] +// [START recommendationengine_v1beta1_generated_usereventserviceclient_listuserevents_eventstorenamestring_sync] import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.UserEvent; import com.google.cloud.recommendationengine.v1beta1.UserEventServiceClient; @@ -41,5 +40,4 @@ public static void syncListUserEventsEventstorenameString() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_usereventserviceclient_listuserevents_eventstorenamestring_sync] +// [END recommendationengine_v1beta1_generated_usereventserviceclient_listuserevents_eventstorenamestring_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/listuserevents/SyncListUserEventsStringString.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/listuserevents/SyncListUserEventsStringString.java index 77f8bab2990b..f2f164d949af 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/listuserevents/SyncListUserEventsStringString.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/listuserevents/SyncListUserEventsStringString.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_usereventserviceclient_listuserevents_stringstring_sync] +// [START recommendationengine_v1beta1_generated_usereventserviceclient_listuserevents_stringstring_sync] import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.UserEvent; import com.google.cloud.recommendationengine.v1beta1.UserEventServiceClient; @@ -41,5 +40,4 @@ public static void syncListUserEventsStringString() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_usereventserviceclient_listuserevents_stringstring_sync] +// [END recommendationengine_v1beta1_generated_usereventserviceclient_listuserevents_stringstring_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/purgeuserevents/SyncPurgeUserEventsEventstorenameStringBoolean.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/purgeuserevents/SyncPurgeUserEventsEventstorenameStringBoolean.java index c31ace75d06e..b1927cb901ca 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/purgeuserevents/SyncPurgeUserEventsEventstorenameStringBoolean.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/purgeuserevents/SyncPurgeUserEventsEventstorenameStringBoolean.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_usereventserviceclient_purgeuserevents_eventstorenamestringboolean_sync] +// [START recommendationengine_v1beta1_generated_usereventserviceclient_purgeuserevents_eventstorenamestringboolean_sync] import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.PurgeUserEventsResponse; import com.google.cloud.recommendationengine.v1beta1.UserEventServiceClient; @@ -41,5 +40,4 @@ public static void syncPurgeUserEventsEventstorenameStringBoolean() throws Excep } } } -// [END -// recommendationengine_v1beta1_generated_usereventserviceclient_purgeuserevents_eventstorenamestringboolean_sync] +// [END recommendationengine_v1beta1_generated_usereventserviceclient_purgeuserevents_eventstorenamestringboolean_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/purgeuserevents/SyncPurgeUserEventsStringStringBoolean.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/purgeuserevents/SyncPurgeUserEventsStringStringBoolean.java index a784172f684c..27c020fba1ce 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/purgeuserevents/SyncPurgeUserEventsStringStringBoolean.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/purgeuserevents/SyncPurgeUserEventsStringStringBoolean.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_usereventserviceclient_purgeuserevents_stringstringboolean_sync] +// [START recommendationengine_v1beta1_generated_usereventserviceclient_purgeuserevents_stringstringboolean_sync] import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.PurgeUserEventsResponse; import com.google.cloud.recommendationengine.v1beta1.UserEventServiceClient; @@ -41,5 +40,4 @@ public static void syncPurgeUserEventsStringStringBoolean() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_usereventserviceclient_purgeuserevents_stringstringboolean_sync] +// [END recommendationengine_v1beta1_generated_usereventserviceclient_purgeuserevents_stringstringboolean_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/writeuserevent/SyncWriteUserEventEventstorenameUserevent.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/writeuserevent/SyncWriteUserEventEventstorenameUserevent.java index 52aa8255e124..0a3babf782b4 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/writeuserevent/SyncWriteUserEventEventstorenameUserevent.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/writeuserevent/SyncWriteUserEventEventstorenameUserevent.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_usereventserviceclient_writeuserevent_eventstorenameuserevent_sync] +// [START recommendationengine_v1beta1_generated_usereventserviceclient_writeuserevent_eventstorenameuserevent_sync] import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.UserEvent; import com.google.cloud.recommendationengine.v1beta1.UserEventServiceClient; @@ -39,5 +38,4 @@ public static void syncWriteUserEventEventstorenameUserevent() throws Exception } } } -// [END -// recommendationengine_v1beta1_generated_usereventserviceclient_writeuserevent_eventstorenameuserevent_sync] +// [END recommendationengine_v1beta1_generated_usereventserviceclient_writeuserevent_eventstorenameuserevent_sync] diff --git a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/writeuserevent/SyncWriteUserEventStringUserevent.java b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/writeuserevent/SyncWriteUserEventStringUserevent.java index 9cdcc22e9a6f..d61048aad436 100644 --- a/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/writeuserevent/SyncWriteUserEventStringUserevent.java +++ b/java-recommendations-ai/samples/snippets/generated/com/google/cloud/recommendationengine/v1beta1/usereventserviceclient/writeuserevent/SyncWriteUserEventStringUserevent.java @@ -16,8 +16,7 @@ package com.google.cloud.recommendationengine.v1beta1.samples; -// [START -// recommendationengine_v1beta1_generated_usereventserviceclient_writeuserevent_stringuserevent_sync] +// [START recommendationengine_v1beta1_generated_usereventserviceclient_writeuserevent_stringuserevent_sync] import com.google.cloud.recommendationengine.v1beta1.EventStoreName; import com.google.cloud.recommendationengine.v1beta1.UserEvent; import com.google.cloud.recommendationengine.v1beta1.UserEventServiceClient; @@ -39,5 +38,4 @@ public static void syncWriteUserEventStringUserevent() throws Exception { } } } -// [END -// recommendationengine_v1beta1_generated_usereventserviceclient_writeuserevent_stringuserevent_sync] +// [END recommendationengine_v1beta1_generated_usereventserviceclient_writeuserevent_stringuserevent_sync]