@Generated(value="by gapic-generator-java") public class AssetName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and 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}.
|
Modifier | Constructor and Description |
---|---|
protected |
AssetName()
Deprecated.
|
@Deprecated protected AssetName()
public String getOrganization()
public String getAsset()
public String getFolder()
public String getProject()
public static AssetName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static AssetName.Builder newOrganizationAssetBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static AssetName.FolderAssetBuilder newFolderAssetBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static AssetName.ProjectAssetBuilder newProjectAssetBuilder()
public AssetName.Builder toBuilder()
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static AssetName ofOrganizationAssetName(String organization, String asset)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static AssetName ofFolderAssetName(String folder, String asset)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static AssetName ofProjectAssetName(String project, String asset)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationAssetName(String organization, String asset)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatFolderAssetName(String folder, String asset)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectAssetName(String project, String asset)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2022 Google LLC. All rights reserved.