Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class GetPublisherModelRequest.
Request message for ModelGardenService.GetPublisherModel
Generated from protobuf message google.cloud.aiplatform.v1.GetPublisherModelRequest
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}
↳ language_code
string
Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in.
↳ view
int
Optional. PublisherModel view specifying which fields to read.
↳ is_hugging_face_model
bool
Optional. Boolean indicates whether the requested model is a Hugging Face model.
↳ hugging_face_token
string
Optional. Token used to access Hugging Face gated models.
getName
Required. The name of the PublisherModel resource.
Format: publishers/{publisher}/models/{publisher_model}
string
setName
Required. The name of the PublisherModel resource.
Format: publishers/{publisher}/models/{publisher_model}
var
string
$this
getLanguageCode
Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in.
string
setLanguageCode
Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in.
var
string
$this
getView
Optional. PublisherModel view specifying which fields to read.
setView
Optional. PublisherModel view specifying which fields to read.
$this
getIsHuggingFaceModel
Optional. Boolean indicates whether the requested model is a Hugging Face model.
bool
setIsHuggingFaceModel
Optional. Boolean indicates whether the requested model is a Hugging Face model.
var
bool
$this
getHuggingFaceToken
Optional. Token used to access Hugging Face gated models.
string
setHuggingFaceToken
Optional. Token used to access Hugging Face gated models.
var
string
$this
static::build
name
string
Required. The name of the PublisherModel resource.
Format: publishers/{publisher}/models/{publisher_model}
Please see ModelGardenServiceClient::publisherModelName()
for help formatting this field.

