Class PublisherModel (1.30.1)

PublisherModel(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A Model Garden Publisher Model.

Attributes

Name Description
name str
Output only. The resource name of the PublisherModel.
version_id str
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.
open_source_category google.cloud.aiplatform_v1beta1.types.PublisherModel.OpenSourceCategory
Required. Indicates the open source category of the publisher model.
parent google.cloud.aiplatform_v1beta1.types.PublisherModel.Parent
Optional. The parent that this model was customized from. E.g., Vision API, Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
supported_actions google.cloud.aiplatform_v1beta1.types.PublisherModel.CallToAction
Optional. Supported call-to-action options.
frameworks MutableSequence[str]
Optional. Additional information about the model's Frameworks.
launch_stage google.cloud.aiplatform_v1beta1.types.PublisherModel.LaunchStage
Optional. Indicates the launch stage of the model.
publisher_model_template str
Optional. Output only. Immutable. Used to indicate this model has a publisher model and provide the template of the publisher model resource name.
predict_schemata google.cloud.aiplatform_v1beta1.types.PredictSchemata
Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via PredictionService.Predict.

Classes

CallToAction

CallToAction(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Actions could take on this Publisher Model.

Documentation

Documentation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A named piece of documentation.

LaunchStage

LaunchStage(value)

An enum representing the launch stage of a PublisherModel.

Values: LAUNCH_STAGE_UNSPECIFIED (0): The model launch stage is unspecified. EXPERIMENTAL (1): Used to indicate the PublisherModel is at Experimental launch stage. PRIVATE_PREVIEW (2): Used to indicate the PublisherModel is at Private Preview launch stage. PUBLIC_PREVIEW (3): Used to indicate the PublisherModel is at Public Preview launch stage. GA (4): Used to indicate the PublisherModel is at GA launch stage.

OpenSourceCategory

OpenSourceCategory(value)

An enum representing the open source category of a PublisherModel.

Values: OPEN_SOURCE_CATEGORY_UNSPECIFIED (0): The open source category is unspecified, which should not be used. PROPRIETARY (1): Used to indicate the PublisherModel is not open sourced. GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT (2): Used to indicate the PublisherModel is a Google-owned open source model w/ Google checkpoint. THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT (3): Used to indicate the PublisherModel is a 3p-owned open source model w/ Google checkpoint. GOOGLE_OWNED_OSS (4): Used to indicate the PublisherModel is a Google-owned pure open source model. THIRD_PARTY_OWNED_OSS (5): Used to indicate the PublisherModel is a 3p-owned pure open source model.

Parent

Parent(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The information about the parent of a model.

ResourceReference

ResourceReference(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Reference to a resource.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields