From 8112e485dee4edfd5177360acb439fb8c87eddf7 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 28 Jun 2022 04:16:24 +0000 Subject: [PATCH] fix: update gapic-generator-java with mock service generation fixes (#853) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 457524730 Source-Link: https://github.com/googleapis/googleapis/commit/917e7f21cb1dc062744c6694437cdd46219f28cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9 --- .../cloud/securitycenter/v1/SecurityCenterClient.java | 2 ++ .../cloud/securitycenter/v1beta1/SecurityCenterClient.java | 1 + .../securitycenter/v1p1beta1/SecurityCenterClient.java | 1 + ...CreateBigQueryExportFoldernameBigqueryexportString.java | 6 ++---- ...BigQueryExportOrganizationnameBigqueryexportString.java | 6 ++---- ...reateBigQueryExportProjectnameBigqueryexportString.java | 6 ++---- ...SyncCreateBigQueryExportStringBigqueryexportString.java | 6 ++---- .../SyncCreateFindingSourcenameStringFinding.java | 3 +-- .../SyncCreateMuteConfigFoldernameMuteconfig.java | 3 +-- .../SyncCreateMuteConfigFoldernameMuteconfigString.java | 6 ++---- .../SyncCreateMuteConfigOrganizationnameMuteconfig.java | 6 ++---- ...ncCreateMuteConfigOrganizationnameMuteconfigString.java | 6 ++---- .../SyncCreateMuteConfigProjectnameMuteconfig.java | 6 ++---- .../SyncCreateMuteConfigProjectnameMuteconfigString.java | 6 ++---- .../SyncCreateMuteConfigStringMuteconfigString.java | 6 ++---- ...tificationConfigOrganizationnameNotificationconfig.java | 6 ++---- ...tionConfigOrganizationnameStringNotificationconfig.java | 6 ++---- ...ncCreateNotificationConfigStringNotificationconfig.java | 6 ++---- ...teNotificationConfigStringStringNotificationconfig.java | 6 ++---- .../deletebigqueryexport/SyncDeleteBigQueryExport.java | 1 + .../SyncDeleteBigQueryExportBigqueryexportname.java | 7 +++---- .../SyncDeleteBigQueryExportString.java | 1 + .../deletemuteconfig/SyncDeleteMuteConfig.java | 1 + .../SyncDeleteMuteConfigMuteconfigname.java | 1 + .../deletemuteconfig/SyncDeleteMuteConfigString.java | 1 + .../SyncDeleteNotificationConfig.java | 1 + ...SyncDeleteNotificationConfigNotificationconfigname.java | 7 +++---- .../SyncDeleteNotificationConfigString.java | 1 + .../SyncGetBigQueryExportBigqueryexportname.java | 3 +-- .../SyncGetNotificationConfigNotificationconfigname.java | 6 ++---- ...yncGetOrganizationSettingsOrganizationsettingsname.java | 6 ++---- .../SyncListBigQueryExportsOrganizationname.java | 3 +-- .../SyncListNotificationConfigsOrganizationname.java | 6 ++---- ...yncSetFindingStateFindingnameFindingstateTimestamp.java | 6 ++---- .../SyncSetFindingStateStringFindingstateTimestamp.java | 6 ++---- .../SyncTestIamPermissionsResourcenameListstring.java | 6 ++---- .../SyncUpdateBigQueryExportBigqueryexportFieldmask.java | 6 ++---- .../SyncUpdateExternalSystemExternalsystemFieldmask.java | 6 ++---- .../SyncUpdateMuteConfigMuteconfigFieldmask.java | 3 +-- .../SyncUpdateNotificationConfigNotificationconfig.java | 6 ++---- ...pdateNotificationConfigNotificationconfigFieldmask.java | 6 ++---- ...SyncUpdateOrganizationSettingsOrganizationsettings.java | 6 ++---- .../SyncCreateFindingSourcenameStringFinding.java | 6 ++---- .../SyncCreateFindingStringStringFinding.java | 6 ++---- .../SyncCreateSourceOrganizationnameSource.java | 6 ++---- ...yncGetOrganizationSettingsOrganizationsettingsname.java | 6 ++---- .../runassetdiscovery/SyncRunAssetDiscovery.java | 1 + .../SyncRunAssetDiscoveryOrganizationname.java | 7 +++---- .../runassetdiscovery/SyncRunAssetDiscoveryString.java | 1 + ...yncSetFindingStateFindingnameFindingstateTimestamp.java | 6 ++---- .../SyncSetFindingStateStringFindingstateTimestamp.java | 6 ++---- .../setiampolicy/SyncSetIamPolicyResourcenamePolicy.java | 3 +-- .../SyncTestIamPermissionsResourcenameListstring.java | 6 ++---- .../SyncTestIamPermissionsStringListstring.java | 6 ++---- ...SyncUpdateOrganizationSettingsOrganizationsettings.java | 6 ++---- .../SyncUpdateSecurityMarksSecuritymarks.java | 6 ++---- .../create/SyncCreateSetCredentialsProvider.java | 3 +-- .../create/SyncCreateSetCredentialsProvider1.java | 3 +-- .../SyncCreateFindingSourcenameFindingString.java | 6 ++---- .../SyncCreateFindingSourcenameStringFinding.java | 6 ++---- .../SyncCreateFindingStringFindingString.java | 6 ++---- .../SyncCreateFindingStringStringFinding.java | 6 ++---- ...tificationConfigOrganizationnameNotificationconfig.java | 6 ++---- ...tionConfigOrganizationnameStringNotificationconfig.java | 6 ++---- ...ncCreateNotificationConfigStringNotificationconfig.java | 6 ++---- ...teNotificationConfigStringStringNotificationconfig.java | 6 ++---- .../SyncCreateSourceOrganizationnameSource.java | 6 ++---- .../SyncDeleteNotificationConfig.java | 1 + ...SyncDeleteNotificationConfigNotificationconfigname.java | 7 +++---- .../SyncDeleteNotificationConfigString.java | 7 +++---- .../SyncGetNotificationConfigNotificationconfigname.java | 6 ++---- ...yncGetOrganizationSettingsOrganizationsettingsname.java | 6 ++---- .../SyncGetOrganizationSettingsString.java | 3 +-- .../groupfindings/SyncGroupFindingsSourcenameString.java | 3 +-- .../AsyncListNotificationConfigsPaged.java | 3 +-- .../SyncListNotificationConfigsOrganizationname.java | 6 ++---- .../SyncListNotificationConfigsString.java | 3 +-- .../SyncRunAssetDiscoveryOrganizationname.java | 6 ++---- ...yncSetFindingStateFindingnameFindingstateTimestamp.java | 6 ++---- .../SyncSetFindingStateStringFindingstateTimestamp.java | 6 ++---- .../setiampolicy/SyncSetIamPolicyResourcenamePolicy.java | 6 ++---- .../SyncTestIamPermissionsResourcenameListstring.java | 6 ++---- .../SyncTestIamPermissionsStringListstring.java | 6 ++---- .../updatefinding/SyncUpdateFindingFindingFieldmask.java | 3 +-- .../SyncUpdateNotificationConfigNotificationconfig.java | 6 ++---- ...pdateNotificationConfigNotificationconfigFieldmask.java | 6 ++---- ...SyncUpdateOrganizationSettingsOrganizationsettings.java | 6 ++---- .../SyncUpdateSecurityMarksSecuritymarks.java | 6 ++---- .../SyncUpdateSecurityMarksSecuritymarksFieldmask.java | 6 ++---- 89 files changed, 158 insertions(+), 278 deletions(-) diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java index ccaa4e0a43a4..aba5d6b99be0 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java +++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -196,6 +197,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java index dceb79526a8a..5c6cac1d1aa5 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java +++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java @@ -197,6 +197,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java index 81e2cd189b56..3e1c00091680 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java +++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java @@ -198,6 +198,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportFoldernameBigqueryexportString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportFoldernameBigqueryexportString.java index bc4fae80ada6..f30a70db0076 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportFoldernameBigqueryexportString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportFoldernameBigqueryexportString.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_foldernamebigqueryexportstring_sync] +// [START securitycenter_v1_generated_securitycenterclient_createbigqueryexport_foldernamebigqueryexportstring_sync] import com.google.cloud.securitycenter.v1.BigQueryExport; import com.google.cloud.securitycenter.v1.FolderName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -40,5 +39,4 @@ public static void syncCreateBigQueryExportFoldernameBigqueryexportString() thro } } } -// [END -// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_foldernamebigqueryexportstring_sync] +// [END securitycenter_v1_generated_securitycenterclient_createbigqueryexport_foldernamebigqueryexportstring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportOrganizationnameBigqueryexportString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportOrganizationnameBigqueryexportString.java index 7bcfcc479a73..22ebe1bb03e7 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportOrganizationnameBigqueryexportString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportOrganizationnameBigqueryexportString.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_organizationnamebigqueryexportstring_sync] +// [START securitycenter_v1_generated_securitycenterclient_createbigqueryexport_organizationnamebigqueryexportstring_sync] import com.google.cloud.securitycenter.v1.BigQueryExport; import com.google.cloud.securitycenter.v1.OrganizationName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -41,5 +40,4 @@ public static void syncCreateBigQueryExportOrganizationnameBigqueryexportString( } } } -// [END -// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_organizationnamebigqueryexportstring_sync] +// [END securitycenter_v1_generated_securitycenterclient_createbigqueryexport_organizationnamebigqueryexportstring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportProjectnameBigqueryexportString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportProjectnameBigqueryexportString.java index 5a90a8e10841..6488ecab7185 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportProjectnameBigqueryexportString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportProjectnameBigqueryexportString.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_projectnamebigqueryexportstring_sync] +// [START securitycenter_v1_generated_securitycenterclient_createbigqueryexport_projectnamebigqueryexportstring_sync] import com.google.cloud.securitycenter.v1.BigQueryExport; import com.google.cloud.securitycenter.v1.ProjectName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -40,5 +39,4 @@ public static void syncCreateBigQueryExportProjectnameBigqueryexportString() thr } } } -// [END -// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_projectnamebigqueryexportstring_sync] +// [END securitycenter_v1_generated_securitycenterclient_createbigqueryexport_projectnamebigqueryexportstring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportStringBigqueryexportString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportStringBigqueryexportString.java index 41eeda70c4f8..ea7afc7e4a0f 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportStringBigqueryexportString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportStringBigqueryexportString.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_stringbigqueryexportstring_sync] +// [START securitycenter_v1_generated_securitycenterclient_createbigqueryexport_stringbigqueryexportstring_sync] import com.google.cloud.securitycenter.v1.BigQueryExport; import com.google.cloud.securitycenter.v1.OrganizationName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -40,5 +39,4 @@ public static void syncCreateBigQueryExportStringBigqueryexportString() throws E } } } -// [END -// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_stringbigqueryexportstring_sync] +// [END securitycenter_v1_generated_securitycenterclient_createbigqueryexport_stringbigqueryexportstring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java index 3ccbcb371644..68f11acc8595 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createfinding_sourcenamestringfinding_sync] +// [START securitycenter_v1_generated_securitycenterclient_createfinding_sourcenamestringfinding_sync] import com.google.cloud.securitycenter.v1.Finding; import com.google.cloud.securitycenter.v1.SecurityCenterClient; import com.google.cloud.securitycenter.v1.SourceName; diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfig.java index 5bf575cdbfe9..28ed3bb0f0bb 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createmuteconfig_foldernamemuteconfig_sync] +// [START securitycenter_v1_generated_securitycenterclient_createmuteconfig_foldernamemuteconfig_sync] import com.google.cloud.securitycenter.v1.FolderName; import com.google.cloud.securitycenter.v1.MuteConfig; import com.google.cloud.securitycenter.v1.SecurityCenterClient; diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfigString.java index 42d37045571d..514cd1d91606 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfigString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfigString.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createmuteconfig_foldernamemuteconfigstring_sync] +// [START securitycenter_v1_generated_securitycenterclient_createmuteconfig_foldernamemuteconfigstring_sync] import com.google.cloud.securitycenter.v1.FolderName; import com.google.cloud.securitycenter.v1.MuteConfig; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -39,5 +38,4 @@ public static void syncCreateMuteConfigFoldernameMuteconfigString() throws Excep } } } -// [END -// securitycenter_v1_generated_securitycenterclient_createmuteconfig_foldernamemuteconfigstring_sync] +// [END securitycenter_v1_generated_securitycenterclient_createmuteconfig_foldernamemuteconfigstring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfig.java index 4ec394be5e92..89c4e8b64d61 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfig_sync] +// [START securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfig_sync] import com.google.cloud.securitycenter.v1.MuteConfig; import com.google.cloud.securitycenter.v1.OrganizationName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -38,5 +37,4 @@ public static void syncCreateMuteConfigOrganizationnameMuteconfig() throws Excep } } } -// [END -// securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfig_sync] +// [END securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfig_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfigString.java index d356cce1ffa8..5148cacc0bc2 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfigString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfigString.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfigstring_sync] +// [START securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfigstring_sync] import com.google.cloud.securitycenter.v1.MuteConfig; import com.google.cloud.securitycenter.v1.OrganizationName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -39,5 +38,4 @@ public static void syncCreateMuteConfigOrganizationnameMuteconfigString() throws } } } -// [END -// securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfigstring_sync] +// [END securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfigstring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfig.java index e0b21878fa16..ca1ba18a667f 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfig_sync] +// [START securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfig_sync] import com.google.cloud.securitycenter.v1.MuteConfig; import com.google.cloud.securitycenter.v1.ProjectName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -38,5 +37,4 @@ public static void syncCreateMuteConfigProjectnameMuteconfig() throws Exception } } } -// [END -// securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfig_sync] +// [END securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfig_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfigString.java index a2c630aecbcc..ec328ffad356 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfigString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfigString.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfigstring_sync] +// [START securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfigstring_sync] import com.google.cloud.securitycenter.v1.MuteConfig; import com.google.cloud.securitycenter.v1.ProjectName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -39,5 +38,4 @@ public static void syncCreateMuteConfigProjectnameMuteconfigString() throws Exce } } } -// [END -// securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfigstring_sync] +// [END securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfigstring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigStringMuteconfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigStringMuteconfigString.java index 108448636987..dcc0b2caf6e6 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigStringMuteconfigString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigStringMuteconfigString.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createmuteconfig_stringmuteconfigstring_sync] +// [START securitycenter_v1_generated_securitycenterclient_createmuteconfig_stringmuteconfigstring_sync] import com.google.cloud.securitycenter.v1.MuteConfig; import com.google.cloud.securitycenter.v1.OrganizationName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -39,5 +38,4 @@ public static void syncCreateMuteConfigStringMuteconfigString() throws Exception } } } -// [END -// securitycenter_v1_generated_securitycenterclient_createmuteconfig_stringmuteconfigstring_sync] +// [END securitycenter_v1_generated_securitycenterclient_createmuteconfig_stringmuteconfigstring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java index 740d4fd74112..edcb7cdfb5ca 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamenotificationconfig_sync] +// [START securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamenotificationconfig_sync] import com.google.cloud.securitycenter.v1.NotificationConfig; import com.google.cloud.securitycenter.v1.OrganizationName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -40,5 +39,4 @@ public static void syncCreateNotificationConfigOrganizationnameNotificationconfi } } } -// [END -// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamenotificationconfig_sync] +// [END securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamenotificationconfig_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java index 0a417a6b1e5a..bd283204e452 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamestringnotificationconfig_sync] +// [START securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamestringnotificationconfig_sync] import com.google.cloud.securitycenter.v1.NotificationConfig; import com.google.cloud.securitycenter.v1.OrganizationName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -41,5 +40,4 @@ public static void syncCreateNotificationConfigOrganizationnameStringNotificatio } } } -// [END -// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamestringnotificationconfig_sync] +// [END securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamestringnotificationconfig_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java index b0b7edd96899..44f21752a4f5 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringnotificationconfig_sync] +// [START securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringnotificationconfig_sync] import com.google.cloud.securitycenter.v1.NotificationConfig; import com.google.cloud.securitycenter.v1.OrganizationName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -39,5 +38,4 @@ public static void syncCreateNotificationConfigStringNotificationconfig() throws } } } -// [END -// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringnotificationconfig_sync] +// [END securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringnotificationconfig_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java index e61dd79f5f03..8e27ff79fc09 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringstringnotificationconfig_sync] +// [START securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringstringnotificationconfig_sync] import com.google.cloud.securitycenter.v1.NotificationConfig; import com.google.cloud.securitycenter.v1.OrganizationName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -40,5 +39,4 @@ public static void syncCreateNotificationConfigStringStringNotificationconfig() } } } -// [END -// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringstringnotificationconfig_sync] +// [END securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringstringnotificationconfig_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExport.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExport.java index 57d747c2abb6..8cc22eda33c9 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExport.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExport.java @@ -20,6 +20,7 @@ import com.google.cloud.securitycenter.v1.BigQueryExportName; import com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest; import com.google.cloud.securitycenter.v1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncDeleteBigQueryExport { diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportBigqueryexportname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportBigqueryexportname.java index 97db22db836f..52fcdd720d65 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportBigqueryexportname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportBigqueryexportname.java @@ -16,10 +16,10 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_deletebigqueryexport_bigqueryexportname_sync] +// [START securitycenter_v1_generated_securitycenterclient_deletebigqueryexport_bigqueryexportname_sync] import com.google.cloud.securitycenter.v1.BigQueryExportName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncDeleteBigQueryExportBigqueryexportname { @@ -37,5 +37,4 @@ public static void syncDeleteBigQueryExportBigqueryexportname() throws Exception } } } -// [END -// securitycenter_v1_generated_securitycenterclient_deletebigqueryexport_bigqueryexportname_sync] +// [END securitycenter_v1_generated_securitycenterclient_deletebigqueryexport_bigqueryexportname_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportString.java index c4d0b3bb26bc..e45486337d9d 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportString.java @@ -19,6 +19,7 @@ // [START securitycenter_v1_generated_securitycenterclient_deletebigqueryexport_string_sync] import com.google.cloud.securitycenter.v1.BigQueryExportName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncDeleteBigQueryExportString { diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfig.java index d113ab803126..bb4c5559ea9c 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfig.java @@ -20,6 +20,7 @@ import com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest; import com.google.cloud.securitycenter.v1.MuteConfigName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncDeleteMuteConfig { diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigMuteconfigname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigMuteconfigname.java index 70f2d84cf370..2e5c46b8d4f2 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigMuteconfigname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigMuteconfigname.java @@ -19,6 +19,7 @@ // [START securitycenter_v1_generated_securitycenterclient_deletemuteconfig_muteconfigname_sync] import com.google.cloud.securitycenter.v1.MuteConfigName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncDeleteMuteConfigMuteconfigname { diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigString.java index 696cc9f15ae2..c611229778cd 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigString.java @@ -19,6 +19,7 @@ // [START securitycenter_v1_generated_securitycenterclient_deletemuteconfig_string_sync] import com.google.cloud.securitycenter.v1.MuteConfigName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncDeleteMuteConfigString { diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java index 5ae3b4ac1601..91b0cd3f47aa 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java @@ -20,6 +20,7 @@ import com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest; import com.google.cloud.securitycenter.v1.NotificationConfigName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncDeleteNotificationConfig { diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java index 68a3ed59c846..cc1c094c6d04 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java @@ -16,10 +16,10 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_deletenotificationconfig_notificationconfigname_sync] +// [START securitycenter_v1_generated_securitycenterclient_deletenotificationconfig_notificationconfigname_sync] import com.google.cloud.securitycenter.v1.NotificationConfigName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncDeleteNotificationConfigNotificationconfigname { @@ -37,5 +37,4 @@ public static void syncDeleteNotificationConfigNotificationconfigname() throws E } } } -// [END -// securitycenter_v1_generated_securitycenterclient_deletenotificationconfig_notificationconfigname_sync] +// [END securitycenter_v1_generated_securitycenterclient_deletenotificationconfig_notificationconfigname_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java index 5581273354b5..55d9040a3faf 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java @@ -19,6 +19,7 @@ // [START securitycenter_v1_generated_securitycenterclient_deletenotificationconfig_string_sync] import com.google.cloud.securitycenter.v1.NotificationConfigName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncDeleteNotificationConfigString { diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExportBigqueryexportname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExportBigqueryexportname.java index 581321663ed9..7dd4b0b6bbf9 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExportBigqueryexportname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExportBigqueryexportname.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_getbigqueryexport_bigqueryexportname_sync] +// [START securitycenter_v1_generated_securitycenterclient_getbigqueryexport_bigqueryexportname_sync] import com.google.cloud.securitycenter.v1.BigQueryExport; import com.google.cloud.securitycenter.v1.BigQueryExportName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java index df33988ec340..507e2bad8350 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_getnotificationconfig_notificationconfigname_sync] +// [START securitycenter_v1_generated_securitycenterclient_getnotificationconfig_notificationconfigname_sync] import com.google.cloud.securitycenter.v1.NotificationConfig; import com.google.cloud.securitycenter.v1.NotificationConfigName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -38,5 +37,4 @@ public static void syncGetNotificationConfigNotificationconfigname() throws Exce } } } -// [END -// securitycenter_v1_generated_securitycenterclient_getnotificationconfig_notificationconfigname_sync] +// [END securitycenter_v1_generated_securitycenterclient_getnotificationconfig_notificationconfigname_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java index 9c39a29caaef..dc5076afaace 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_getorganizationsettings_organizationsettingsname_sync] +// [START securitycenter_v1_generated_securitycenterclient_getorganizationsettings_organizationsettingsname_sync] import com.google.cloud.securitycenter.v1.OrganizationSettings; import com.google.cloud.securitycenter.v1.OrganizationSettingsName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -37,5 +36,4 @@ public static void syncGetOrganizationSettingsOrganizationsettingsname() throws } } } -// [END -// securitycenter_v1_generated_securitycenterclient_getorganizationsettings_organizationsettingsname_sync] +// [END securitycenter_v1_generated_securitycenterclient_getorganizationsettings_organizationsettingsname_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsOrganizationname.java index bde0310839e0..470fbb52b7a3 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsOrganizationname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsOrganizationname.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_listbigqueryexports_organizationname_sync] +// [START securitycenter_v1_generated_securitycenterclient_listbigqueryexports_organizationname_sync] import com.google.cloud.securitycenter.v1.BigQueryExport; import com.google.cloud.securitycenter.v1.OrganizationName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java index cf43901f3609..b33eb99a6e99 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_listnotificationconfigs_organizationname_sync] +// [START securitycenter_v1_generated_securitycenterclient_listnotificationconfigs_organizationname_sync] import com.google.cloud.securitycenter.v1.NotificationConfig; import com.google.cloud.securitycenter.v1.OrganizationName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -40,5 +39,4 @@ public static void syncListNotificationConfigsOrganizationname() throws Exceptio } } } -// [END -// securitycenter_v1_generated_securitycenterclient_listnotificationconfigs_organizationname_sync] +// [END securitycenter_v1_generated_securitycenterclient_listnotificationconfigs_organizationname_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java index f2ec41b06d6f..1557c8549d66 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_setfindingstate_findingnamefindingstatetimestamp_sync] +// [START securitycenter_v1_generated_securitycenterclient_setfindingstate_findingnamefindingstatetimestamp_sync] import com.google.cloud.securitycenter.v1.Finding; import com.google.cloud.securitycenter.v1.FindingName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -41,5 +40,4 @@ public static void syncSetFindingStateFindingnameFindingstateTimestamp() throws } } } -// [END -// securitycenter_v1_generated_securitycenterclient_setfindingstate_findingnamefindingstatetimestamp_sync] +// [END securitycenter_v1_generated_securitycenterclient_setfindingstate_findingnamefindingstatetimestamp_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java index 0806a5847f73..424140bf68c3 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_setfindingstate_stringfindingstatetimestamp_sync] +// [START securitycenter_v1_generated_securitycenterclient_setfindingstate_stringfindingstatetimestamp_sync] import com.google.cloud.securitycenter.v1.Finding; import com.google.cloud.securitycenter.v1.FindingName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -42,5 +41,4 @@ public static void syncSetFindingStateStringFindingstateTimestamp() throws Excep } } } -// [END -// securitycenter_v1_generated_securitycenterclient_setfindingstate_stringfindingstatetimestamp_sync] +// [END securitycenter_v1_generated_securitycenterclient_setfindingstate_stringfindingstatetimestamp_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java index 6a17a31cf305..6099c89e4ac8 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_testiampermissions_resourcenameliststring_sync] +// [START securitycenter_v1_generated_securitycenterclient_testiampermissions_resourcenameliststring_sync] import com.google.api.resourcenames.ResourceName; import com.google.cloud.securitycenter.v1.SecurityCenterClient; import com.google.cloud.securitycenter.v1.SourceName; @@ -42,5 +41,4 @@ public static void syncTestIamPermissionsResourcenameListstring() throws Excepti } } } -// [END -// securitycenter_v1_generated_securitycenterclient_testiampermissions_resourcenameliststring_sync] +// [END securitycenter_v1_generated_securitycenterclient_testiampermissions_resourcenameliststring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/SyncUpdateBigQueryExportBigqueryexportFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/SyncUpdateBigQueryExportBigqueryexportFieldmask.java index 76a9a6a3c208..4ee5fb78c6cd 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/SyncUpdateBigQueryExportBigqueryexportFieldmask.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/SyncUpdateBigQueryExportBigqueryexportFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_updatebigqueryexport_bigqueryexportfieldmask_sync] +// [START securitycenter_v1_generated_securitycenterclient_updatebigqueryexport_bigqueryexportfieldmask_sync] import com.google.cloud.securitycenter.v1.BigQueryExport; import com.google.cloud.securitycenter.v1.SecurityCenterClient; import com.google.protobuf.FieldMask; @@ -39,5 +38,4 @@ public static void syncUpdateBigQueryExportBigqueryexportFieldmask() throws Exce } } } -// [END -// securitycenter_v1_generated_securitycenterclient_updatebigqueryexport_bigqueryexportfieldmask_sync] +// [END securitycenter_v1_generated_securitycenterclient_updatebigqueryexport_bigqueryexportfieldmask_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/SyncUpdateExternalSystemExternalsystemFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/SyncUpdateExternalSystemExternalsystemFieldmask.java index fadff9485809..3c0041128dee 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/SyncUpdateExternalSystemExternalsystemFieldmask.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/SyncUpdateExternalSystemExternalsystemFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_updateexternalsystem_externalsystemfieldmask_sync] +// [START securitycenter_v1_generated_securitycenterclient_updateexternalsystem_externalsystemfieldmask_sync] import com.google.cloud.securitycenter.v1.ExternalSystem; import com.google.cloud.securitycenter.v1.SecurityCenterClient; import com.google.protobuf.FieldMask; @@ -39,5 +38,4 @@ public static void syncUpdateExternalSystemExternalsystemFieldmask() throws Exce } } } -// [END -// securitycenter_v1_generated_securitycenterclient_updateexternalsystem_externalsystemfieldmask_sync] +// [END securitycenter_v1_generated_securitycenterclient_updateexternalsystem_externalsystemfieldmask_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/SyncUpdateMuteConfigMuteconfigFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/SyncUpdateMuteConfigMuteconfigFieldmask.java index 5785cba34e6e..112f89bb793a 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/SyncUpdateMuteConfigMuteconfigFieldmask.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/SyncUpdateMuteConfigMuteconfigFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_updatemuteconfig_muteconfigfieldmask_sync] +// [START securitycenter_v1_generated_securitycenterclient_updatemuteconfig_muteconfigfieldmask_sync] import com.google.cloud.securitycenter.v1.MuteConfig; import com.google.cloud.securitycenter.v1.SecurityCenterClient; import com.google.protobuf.FieldMask; diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java index 0cb2aaf391f7..6b31ecd764c6 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_updatenotificationconfig_notificationconfig_sync] +// [START securitycenter_v1_generated_securitycenterclient_updatenotificationconfig_notificationconfig_sync] import com.google.cloud.securitycenter.v1.NotificationConfig; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -37,5 +36,4 @@ public static void syncUpdateNotificationConfigNotificationconfig() throws Excep } } } -// [END -// securitycenter_v1_generated_securitycenterclient_updatenotificationconfig_notificationconfig_sync] +// [END securitycenter_v1_generated_securitycenterclient_updatenotificationconfig_notificationconfig_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java index 973bd8c416a1..72ec82a7d855 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_updatenotificationconfig_notificationconfigfieldmask_sync] +// [START securitycenter_v1_generated_securitycenterclient_updatenotificationconfig_notificationconfigfieldmask_sync] import com.google.cloud.securitycenter.v1.NotificationConfig; import com.google.cloud.securitycenter.v1.SecurityCenterClient; import com.google.protobuf.FieldMask; @@ -39,5 +38,4 @@ public static void syncUpdateNotificationConfigNotificationconfigFieldmask() thr } } } -// [END -// securitycenter_v1_generated_securitycenterclient_updatenotificationconfig_notificationconfigfieldmask_sync] +// [END securitycenter_v1_generated_securitycenterclient_updatenotificationconfig_notificationconfigfieldmask_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java index 33aa01e17e76..59b7db298413 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1.samples; -// [START -// securitycenter_v1_generated_securitycenterclient_updateorganizationsettings_organizationsettings_sync] +// [START securitycenter_v1_generated_securitycenterclient_updateorganizationsettings_organizationsettings_sync] import com.google.cloud.securitycenter.v1.OrganizationSettings; import com.google.cloud.securitycenter.v1.SecurityCenterClient; @@ -37,5 +36,4 @@ public static void syncUpdateOrganizationSettingsOrganizationsettings() throws E } } } -// [END -// securitycenter_v1_generated_securitycenterclient_updateorganizationsettings_organizationsettings_sync] +// [END securitycenter_v1_generated_securitycenterclient_updateorganizationsettings_organizationsettings_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java index 5dd4573d603a..d998974d4568 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1beta1.samples; -// [START -// securitycenter_v1beta1_generated_securitycenterclient_createfinding_sourcenamestringfinding_sync] +// [START securitycenter_v1beta1_generated_securitycenterclient_createfinding_sourcenamestringfinding_sync] import com.google.cloud.securitycenter.v1beta1.Finding; import com.google.cloud.securitycenter.v1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1beta1.SourceName; @@ -39,5 +38,4 @@ public static void syncCreateFindingSourcenameStringFinding() throws Exception { } } } -// [END -// securitycenter_v1beta1_generated_securitycenterclient_createfinding_sourcenamestringfinding_sync] +// [END securitycenter_v1beta1_generated_securitycenterclient_createfinding_sourcenamestringfinding_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java index e6f1aa3f3788..e0dfe8c53c47 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1beta1.samples; -// [START -// securitycenter_v1beta1_generated_securitycenterclient_createfinding_stringstringfinding_sync] +// [START securitycenter_v1beta1_generated_securitycenterclient_createfinding_stringstringfinding_sync] import com.google.cloud.securitycenter.v1beta1.Finding; import com.google.cloud.securitycenter.v1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1beta1.SourceName; @@ -39,5 +38,4 @@ public static void syncCreateFindingStringStringFinding() throws Exception { } } } -// [END -// securitycenter_v1beta1_generated_securitycenterclient_createfinding_stringstringfinding_sync] +// [END securitycenter_v1beta1_generated_securitycenterclient_createfinding_stringstringfinding_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java index c03d770bed9e..20c0ebe90615 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1beta1.samples; -// [START -// securitycenter_v1beta1_generated_securitycenterclient_createsource_organizationnamesource_sync] +// [START securitycenter_v1beta1_generated_securitycenterclient_createsource_organizationnamesource_sync] import com.google.cloud.securitycenter.v1beta1.OrganizationName; import com.google.cloud.securitycenter.v1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1beta1.Source; @@ -38,5 +37,4 @@ public static void syncCreateSourceOrganizationnameSource() throws Exception { } } } -// [END -// securitycenter_v1beta1_generated_securitycenterclient_createsource_organizationnamesource_sync] +// [END securitycenter_v1beta1_generated_securitycenterclient_createsource_organizationnamesource_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java index 3a9f4b424b97..818fdd4300dd 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1beta1.samples; -// [START -// securitycenter_v1beta1_generated_securitycenterclient_getorganizationsettings_organizationsettingsname_sync] +// [START securitycenter_v1beta1_generated_securitycenterclient_getorganizationsettings_organizationsettingsname_sync] import com.google.cloud.securitycenter.v1beta1.OrganizationSettings; import com.google.cloud.securitycenter.v1beta1.OrganizationSettingsName; import com.google.cloud.securitycenter.v1beta1.SecurityCenterClient; @@ -37,5 +36,4 @@ public static void syncGetOrganizationSettingsOrganizationsettingsname() throws } } } -// [END -// securitycenter_v1beta1_generated_securitycenterclient_getorganizationsettings_organizationsettingsname_sync] +// [END securitycenter_v1beta1_generated_securitycenterclient_getorganizationsettings_organizationsettingsname_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java index 94a1e5eacc03..be67bdf6b3ea 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java @@ -20,6 +20,7 @@ import com.google.cloud.securitycenter.v1beta1.OrganizationName; import com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest; import com.google.cloud.securitycenter.v1beta1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncRunAssetDiscovery { diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java index c901b7d3ed9f..43c993e7440b 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java @@ -16,10 +16,10 @@ package com.google.cloud.securitycenter.v1beta1.samples; -// [START -// securitycenter_v1beta1_generated_securitycenterclient_runassetdiscovery_organizationname_sync] +// [START securitycenter_v1beta1_generated_securitycenterclient_runassetdiscovery_organizationname_sync] import com.google.cloud.securitycenter.v1beta1.OrganizationName; import com.google.cloud.securitycenter.v1beta1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncRunAssetDiscoveryOrganizationname { @@ -36,5 +36,4 @@ public static void syncRunAssetDiscoveryOrganizationname() throws Exception { } } } -// [END -// securitycenter_v1beta1_generated_securitycenterclient_runassetdiscovery_organizationname_sync] +// [END securitycenter_v1beta1_generated_securitycenterclient_runassetdiscovery_organizationname_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java index ac3237946e16..1f7094c34165 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java @@ -19,6 +19,7 @@ // [START securitycenter_v1beta1_generated_securitycenterclient_runassetdiscovery_string_sync] import com.google.cloud.securitycenter.v1beta1.OrganizationName; import com.google.cloud.securitycenter.v1beta1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncRunAssetDiscoveryString { diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java index d0263de8607c..e809b3853722 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1beta1.samples; -// [START -// securitycenter_v1beta1_generated_securitycenterclient_setfindingstate_findingnamefindingstatetimestamp_sync] +// [START securitycenter_v1beta1_generated_securitycenterclient_setfindingstate_findingnamefindingstatetimestamp_sync] import com.google.cloud.securitycenter.v1beta1.Finding; import com.google.cloud.securitycenter.v1beta1.FindingName; import com.google.cloud.securitycenter.v1beta1.SecurityCenterClient; @@ -40,5 +39,4 @@ public static void syncSetFindingStateFindingnameFindingstateTimestamp() throws } } } -// [END -// securitycenter_v1beta1_generated_securitycenterclient_setfindingstate_findingnamefindingstatetimestamp_sync] +// [END securitycenter_v1beta1_generated_securitycenterclient_setfindingstate_findingnamefindingstatetimestamp_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java index 0f8a9edca56b..3f7313341ea5 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1beta1.samples; -// [START -// securitycenter_v1beta1_generated_securitycenterclient_setfindingstate_stringfindingstatetimestamp_sync] +// [START securitycenter_v1beta1_generated_securitycenterclient_setfindingstate_stringfindingstatetimestamp_sync] import com.google.cloud.securitycenter.v1beta1.Finding; import com.google.cloud.securitycenter.v1beta1.FindingName; import com.google.cloud.securitycenter.v1beta1.SecurityCenterClient; @@ -40,5 +39,4 @@ public static void syncSetFindingStateStringFindingstateTimestamp() throws Excep } } } -// [END -// securitycenter_v1beta1_generated_securitycenterclient_setfindingstate_stringfindingstatetimestamp_sync] +// [END securitycenter_v1beta1_generated_securitycenterclient_setfindingstate_stringfindingstatetimestamp_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java index 4de4391ba7c7..5ca6e153687d 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1beta1.samples; -// [START -// securitycenter_v1beta1_generated_securitycenterclient_setiampolicy_resourcenamepolicy_sync] +// [START securitycenter_v1beta1_generated_securitycenterclient_setiampolicy_resourcenamepolicy_sync] import com.google.api.resourcenames.ResourceName; import com.google.cloud.securitycenter.v1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1beta1.SourceName; diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java index c70ce141fb14..cece044b7a3b 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1beta1.samples; -// [START -// securitycenter_v1beta1_generated_securitycenterclient_testiampermissions_resourcenameliststring_sync] +// [START securitycenter_v1beta1_generated_securitycenterclient_testiampermissions_resourcenameliststring_sync] import com.google.api.resourcenames.ResourceName; import com.google.cloud.securitycenter.v1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1beta1.SourceName; @@ -42,5 +41,4 @@ public static void syncTestIamPermissionsResourcenameListstring() throws Excepti } } } -// [END -// securitycenter_v1beta1_generated_securitycenterclient_testiampermissions_resourcenameliststring_sync] +// [END securitycenter_v1beta1_generated_securitycenterclient_testiampermissions_resourcenameliststring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java index a1acd91ac598..8ba110764663 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1beta1.samples; -// [START -// securitycenter_v1beta1_generated_securitycenterclient_testiampermissions_stringliststring_sync] +// [START securitycenter_v1beta1_generated_securitycenterclient_testiampermissions_stringliststring_sync] import com.google.cloud.securitycenter.v1beta1.OrganizationName; import com.google.cloud.securitycenter.v1beta1.SecurityCenterClient; import com.google.iam.v1.TestIamPermissionsResponse; @@ -41,5 +40,4 @@ public static void syncTestIamPermissionsStringListstring() throws Exception { } } } -// [END -// securitycenter_v1beta1_generated_securitycenterclient_testiampermissions_stringliststring_sync] +// [END securitycenter_v1beta1_generated_securitycenterclient_testiampermissions_stringliststring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java index ff15726c8ce0..9c8af6b38898 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1beta1.samples; -// [START -// securitycenter_v1beta1_generated_securitycenterclient_updateorganizationsettings_organizationsettings_sync] +// [START securitycenter_v1beta1_generated_securitycenterclient_updateorganizationsettings_organizationsettings_sync] import com.google.cloud.securitycenter.v1beta1.OrganizationSettings; import com.google.cloud.securitycenter.v1beta1.SecurityCenterClient; @@ -37,5 +36,4 @@ public static void syncUpdateOrganizationSettingsOrganizationsettings() throws E } } } -// [END -// securitycenter_v1beta1_generated_securitycenterclient_updateorganizationsettings_organizationsettings_sync] +// [END securitycenter_v1beta1_generated_securitycenterclient_updateorganizationsettings_organizationsettings_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java index 99ebabb966c7..e4e31da058e7 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1beta1.samples; -// [START -// securitycenter_v1beta1_generated_securitycenterclient_updatesecuritymarks_securitymarks_sync] +// [START securitycenter_v1beta1_generated_securitycenterclient_updatesecuritymarks_securitymarks_sync] import com.google.cloud.securitycenter.v1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1beta1.SecurityMarks; @@ -36,5 +35,4 @@ public static void syncUpdateSecurityMarksSecuritymarks() throws Exception { } } } -// [END -// securitycenter_v1beta1_generated_securitycenterclient_updatesecuritymarks_securitymarks_sync] +// [END securitycenter_v1beta1_generated_securitycenterclient_updatesecuritymarks_securitymarks_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java index 13dfcbbc9e30..b9239f55893f 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_create_setcredentialsprovider_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterSettings; diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java index e93445c8f5ea..14c0d53f4b07 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_create_setcredentialsprovider1_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_create_setcredentialsprovider1_sync] import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterSettings; diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameFindingString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameFindingString.java index 49de1ef5132e..e2baf3651dcf 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameFindingString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameFindingString.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_sourcenamefindingstring_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_sourcenamefindingstring_sync] import com.google.cloud.securitycenter.v1p1beta1.Finding; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1p1beta1.SourceName; @@ -39,5 +38,4 @@ public static void syncCreateFindingSourcenameFindingString() throws Exception { } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_sourcenamefindingstring_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_sourcenamefindingstring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java index 60c465bda4b7..b228feae36ad 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_sourcenamestringfinding_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_sourcenamestringfinding_sync] import com.google.cloud.securitycenter.v1p1beta1.Finding; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1p1beta1.SourceName; @@ -39,5 +38,4 @@ public static void syncCreateFindingSourcenameStringFinding() throws Exception { } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_sourcenamestringfinding_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_sourcenamestringfinding_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringFindingString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringFindingString.java index 5fea789c5156..b7d696af62cc 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringFindingString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringFindingString.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_stringfindingstring_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_stringfindingstring_sync] import com.google.cloud.securitycenter.v1p1beta1.Finding; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1p1beta1.SourceName; @@ -39,5 +38,4 @@ public static void syncCreateFindingStringFindingString() throws Exception { } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_stringfindingstring_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_stringfindingstring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java index 5b0514bf1176..799dc6a9733b 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_stringstringfinding_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_stringstringfinding_sync] import com.google.cloud.securitycenter.v1p1beta1.Finding; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1p1beta1.SourceName; @@ -39,5 +38,4 @@ public static void syncCreateFindingStringStringFinding() throws Exception { } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_stringstringfinding_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_createfinding_stringstringfinding_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java index 0eb79abbc6c5..4c8536f7199a 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_organizationnamenotificationconfig_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_organizationnamenotificationconfig_sync] import com.google.cloud.securitycenter.v1p1beta1.NotificationConfig; import com.google.cloud.securitycenter.v1p1beta1.OrganizationName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; @@ -40,5 +39,4 @@ public static void syncCreateNotificationConfigOrganizationnameNotificationconfi } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_organizationnamenotificationconfig_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_organizationnamenotificationconfig_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java index 9ef72a00d2bb..79c228b5f52d 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_organizationnamestringnotificationconfig_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_organizationnamestringnotificationconfig_sync] import com.google.cloud.securitycenter.v1p1beta1.NotificationConfig; import com.google.cloud.securitycenter.v1p1beta1.OrganizationName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; @@ -41,5 +40,4 @@ public static void syncCreateNotificationConfigOrganizationnameStringNotificatio } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_organizationnamestringnotificationconfig_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_organizationnamestringnotificationconfig_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java index a69459f6d8d7..5562a91a37e6 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_stringnotificationconfig_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_stringnotificationconfig_sync] import com.google.cloud.securitycenter.v1p1beta1.NotificationConfig; import com.google.cloud.securitycenter.v1p1beta1.OrganizationName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; @@ -39,5 +38,4 @@ public static void syncCreateNotificationConfigStringNotificationconfig() throws } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_stringnotificationconfig_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_stringnotificationconfig_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java index ae8b4d06f978..cb1ca7e72c32 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_stringstringnotificationconfig_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_stringstringnotificationconfig_sync] import com.google.cloud.securitycenter.v1p1beta1.NotificationConfig; import com.google.cloud.securitycenter.v1p1beta1.OrganizationName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; @@ -40,5 +39,4 @@ public static void syncCreateNotificationConfigStringStringNotificationconfig() } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_stringstringnotificationconfig_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_createnotificationconfig_stringstringnotificationconfig_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java index 9e84f86611ee..98bad43dd865 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_createsource_organizationnamesource_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_createsource_organizationnamesource_sync] import com.google.cloud.securitycenter.v1p1beta1.OrganizationName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1p1beta1.Source; @@ -38,5 +37,4 @@ public static void syncCreateSourceOrganizationnameSource() throws Exception { } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_createsource_organizationnamesource_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_createsource_organizationnamesource_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java index 21b21b1c2037..5f125933fadc 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java @@ -20,6 +20,7 @@ import com.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest; import com.google.cloud.securitycenter.v1p1beta1.NotificationConfigName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncDeleteNotificationConfig { diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java index bfb22fe89d4f..c00e150dcad5 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java @@ -16,10 +16,10 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_deletenotificationconfig_notificationconfigname_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_deletenotificationconfig_notificationconfigname_sync] import com.google.cloud.securitycenter.v1p1beta1.NotificationConfigName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncDeleteNotificationConfigNotificationconfigname { @@ -37,5 +37,4 @@ public static void syncDeleteNotificationConfigNotificationconfigname() throws E } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_deletenotificationconfig_notificationconfigname_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_deletenotificationconfig_notificationconfigname_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java index 6c02d1b04a01..3b3e947b8a94 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java @@ -16,10 +16,10 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_deletenotificationconfig_string_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_deletenotificationconfig_string_sync] import com.google.cloud.securitycenter.v1p1beta1.NotificationConfigName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; +import com.google.protobuf.Empty; public class SyncDeleteNotificationConfigString { @@ -36,5 +36,4 @@ public static void syncDeleteNotificationConfigString() throws Exception { } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_deletenotificationconfig_string_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_deletenotificationconfig_string_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java index 3bd18a811aca..c8b4940039a5 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_getnotificationconfig_notificationconfigname_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_getnotificationconfig_notificationconfigname_sync] import com.google.cloud.securitycenter.v1p1beta1.NotificationConfig; import com.google.cloud.securitycenter.v1p1beta1.NotificationConfigName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; @@ -38,5 +37,4 @@ public static void syncGetNotificationConfigNotificationconfigname() throws Exce } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_getnotificationconfig_notificationconfigname_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_getnotificationconfig_notificationconfigname_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java index b415431dc502..55d0d4717e4b 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_getorganizationsettings_organizationsettingsname_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_getorganizationsettings_organizationsettingsname_sync] import com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings; import com.google.cloud.securitycenter.v1p1beta1.OrganizationSettingsName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; @@ -37,5 +36,4 @@ public static void syncGetOrganizationSettingsOrganizationsettingsname() throws } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_getorganizationsettings_organizationsettingsname_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_getorganizationsettings_organizationsettingsname_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java index 7d586d17dca2..6634444381fe 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_getorganizationsettings_string_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_getorganizationsettings_string_sync] import com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings; import com.google.cloud.securitycenter.v1p1beta1.OrganizationSettingsName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java index e8b75597f1f9..1c7f66d01a4f 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_groupfindings_sourcenamestring_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_groupfindings_sourcenamestring_sync] import com.google.cloud.securitycenter.v1p1beta1.GroupResult; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1p1beta1.SourceName; diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigsPaged.java index 8e6b57ffbb70..61c649ccfafb 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigsPaged.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_listnotificationconfigs_paged_async] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_listnotificationconfigs_paged_async] import com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest; import com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse; import com.google.cloud.securitycenter.v1p1beta1.NotificationConfig; diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java index 04692a04950b..bc8d18cb4861 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_listnotificationconfigs_organizationname_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_listnotificationconfigs_organizationname_sync] import com.google.cloud.securitycenter.v1p1beta1.NotificationConfig; import com.google.cloud.securitycenter.v1p1beta1.OrganizationName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; @@ -40,5 +39,4 @@ public static void syncListNotificationConfigsOrganizationname() throws Exceptio } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_listnotificationconfigs_organizationname_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_listnotificationconfigs_organizationname_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsString.java index 21ddff0ae5f2..b5aae5797e32 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsString.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsString.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_listnotificationconfigs_string_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_listnotificationconfigs_string_sync] import com.google.cloud.securitycenter.v1p1beta1.NotificationConfig; import com.google.cloud.securitycenter.v1p1beta1.OrganizationName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java index e2ec9e5426bf..4bd79677c381 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_runassetdiscovery_organizationname_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_runassetdiscovery_organizationname_sync] import com.google.cloud.securitycenter.v1p1beta1.OrganizationName; import com.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; @@ -38,5 +37,4 @@ public static void syncRunAssetDiscoveryOrganizationname() throws Exception { } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_runassetdiscovery_organizationname_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_runassetdiscovery_organizationname_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java index ad916001a746..b9659db7b2c6 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_setfindingstate_findingnamefindingstatetimestamp_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_setfindingstate_findingnamefindingstatetimestamp_sync] import com.google.cloud.securitycenter.v1p1beta1.Finding; import com.google.cloud.securitycenter.v1p1beta1.FindingName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; @@ -41,5 +40,4 @@ public static void syncSetFindingStateFindingnameFindingstateTimestamp() throws } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_setfindingstate_findingnamefindingstatetimestamp_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_setfindingstate_findingnamefindingstatetimestamp_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java index bce09b4cfc84..30d152846859 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_setfindingstate_stringfindingstatetimestamp_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_setfindingstate_stringfindingstatetimestamp_sync] import com.google.cloud.securitycenter.v1p1beta1.Finding; import com.google.cloud.securitycenter.v1p1beta1.FindingName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; @@ -42,5 +41,4 @@ public static void syncSetFindingStateStringFindingstateTimestamp() throws Excep } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_setfindingstate_stringfindingstatetimestamp_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_setfindingstate_stringfindingstatetimestamp_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java index efbedcb47e33..3e4e773963f5 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_setiampolicy_resourcenamepolicy_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_setiampolicy_resourcenamepolicy_sync] import com.google.api.resourcenames.ResourceName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1p1beta1.SourceName; @@ -39,5 +38,4 @@ public static void syncSetIamPolicyResourcenamePolicy() throws Exception { } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_setiampolicy_resourcenamepolicy_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_setiampolicy_resourcenamepolicy_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java index 6890b1b0a890..82245e7c4184 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_testiampermissions_resourcenameliststring_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_testiampermissions_resourcenameliststring_sync] import com.google.api.resourcenames.ResourceName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1p1beta1.SourceName; @@ -42,5 +41,4 @@ public static void syncTestIamPermissionsResourcenameListstring() throws Excepti } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_testiampermissions_resourcenameliststring_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_testiampermissions_resourcenameliststring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java index f963b1909bc3..ab8500175f20 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_testiampermissions_stringliststring_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_testiampermissions_stringliststring_sync] import com.google.cloud.securitycenter.v1p1beta1.FolderName; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.iam.v1.TestIamPermissionsResponse; @@ -41,5 +40,4 @@ public static void syncTestIamPermissionsStringListstring() throws Exception { } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_testiampermissions_stringliststring_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_testiampermissions_stringliststring_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFindingFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFindingFieldmask.java index 7361202970b5..0178689cb014 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFindingFieldmask.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFindingFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_updatefinding_findingfieldmask_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_updatefinding_findingfieldmask_sync] import com.google.cloud.securitycenter.v1p1beta1.Finding; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.protobuf.FieldMask; diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java index ca0ae3de7347..89c12fa15b65 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_updatenotificationconfig_notificationconfig_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_updatenotificationconfig_notificationconfig_sync] import com.google.cloud.securitycenter.v1p1beta1.NotificationConfig; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; @@ -37,5 +36,4 @@ public static void syncUpdateNotificationConfigNotificationconfig() throws Excep } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_updatenotificationconfig_notificationconfig_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_updatenotificationconfig_notificationconfig_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java index e6349b9c7e09..60be3cfb5764 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_updatenotificationconfig_notificationconfigfieldmask_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_updatenotificationconfig_notificationconfigfieldmask_sync] import com.google.cloud.securitycenter.v1p1beta1.NotificationConfig; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.protobuf.FieldMask; @@ -39,5 +38,4 @@ public static void syncUpdateNotificationConfigNotificationconfigFieldmask() thr } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_updatenotificationconfig_notificationconfigfieldmask_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_updatenotificationconfig_notificationconfigfieldmask_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java index a396ceb874ec..95167830e5a7 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_updateorganizationsettings_organizationsettings_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_updateorganizationsettings_organizationsettings_sync] import com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings; import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; @@ -37,5 +36,4 @@ public static void syncUpdateOrganizationSettingsOrganizationsettings() throws E } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_updateorganizationsettings_organizationsettings_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_updateorganizationsettings_organizationsettings_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java index f030c83f44d7..3ad3e87ac1e9 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_updatesecuritymarks_securitymarks_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_updatesecuritymarks_securitymarks_sync] import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1p1beta1.SecurityMarks; @@ -36,5 +35,4 @@ public static void syncUpdateSecurityMarksSecuritymarks() throws Exception { } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_updatesecuritymarks_securitymarks_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_updatesecuritymarks_securitymarks_sync] diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarksFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarksFieldmask.java index 1e3e62e71d1a..4958aa18ad26 100644 --- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarksFieldmask.java +++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarksFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.securitycenter.v1p1beta1.samples; -// [START -// securitycenter_v1p1beta1_generated_securitycenterclient_updatesecuritymarks_securitymarksfieldmask_sync] +// [START securitycenter_v1p1beta1_generated_securitycenterclient_updatesecuritymarks_securitymarksfieldmask_sync] import com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClient; import com.google.cloud.securitycenter.v1p1beta1.SecurityMarks; import com.google.protobuf.FieldMask; @@ -38,5 +37,4 @@ public static void syncUpdateSecurityMarksSecuritymarksFieldmask() throws Except } } } -// [END -// securitycenter_v1p1beta1_generated_securitycenterclient_updatesecuritymarks_securitymarksfieldmask_sync] +// [END securitycenter_v1p1beta1_generated_securitycenterclient_updatesecuritymarks_securitymarksfieldmask_sync]