Cloud AI Platform v1 API - Class HyperparameterTuningJobName (2.16.0)

public sealed class HyperparameterTuningJobName : IResourceName, IEquatable<HyperparameterTuningJobName>

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

Resource name for the HyperparameterTuningJob resource.

Inheritance

object > HyperparameterTuningJobName

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

HyperparameterTuningJobName(string, string, string)

public HyperparameterTuningJobName(string projectId, string locationId, string hyperparameterTuningJobId)

Constructs a new instance of a HyperparameterTuningJobName class from the component parts of pattern projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

Parameters
NameDescription
projectIdstring

The Project ID. Must not be null or empty.

locationIdstring

The Location ID. Must not be null or empty.

hyperparameterTuningJobIdstring

The HyperparameterTuningJob ID. Must not be null or empty.

Properties

HyperparameterTuningJobId

public string HyperparameterTuningJobId { get; }

The HyperparameterTuningJob 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 HyperparameterTuningJobName.ResourceNameType Type { get; }

The HyperparameterTuningJobName.ResourceNameType of the contained resource name.

Property Value
TypeDescription
HyperparameterTuningJobNameResourceNameType

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 hyperparameterTuningJobId)

Formats the IDs into the string representation of this HyperparameterTuningJobName with pattern projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}.

Parameters
NameDescription
projectIdstring

The Project ID. Must not be null or empty.

locationIdstring

The Location ID. Must not be null or empty.

hyperparameterTuningJobIdstring

The HyperparameterTuningJob ID. Must not be null or empty.

Returns
TypeDescription
string

The string representation of this HyperparameterTuningJobName with pattern projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}.

FormatProjectLocationHyperparameterTuningJob(string, string, string)

public static string FormatProjectLocationHyperparameterTuningJob(string projectId, string locationId, string hyperparameterTuningJobId)

Formats the IDs into the string representation of this HyperparameterTuningJobName with pattern projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}.

Parameters
NameDescription
projectIdstring

The Project ID. Must not be null or empty.

locationIdstring

The Location ID. Must not be null or empty.

hyperparameterTuningJobIdstring

The HyperparameterTuningJob ID. Must not be null or empty.

Returns
TypeDescription
string

The string representation of this HyperparameterTuningJobName with pattern projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}.

FromProjectLocationHyperparameterTuningJob(string, string, string)

public static HyperparameterTuningJobName FromProjectLocationHyperparameterTuningJob(string projectId, string locationId, string hyperparameterTuningJobId)

Creates a HyperparameterTuningJobName with the pattern projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}.

Parameters
NameDescription
projectIdstring

The Project ID. Must not be null or empty.

locationIdstring

The Location ID. Must not be null or empty.