Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit aa91762

Browse files
authored
fix: deprecate files in v1beta1 that will be removed in next release (#355)
1 parent 931897f commit aa91762

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetSecurityMarksName.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,13 @@
2323
import java.util.List;
2424
import java.util.Map;
2525

26-
/** AUTO-GENERATED DOCUMENTATION AND CLASS */
26+
/**
27+
* AUTO-GENERATED DOCUMENTATION AND CLASS
28+
*
29+
* @deprecated This resource name class will be removed in the next major version.
30+
*/
2731
@javax.annotation.Generated("by GAPIC protoc plugin")
32+
@Deprecated
2833
public class AssetSecurityMarksName extends SecuritymarksName {
2934

3035
private static final PathTemplate PATH_TEMPLATE =

proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingSecurityMarksName.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,13 @@
2323
import java.util.List;
2424
import java.util.Map;
2525

26-
/** AUTO-GENERATED DOCUMENTATION AND CLASS */
26+
/**
27+
* AUTO-GENERATED DOCUMENTATION AND CLASS
28+
*
29+
* @deprecated This resource name class will be removed in the next major version.
30+
*/
2731
@javax.annotation.Generated("by GAPIC protoc plugin")
32+
@Deprecated
2833
public class FindingSecurityMarksName extends SecuritymarksName {
2934

3035
private static final PathTemplate PATH_TEMPLATE =

proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritymarksName.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,13 @@
1818

1919
import com.google.api.resourcenames.ResourceName;
2020

21-
/** AUTO-GENERATED DOCUMENTATION AND CLASS */
21+
/**
22+
* AUTO-GENERATED DOCUMENTATION AND CLASS
23+
*
24+
* @deprecated This resource name class will be removed in the next major version.
25+
*/
2226
@javax.annotation.Generated("by GAPIC protoc plugin")
27+
@Deprecated
2328
public abstract class SecuritymarksName implements ResourceName {
2429
protected SecuritymarksName() {}
2530
}

0 commit comments

Comments
 (0)