Class AssetName
- java.lang.Object
-
- com.google.cloud.securitycenter.v1p1beta1.AssetName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class AssetName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AssetName.Builder
Builder for organizations/{organization}/assets/{asset}.static class
AssetName.FolderAssetBuilder
Builder for folders/{folder}/assets/{asset}.static class
AssetName.ProjectAssetBuilder
Builder for projects/{project}/assets/{asset}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AssetName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
AssetName
@Deprecated protected AssetName()
Deprecated.
-
-
Method Detail
-
getOrganization
public String getOrganization()
-
getAsset
public String getAsset()
-
getFolder
public String getFolder()
-
getProject
public String getProject()
-
newBuilder
public static AssetName.Builder newBuilder()
-
newOrganizationAssetBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static AssetName.Builder newOrganizationAssetBuilder()
-
newFolderAssetBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static AssetName.FolderAssetBuilder newFolderAssetBuilder()
-
newProjectAssetBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static AssetName.ProjectAssetBuilder newProjectAssetBuilder()
-
toBuilder
public AssetName.Builder toBuilder()
-
ofOrganizationAssetName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static AssetName ofOrganizationAssetName(String organization, String asset)
-
ofFolderAssetName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static AssetName ofFolderAssetName(String folder, String asset)
-
ofProjectAssetName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static AssetName ofProjectAssetName(String project, String asset)
-
formatOrganizationAssetName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationAssetName(String organization, String asset)
-
formatFolderAssetName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderAssetName(String folder, String asset)
-
formatProjectAssetName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectAssetName(String project, String asset)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-