Cloud AI Platform v1 API - Class GetPublisherModelRequest (3.9.0)

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

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

Request message for [ModelGardenService.GetPublisherModel][google.cloud.aiplatform.v1.ModelGardenService.GetPublisherModel]

Inheritance

object > GetPublisherModelRequest

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

GetPublisherModelRequest()

public GetPublisherModelRequest()

GetPublisherModelRequest(GetPublisherModelRequest)

public GetPublisherModelRequest(GetPublisherModelRequest other)
Parameter
Name Description
other GetPublisherModelRequest

Properties

HuggingFaceToken

public string HuggingFaceToken { get; set; }

Optional. Token used to access Hugging Face gated models.

Property Value
Type Description
string

IsHuggingFaceModel

public bool IsHuggingFaceModel { get; set; }

Optional. Boolean indicates whether the requested model is a Hugging Face model.

Property Value
Type Description
bool

LanguageCode

public string LanguageCode { get; set; }

Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in.

Property Value
Type Description
string

Name

public string Name { get; set; }

Required. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}

Property Value
Type Description
string

PublisherModelName

public PublisherModelName PublisherModelName { get; set; }

PublisherModelName-typed view over the Name resource name property.

Property Value
Type Description
PublisherModelName

View

public PublisherModelView View { get; set; }

Optional. PublisherModel view specifying which fields to read.

Property Value
Type Description
PublisherModelView