Gets a Model Garden publisher model.
HTTP request
GET https://{service-endpoint}/v1/{name}
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the PublisherModel resource. Format: |
Query parameters
Parameters | |
---|---|
languageCode |
Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in. |
view |
Optional. PublisherModel view specifying which fields to read. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of PublisherModel
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
PublisherModelView
View enumeration of PublisherModel.
Enums | |
---|---|
PUBLISHER_MODEL_VIEW_UNSPECIFIED |
The default / unset value. The API will default to the BASIC view. |
PUBLISHER_MODEL_VIEW_BASIC |
Include basic metadata about the publisher model, but not the full contents. |
PUBLISHER_MODEL_VIEW_FULL |
Include everything. |
PUBLISHER_MODEL_VERSION_VIEW_BASIC |
Include: VersionId, ModelVersionExternalName, and SupportedActions. |