From 44460ee77aa58bf234b69757da31494c8cd552da Mon Sep 17 00:00:00 2001 From: Neenu1995 Date: Mon, 18 Jan 2021 14:09:39 -0500 Subject: [PATCH] chore: deprecate files in v1beta1 that will be removed in next release --- .../securitycenter/v1beta1/AssetSecurityMarksName.java | 7 ++++++- .../securitycenter/v1beta1/FindingSecurityMarksName.java | 7 ++++++- .../cloud/securitycenter/v1beta1/SecuritymarksName.java | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetSecurityMarksName.java b/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetSecurityMarksName.java index 78cf25b85..e6b02a73b 100644 --- a/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetSecurityMarksName.java +++ b/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetSecurityMarksName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -/** AUTO-GENERATED DOCUMENTATION AND CLASS */ +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class AssetSecurityMarksName extends SecuritymarksName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingSecurityMarksName.java b/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingSecurityMarksName.java index 645301591..e21206ac0 100644 --- a/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingSecurityMarksName.java +++ b/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingSecurityMarksName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -/** AUTO-GENERATED DOCUMENTATION AND CLASS */ +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class FindingSecurityMarksName extends SecuritymarksName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritymarksName.java b/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritymarksName.java index 4f6c16e26..983f37a66 100644 --- a/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritymarksName.java +++ b/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritymarksName.java @@ -18,8 +18,13 @@ import com.google.api.resourcenames.ResourceName; -/** AUTO-GENERATED DOCUMENTATION AND CLASS */ +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public abstract class SecuritymarksName implements ResourceName { protected SecuritymarksName() {} }