@Generated(value="by gapic-generator-java") public class DataSourceName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
DataSourceName.Builder
Builder for projects/{project}/dataSources/{data_source}.
|
static class |
DataSourceName.ProjectLocationDataSourceBuilder
Builder for projects/{project}/locations/{location}/dataSources/{data_source}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DataSourceName()
Deprecated.
|
@Deprecated protected DataSourceName()
public String getProject()
public String getDataSource()
public String getLocation()
public static DataSourceName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static DataSourceName.Builder newProjectDataSourceBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static DataSourceName.ProjectLocationDataSourceBuilder newProjectLocationDataSourceBuilder()
public DataSourceName.Builder toBuilder()
public static DataSourceName of(String project, String dataSource)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static DataSourceName ofProjectDataSourceName(String project, String dataSource)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static DataSourceName ofProjectLocationDataSourceName(String project, String location, String dataSource)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectDataSourceName(String project, String dataSource)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationDataSourceName(String project, String location, String dataSource)
public static DataSourceName parse(String formattedString)
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 © 2023 Google LLC. All rights reserved.