Cloud AI Platform v1 API - Class GetModelRequest (2.27.0)

public sealed class GetModelRequest : IMessage<GetModelRequest>, IEquatable<GetModelRequest>, IDeepCloneable<GetModelRequest>, IBufferMessage, IMessage

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

Request message for [ModelService.GetModel][google.cloud.aiplatform.v1.ModelService.GetModel].

Inheritance

object > GetModelRequest

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

GetModelRequest()

public GetModelRequest()

GetModelRequest(GetModelRequest)

public GetModelRequest(GetModelRequest other)
Parameter
Name Description
other GetModelRequest

Properties

ModelName

public ModelName ModelName { get; set; }

ModelName-typed view over the Name resource name property.

Property Value
Type Description
ModelName

Name

public string Name { get; set; }

Required. The name of the Model resource. Format: projects/{project}/locations/{location}/models/{model}

In order to retrieve a specific version of the model, also provide the version ID or version alias. Example: projects/{project}/locations/{location}/models/{model}@2 or projects/{project}/locations/{location}/models/{model}@golden If no version ID or alias is specified, the "default" version will be returned. The "default" version alias is created for the first version of the model, and can be moved to other versions later on. There will be exactly one default version.

Property Value
Type Description
string