@Generated(value="by gapic-generator-java") public class DlpJobName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
DlpJobName.Builder
Builder for projects/{project}/dlpJobs/{dlp_job}.
|
static class |
DlpJobName.ProjectLocationDlpJobBuilder
Builder for projects/{project}/locations/{location}/dlpJobs/{dlp_job}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DlpJobName()
Deprecated.
|
@Deprecated protected DlpJobName()
public String getProject()
public String getDlpJob()
public String getLocation()
public static DlpJobName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static DlpJobName.Builder newProjectDlpJobBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static DlpJobName.ProjectLocationDlpJobBuilder newProjectLocationDlpJobBuilder()
public DlpJobName.Builder toBuilder()
public static DlpJobName of(String project, String dlpJob)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static DlpJobName ofProjectDlpJobName(String project, String dlpJob)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static DlpJobName ofProjectLocationDlpJobName(String project, String location, String dlpJob)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectDlpJobName(String project, String dlpJob)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationDlpJobName(String project, String location, String dlpJob)
public static DlpJobName parse(String formattedString)
public static List<DlpJobName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<DlpJobName> 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 © 2022 Google LLC. All rights reserved.