Class ProtectedResourcesSummaryName
- java.lang.Object
-
- com.google.cloud.kms.inventory.v1.ProtectedResourcesSummaryName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class ProtectedResourcesSummaryName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProtectedResourcesSummaryName.Builder
Builder for projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/protectedResourcesSummary.static class
ProtectedResourcesSummaryName.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionBuilder
Builder for projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}/protectedResourcesSummary.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProtectedResourcesSummaryName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
ProtectedResourcesSummaryName
@Deprecated protected ProtectedResourcesSummaryName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getKeyRing
public String getKeyRing()
-
getCryptoKey
public String getCryptoKey()
-
getCryptoKeyVersion
public String getCryptoKeyVersion()
-
newBuilder
public static ProtectedResourcesSummaryName.Builder newBuilder()
-
newProjectLocationKeyRingCryptoKeyBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ProtectedResourcesSummaryName.Builder newProjectLocationKeyRingCryptoKeyBuilder()
-
newProjectLocationKeyRingCryptoKeyCryptoKeyVersionBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ProtectedResourcesSummaryName.ProjectLocationKeyRingCryptoKeyCryptoKeyVersionBuilder newProjectLocationKeyRingCryptoKeyCryptoKeyVersionBuilder()
-
toBuilder
public ProtectedResourcesSummaryName.Builder toBuilder()
-
of
public static ProtectedResourcesSummaryName of(String project, String location, String keyRing, String cryptoKey)
-
ofProjectLocationKeyRingCryptoKeyName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static ProtectedResourcesSummaryName ofProjectLocationKeyRingCryptoKeyName(String project, String location, String keyRing, String cryptoKey)
-
ofProjectLocationKeyRingCryptoKeyCryptoKeyVersionName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static ProtectedResourcesSummaryName ofProjectLocationKeyRingCryptoKeyCryptoKeyVersionName(String project, String location, String keyRing, String cryptoKey, String cryptoKeyVersion)
-
format
public static String format(String project, String location, String keyRing, String cryptoKey)
-
formatProjectLocationKeyRingCryptoKeyName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationKeyRingCryptoKeyName(String project, String location, String keyRing, String cryptoKey)
-
formatProjectLocationKeyRingCryptoKeyCryptoKeyVersionName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationKeyRingCryptoKeyCryptoKeyVersionName(String project, String location, String keyRing, String cryptoKey, String cryptoKeyVersion)
-
parse
public static ProtectedResourcesSummaryName parse(String formattedString)
-
parseList
public static List<ProtectedResourcesSummaryName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<ProtectedResourcesSummaryName> values)
-
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
-
-