publishers

GET /v1/publishers/{publishersId}/models/{modelsId}

Changed on

Gets a Model Garden publisher model.

Request

  • Base URL
    https://aiplatform.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicit: https://accounts.google.com/o/oauth2/auth
      Scopes: https://www.googleapis.com/auth/aiplatform
      Authorization code: https://accounts.google.com/o/oauth2/auth
      Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/aiplatform
    • or OAuth 2 and OAuth 2
      Implicit: https://accounts.google.com/o/oauth2/auth
      Scopes: https://www.googleapis.com/auth/cloud-platform
      Authorization code: https://accounts.google.com/o/oauth2/auth
      Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform

Path parameters

publishersIdstring required
modelsIdstring required

Query parameters

huggingFaceTokenstring

Optional. Token used to access Hugging Face gated models.

isHuggingFaceModelboolean

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

languageCodestring

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

view'PUBLISHER_MODEL_VIEW_UNSPECIFIED' | 'PUBLISHER_MODEL_VIEW_BASIC' | 'PUBLISHER_MODEL_VIEW_FULL' | 'PUBLISHER_MODEL_VERSION_VIEW_BASIC'

Optional. PublisherModel view specifying which fields to read.

Response

Successful response

frameworksstring[]

Optional. Additional information about the model's Frameworks.

launchStage'LAUNCH_STAGE_UNSPECIFIED' | 'EXPERIMENTAL' | 'PRIVATE_PREVIEW' | 'PUBLIC_PREVIEW' | 'GA'

Optional. Indicates the launch stage of the model.

namestring

Output only. Identifier. The resource name of the PublisherModel.

openSourceCategory'OPEN_SOURCE_CATEGORY_UNSPECIFIED' | 'PROPRIETARY' | 'GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT' | 'THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT' | 'GOOGLE_OWNED_OSS' | 'THIRD_PARTY_OWNED_OSS'

Required. Indicates the open source category of the publisher model.

publisherModelTemplatestring

Optional. Output only. Immutable. Used to indicate this model has a publisher model and provide the template of the publisher model resource name.

versionIdstring

Output only. Immutable. The version ID of the PublisherModel. A new version is committed when a new model version is uploaded under an existing model id. It is an auto-incrementing decimal number in string representation.

versionState'VERSION_STATE_UNSPECIFIED' | 'VERSION_STATE_STABLE' | 'VERSION_STATE_UNSTABLE'

Optional. Indicates the state of the model version.

Changes

    • info

      the security scope https://www.googleapis.com/auth/aiplatform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/aiplatform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was removed from the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/aiplatform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/aiplatform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was removed from the endpoint's security scheme Oauth2c