Class SecretVersionName (2.39.0)

public class SecretVersionName implements ResourceName

Inheritance

Object > SecretVersionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String secret, String secretVersion)

public static String format(String project, String secret, String secretVersion)
Parameters
NameDescription
projectString
secretString
secretVersionString
Returns
TypeDescription
String

formatProjectLocationSecretSecretVersionName(String project, String location, String secret, String secretVersion)

public static String formatProjectLocationSecretSecretVersionName(String project, String location, String secret, String secretVersion)
Parameters
NameDescription
projectString
locationString
secretString
secretVersionString
Returns
TypeDescription
String

formatProjectSecretSecretVersionName(String project, String secret, String secretVersion)

public static String formatProjectSecretSecretVersionName(String project, String secret, String secretVersion)
Parameters
NameDescription
projectString
secretString
secretVersionString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static SecretVersionName.Builder newBuilder()
Returns
TypeDescription
SecretVersionName.Builder

newProjectLocationSecretSecretVersionBuilder()

public static SecretVersionName.ProjectLocationSecretSecretVersionBuilder newProjectLocationSecretSecretVersionBuilder()
Returns
TypeDescription
SecretVersionName.ProjectLocationSecretSecretVersionBuilder

newProjectSecretSecretVersionBuilder()

public static SecretVersionName.Builder newProjectSecretSecretVersionBuilder()
Returns
TypeDescription
SecretVersionName.Builder

of(String project, String secret, String secretVersion)

public static SecretVersionName of(String project, String secret, String secretVersion)
Parameters
NameDescription
projectString
secretString
secretVersionString
Returns
TypeDescription
SecretVersionName

ofProjectLocationSecretSecretVersionName(String project, String location, String secret, String secretVersion)

public static SecretVersionName ofProjectLocationSecretSecretVersionName(String project, String location, String secret, String secretVersion)
Parameters
NameDescription
projectString
locationString
secretString
secretVersionString
Returns
TypeDescription
SecretVersionName

ofProjectSecretSecretVersionName(String project, String secret, String secretVersion)

public static SecretVersionName ofProjectSecretSecretVersionName(String project, String secret, String secretVersion)
Parameters
NameDescription
projectString
secretString
secretVersionString
Returns
TypeDescription
SecretVersionName

parse(String formattedString)

public static SecretVersionName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
SecretVersionName

parseList(List<String> formattedStrings)

public static List<SecretVersionName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<SecretVersionName>

toStringList(List<SecretVersionName> values)

public static List<String> toStringList(List<SecretVersionName> values)
Parameter
NameDescription
valuesList<SecretVersionName>
Returns
TypeDescription
List<String>

Constructors

SecretVersionName() (deprecated)

protected SecretVersionName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSecret()

public String getSecret()
Returns
TypeDescription
String

getSecretVersion()

public String getSecretVersion()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public SecretVersionName.Builder toBuilder()
Returns
TypeDescription
SecretVersionName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides