diff --git a/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerClient.java b/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerClient.java index 902aa9aa485b..0d20adcf6032 100644 --- a/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerClient.java +++ b/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerClient.java @@ -125,10 +125,7 @@ * // - It may require specifying regional endpoints when creating the service client as shown in * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * WebSecurityScannerSettings webSecurityScannerSettings = - * WebSecurityScannerSettings.newBuilder() - * .setTransportChannelProvider( - * WebSecurityScannerSettings.defaultHttpJsonTransportProviderBuilder().build()) - * .build(); + * WebSecurityScannerSettings.newHttpJsonBuilder().build(); * WebSecurityScannerClient webSecurityScannerClient = * WebSecurityScannerClient.create(webSecurityScannerSettings); * } diff --git a/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java b/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java index c64f3441dd90..cf06f5dd5413 100644 --- a/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java +++ b/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java @@ -124,10 +124,7 @@ * // - It may require specifying regional endpoints when creating the service client as shown in * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * WebSecurityScannerSettings webSecurityScannerSettings = - * WebSecurityScannerSettings.newBuilder() - * .setTransportChannelProvider( - * WebSecurityScannerSettings.defaultHttpJsonTransportProviderBuilder().build()) - * .build(); + * WebSecurityScannerSettings.newHttpJsonBuilder().build(); * WebSecurityScannerClient webSecurityScannerClient = * WebSecurityScannerClient.create(webSecurityScannerSettings); * } diff --git a/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1beta/WebSecurityScannerClient.java b/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1beta/WebSecurityScannerClient.java index d8ac65d3643f..55662f6f7ebf 100644 --- a/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1beta/WebSecurityScannerClient.java +++ b/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1beta/WebSecurityScannerClient.java @@ -124,10 +124,7 @@ * // - It may require specifying regional endpoints when creating the service client as shown in * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * WebSecurityScannerSettings webSecurityScannerSettings = - * WebSecurityScannerSettings.newBuilder() - * .setTransportChannelProvider( - * WebSecurityScannerSettings.defaultHttpJsonTransportProviderBuilder().build()) - * .build(); + * WebSecurityScannerSettings.newHttpJsonBuilder().build(); * WebSecurityScannerClient webSecurityScannerClient = * WebSecurityScannerClient.create(webSecurityScannerSettings); * } diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/stub/websecurityscannerstubsettings/createscanconfig/SyncCreateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/stub/websecurityscannerstubsettings/createscanconfig/SyncCreateScanConfig.java index 14794010743c..12eba00b6124 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/stub/websecurityscannerstubsettings/createscanconfig/SyncCreateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/stub/websecurityscannerstubsettings/createscanconfig/SyncCreateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.stub.samples; -// [START websecurityscanner_v1_generated_websecurityscannerstubsettings_createscanconfig_sync] +// [START websecurityscanner_v1_generated_WebSecurityScannerStubSettings_CreateScanConfig_sync] import com.google.cloud.websecurityscanner.v1.stub.WebSecurityScannerStubSettings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncCreateScanConfig() throws Exception { webSecurityScannerSettingsBuilder.build(); } } -// [END websecurityscanner_v1_generated_websecurityscannerstubsettings_createscanconfig_sync] +// [END websecurityscanner_v1_generated_WebSecurityScannerStubSettings_CreateScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/create/SyncCreateSetCredentialsProvider.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/create/SyncCreateSetCredentialsProvider.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/create/SyncCreateSetCredentialsProvider.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/create/SyncCreateSetCredentialsProvider.java index 2b22896abd94..e9ecff592612 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_create_setcredentialsprovider_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerSettings; @@ -42,4 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { WebSecurityScannerClient.create(webSecurityScannerSettings); } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_create_setcredentialsprovider_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_Create_SetCredentialsProvider_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/create/SyncCreateSetCredentialsProvider1.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/create/SyncCreateSetCredentialsProvider1.java similarity index 79% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/create/SyncCreateSetCredentialsProvider1.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/create/SyncCreateSetCredentialsProvider1.java index bdbe327fc1b0..365a5bc0218f 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_create_setcredentialsprovider1_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_Create_SetCredentialsProvider1_sync] import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerSettings; @@ -33,12 +33,9 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { // - It may require specifying regional endpoints when creating the service client as shown in // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library WebSecurityScannerSettings webSecurityScannerSettings = - WebSecurityScannerSettings.newBuilder() - .setTransportChannelProvider( - WebSecurityScannerSettings.defaultHttpJsonTransportProviderBuilder().build()) - .build(); + WebSecurityScannerSettings.newHttpJsonBuilder().build(); WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create(webSecurityScannerSettings); } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_create_setcredentialsprovider1_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_Create_SetCredentialsProvider1_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/create/SyncCreateSetEndpoint.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/create/SyncCreateSetEndpoint.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/create/SyncCreateSetEndpoint.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/create/SyncCreateSetEndpoint.java index aeac6b1b3953..ebfb79a9f9ab 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/create/SyncCreateSetEndpoint.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_create_setendpoint_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_Create_SetEndpoint_sync] import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerSettings; import com.google.cloud.websecurityscanner.v1.myEndpoint; @@ -39,4 +39,4 @@ public static void syncCreateSetEndpoint() throws Exception { WebSecurityScannerClient.create(webSecurityScannerSettings); } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_create_setendpoint_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_Create_SetEndpoint_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/createscanconfig/AsyncCreateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/createscanconfig/AsyncCreateScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/createscanconfig/AsyncCreateScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/createscanconfig/AsyncCreateScanConfig.java index d768930e240f..edc43b1235db 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/createscanconfig/AsyncCreateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/createscanconfig/AsyncCreateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_createscanconfig_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_CreateScanConfig_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1.CreateScanConfigRequest; import com.google.cloud.websecurityscanner.v1.ScanConfig; @@ -47,4 +47,4 @@ public static void asyncCreateScanConfig() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_createscanconfig_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_CreateScanConfig_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/createscanconfig/SyncCreateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/createscanconfig/SyncCreateScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/createscanconfig/SyncCreateScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/createscanconfig/SyncCreateScanConfig.java index 254072432abf..82b71b9ed093 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/createscanconfig/SyncCreateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/createscanconfig/SyncCreateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_createscanconfig_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_CreateScanConfig_sync] import com.google.cloud.websecurityscanner.v1.CreateScanConfigRequest; import com.google.cloud.websecurityscanner.v1.ScanConfig; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; @@ -43,4 +43,4 @@ public static void syncCreateScanConfig() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_createscanconfig_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_CreateScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/deletescanconfig/AsyncDeleteScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/deletescanconfig/AsyncDeleteScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/deletescanconfig/AsyncDeleteScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/deletescanconfig/AsyncDeleteScanConfig.java index 3980d29bed3c..b4b09e95f3e5 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/deletescanconfig/AsyncDeleteScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/deletescanconfig/AsyncDeleteScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_deletescanconfig_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_DeleteScanConfig_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1.DeleteScanConfigRequest; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; @@ -44,4 +44,4 @@ public static void asyncDeleteScanConfig() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_deletescanconfig_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_DeleteScanConfig_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/deletescanconfig/SyncDeleteScanConfig.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/deletescanconfig/SyncDeleteScanConfig.java index a9686e26fdd4..12ec88b9d342 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/deletescanconfig/SyncDeleteScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_deletescanconfig_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_DeleteScanConfig_sync] import com.google.cloud.websecurityscanner.v1.DeleteScanConfigRequest; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; import com.google.protobuf.Empty; @@ -40,4 +40,4 @@ public static void syncDeleteScanConfig() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_deletescanconfig_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_DeleteScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getfinding/AsyncGetFinding.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getfinding/AsyncGetFinding.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getfinding/AsyncGetFinding.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getfinding/AsyncGetFinding.java index 4573ad0cf8c6..9a716025d8be 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getfinding/AsyncGetFinding.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getfinding/AsyncGetFinding.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_getfinding_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_GetFinding_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1.Finding; import com.google.cloud.websecurityscanner.v1.GetFindingRequest; @@ -42,4 +42,4 @@ public static void asyncGetFinding() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_getfinding_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_GetFinding_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getfinding/SyncGetFinding.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getfinding/SyncGetFinding.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getfinding/SyncGetFinding.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getfinding/SyncGetFinding.java index c9d55db255e8..c59a4419ea73 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getfinding/SyncGetFinding.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getfinding/SyncGetFinding.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_getfinding_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_GetFinding_sync] import com.google.cloud.websecurityscanner.v1.Finding; import com.google.cloud.websecurityscanner.v1.GetFindingRequest; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncGetFinding() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_getfinding_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_GetFinding_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getscanconfig/AsyncGetScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getscanconfig/AsyncGetScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getscanconfig/AsyncGetScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getscanconfig/AsyncGetScanConfig.java index 790005c9134c..43ecc10d15e1 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getscanconfig/AsyncGetScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getscanconfig/AsyncGetScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_getscanconfig_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_GetScanConfig_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1.GetScanConfigRequest; import com.google.cloud.websecurityscanner.v1.ScanConfig; @@ -44,4 +44,4 @@ public static void asyncGetScanConfig() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_getscanconfig_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_GetScanConfig_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getscanconfig/SyncGetScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getscanconfig/SyncGetScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getscanconfig/SyncGetScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getscanconfig/SyncGetScanConfig.java index 6df07bc9cfe0..1689af1751eb 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getscanconfig/SyncGetScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getscanconfig/SyncGetScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_getscanconfig_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_GetScanConfig_sync] import com.google.cloud.websecurityscanner.v1.GetScanConfigRequest; import com.google.cloud.websecurityscanner.v1.ScanConfig; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; @@ -40,4 +40,4 @@ public static void syncGetScanConfig() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_getscanconfig_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_GetScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getscanrun/AsyncGetScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getscanrun/AsyncGetScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getscanrun/AsyncGetScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getscanrun/AsyncGetScanRun.java index d318bf89e364..0c9b346cc2d3 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getscanrun/AsyncGetScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getscanrun/AsyncGetScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_getscanrun_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_GetScanRun_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1.GetScanRunRequest; import com.google.cloud.websecurityscanner.v1.ScanRun; @@ -42,4 +42,4 @@ public static void asyncGetScanRun() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_getscanrun_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_GetScanRun_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getscanrun/SyncGetScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getscanrun/SyncGetScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getscanrun/SyncGetScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getscanrun/SyncGetScanRun.java index 77d84485641c..444c3dda05f6 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/getscanrun/SyncGetScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/getscanrun/SyncGetScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_getscanrun_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_GetScanRun_sync] import com.google.cloud.websecurityscanner.v1.GetScanRunRequest; import com.google.cloud.websecurityscanner.v1.ScanRun; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncGetScanRun() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_getscanrun_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_GetScanRun_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrls.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listcrawledurls/AsyncListCrawledUrls.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrls.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listcrawledurls/AsyncListCrawledUrls.java index dc4f0f833dc0..950933a4fd2b 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrls.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listcrawledurls/AsyncListCrawledUrls.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_listcrawledurls_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_ListCrawledUrls_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1.CrawledUrl; import com.google.cloud.websecurityscanner.v1.ListCrawledUrlsRequest; @@ -50,4 +50,4 @@ public static void asyncListCrawledUrls() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_listcrawledurls_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_ListCrawledUrls_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrlsPaged.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listcrawledurls/AsyncListCrawledUrlsPaged.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrlsPaged.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listcrawledurls/AsyncListCrawledUrlsPaged.java index a6118a641170..6e24ebd92ff3 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrlsPaged.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listcrawledurls/AsyncListCrawledUrlsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_listcrawledurls_paged_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_ListCrawledUrls_Paged_async] import com.google.cloud.websecurityscanner.v1.CrawledUrl; import com.google.cloud.websecurityscanner.v1.ListCrawledUrlsRequest; import com.google.cloud.websecurityscanner.v1.ListCrawledUrlsResponse; @@ -58,4 +58,4 @@ public static void asyncListCrawledUrlsPaged() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_listcrawledurls_paged_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_ListCrawledUrls_Paged_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listcrawledurls/SyncListCrawledUrls.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listcrawledurls/SyncListCrawledUrls.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listcrawledurls/SyncListCrawledUrls.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listcrawledurls/SyncListCrawledUrls.java index 1d85a0348231..3928dbf26617 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listcrawledurls/SyncListCrawledUrls.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listcrawledurls/SyncListCrawledUrls.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_listcrawledurls_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_ListCrawledUrls_sync] import com.google.cloud.websecurityscanner.v1.CrawledUrl; import com.google.cloud.websecurityscanner.v1.ListCrawledUrlsRequest; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; @@ -46,4 +46,4 @@ public static void syncListCrawledUrls() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_listcrawledurls_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_ListCrawledUrls_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindings/AsyncListFindings.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindings/AsyncListFindings.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindings/AsyncListFindings.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindings/AsyncListFindings.java index 11256a7a95cf..d4fdab817f9c 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindings/AsyncListFindings.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindings/AsyncListFindings.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_listfindings_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_ListFindings_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1.Finding; import com.google.cloud.websecurityscanner.v1.ListFindingsRequest; @@ -51,4 +51,4 @@ public static void asyncListFindings() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_listfindings_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_ListFindings_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindings/AsyncListFindingsPaged.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindings/AsyncListFindingsPaged.java similarity index 93% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindings/AsyncListFindingsPaged.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindings/AsyncListFindingsPaged.java index de812a345190..65efb64a62bf 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindings/AsyncListFindingsPaged.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindings/AsyncListFindingsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_listfindings_paged_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_ListFindings_Paged_async] import com.google.cloud.websecurityscanner.v1.Finding; import com.google.cloud.websecurityscanner.v1.ListFindingsRequest; import com.google.cloud.websecurityscanner.v1.ListFindingsResponse; @@ -59,4 +59,4 @@ public static void asyncListFindingsPaged() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_listfindings_paged_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_ListFindings_Paged_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindings/SyncListFindings.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindings/SyncListFindings.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindings/SyncListFindings.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindings/SyncListFindings.java index ee2b52d9ed21..daa31f1abe45 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindings/SyncListFindings.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindings/SyncListFindings.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_listfindings_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_ListFindings_sync] import com.google.cloud.websecurityscanner.v1.Finding; import com.google.cloud.websecurityscanner.v1.ListFindingsRequest; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; @@ -47,4 +47,4 @@ public static void syncListFindings() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_listfindings_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_ListFindings_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindingtypestats/AsyncListFindingTypeStats.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindingtypestats/AsyncListFindingTypeStats.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindingtypestats/AsyncListFindingTypeStats.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindingtypestats/AsyncListFindingTypeStats.java index cfcf7c07a43f..ebc052bed36f 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindingtypestats/AsyncListFindingTypeStats.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindingtypestats/AsyncListFindingTypeStats.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_listfindingtypestats_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_ListFindingTypeStats_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1.ListFindingTypeStatsRequest; import com.google.cloud.websecurityscanner.v1.ListFindingTypeStatsResponse; @@ -44,4 +44,4 @@ public static void asyncListFindingTypeStats() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_listfindingtypestats_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_ListFindingTypeStats_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStats.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindingtypestats/SyncListFindingTypeStats.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStats.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindingtypestats/SyncListFindingTypeStats.java index 851a879b73e5..c04e26d89011 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStats.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listfindingtypestats/SyncListFindingTypeStats.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_listfindingtypestats_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_ListFindingTypeStats_sync] import com.google.cloud.websecurityscanner.v1.ListFindingTypeStatsRequest; import com.google.cloud.websecurityscanner.v1.ListFindingTypeStatsResponse; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; @@ -41,4 +41,4 @@ public static void syncListFindingTypeStats() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_listfindingtypestats_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_ListFindingTypeStats_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanconfigs/AsyncListScanConfigs.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanconfigs/AsyncListScanConfigs.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanconfigs/AsyncListScanConfigs.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanconfigs/AsyncListScanConfigs.java index 32d26aaacfd1..c057c0dac70c 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanconfigs/AsyncListScanConfigs.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanconfigs/AsyncListScanConfigs.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_listscanconfigs_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_ListScanConfigs_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1.ListScanConfigsRequest; import com.google.cloud.websecurityscanner.v1.ScanConfig; @@ -50,4 +50,4 @@ public static void asyncListScanConfigs() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_listscanconfigs_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_ListScanConfigs_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanconfigs/AsyncListScanConfigsPaged.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanconfigs/AsyncListScanConfigsPaged.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanconfigs/AsyncListScanConfigsPaged.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanconfigs/AsyncListScanConfigsPaged.java index 040802823f8d..ffc92323af7c 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanconfigs/AsyncListScanConfigsPaged.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanconfigs/AsyncListScanConfigsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_listscanconfigs_paged_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_ListScanConfigs_Paged_async] import com.google.cloud.websecurityscanner.v1.ListScanConfigsRequest; import com.google.cloud.websecurityscanner.v1.ListScanConfigsResponse; import com.google.cloud.websecurityscanner.v1.ScanConfig; @@ -58,4 +58,4 @@ public static void asyncListScanConfigsPaged() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_listscanconfigs_paged_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_ListScanConfigs_Paged_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanconfigs/SyncListScanConfigs.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanconfigs/SyncListScanConfigs.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanconfigs/SyncListScanConfigs.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanconfigs/SyncListScanConfigs.java index 9b9f90816863..3a18ef34b992 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanconfigs/SyncListScanConfigs.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanconfigs/SyncListScanConfigs.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_listscanconfigs_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_ListScanConfigs_sync] import com.google.cloud.websecurityscanner.v1.ListScanConfigsRequest; import com.google.cloud.websecurityscanner.v1.ScanConfig; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; @@ -46,4 +46,4 @@ public static void syncListScanConfigs() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_listscanconfigs_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_ListScanConfigs_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanruns/AsyncListScanRuns.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanruns/AsyncListScanRuns.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanruns/AsyncListScanRuns.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanruns/AsyncListScanRuns.java index 3a0b637374b9..35af49dc4f4a 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanruns/AsyncListScanRuns.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanruns/AsyncListScanRuns.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_listscanruns_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_ListScanRuns_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1.ListScanRunsRequest; import com.google.cloud.websecurityscanner.v1.ScanRun; @@ -50,4 +50,4 @@ public static void asyncListScanRuns() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_listscanruns_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_ListScanRuns_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanruns/AsyncListScanRunsPaged.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanruns/AsyncListScanRunsPaged.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanruns/AsyncListScanRunsPaged.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanruns/AsyncListScanRunsPaged.java index 4fe370d02939..6544e437a3cf 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanruns/AsyncListScanRunsPaged.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanruns/AsyncListScanRunsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_listscanruns_paged_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_ListScanRuns_Paged_async] import com.google.cloud.websecurityscanner.v1.ListScanRunsRequest; import com.google.cloud.websecurityscanner.v1.ListScanRunsResponse; import com.google.cloud.websecurityscanner.v1.ScanRun; @@ -58,4 +58,4 @@ public static void asyncListScanRunsPaged() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_listscanruns_paged_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_ListScanRuns_Paged_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanruns/SyncListScanRuns.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanruns/SyncListScanRuns.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanruns/SyncListScanRuns.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanruns/SyncListScanRuns.java index 65baa2b6c615..d7e31bf9b670 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/listscanruns/SyncListScanRuns.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/listscanruns/SyncListScanRuns.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_listscanruns_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_ListScanRuns_sync] import com.google.cloud.websecurityscanner.v1.ListScanRunsRequest; import com.google.cloud.websecurityscanner.v1.ScanRun; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; @@ -46,4 +46,4 @@ public static void syncListScanRuns() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_listscanruns_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_ListScanRuns_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/startscanrun/AsyncStartScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/startscanrun/AsyncStartScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/startscanrun/AsyncStartScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/startscanrun/AsyncStartScanRun.java index 7711f2a1ed83..25e9bb956190 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/startscanrun/AsyncStartScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/startscanrun/AsyncStartScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_startscanrun_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_StartScanRun_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1.ScanRun; import com.google.cloud.websecurityscanner.v1.StartScanRunRequest; @@ -43,4 +43,4 @@ public static void asyncStartScanRun() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_startscanrun_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_StartScanRun_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/startscanrun/SyncStartScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/startscanrun/SyncStartScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/startscanrun/SyncStartScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/startscanrun/SyncStartScanRun.java index 1e5b33125a9d..bccf616aba96 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/startscanrun/SyncStartScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/startscanrun/SyncStartScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_startscanrun_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_StartScanRun_sync] import com.google.cloud.websecurityscanner.v1.ScanRun; import com.google.cloud.websecurityscanner.v1.StartScanRunRequest; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncStartScanRun() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_startscanrun_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_StartScanRun_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/stopscanrun/AsyncStopScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/stopscanrun/AsyncStopScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/stopscanrun/AsyncStopScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/stopscanrun/AsyncStopScanRun.java index f9ddbd00c6b1..69a1afbdd56c 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/stopscanrun/AsyncStopScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/stopscanrun/AsyncStopScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_stopscanrun_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_StopScanRun_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1.ScanRun; import com.google.cloud.websecurityscanner.v1.StopScanRunRequest; @@ -43,4 +43,4 @@ public static void asyncStopScanRun() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_stopscanrun_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_StopScanRun_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/stopscanrun/SyncStopScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/stopscanrun/SyncStopScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/stopscanrun/SyncStopScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/stopscanrun/SyncStopScanRun.java index f69fd4ec5240..242e75863133 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/stopscanrun/SyncStopScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/stopscanrun/SyncStopScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_stopscanrun_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_StopScanRun_sync] import com.google.cloud.websecurityscanner.v1.ScanRun; import com.google.cloud.websecurityscanner.v1.StopScanRunRequest; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncStopScanRun() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_stopscanrun_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_StopScanRun_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/updatescanconfig/AsyncUpdateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/updatescanconfig/AsyncUpdateScanConfig.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/updatescanconfig/AsyncUpdateScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/updatescanconfig/AsyncUpdateScanConfig.java index c1d5a6bdc643..943ab5416c49 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/updatescanconfig/AsyncUpdateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/updatescanconfig/AsyncUpdateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_updatescanconfig_async] +// [START websecurityscanner_v1_generated_WebSecurityScanner_UpdateScanConfig_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1.ScanConfig; import com.google.cloud.websecurityscanner.v1.UpdateScanConfigRequest; @@ -48,4 +48,4 @@ public static void asyncUpdateScanConfig() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_updatescanconfig_async] +// [END websecurityscanner_v1_generated_WebSecurityScanner_UpdateScanConfig_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/updatescanconfig/SyncUpdateScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/updatescanconfig/SyncUpdateScanConfig.java index 4e6afc5553c9..eeb02f7b3476 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscanner/updatescanconfig/SyncUpdateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannerclient_updatescanconfig_sync] +// [START websecurityscanner_v1_generated_WebSecurityScanner_UpdateScanConfig_sync] import com.google.cloud.websecurityscanner.v1.ScanConfig; import com.google.cloud.websecurityscanner.v1.UpdateScanConfigRequest; import com.google.cloud.websecurityscanner.v1.WebSecurityScannerClient; @@ -44,4 +44,4 @@ public static void syncUpdateScanConfig() throws Exception { } } } -// [END websecurityscanner_v1_generated_websecurityscannerclient_updatescanconfig_sync] +// [END websecurityscanner_v1_generated_WebSecurityScanner_UpdateScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannersettings/createscanconfig/SyncCreateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannersettings/createscanconfig/SyncCreateScanConfig.java index e20eead030cd..06c114be6735 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannersettings/createscanconfig/SyncCreateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1/websecurityscannersettings/createscanconfig/SyncCreateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1.samples; -// [START websecurityscanner_v1_generated_websecurityscannersettings_createscanconfig_sync] +// [START websecurityscanner_v1_generated_WebSecurityScannerSettings_CreateScanConfig_sync] import com.google.cloud.websecurityscanner.v1.WebSecurityScannerSettings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncCreateScanConfig() throws Exception { webSecurityScannerSettingsBuilder.build(); } } -// [END websecurityscanner_v1_generated_websecurityscannersettings_createscanconfig_sync] +// [END websecurityscanner_v1_generated_WebSecurityScannerSettings_CreateScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/stub/websecurityscannerstubsettings/createscanconfig/SyncCreateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/stub/websecurityscannerstubsettings/createscanconfig/SyncCreateScanConfig.java index d11142bde45e..29c051afb441 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/stub/websecurityscannerstubsettings/createscanconfig/SyncCreateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/stub/websecurityscannerstubsettings/createscanconfig/SyncCreateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.stub.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerstubsettings_createscanconfig_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScannerStubSettings_CreateScanConfig_sync] import com.google.cloud.websecurityscanner.v1alpha.stub.WebSecurityScannerStubSettings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncCreateScanConfig() throws Exception { webSecurityScannerSettingsBuilder.build(); } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerstubsettings_createscanconfig_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScannerStubSettings_CreateScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/create/SyncCreateSetCredentialsProvider.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/create/SyncCreateSetCredentialsProvider.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/create/SyncCreateSetCredentialsProvider.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/create/SyncCreateSetCredentialsProvider.java index 7019206958d8..c3c3bfeb89ca 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_create_setcredentialsprovider_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerSettings; @@ -42,4 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { WebSecurityScannerClient.create(webSecurityScannerSettings); } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_create_setcredentialsprovider_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_Create_SetCredentialsProvider_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/create/SyncCreateSetCredentialsProvider1.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/create/SyncCreateSetCredentialsProvider1.java similarity index 79% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/create/SyncCreateSetCredentialsProvider1.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/create/SyncCreateSetCredentialsProvider1.java index db26f1f5b4d7..68771b5181ad 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_create_setcredentialsprovider1_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_Create_SetCredentialsProvider1_sync] import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerSettings; @@ -33,12 +33,9 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { // - It may require specifying regional endpoints when creating the service client as shown in // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library WebSecurityScannerSettings webSecurityScannerSettings = - WebSecurityScannerSettings.newBuilder() - .setTransportChannelProvider( - WebSecurityScannerSettings.defaultHttpJsonTransportProviderBuilder().build()) - .build(); + WebSecurityScannerSettings.newHttpJsonBuilder().build(); WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create(webSecurityScannerSettings); } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_create_setcredentialsprovider1_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_Create_SetCredentialsProvider1_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/create/SyncCreateSetEndpoint.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/create/SyncCreateSetEndpoint.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/create/SyncCreateSetEndpoint.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/create/SyncCreateSetEndpoint.java index 7af22c1d2399..d6f885d4bc8d 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/create/SyncCreateSetEndpoint.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_create_setendpoint_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_Create_SetEndpoint_sync] import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerSettings; import com.google.cloud.websecurityscanner.v1alpha.myEndpoint; @@ -39,4 +39,4 @@ public static void syncCreateSetEndpoint() throws Exception { WebSecurityScannerClient.create(webSecurityScannerSettings); } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_create_setendpoint_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_Create_SetEndpoint_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/createscanconfig/AsyncCreateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/createscanconfig/AsyncCreateScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/createscanconfig/AsyncCreateScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/createscanconfig/AsyncCreateScanConfig.java index 727ec8a73ea6..b72bcfa16f47 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/createscanconfig/AsyncCreateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/createscanconfig/AsyncCreateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_createscanconfig_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_CreateScanConfig_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1alpha.CreateScanConfigRequest; import com.google.cloud.websecurityscanner.v1alpha.ProjectName; @@ -48,4 +48,4 @@ public static void asyncCreateScanConfig() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_createscanconfig_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_CreateScanConfig_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/createscanconfig/SyncCreateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/createscanconfig/SyncCreateScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/createscanconfig/SyncCreateScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/createscanconfig/SyncCreateScanConfig.java index a4c85d1c1c8a..29e3381f9ff6 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/createscanconfig/SyncCreateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/createscanconfig/SyncCreateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_createscanconfig_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_CreateScanConfig_sync] import com.google.cloud.websecurityscanner.v1alpha.CreateScanConfigRequest; import com.google.cloud.websecurityscanner.v1alpha.ProjectName; import com.google.cloud.websecurityscanner.v1alpha.ScanConfig; @@ -44,4 +44,4 @@ public static void syncCreateScanConfig() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_createscanconfig_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_CreateScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/createscanconfig/SyncCreateScanConfigProjectnameScanconfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/createscanconfig/SyncCreateScanConfigProjectnameScanconfig.java similarity index 88% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/createscanconfig/SyncCreateScanConfigProjectnameScanconfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/createscanconfig/SyncCreateScanConfigProjectnameScanconfig.java index 34b359bc81fb..c455444f91d6 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/createscanconfig/SyncCreateScanConfigProjectnameScanconfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/createscanconfig/SyncCreateScanConfigProjectnameScanconfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_createscanconfig_projectnamescanconfig_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_CreateScanConfig_ProjectnameScanconfig_sync] import com.google.cloud.websecurityscanner.v1alpha.ProjectName; import com.google.cloud.websecurityscanner.v1alpha.ScanConfig; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -40,4 +40,4 @@ public static void syncCreateScanConfigProjectnameScanconfig() throws Exception } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_createscanconfig_projectnamescanconfig_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_CreateScanConfig_ProjectnameScanconfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/createscanconfig/SyncCreateScanConfigStringScanconfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/createscanconfig/SyncCreateScanConfigStringScanconfig.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/createscanconfig/SyncCreateScanConfigStringScanconfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/createscanconfig/SyncCreateScanConfigStringScanconfig.java index cd7e4682f223..a7fca4a2c878 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/createscanconfig/SyncCreateScanConfigStringScanconfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/createscanconfig/SyncCreateScanConfigStringScanconfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_createscanconfig_stringscanconfig_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_CreateScanConfig_StringScanconfig_sync] import com.google.cloud.websecurityscanner.v1alpha.ProjectName; import com.google.cloud.websecurityscanner.v1alpha.ScanConfig; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -40,4 +40,4 @@ public static void syncCreateScanConfigStringScanconfig() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_createscanconfig_stringscanconfig_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_CreateScanConfig_StringScanconfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/deletescanconfig/AsyncDeleteScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/deletescanconfig/AsyncDeleteScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/deletescanconfig/AsyncDeleteScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/deletescanconfig/AsyncDeleteScanConfig.java index 8c4fd2afab61..1e4aab359d1a 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/deletescanconfig/AsyncDeleteScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/deletescanconfig/AsyncDeleteScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_deletescanconfig_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_DeleteScanConfig_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1alpha.DeleteScanConfigRequest; import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; @@ -47,4 +47,4 @@ public static void asyncDeleteScanConfig() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_deletescanconfig_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_DeleteScanConfig_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/deletescanconfig/SyncDeleteScanConfig.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/deletescanconfig/SyncDeleteScanConfig.java index 1947e5c5d82e..25da5f9fe05a 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/deletescanconfig/SyncDeleteScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_deletescanconfig_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_DeleteScanConfig_sync] import com.google.cloud.websecurityscanner.v1alpha.DeleteScanConfigRequest; import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -43,4 +43,4 @@ public static void syncDeleteScanConfig() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_deletescanconfig_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_DeleteScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfigScanconfigname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/deletescanconfig/SyncDeleteScanConfigScanconfigname.java similarity index 88% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfigScanconfigname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/deletescanconfig/SyncDeleteScanConfigScanconfigname.java index d5967bcc0785..b272b23c1eff 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfigScanconfigname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/deletescanconfig/SyncDeleteScanConfigScanconfigname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_deletescanconfig_scanconfigname_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_DeleteScanConfig_Scanconfigname_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteScanConfigScanconfigname() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_deletescanconfig_scanconfigname_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_DeleteScanConfig_Scanconfigname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfigString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/deletescanconfig/SyncDeleteScanConfigString.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfigString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/deletescanconfig/SyncDeleteScanConfigString.java index 0414c1e6aaba..bed8fc384fb8 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfigString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/deletescanconfig/SyncDeleteScanConfigString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_deletescanconfig_string_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_DeleteScanConfig_String_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteScanConfigString() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_deletescanconfig_string_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_DeleteScanConfig_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getfinding/AsyncGetFinding.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getfinding/AsyncGetFinding.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getfinding/AsyncGetFinding.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getfinding/AsyncGetFinding.java index 62daf3272545..1a0e17ce2837 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getfinding/AsyncGetFinding.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getfinding/AsyncGetFinding.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_getfinding_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_GetFinding_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1alpha.Finding; import com.google.cloud.websecurityscanner.v1alpha.FindingName; @@ -48,4 +48,4 @@ public static void asyncGetFinding() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_getfinding_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_GetFinding_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getfinding/SyncGetFinding.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getfinding/SyncGetFinding.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getfinding/SyncGetFinding.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getfinding/SyncGetFinding.java index ee6f47f9b074..b69d5f56dadc 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getfinding/SyncGetFinding.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getfinding/SyncGetFinding.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_getfinding_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_GetFinding_sync] import com.google.cloud.websecurityscanner.v1alpha.Finding; import com.google.cloud.websecurityscanner.v1alpha.FindingName; import com.google.cloud.websecurityscanner.v1alpha.GetFindingRequest; @@ -45,4 +45,4 @@ public static void syncGetFinding() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_getfinding_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_GetFinding_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getfinding/SyncGetFindingFindingname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getfinding/SyncGetFindingFindingname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getfinding/SyncGetFindingFindingname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getfinding/SyncGetFindingFindingname.java index 42d831e5927b..2ddcd40582d8 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getfinding/SyncGetFindingFindingname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getfinding/SyncGetFindingFindingname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_getfinding_findingname_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_GetFinding_Findingname_sync] import com.google.cloud.websecurityscanner.v1alpha.Finding; import com.google.cloud.websecurityscanner.v1alpha.FindingName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncGetFindingFindingname() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_getfinding_findingname_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_GetFinding_Findingname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getfinding/SyncGetFindingString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getfinding/SyncGetFindingString.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getfinding/SyncGetFindingString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getfinding/SyncGetFindingString.java index a1f432b98776..c73a539d4ceb 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getfinding/SyncGetFindingString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getfinding/SyncGetFindingString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_getfinding_string_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_GetFinding_String_sync] import com.google.cloud.websecurityscanner.v1alpha.Finding; import com.google.cloud.websecurityscanner.v1alpha.FindingName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -40,4 +40,4 @@ public static void syncGetFindingString() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_getfinding_string_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_GetFinding_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanconfig/AsyncGetScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanconfig/AsyncGetScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanconfig/AsyncGetScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanconfig/AsyncGetScanConfig.java index 305ccbeb206e..0b9728c1cffd 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanconfig/AsyncGetScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanconfig/AsyncGetScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanconfig_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanConfig_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1alpha.GetScanConfigRequest; import com.google.cloud.websecurityscanner.v1alpha.ScanConfig; @@ -47,4 +47,4 @@ public static void asyncGetScanConfig() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanconfig_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanConfig_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanconfig/SyncGetScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanconfig/SyncGetScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanconfig/SyncGetScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanconfig/SyncGetScanConfig.java index 5002e6519bfa..3007c3583e52 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanconfig/SyncGetScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanconfig/SyncGetScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanconfig_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanConfig_sync] import com.google.cloud.websecurityscanner.v1alpha.GetScanConfigRequest; import com.google.cloud.websecurityscanner.v1alpha.ScanConfig; import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; @@ -43,4 +43,4 @@ public static void syncGetScanConfig() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanconfig_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanconfig/SyncGetScanConfigScanconfigname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanconfig/SyncGetScanConfigScanconfigname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanconfig/SyncGetScanConfigScanconfigname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanconfig/SyncGetScanConfigScanconfigname.java index 576ec8358f8b..b6cc6f368155 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanconfig/SyncGetScanConfigScanconfigname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanconfig/SyncGetScanConfigScanconfigname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanconfig_scanconfigname_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanConfig_Scanconfigname_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanConfig; import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncGetScanConfigScanconfigname() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanconfig_scanconfigname_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanConfig_Scanconfigname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanconfig/SyncGetScanConfigString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanconfig/SyncGetScanConfigString.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanconfig/SyncGetScanConfigString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanconfig/SyncGetScanConfigString.java index 58893aaf434f..c8f9700b1a80 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanconfig/SyncGetScanConfigString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanconfig/SyncGetScanConfigString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanconfig_string_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanConfig_String_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanConfig; import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncGetScanConfigString() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanconfig_string_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanConfig_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanrun/AsyncGetScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanrun/AsyncGetScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanrun/AsyncGetScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanrun/AsyncGetScanRun.java index 4b3128eafbaa..0a313139abef 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanrun/AsyncGetScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanrun/AsyncGetScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanrun_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanRun_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1alpha.GetScanRunRequest; import com.google.cloud.websecurityscanner.v1alpha.ScanRun; @@ -46,4 +46,4 @@ public static void asyncGetScanRun() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanrun_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanRun_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanrun/SyncGetScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanrun/SyncGetScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanrun/SyncGetScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanrun/SyncGetScanRun.java index f008a4f97a8e..547712abfe8f 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanrun/SyncGetScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanrun/SyncGetScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanrun_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanRun_sync] import com.google.cloud.websecurityscanner.v1alpha.GetScanRunRequest; import com.google.cloud.websecurityscanner.v1alpha.ScanRun; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; @@ -43,4 +43,4 @@ public static void syncGetScanRun() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanrun_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanRun_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanrun/SyncGetScanRunScanrunname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanrun/SyncGetScanRunScanrunname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanrun/SyncGetScanRunScanrunname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanrun/SyncGetScanRunScanrunname.java index b648e9edbdd3..8360655fd029 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanrun/SyncGetScanRunScanrunname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanrun/SyncGetScanRunScanrunname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanrun_scanrunname_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanRun_Scanrunname_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanRun; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncGetScanRunScanrunname() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanrun_scanrunname_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanRun_Scanrunname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanrun/SyncGetScanRunString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanrun/SyncGetScanRunString.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanrun/SyncGetScanRunString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanrun/SyncGetScanRunString.java index 7818875a310d..d7aab73386d0 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/getscanrun/SyncGetScanRunString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/getscanrun/SyncGetScanRunString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanrun_string_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanRun_String_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanRun; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncGetScanRunString() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_getscanrun_string_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_GetScanRun_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrls.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/AsyncListCrawledUrls.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrls.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/AsyncListCrawledUrls.java index 2a8da9c91dfa..448ddb2289b6 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrls.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/AsyncListCrawledUrls.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listcrawledurls_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListCrawledUrls_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1alpha.CrawledUrl; import com.google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsRequest; @@ -51,4 +51,4 @@ public static void asyncListCrawledUrls() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listcrawledurls_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListCrawledUrls_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrlsPaged.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/AsyncListCrawledUrlsPaged.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrlsPaged.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/AsyncListCrawledUrlsPaged.java index a05a94dce9d6..9aba6097d814 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrlsPaged.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/AsyncListCrawledUrlsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listcrawledurls_paged_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListCrawledUrls_Paged_async] import com.google.cloud.websecurityscanner.v1alpha.CrawledUrl; import com.google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsRequest; import com.google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsResponse; @@ -59,4 +59,4 @@ public static void asyncListCrawledUrlsPaged() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listcrawledurls_paged_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListCrawledUrls_Paged_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/SyncListCrawledUrls.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/SyncListCrawledUrls.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/SyncListCrawledUrls.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/SyncListCrawledUrls.java index 641e3ce4f678..be2dc43f8dcf 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/SyncListCrawledUrls.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/SyncListCrawledUrls.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listcrawledurls_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListCrawledUrls_sync] import com.google.cloud.websecurityscanner.v1alpha.CrawledUrl; import com.google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsRequest; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; @@ -47,4 +47,4 @@ public static void syncListCrawledUrls() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listcrawledurls_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListCrawledUrls_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/SyncListCrawledUrlsScanrunname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/SyncListCrawledUrlsScanrunname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/SyncListCrawledUrlsScanrunname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/SyncListCrawledUrlsScanrunname.java index 4aeab8658548..b1796b2902a1 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/SyncListCrawledUrlsScanrunname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/SyncListCrawledUrlsScanrunname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listcrawledurls_scanrunname_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListCrawledUrls_Scanrunname_sync] import com.google.cloud.websecurityscanner.v1alpha.CrawledUrl; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -41,4 +41,4 @@ public static void syncListCrawledUrlsScanrunname() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listcrawledurls_scanrunname_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListCrawledUrls_Scanrunname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/SyncListCrawledUrlsString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/SyncListCrawledUrlsString.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/SyncListCrawledUrlsString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/SyncListCrawledUrlsString.java index 0b73c9a7f1c3..a6f5f2c19fda 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listcrawledurls/SyncListCrawledUrlsString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listcrawledurls/SyncListCrawledUrlsString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listcrawledurls_string_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListCrawledUrls_String_sync] import com.google.cloud.websecurityscanner.v1alpha.CrawledUrl; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -41,4 +41,4 @@ public static void syncListCrawledUrlsString() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listcrawledurls_string_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListCrawledUrls_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/AsyncListFindings.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/AsyncListFindings.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/AsyncListFindings.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/AsyncListFindings.java index 94614bab8789..a1818c0df2a9 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/AsyncListFindings.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/AsyncListFindings.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindings_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindings_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1alpha.Finding; import com.google.cloud.websecurityscanner.v1alpha.ListFindingsRequest; @@ -52,4 +52,4 @@ public static void asyncListFindings() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindings_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindings_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/AsyncListFindingsPaged.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/AsyncListFindingsPaged.java similarity index 93% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/AsyncListFindingsPaged.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/AsyncListFindingsPaged.java index 66b5fd5dfe8a..b1042a7bf2aa 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/AsyncListFindingsPaged.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/AsyncListFindingsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindings_paged_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindings_Paged_async] import com.google.cloud.websecurityscanner.v1alpha.Finding; import com.google.cloud.websecurityscanner.v1alpha.ListFindingsRequest; import com.google.cloud.websecurityscanner.v1alpha.ListFindingsResponse; @@ -60,4 +60,4 @@ public static void asyncListFindingsPaged() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindings_paged_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindings_Paged_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/SyncListFindings.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/SyncListFindings.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/SyncListFindings.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/SyncListFindings.java index 3e707a4afddc..82fa195c6133 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/SyncListFindings.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/SyncListFindings.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindings_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindings_sync] import com.google.cloud.websecurityscanner.v1alpha.Finding; import com.google.cloud.websecurityscanner.v1alpha.ListFindingsRequest; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; @@ -48,4 +48,4 @@ public static void syncListFindings() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindings_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindings_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/SyncListFindingsScanrunnameString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/SyncListFindingsScanrunnameString.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/SyncListFindingsScanrunnameString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/SyncListFindingsScanrunnameString.java index eef02f68aa0d..9a97744e433c 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/SyncListFindingsScanrunnameString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/SyncListFindingsScanrunnameString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindings_scanrunnamestring_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindings_ScanrunnameString_sync] import com.google.cloud.websecurityscanner.v1alpha.Finding; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -42,4 +42,4 @@ public static void syncListFindingsScanrunnameString() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindings_scanrunnamestring_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindings_ScanrunnameString_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/SyncListFindingsStringString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/SyncListFindingsStringString.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/SyncListFindingsStringString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/SyncListFindingsStringString.java index 974cfe51fee9..c8d803cf6e14 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindings/SyncListFindingsStringString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindings/SyncListFindingsStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindings_stringstring_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindings_StringString_sync] import com.google.cloud.websecurityscanner.v1alpha.Finding; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -42,4 +42,4 @@ public static void syncListFindingsStringString() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindings_stringstring_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindings_StringString_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindingtypestats/AsyncListFindingTypeStats.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindingtypestats/AsyncListFindingTypeStats.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindingtypestats/AsyncListFindingTypeStats.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindingtypestats/AsyncListFindingTypeStats.java index bd4a491c67b9..84f4a8c9204e 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindingtypestats/AsyncListFindingTypeStats.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindingtypestats/AsyncListFindingTypeStats.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindingtypestats_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindingTypeStats_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsRequest; import com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsResponse; @@ -47,4 +47,4 @@ public static void asyncListFindingTypeStats() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindingtypestats_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindingTypeStats_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStats.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindingtypestats/SyncListFindingTypeStats.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStats.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindingtypestats/SyncListFindingTypeStats.java index 149648c850fc..6b332f8310b4 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStats.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindingtypestats/SyncListFindingTypeStats.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindingtypestats_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindingTypeStats_sync] import com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsRequest; import com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsResponse; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; @@ -44,4 +44,4 @@ public static void syncListFindingTypeStats() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindingtypestats_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindingTypeStats_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStatsScanrunname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindingtypestats/SyncListFindingTypeStatsScanrunname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStatsScanrunname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindingtypestats/SyncListFindingTypeStatsScanrunname.java index 8a4929d35573..831cee9a3422 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStatsScanrunname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindingtypestats/SyncListFindingTypeStatsScanrunname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindingtypestats_scanrunname_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindingTypeStats_Scanrunname_sync] import com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsResponse; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncListFindingTypeStatsScanrunname() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindingtypestats_scanrunname_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindingTypeStats_Scanrunname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStatsString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindingtypestats/SyncListFindingTypeStatsString.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStatsString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindingtypestats/SyncListFindingTypeStatsString.java index 8de69a539144..7825c86bb1d0 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStatsString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listfindingtypestats/SyncListFindingTypeStatsString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindingtypestats_string_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindingTypeStats_String_sync] import com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsResponse; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncListFindingTypeStatsString() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listfindingtypestats_string_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListFindingTypeStats_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/AsyncListScanConfigs.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/AsyncListScanConfigs.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/AsyncListScanConfigs.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/AsyncListScanConfigs.java index a30654acbfdc..2d32142208c5 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/AsyncListScanConfigs.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/AsyncListScanConfigs.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanconfigs_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanConfigs_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1alpha.ListScanConfigsRequest; import com.google.cloud.websecurityscanner.v1alpha.ProjectName; @@ -51,4 +51,4 @@ public static void asyncListScanConfigs() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanconfigs_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanConfigs_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/AsyncListScanConfigsPaged.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/AsyncListScanConfigsPaged.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/AsyncListScanConfigsPaged.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/AsyncListScanConfigsPaged.java index c2be7ab32bf7..336011fee414 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/AsyncListScanConfigsPaged.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/AsyncListScanConfigsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanconfigs_paged_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanConfigs_Paged_async] import com.google.cloud.websecurityscanner.v1alpha.ListScanConfigsRequest; import com.google.cloud.websecurityscanner.v1alpha.ListScanConfigsResponse; import com.google.cloud.websecurityscanner.v1alpha.ProjectName; @@ -59,4 +59,4 @@ public static void asyncListScanConfigsPaged() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanconfigs_paged_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanConfigs_Paged_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/SyncListScanConfigs.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/SyncListScanConfigs.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/SyncListScanConfigs.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/SyncListScanConfigs.java index 58979eaf6b6d..04f3eb766f64 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/SyncListScanConfigs.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/SyncListScanConfigs.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanconfigs_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanConfigs_sync] import com.google.cloud.websecurityscanner.v1alpha.ListScanConfigsRequest; import com.google.cloud.websecurityscanner.v1alpha.ProjectName; import com.google.cloud.websecurityscanner.v1alpha.ScanConfig; @@ -47,4 +47,4 @@ public static void syncListScanConfigs() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanconfigs_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanConfigs_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/SyncListScanConfigsProjectname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/SyncListScanConfigsProjectname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/SyncListScanConfigsProjectname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/SyncListScanConfigsProjectname.java index e5c74c175b00..4e8fab2f37b7 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/SyncListScanConfigsProjectname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/SyncListScanConfigsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanconfigs_projectname_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanConfigs_Projectname_sync] import com.google.cloud.websecurityscanner.v1alpha.ProjectName; import com.google.cloud.websecurityscanner.v1alpha.ScanConfig; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -41,4 +41,4 @@ public static void syncListScanConfigsProjectname() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanconfigs_projectname_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanConfigs_Projectname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/SyncListScanConfigsString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/SyncListScanConfigsString.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/SyncListScanConfigsString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/SyncListScanConfigsString.java index 6aa157dfe93d..de63f022ec72 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanconfigs/SyncListScanConfigsString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanconfigs/SyncListScanConfigsString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanconfigs_string_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanConfigs_String_sync] import com.google.cloud.websecurityscanner.v1alpha.ProjectName; import com.google.cloud.websecurityscanner.v1alpha.ScanConfig; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -41,4 +41,4 @@ public static void syncListScanConfigsString() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanconfigs_string_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanConfigs_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/AsyncListScanRuns.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/AsyncListScanRuns.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/AsyncListScanRuns.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/AsyncListScanRuns.java index 35a4c74f34f6..54cf931dc88d 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/AsyncListScanRuns.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/AsyncListScanRuns.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanruns_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanRuns_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1alpha.ListScanRunsRequest; import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; @@ -51,4 +51,4 @@ public static void asyncListScanRuns() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanruns_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanRuns_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/AsyncListScanRunsPaged.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/AsyncListScanRunsPaged.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/AsyncListScanRunsPaged.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/AsyncListScanRunsPaged.java index f53278a6120c..622c544e4a8f 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/AsyncListScanRunsPaged.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/AsyncListScanRunsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanruns_paged_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanRuns_Paged_async] import com.google.cloud.websecurityscanner.v1alpha.ListScanRunsRequest; import com.google.cloud.websecurityscanner.v1alpha.ListScanRunsResponse; import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; @@ -59,4 +59,4 @@ public static void asyncListScanRunsPaged() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanruns_paged_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanRuns_Paged_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/SyncListScanRuns.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/SyncListScanRuns.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/SyncListScanRuns.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/SyncListScanRuns.java index 6e1c6fe95999..f0727380568c 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/SyncListScanRuns.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/SyncListScanRuns.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanruns_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanRuns_sync] import com.google.cloud.websecurityscanner.v1alpha.ListScanRunsRequest; import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; import com.google.cloud.websecurityscanner.v1alpha.ScanRun; @@ -47,4 +47,4 @@ public static void syncListScanRuns() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanruns_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanRuns_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/SyncListScanRunsScanconfigname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/SyncListScanRunsScanconfigname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/SyncListScanRunsScanconfigname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/SyncListScanRunsScanconfigname.java index b51e29b752b6..bf6fa8065bdc 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/SyncListScanRunsScanconfigname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/SyncListScanRunsScanconfigname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanruns_scanconfigname_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanRuns_Scanconfigname_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; import com.google.cloud.websecurityscanner.v1alpha.ScanRun; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -41,4 +41,4 @@ public static void syncListScanRunsScanconfigname() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanruns_scanconfigname_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanRuns_Scanconfigname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/SyncListScanRunsString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/SyncListScanRunsString.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/SyncListScanRunsString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/SyncListScanRunsString.java index 6dae71b383fa..e1f21dc55765 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/listscanruns/SyncListScanRunsString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/listscanruns/SyncListScanRunsString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanruns_string_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanRuns_String_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; import com.google.cloud.websecurityscanner.v1alpha.ScanRun; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -41,4 +41,4 @@ public static void syncListScanRunsString() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_listscanruns_string_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_ListScanRuns_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/startscanrun/AsyncStartScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/startscanrun/AsyncStartScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/startscanrun/AsyncStartScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/startscanrun/AsyncStartScanRun.java index a52d29021318..80e2a5fb2ab1 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/startscanrun/AsyncStartScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/startscanrun/AsyncStartScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_startscanrun_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_StartScanRun_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; import com.google.cloud.websecurityscanner.v1alpha.ScanRun; @@ -47,4 +47,4 @@ public static void asyncStartScanRun() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_startscanrun_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_StartScanRun_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/startscanrun/SyncStartScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/startscanrun/SyncStartScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/startscanrun/SyncStartScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/startscanrun/SyncStartScanRun.java index 557224195889..4572d019a8ad 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/startscanrun/SyncStartScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/startscanrun/SyncStartScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_startscanrun_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_StartScanRun_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; import com.google.cloud.websecurityscanner.v1alpha.ScanRun; import com.google.cloud.websecurityscanner.v1alpha.StartScanRunRequest; @@ -43,4 +43,4 @@ public static void syncStartScanRun() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_startscanrun_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_StartScanRun_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/startscanrun/SyncStartScanRunScanconfigname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/startscanrun/SyncStartScanRunScanconfigname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/startscanrun/SyncStartScanRunScanconfigname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/startscanrun/SyncStartScanRunScanconfigname.java index 66ec2a30d2bb..63ceab1f4a3f 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/startscanrun/SyncStartScanRunScanconfigname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/startscanrun/SyncStartScanRunScanconfigname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_startscanrun_scanconfigname_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_StartScanRun_Scanconfigname_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; import com.google.cloud.websecurityscanner.v1alpha.ScanRun; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncStartScanRunScanconfigname() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_startscanrun_scanconfigname_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_StartScanRun_Scanconfigname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/startscanrun/SyncStartScanRunString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/startscanrun/SyncStartScanRunString.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/startscanrun/SyncStartScanRunString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/startscanrun/SyncStartScanRunString.java index 6aea3c66f728..56f9ec613296 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/startscanrun/SyncStartScanRunString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/startscanrun/SyncStartScanRunString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_startscanrun_string_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_StartScanRun_String_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanConfigName; import com.google.cloud.websecurityscanner.v1alpha.ScanRun; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncStartScanRunString() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_startscanrun_string_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_StartScanRun_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/stopscanrun/AsyncStopScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/stopscanrun/AsyncStopScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/stopscanrun/AsyncStopScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/stopscanrun/AsyncStopScanRun.java index 387b05c9a462..f4ef84f8230f 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/stopscanrun/AsyncStopScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/stopscanrun/AsyncStopScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_stopscanrun_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_StopScanRun_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1alpha.ScanRun; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; @@ -47,4 +47,4 @@ public static void asyncStopScanRun() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_stopscanrun_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_StopScanRun_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/stopscanrun/SyncStopScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/stopscanrun/SyncStopScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/stopscanrun/SyncStopScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/stopscanrun/SyncStopScanRun.java index 17e55207542e..d3aa96ce6b5b 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/stopscanrun/SyncStopScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/stopscanrun/SyncStopScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_stopscanrun_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_StopScanRun_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanRun; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; import com.google.cloud.websecurityscanner.v1alpha.StopScanRunRequest; @@ -43,4 +43,4 @@ public static void syncStopScanRun() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_stopscanrun_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_StopScanRun_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/stopscanrun/SyncStopScanRunScanrunname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/stopscanrun/SyncStopScanRunScanrunname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/stopscanrun/SyncStopScanRunScanrunname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/stopscanrun/SyncStopScanRunScanrunname.java index 28f0b267e829..bf055b8b1d33 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/stopscanrun/SyncStopScanRunScanrunname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/stopscanrun/SyncStopScanRunScanrunname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_stopscanrun_scanrunname_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_StopScanRun_Scanrunname_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanRun; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncStopScanRunScanrunname() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_stopscanrun_scanrunname_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_StopScanRun_Scanrunname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/stopscanrun/SyncStopScanRunString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/stopscanrun/SyncStopScanRunString.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/stopscanrun/SyncStopScanRunString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/stopscanrun/SyncStopScanRunString.java index 59e05185ae4e..e365d7b3df72 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/stopscanrun/SyncStopScanRunString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/stopscanrun/SyncStopScanRunString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_stopscanrun_string_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_StopScanRun_String_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanRun; import com.google.cloud.websecurityscanner.v1alpha.ScanRunName; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncStopScanRunString() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_stopscanrun_string_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_StopScanRun_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/updatescanconfig/AsyncUpdateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/updatescanconfig/AsyncUpdateScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/updatescanconfig/AsyncUpdateScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/updatescanconfig/AsyncUpdateScanConfig.java index e4b9f39ee0f1..c6910f9e7b6b 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/updatescanconfig/AsyncUpdateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/updatescanconfig/AsyncUpdateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_updatescanconfig_async] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_UpdateScanConfig_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1alpha.ScanConfig; import com.google.cloud.websecurityscanner.v1alpha.UpdateScanConfigRequest; @@ -48,4 +48,4 @@ public static void asyncUpdateScanConfig() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_updatescanconfig_async] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_UpdateScanConfig_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/updatescanconfig/SyncUpdateScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/updatescanconfig/SyncUpdateScanConfig.java index e6de0264c31d..334fa8de39ba 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/updatescanconfig/SyncUpdateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_updatescanconfig_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_UpdateScanConfig_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanConfig; import com.google.cloud.websecurityscanner.v1alpha.UpdateScanConfigRequest; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; @@ -44,4 +44,4 @@ public static void syncUpdateScanConfig() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_updatescanconfig_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_UpdateScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfigScanconfigFieldmask.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/updatescanconfig/SyncUpdateScanConfigScanconfigFieldmask.java similarity index 88% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfigScanconfigFieldmask.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/updatescanconfig/SyncUpdateScanConfigScanconfigFieldmask.java index 2f70212e5589..ab77554872ee 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfigScanconfigFieldmask.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscanner/updatescanconfig/SyncUpdateScanConfigScanconfigFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannerclient_updatescanconfig_scanconfigfieldmask_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScanner_UpdateScanConfig_ScanconfigFieldmask_sync] import com.google.cloud.websecurityscanner.v1alpha.ScanConfig; import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient; import com.google.protobuf.FieldMask; @@ -40,4 +40,4 @@ public static void syncUpdateScanConfigScanconfigFieldmask() throws Exception { } } } -// [END websecurityscanner_v1alpha_generated_websecurityscannerclient_updatescanconfig_scanconfigfieldmask_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScanner_UpdateScanConfig_ScanconfigFieldmask_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannersettings/createscanconfig/SyncCreateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannersettings/createscanconfig/SyncCreateScanConfig.java index a109ebc67706..e6ca76f9cb3d 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannersettings/createscanconfig/SyncCreateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1alpha/websecurityscannersettings/createscanconfig/SyncCreateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1alpha.samples; -// [START websecurityscanner_v1alpha_generated_websecurityscannersettings_createscanconfig_sync] +// [START websecurityscanner_v1alpha_generated_WebSecurityScannerSettings_CreateScanConfig_sync] import com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerSettings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncCreateScanConfig() throws Exception { webSecurityScannerSettingsBuilder.build(); } } -// [END websecurityscanner_v1alpha_generated_websecurityscannersettings_createscanconfig_sync] +// [END websecurityscanner_v1alpha_generated_WebSecurityScannerSettings_CreateScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/stub/websecurityscannerstubsettings/createscanconfig/SyncCreateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/stub/websecurityscannerstubsettings/createscanconfig/SyncCreateScanConfig.java index b8eb07c197b4..fb2cc1ad3516 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/stub/websecurityscannerstubsettings/createscanconfig/SyncCreateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/stub/websecurityscannerstubsettings/createscanconfig/SyncCreateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.stub.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerstubsettings_createscanconfig_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScannerStubSettings_CreateScanConfig_sync] import com.google.cloud.websecurityscanner.v1beta.stub.WebSecurityScannerStubSettings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncCreateScanConfig() throws Exception { webSecurityScannerSettingsBuilder.build(); } } -// [END websecurityscanner_v1beta_generated_websecurityscannerstubsettings_createscanconfig_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScannerStubSettings_CreateScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/create/SyncCreateSetCredentialsProvider.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/create/SyncCreateSetCredentialsProvider.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/create/SyncCreateSetCredentialsProvider.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/create/SyncCreateSetCredentialsProvider.java index 2bf1751880db..dc30dd8549ff 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_create_setcredentialsprovider_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerSettings; @@ -42,4 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { WebSecurityScannerClient.create(webSecurityScannerSettings); } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_create_setcredentialsprovider_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_Create_SetCredentialsProvider_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/create/SyncCreateSetCredentialsProvider1.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/create/SyncCreateSetCredentialsProvider1.java similarity index 79% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/create/SyncCreateSetCredentialsProvider1.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/create/SyncCreateSetCredentialsProvider1.java index 53a9f6e6571e..5efdb5c70459 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_create_setcredentialsprovider1_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_Create_SetCredentialsProvider1_sync] import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerSettings; @@ -33,12 +33,9 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { // - It may require specifying regional endpoints when creating the service client as shown in // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library WebSecurityScannerSettings webSecurityScannerSettings = - WebSecurityScannerSettings.newBuilder() - .setTransportChannelProvider( - WebSecurityScannerSettings.defaultHttpJsonTransportProviderBuilder().build()) - .build(); + WebSecurityScannerSettings.newHttpJsonBuilder().build(); WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create(webSecurityScannerSettings); } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_create_setcredentialsprovider1_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_Create_SetCredentialsProvider1_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/create/SyncCreateSetEndpoint.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/create/SyncCreateSetEndpoint.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/create/SyncCreateSetEndpoint.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/create/SyncCreateSetEndpoint.java index 5625ec1dcd9c..61942c9fc6e2 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/create/SyncCreateSetEndpoint.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_create_setendpoint_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_Create_SetEndpoint_sync] import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerSettings; import com.google.cloud.websecurityscanner.v1beta.myEndpoint; @@ -39,4 +39,4 @@ public static void syncCreateSetEndpoint() throws Exception { WebSecurityScannerClient.create(webSecurityScannerSettings); } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_create_setendpoint_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_Create_SetEndpoint_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/createscanconfig/AsyncCreateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/createscanconfig/AsyncCreateScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/createscanconfig/AsyncCreateScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/createscanconfig/AsyncCreateScanConfig.java index 0ebf6b61cf23..6ce3fec57f02 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/createscanconfig/AsyncCreateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/createscanconfig/AsyncCreateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_createscanconfig_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_CreateScanConfig_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1beta.CreateScanConfigRequest; import com.google.cloud.websecurityscanner.v1beta.ProjectName; @@ -48,4 +48,4 @@ public static void asyncCreateScanConfig() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_createscanconfig_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_CreateScanConfig_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/createscanconfig/SyncCreateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/createscanconfig/SyncCreateScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/createscanconfig/SyncCreateScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/createscanconfig/SyncCreateScanConfig.java index 09564644ac3c..733f672aae07 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/createscanconfig/SyncCreateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/createscanconfig/SyncCreateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_createscanconfig_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_CreateScanConfig_sync] import com.google.cloud.websecurityscanner.v1beta.CreateScanConfigRequest; import com.google.cloud.websecurityscanner.v1beta.ProjectName; import com.google.cloud.websecurityscanner.v1beta.ScanConfig; @@ -44,4 +44,4 @@ public static void syncCreateScanConfig() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_createscanconfig_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_CreateScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/createscanconfig/SyncCreateScanConfigProjectnameScanconfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/createscanconfig/SyncCreateScanConfigProjectnameScanconfig.java similarity index 88% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/createscanconfig/SyncCreateScanConfigProjectnameScanconfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/createscanconfig/SyncCreateScanConfigProjectnameScanconfig.java index 09443a85f1d2..40b657135275 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/createscanconfig/SyncCreateScanConfigProjectnameScanconfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/createscanconfig/SyncCreateScanConfigProjectnameScanconfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_createscanconfig_projectnamescanconfig_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_CreateScanConfig_ProjectnameScanconfig_sync] import com.google.cloud.websecurityscanner.v1beta.ProjectName; import com.google.cloud.websecurityscanner.v1beta.ScanConfig; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -40,4 +40,4 @@ public static void syncCreateScanConfigProjectnameScanconfig() throws Exception } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_createscanconfig_projectnamescanconfig_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_CreateScanConfig_ProjectnameScanconfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/createscanconfig/SyncCreateScanConfigStringScanconfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/createscanconfig/SyncCreateScanConfigStringScanconfig.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/createscanconfig/SyncCreateScanConfigStringScanconfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/createscanconfig/SyncCreateScanConfigStringScanconfig.java index f2cbabe64b8e..c146550edd95 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/createscanconfig/SyncCreateScanConfigStringScanconfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/createscanconfig/SyncCreateScanConfigStringScanconfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_createscanconfig_stringscanconfig_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_CreateScanConfig_StringScanconfig_sync] import com.google.cloud.websecurityscanner.v1beta.ProjectName; import com.google.cloud.websecurityscanner.v1beta.ScanConfig; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -40,4 +40,4 @@ public static void syncCreateScanConfigStringScanconfig() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_createscanconfig_stringscanconfig_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_CreateScanConfig_StringScanconfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/deletescanconfig/AsyncDeleteScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/deletescanconfig/AsyncDeleteScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/deletescanconfig/AsyncDeleteScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/deletescanconfig/AsyncDeleteScanConfig.java index b95137d926b0..bebf01009616 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/deletescanconfig/AsyncDeleteScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/deletescanconfig/AsyncDeleteScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_deletescanconfig_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_DeleteScanConfig_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1beta.DeleteScanConfigRequest; import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; @@ -47,4 +47,4 @@ public static void asyncDeleteScanConfig() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_deletescanconfig_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_DeleteScanConfig_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/deletescanconfig/SyncDeleteScanConfig.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/deletescanconfig/SyncDeleteScanConfig.java index 41dd0f35552e..105d50ed4a64 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/deletescanconfig/SyncDeleteScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_deletescanconfig_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_DeleteScanConfig_sync] import com.google.cloud.websecurityscanner.v1beta.DeleteScanConfigRequest; import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -43,4 +43,4 @@ public static void syncDeleteScanConfig() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_deletescanconfig_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_DeleteScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfigScanconfigname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/deletescanconfig/SyncDeleteScanConfigScanconfigname.java similarity index 88% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfigScanconfigname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/deletescanconfig/SyncDeleteScanConfigScanconfigname.java index ba78e857d633..fabb6f4bb9e1 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfigScanconfigname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/deletescanconfig/SyncDeleteScanConfigScanconfigname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_deletescanconfig_scanconfigname_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_DeleteScanConfig_Scanconfigname_sync] import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteScanConfigScanconfigname() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_deletescanconfig_scanconfigname_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_DeleteScanConfig_Scanconfigname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfigString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/deletescanconfig/SyncDeleteScanConfigString.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfigString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/deletescanconfig/SyncDeleteScanConfigString.java index 2924cc07c051..8601ee57a659 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/deletescanconfig/SyncDeleteScanConfigString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/deletescanconfig/SyncDeleteScanConfigString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_deletescanconfig_string_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_DeleteScanConfig_String_sync] import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteScanConfigString() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_deletescanconfig_string_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_DeleteScanConfig_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getfinding/AsyncGetFinding.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getfinding/AsyncGetFinding.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getfinding/AsyncGetFinding.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getfinding/AsyncGetFinding.java index 0d77a8d9c2f4..1f390ce0aa9c 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getfinding/AsyncGetFinding.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getfinding/AsyncGetFinding.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_getfinding_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_GetFinding_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1beta.Finding; import com.google.cloud.websecurityscanner.v1beta.FindingName; @@ -48,4 +48,4 @@ public static void asyncGetFinding() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_getfinding_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_GetFinding_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getfinding/SyncGetFinding.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getfinding/SyncGetFinding.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getfinding/SyncGetFinding.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getfinding/SyncGetFinding.java index f6bbab6324fb..131c2c15e398 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getfinding/SyncGetFinding.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getfinding/SyncGetFinding.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_getfinding_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_GetFinding_sync] import com.google.cloud.websecurityscanner.v1beta.Finding; import com.google.cloud.websecurityscanner.v1beta.FindingName; import com.google.cloud.websecurityscanner.v1beta.GetFindingRequest; @@ -45,4 +45,4 @@ public static void syncGetFinding() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_getfinding_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_GetFinding_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getfinding/SyncGetFindingFindingname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getfinding/SyncGetFindingFindingname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getfinding/SyncGetFindingFindingname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getfinding/SyncGetFindingFindingname.java index 640a2eace5e0..7b989c72c6b8 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getfinding/SyncGetFindingFindingname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getfinding/SyncGetFindingFindingname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_getfinding_findingname_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_GetFinding_Findingname_sync] import com.google.cloud.websecurityscanner.v1beta.Finding; import com.google.cloud.websecurityscanner.v1beta.FindingName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncGetFindingFindingname() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_getfinding_findingname_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_GetFinding_Findingname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getfinding/SyncGetFindingString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getfinding/SyncGetFindingString.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getfinding/SyncGetFindingString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getfinding/SyncGetFindingString.java index 5175119e63d0..e5e30e7b6fa6 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getfinding/SyncGetFindingString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getfinding/SyncGetFindingString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_getfinding_string_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_GetFinding_String_sync] import com.google.cloud.websecurityscanner.v1beta.Finding; import com.google.cloud.websecurityscanner.v1beta.FindingName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -40,4 +40,4 @@ public static void syncGetFindingString() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_getfinding_string_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_GetFinding_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanconfig/AsyncGetScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanconfig/AsyncGetScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanconfig/AsyncGetScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanconfig/AsyncGetScanConfig.java index 855da3480e97..0d3615d4d26f 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanconfig/AsyncGetScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanconfig/AsyncGetScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_getscanconfig_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanConfig_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1beta.GetScanConfigRequest; import com.google.cloud.websecurityscanner.v1beta.ScanConfig; @@ -47,4 +47,4 @@ public static void asyncGetScanConfig() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_getscanconfig_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanConfig_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanconfig/SyncGetScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanconfig/SyncGetScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanconfig/SyncGetScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanconfig/SyncGetScanConfig.java index 8a9afa87b3b4..f0116f5790b5 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanconfig/SyncGetScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanconfig/SyncGetScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_getscanconfig_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanConfig_sync] import com.google.cloud.websecurityscanner.v1beta.GetScanConfigRequest; import com.google.cloud.websecurityscanner.v1beta.ScanConfig; import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; @@ -43,4 +43,4 @@ public static void syncGetScanConfig() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_getscanconfig_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanconfig/SyncGetScanConfigScanconfigname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanconfig/SyncGetScanConfigScanconfigname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanconfig/SyncGetScanConfigScanconfigname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanconfig/SyncGetScanConfigScanconfigname.java index e7b2c9f6101d..424b97b91bab 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanconfig/SyncGetScanConfigScanconfigname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanconfig/SyncGetScanConfigScanconfigname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_getscanconfig_scanconfigname_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanConfig_Scanconfigname_sync] import com.google.cloud.websecurityscanner.v1beta.ScanConfig; import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncGetScanConfigScanconfigname() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_getscanconfig_scanconfigname_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanConfig_Scanconfigname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanconfig/SyncGetScanConfigString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanconfig/SyncGetScanConfigString.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanconfig/SyncGetScanConfigString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanconfig/SyncGetScanConfigString.java index b86ed99cb192..d8a0d1f93b95 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanconfig/SyncGetScanConfigString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanconfig/SyncGetScanConfigString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_getscanconfig_string_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanConfig_String_sync] import com.google.cloud.websecurityscanner.v1beta.ScanConfig; import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncGetScanConfigString() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_getscanconfig_string_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanConfig_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanrun/AsyncGetScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanrun/AsyncGetScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanrun/AsyncGetScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanrun/AsyncGetScanRun.java index 72939145522e..87b3e2ca6d76 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanrun/AsyncGetScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanrun/AsyncGetScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_getscanrun_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanRun_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1beta.GetScanRunRequest; import com.google.cloud.websecurityscanner.v1beta.ScanRun; @@ -46,4 +46,4 @@ public static void asyncGetScanRun() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_getscanrun_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanRun_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanrun/SyncGetScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanrun/SyncGetScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanrun/SyncGetScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanrun/SyncGetScanRun.java index 5c3cb7c01060..d99cfe846f27 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanrun/SyncGetScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanrun/SyncGetScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_getscanrun_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanRun_sync] import com.google.cloud.websecurityscanner.v1beta.GetScanRunRequest; import com.google.cloud.websecurityscanner.v1beta.ScanRun; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; @@ -43,4 +43,4 @@ public static void syncGetScanRun() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_getscanrun_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanRun_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanrun/SyncGetScanRunScanrunname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanrun/SyncGetScanRunScanrunname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanrun/SyncGetScanRunScanrunname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanrun/SyncGetScanRunScanrunname.java index 81d3d703a039..91e3134011b0 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanrun/SyncGetScanRunScanrunname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanrun/SyncGetScanRunScanrunname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_getscanrun_scanrunname_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanRun_Scanrunname_sync] import com.google.cloud.websecurityscanner.v1beta.ScanRun; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncGetScanRunScanrunname() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_getscanrun_scanrunname_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanRun_Scanrunname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanrun/SyncGetScanRunString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanrun/SyncGetScanRunString.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanrun/SyncGetScanRunString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanrun/SyncGetScanRunString.java index a22e0fda6a50..0c501e61c3a2 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/getscanrun/SyncGetScanRunString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/getscanrun/SyncGetScanRunString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_getscanrun_string_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanRun_String_sync] import com.google.cloud.websecurityscanner.v1beta.ScanRun; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncGetScanRunString() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_getscanrun_string_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_GetScanRun_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrls.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/AsyncListCrawledUrls.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrls.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/AsyncListCrawledUrls.java index b2052717506a..79e610d20a24 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrls.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/AsyncListCrawledUrls.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listcrawledurls_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListCrawledUrls_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1beta.CrawledUrl; import com.google.cloud.websecurityscanner.v1beta.ListCrawledUrlsRequest; @@ -51,4 +51,4 @@ public static void asyncListCrawledUrls() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listcrawledurls_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListCrawledUrls_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrlsPaged.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/AsyncListCrawledUrlsPaged.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrlsPaged.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/AsyncListCrawledUrlsPaged.java index 623321fce0cf..1f4d2f818a80 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/AsyncListCrawledUrlsPaged.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/AsyncListCrawledUrlsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listcrawledurls_paged_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListCrawledUrls_Paged_async] import com.google.cloud.websecurityscanner.v1beta.CrawledUrl; import com.google.cloud.websecurityscanner.v1beta.ListCrawledUrlsRequest; import com.google.cloud.websecurityscanner.v1beta.ListCrawledUrlsResponse; @@ -59,4 +59,4 @@ public static void asyncListCrawledUrlsPaged() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listcrawledurls_paged_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListCrawledUrls_Paged_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/SyncListCrawledUrls.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/SyncListCrawledUrls.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/SyncListCrawledUrls.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/SyncListCrawledUrls.java index f7752c6e207b..0994d2af0a43 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/SyncListCrawledUrls.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/SyncListCrawledUrls.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listcrawledurls_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListCrawledUrls_sync] import com.google.cloud.websecurityscanner.v1beta.CrawledUrl; import com.google.cloud.websecurityscanner.v1beta.ListCrawledUrlsRequest; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; @@ -47,4 +47,4 @@ public static void syncListCrawledUrls() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listcrawledurls_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListCrawledUrls_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/SyncListCrawledUrlsScanrunname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/SyncListCrawledUrlsScanrunname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/SyncListCrawledUrlsScanrunname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/SyncListCrawledUrlsScanrunname.java index 7ec157bbcbb3..be02896a31ab 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/SyncListCrawledUrlsScanrunname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/SyncListCrawledUrlsScanrunname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listcrawledurls_scanrunname_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListCrawledUrls_Scanrunname_sync] import com.google.cloud.websecurityscanner.v1beta.CrawledUrl; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -41,4 +41,4 @@ public static void syncListCrawledUrlsScanrunname() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listcrawledurls_scanrunname_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListCrawledUrls_Scanrunname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/SyncListCrawledUrlsString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/SyncListCrawledUrlsString.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/SyncListCrawledUrlsString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/SyncListCrawledUrlsString.java index a5040b11c3bd..f6c4678ac8c6 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listcrawledurls/SyncListCrawledUrlsString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listcrawledurls/SyncListCrawledUrlsString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listcrawledurls_string_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListCrawledUrls_String_sync] import com.google.cloud.websecurityscanner.v1beta.CrawledUrl; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -41,4 +41,4 @@ public static void syncListCrawledUrlsString() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listcrawledurls_string_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListCrawledUrls_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/AsyncListFindings.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/AsyncListFindings.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/AsyncListFindings.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/AsyncListFindings.java index 15bb65804ef1..137ad35876e8 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/AsyncListFindings.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/AsyncListFindings.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listfindings_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindings_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1beta.Finding; import com.google.cloud.websecurityscanner.v1beta.ListFindingsRequest; @@ -52,4 +52,4 @@ public static void asyncListFindings() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listfindings_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindings_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/AsyncListFindingsPaged.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/AsyncListFindingsPaged.java similarity index 93% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/AsyncListFindingsPaged.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/AsyncListFindingsPaged.java index ca93615ba997..7d6feca67a1e 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/AsyncListFindingsPaged.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/AsyncListFindingsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listfindings_paged_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindings_Paged_async] import com.google.cloud.websecurityscanner.v1beta.Finding; import com.google.cloud.websecurityscanner.v1beta.ListFindingsRequest; import com.google.cloud.websecurityscanner.v1beta.ListFindingsResponse; @@ -60,4 +60,4 @@ public static void asyncListFindingsPaged() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listfindings_paged_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindings_Paged_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/SyncListFindings.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/SyncListFindings.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/SyncListFindings.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/SyncListFindings.java index d31fef30e901..de1577ff429f 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/SyncListFindings.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/SyncListFindings.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listfindings_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindings_sync] import com.google.cloud.websecurityscanner.v1beta.Finding; import com.google.cloud.websecurityscanner.v1beta.ListFindingsRequest; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; @@ -48,4 +48,4 @@ public static void syncListFindings() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listfindings_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindings_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/SyncListFindingsScanrunnameString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/SyncListFindingsScanrunnameString.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/SyncListFindingsScanrunnameString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/SyncListFindingsScanrunnameString.java index 294822da99da..605c63ecd1cd 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/SyncListFindingsScanrunnameString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/SyncListFindingsScanrunnameString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listfindings_scanrunnamestring_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindings_ScanrunnameString_sync] import com.google.cloud.websecurityscanner.v1beta.Finding; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -42,4 +42,4 @@ public static void syncListFindingsScanrunnameString() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listfindings_scanrunnamestring_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindings_ScanrunnameString_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/SyncListFindingsStringString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/SyncListFindingsStringString.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/SyncListFindingsStringString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/SyncListFindingsStringString.java index 6e996cf88898..3d9425bcf12b 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindings/SyncListFindingsStringString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindings/SyncListFindingsStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listfindings_stringstring_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindings_StringString_sync] import com.google.cloud.websecurityscanner.v1beta.Finding; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -42,4 +42,4 @@ public static void syncListFindingsStringString() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listfindings_stringstring_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindings_StringString_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindingtypestats/AsyncListFindingTypeStats.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindingtypestats/AsyncListFindingTypeStats.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindingtypestats/AsyncListFindingTypeStats.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindingtypestats/AsyncListFindingTypeStats.java index 8b525fa6dbcd..8ab4b8f97720 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindingtypestats/AsyncListFindingTypeStats.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindingtypestats/AsyncListFindingTypeStats.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listfindingtypestats_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindingTypeStats_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1beta.ListFindingTypeStatsRequest; import com.google.cloud.websecurityscanner.v1beta.ListFindingTypeStatsResponse; @@ -47,4 +47,4 @@ public static void asyncListFindingTypeStats() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listfindingtypestats_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindingTypeStats_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStats.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindingtypestats/SyncListFindingTypeStats.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStats.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindingtypestats/SyncListFindingTypeStats.java index ecf8d88dad74..fa60f74140df 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStats.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindingtypestats/SyncListFindingTypeStats.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listfindingtypestats_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindingTypeStats_sync] import com.google.cloud.websecurityscanner.v1beta.ListFindingTypeStatsRequest; import com.google.cloud.websecurityscanner.v1beta.ListFindingTypeStatsResponse; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; @@ -44,4 +44,4 @@ public static void syncListFindingTypeStats() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listfindingtypestats_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindingTypeStats_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStatsScanrunname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindingtypestats/SyncListFindingTypeStatsScanrunname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStatsScanrunname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindingtypestats/SyncListFindingTypeStatsScanrunname.java index 92c2e034412b..08d646f6335e 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStatsScanrunname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindingtypestats/SyncListFindingTypeStatsScanrunname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listfindingtypestats_scanrunname_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindingTypeStats_Scanrunname_sync] import com.google.cloud.websecurityscanner.v1beta.ListFindingTypeStatsResponse; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncListFindingTypeStatsScanrunname() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listfindingtypestats_scanrunname_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindingTypeStats_Scanrunname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStatsString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindingtypestats/SyncListFindingTypeStatsString.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStatsString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindingtypestats/SyncListFindingTypeStatsString.java index 157412e54dec..45ff0f1c1425 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listfindingtypestats/SyncListFindingTypeStatsString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listfindingtypestats/SyncListFindingTypeStatsString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listfindingtypestats_string_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindingTypeStats_String_sync] import com.google.cloud.websecurityscanner.v1beta.ListFindingTypeStatsResponse; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncListFindingTypeStatsString() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listfindingtypestats_string_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListFindingTypeStats_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/AsyncListScanConfigs.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/AsyncListScanConfigs.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/AsyncListScanConfigs.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/AsyncListScanConfigs.java index 54fe14b9f919..438744443802 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/AsyncListScanConfigs.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/AsyncListScanConfigs.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listscanconfigs_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanConfigs_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1beta.ListScanConfigsRequest; import com.google.cloud.websecurityscanner.v1beta.ProjectName; @@ -51,4 +51,4 @@ public static void asyncListScanConfigs() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listscanconfigs_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanConfigs_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/AsyncListScanConfigsPaged.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/AsyncListScanConfigsPaged.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/AsyncListScanConfigsPaged.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/AsyncListScanConfigsPaged.java index 2e2e6cf4d8e9..dd6752b015c1 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/AsyncListScanConfigsPaged.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/AsyncListScanConfigsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listscanconfigs_paged_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanConfigs_Paged_async] import com.google.cloud.websecurityscanner.v1beta.ListScanConfigsRequest; import com.google.cloud.websecurityscanner.v1beta.ListScanConfigsResponse; import com.google.cloud.websecurityscanner.v1beta.ProjectName; @@ -59,4 +59,4 @@ public static void asyncListScanConfigsPaged() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listscanconfigs_paged_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanConfigs_Paged_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/SyncListScanConfigs.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/SyncListScanConfigs.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/SyncListScanConfigs.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/SyncListScanConfigs.java index d71f45a70235..e31246fccdfc 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/SyncListScanConfigs.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/SyncListScanConfigs.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listscanconfigs_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanConfigs_sync] import com.google.cloud.websecurityscanner.v1beta.ListScanConfigsRequest; import com.google.cloud.websecurityscanner.v1beta.ProjectName; import com.google.cloud.websecurityscanner.v1beta.ScanConfig; @@ -47,4 +47,4 @@ public static void syncListScanConfigs() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listscanconfigs_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanConfigs_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/SyncListScanConfigsProjectname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/SyncListScanConfigsProjectname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/SyncListScanConfigsProjectname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/SyncListScanConfigsProjectname.java index 8d2e7b5448ec..e551fcca4c84 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/SyncListScanConfigsProjectname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/SyncListScanConfigsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listscanconfigs_projectname_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanConfigs_Projectname_sync] import com.google.cloud.websecurityscanner.v1beta.ProjectName; import com.google.cloud.websecurityscanner.v1beta.ScanConfig; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -41,4 +41,4 @@ public static void syncListScanConfigsProjectname() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listscanconfigs_projectname_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanConfigs_Projectname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/SyncListScanConfigsString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/SyncListScanConfigsString.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/SyncListScanConfigsString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/SyncListScanConfigsString.java index aa50388312aa..00dbc2094b6a 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanconfigs/SyncListScanConfigsString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanconfigs/SyncListScanConfigsString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listscanconfigs_string_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanConfigs_String_sync] import com.google.cloud.websecurityscanner.v1beta.ProjectName; import com.google.cloud.websecurityscanner.v1beta.ScanConfig; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -41,4 +41,4 @@ public static void syncListScanConfigsString() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listscanconfigs_string_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanConfigs_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/AsyncListScanRuns.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/AsyncListScanRuns.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/AsyncListScanRuns.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/AsyncListScanRuns.java index 387485294b93..883d4f2e8211 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/AsyncListScanRuns.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/AsyncListScanRuns.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listscanruns_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanRuns_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1beta.ListScanRunsRequest; import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; @@ -51,4 +51,4 @@ public static void asyncListScanRuns() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listscanruns_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanRuns_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/AsyncListScanRunsPaged.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/AsyncListScanRunsPaged.java similarity index 92% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/AsyncListScanRunsPaged.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/AsyncListScanRunsPaged.java index ce495cdc0594..3d244fc58fec 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/AsyncListScanRunsPaged.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/AsyncListScanRunsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listscanruns_paged_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanRuns_Paged_async] import com.google.cloud.websecurityscanner.v1beta.ListScanRunsRequest; import com.google.cloud.websecurityscanner.v1beta.ListScanRunsResponse; import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; @@ -59,4 +59,4 @@ public static void asyncListScanRunsPaged() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listscanruns_paged_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanRuns_Paged_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/SyncListScanRuns.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/SyncListScanRuns.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/SyncListScanRuns.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/SyncListScanRuns.java index 8eee3092a091..dc60e9a50fbb 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/SyncListScanRuns.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/SyncListScanRuns.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listscanruns_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanRuns_sync] import com.google.cloud.websecurityscanner.v1beta.ListScanRunsRequest; import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; import com.google.cloud.websecurityscanner.v1beta.ScanRun; @@ -47,4 +47,4 @@ public static void syncListScanRuns() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listscanruns_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanRuns_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/SyncListScanRunsScanconfigname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/SyncListScanRunsScanconfigname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/SyncListScanRunsScanconfigname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/SyncListScanRunsScanconfigname.java index fb0a0fac76bc..bada75cc4e65 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/SyncListScanRunsScanconfigname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/SyncListScanRunsScanconfigname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listscanruns_scanconfigname_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanRuns_Scanconfigname_sync] import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; import com.google.cloud.websecurityscanner.v1beta.ScanRun; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -41,4 +41,4 @@ public static void syncListScanRunsScanconfigname() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listscanruns_scanconfigname_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanRuns_Scanconfigname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/SyncListScanRunsString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/SyncListScanRunsString.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/SyncListScanRunsString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/SyncListScanRunsString.java index bc07cbc7c75f..4b0e419f686e 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/listscanruns/SyncListScanRunsString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/listscanruns/SyncListScanRunsString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_listscanruns_string_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanRuns_String_sync] import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; import com.google.cloud.websecurityscanner.v1beta.ScanRun; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -41,4 +41,4 @@ public static void syncListScanRunsString() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_listscanruns_string_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_ListScanRuns_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/startscanrun/AsyncStartScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/startscanrun/AsyncStartScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/startscanrun/AsyncStartScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/startscanrun/AsyncStartScanRun.java index 427f242748ed..0c4f780f6488 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/startscanrun/AsyncStartScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/startscanrun/AsyncStartScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_startscanrun_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_StartScanRun_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; import com.google.cloud.websecurityscanner.v1beta.ScanRun; @@ -47,4 +47,4 @@ public static void asyncStartScanRun() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_startscanrun_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_StartScanRun_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/startscanrun/SyncStartScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/startscanrun/SyncStartScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/startscanrun/SyncStartScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/startscanrun/SyncStartScanRun.java index 38e5cd05984a..f02d506a6733 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/startscanrun/SyncStartScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/startscanrun/SyncStartScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_startscanrun_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_StartScanRun_sync] import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; import com.google.cloud.websecurityscanner.v1beta.ScanRun; import com.google.cloud.websecurityscanner.v1beta.StartScanRunRequest; @@ -43,4 +43,4 @@ public static void syncStartScanRun() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_startscanrun_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_StartScanRun_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/startscanrun/SyncStartScanRunScanconfigname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/startscanrun/SyncStartScanRunScanconfigname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/startscanrun/SyncStartScanRunScanconfigname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/startscanrun/SyncStartScanRunScanconfigname.java index 2dbe3bb99428..e6d1cf3fe02c 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/startscanrun/SyncStartScanRunScanconfigname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/startscanrun/SyncStartScanRunScanconfigname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_startscanrun_scanconfigname_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_StartScanRun_Scanconfigname_sync] import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; import com.google.cloud.websecurityscanner.v1beta.ScanRun; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncStartScanRunScanconfigname() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_startscanrun_scanconfigname_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_StartScanRun_Scanconfigname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/startscanrun/SyncStartScanRunString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/startscanrun/SyncStartScanRunString.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/startscanrun/SyncStartScanRunString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/startscanrun/SyncStartScanRunString.java index 742df115bf92..cb7ede05fd43 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/startscanrun/SyncStartScanRunString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/startscanrun/SyncStartScanRunString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_startscanrun_string_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_StartScanRun_String_sync] import com.google.cloud.websecurityscanner.v1beta.ScanConfigName; import com.google.cloud.websecurityscanner.v1beta.ScanRun; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncStartScanRunString() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_startscanrun_string_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_StartScanRun_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/stopscanrun/AsyncStopScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/stopscanrun/AsyncStopScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/stopscanrun/AsyncStopScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/stopscanrun/AsyncStopScanRun.java index e62dc7365163..eecea5b2005b 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/stopscanrun/AsyncStopScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/stopscanrun/AsyncStopScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_stopscanrun_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_StopScanRun_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1beta.ScanRun; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; @@ -47,4 +47,4 @@ public static void asyncStopScanRun() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_stopscanrun_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_StopScanRun_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/stopscanrun/SyncStopScanRun.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/stopscanrun/SyncStopScanRun.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/stopscanrun/SyncStopScanRun.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/stopscanrun/SyncStopScanRun.java index 186a380d88e1..9c97006ed210 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/stopscanrun/SyncStopScanRun.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/stopscanrun/SyncStopScanRun.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_stopscanrun_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_StopScanRun_sync] import com.google.cloud.websecurityscanner.v1beta.ScanRun; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; import com.google.cloud.websecurityscanner.v1beta.StopScanRunRequest; @@ -43,4 +43,4 @@ public static void syncStopScanRun() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_stopscanrun_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_StopScanRun_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/stopscanrun/SyncStopScanRunScanrunname.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/stopscanrun/SyncStopScanRunScanrunname.java similarity index 89% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/stopscanrun/SyncStopScanRunScanrunname.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/stopscanrun/SyncStopScanRunScanrunname.java index fe8c7c02e85c..f915ffbb342e 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/stopscanrun/SyncStopScanRunScanrunname.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/stopscanrun/SyncStopScanRunScanrunname.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_stopscanrun_scanrunname_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_StopScanRun_Scanrunname_sync] import com.google.cloud.websecurityscanner.v1beta.ScanRun; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncStopScanRunScanrunname() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_stopscanrun_scanrunname_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_StopScanRun_Scanrunname_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/stopscanrun/SyncStopScanRunString.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/stopscanrun/SyncStopScanRunString.java similarity index 90% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/stopscanrun/SyncStopScanRunString.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/stopscanrun/SyncStopScanRunString.java index 69ca907fba71..ff77a663aafe 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/stopscanrun/SyncStopScanRunString.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/stopscanrun/SyncStopScanRunString.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_stopscanrun_string_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_StopScanRun_String_sync] import com.google.cloud.websecurityscanner.v1beta.ScanRun; import com.google.cloud.websecurityscanner.v1beta.ScanRunName; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -39,4 +39,4 @@ public static void syncStopScanRunString() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_stopscanrun_string_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_StopScanRun_String_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/updatescanconfig/AsyncUpdateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/updatescanconfig/AsyncUpdateScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/updatescanconfig/AsyncUpdateScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/updatescanconfig/AsyncUpdateScanConfig.java index 18d21cc4b122..c6f7cf7569a4 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/updatescanconfig/AsyncUpdateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/updatescanconfig/AsyncUpdateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_updatescanconfig_async] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_UpdateScanConfig_async] import com.google.api.core.ApiFuture; import com.google.cloud.websecurityscanner.v1beta.ScanConfig; import com.google.cloud.websecurityscanner.v1beta.UpdateScanConfigRequest; @@ -48,4 +48,4 @@ public static void asyncUpdateScanConfig() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_updatescanconfig_async] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_UpdateScanConfig_async] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/updatescanconfig/SyncUpdateScanConfig.java similarity index 91% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfig.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/updatescanconfig/SyncUpdateScanConfig.java index 07cef0b905e8..28963a797335 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/updatescanconfig/SyncUpdateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_updatescanconfig_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_UpdateScanConfig_sync] import com.google.cloud.websecurityscanner.v1beta.ScanConfig; import com.google.cloud.websecurityscanner.v1beta.UpdateScanConfigRequest; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; @@ -44,4 +44,4 @@ public static void syncUpdateScanConfig() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_updatescanconfig_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_UpdateScanConfig_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfigScanconfigFieldmask.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/updatescanconfig/SyncUpdateScanConfigScanconfigFieldmask.java similarity index 88% rename from java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfigScanconfigFieldmask.java rename to java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/updatescanconfig/SyncUpdateScanConfigScanconfigFieldmask.java index 39a6238aaa63..ef9202d7e5bf 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannerclient/updatescanconfig/SyncUpdateScanConfigScanconfigFieldmask.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscanner/updatescanconfig/SyncUpdateScanConfigScanconfigFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannerclient_updatescanconfig_scanconfigfieldmask_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScanner_UpdateScanConfig_ScanconfigFieldmask_sync] import com.google.cloud.websecurityscanner.v1beta.ScanConfig; import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClient; import com.google.protobuf.FieldMask; @@ -40,4 +40,4 @@ public static void syncUpdateScanConfigScanconfigFieldmask() throws Exception { } } } -// [END websecurityscanner_v1beta_generated_websecurityscannerclient_updatescanconfig_scanconfigfieldmask_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScanner_UpdateScanConfig_ScanconfigFieldmask_sync] diff --git a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannersettings/createscanconfig/SyncCreateScanConfig.java b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannersettings/createscanconfig/SyncCreateScanConfig.java index 76b2acc8710c..04a42e22c1e6 100644 --- a/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannersettings/createscanconfig/SyncCreateScanConfig.java +++ b/java-websecurityscanner/samples/snippets/generated/com/google/cloud/websecurityscanner/v1beta/websecurityscannersettings/createscanconfig/SyncCreateScanConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.websecurityscanner.v1beta.samples; -// [START websecurityscanner_v1beta_generated_websecurityscannersettings_createscanconfig_sync] +// [START websecurityscanner_v1beta_generated_WebSecurityScannerSettings_CreateScanConfig_sync] import com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerSettings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncCreateScanConfig() throws Exception { webSecurityScannerSettingsBuilder.build(); } } -// [END websecurityscanner_v1beta_generated_websecurityscannersettings_createscanconfig_sync] +// [END websecurityscanner_v1beta_generated_WebSecurityScannerSettings_CreateScanConfig_sync]