@Generated(value="by gapic-generator-java") public class SecretVersionName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
SecretVersionName.Builder
Builder for projects/{project}/secrets/{secret}/versions/{secret_version}.
|
static class |
SecretVersionName.ProjectLocationSecretSecretVersionBuilder
Builder for projects/{project}/locations/{location}/secrets/{secret}/versions/{secret_version}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SecretVersionName()
Deprecated.
|
@Deprecated protected SecretVersionName()
public String getProject()
public String getSecret()
public String getSecretVersion()
public String getLocation()
public static SecretVersionName.Builder newBuilder()
public static SecretVersionName.Builder newProjectSecretSecretVersionBuilder()
public static SecretVersionName.ProjectLocationSecretSecretVersionBuilder newProjectLocationSecretSecretVersionBuilder()
public SecretVersionName.Builder toBuilder()
public static SecretVersionName of(String project, String secret, String secretVersion)
public static SecretVersionName ofProjectSecretSecretVersionName(String project, String secret, String secretVersion)
public static SecretVersionName ofProjectLocationSecretSecretVersionName(String project, String location, String secret, String secretVersion)
public static String formatProjectSecretSecretVersionName(String project, String secret, String secretVersion)
public static String formatProjectLocationSecretSecretVersionName(String project, String location, String secret, String secretVersion)
public static SecretVersionName parse(String formattedString)
public static List<SecretVersionName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<SecretVersionName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2024 Google LLC. All rights reserved.