Cloud AI Platform v1 API - Class DataLabelingJobName (2.16.0)

public sealed class DataLabelingJobName : IResourceName, IEquatable<DataLabelingJobName>

Reference documentation and code samples for the Cloud AI Platform v1 API class DataLabelingJobName.

Resource name for the DataLabelingJob resource.

Inheritance

object > DataLabelingJobName

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

DataLabelingJobName(string, string, string)

public DataLabelingJobName(string projectId, string locationId, string dataLabelingJobId)

Constructs a new instance of a DataLabelingJobName class from the component parts of pattern projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

Parameters
NameDescription
projectIdstring

The Project ID. Must not be null or empty.

locationIdstring

The Location ID. Must not be null or empty.

dataLabelingJobIdstring

The DataLabelingJob ID. Must not be null or empty.

Properties

DataLabelingJobId

public string DataLabelingJobId { get; }

The DataLabelingJob ID. Will not be null, unless this instance contains an unparsed resource name.

Property Value
TypeDescription
string

IsKnownPattern

public bool IsKnownPattern { get; }

Whether this instance contains a resource name with a known pattern.

Property Value
TypeDescription
bool

LocationId

public string LocationId { get; }

The Location ID. Will not be null, unless this instance contains an unparsed resource name.

Property Value
TypeDescription
string

ProjectId

public string ProjectId { get; }

The Project ID. Will not be null, unless this instance contains an unparsed resource name.

Property Value
TypeDescription
string

Type

public DataLabelingJobName.ResourceNameType Type { get; }

The DataLabelingJobName.ResourceNameType of the contained resource name.

Property Value
TypeDescription
DataLabelingJobNameResourceNameType

UnparsedResource

public UnparsedResourceName UnparsedResource { get; }

The contained UnparsedResourceName. Only non-null if this instance contains an unparsed resource name.

Property Value
TypeDescription
UnparsedResourceName

Methods

Format(string, string, string)

public static string Format(string projectId, string locationId, string dataLabelingJobId)

Formats the IDs into the string representation of this DataLabelingJobName with pattern projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}.

Parameters
NameDescription
projectIdstring

The Project ID. Must not be null or empty.

locationIdstring

The Location ID. Must not be null or empty.

dataLabelingJobIdstring

The DataLabelingJob ID. Must not be null or empty.

Returns
TypeDescription
string

The string representation of this DataLabelingJobName with pattern projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}.

FormatProjectLocationDataLabelingJob(string, string, string)

public static string FormatProjectLocationDataLabelingJob(string projectId, string locationId, string dataLabelingJobId)

Formats the IDs into the string representation of this DataLabelingJobName with pattern projects/{project}/l