Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::GetPublisherModelRequest (v0.52.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::GetPublisherModelRequest.

Request message for ModelGardenService.GetPublisherModel

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#hugging_face_token

def hugging_face_token() -> ::String
Returns
  • (::String) — Optional. Token used to access Hugging Face gated models.

#hugging_face_token=

def hugging_face_token=(value) -> ::String
Parameter
  • value (::String) — Optional. Token used to access Hugging Face gated models.
Returns
  • (::String) — Optional. Token used to access Hugging Face gated models.

#is_hugging_face_model

def is_hugging_face_model() -> ::Boolean
Returns
  • (::Boolean) — Optional. Boolean indicates whether the requested model is a Hugging Face model.

#is_hugging_face_model=

def is_hugging_face_model=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Boolean indicates whether the requested model is a Hugging Face model.
Returns
  • (::Boolean) — Optional. Boolean indicates whether the requested model is a Hugging Face model.

#language_code

def language_code() -> ::String
Returns
  • (::String) — Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in.

#language_code=

def language_code=(value) -> ::String
Parameter
  • value (::String) — Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in.
Returns
  • (::String) — Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in.

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}
Returns
  • (::String) — Required. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}

#view

def view() -> ::Google::Cloud::AIPlatform::V1::PublisherModelView
Returns

#view=

def view=(value) -> ::Google::Cloud::AIPlatform::V1::PublisherModelView
Parameter
Returns