Class PublisherModel (1.48.0)

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

A Model Garden Publisher Model.

Attributes

NameDescription
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.
version_state google.cloud.aiplatform_v1beta1.types.PublisherModel.VersionState
Optional. Indicates the state of the model version.
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)

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, available to a small set of customers. PRIVATE_PREVIEW (2): Used to indicate the PublisherModel is at Private Preview launch stage, only available to a small set of customers, although a larger set of customers than an Experimental launch. Previews are the first launch stage used to get feedback from customers. PUBLIC_PREVIEW (3): Used to indicate the PublisherModel is at Public Preview launch stage, available to all customers, although not supported for production workloads. GA (4): Used to indicate the PublisherModel is at GA launch stage, available to all customers and ready for production workload.

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

VersionState

VersionState(value)

An enum representing the state of the PublicModelVersion.

Values: VERSION_STATE_UNSPECIFIED (0): The version state is unspecified. VERSION_STATE_STABLE (1): Used to indicate the version is stable. VERSION_STATE_UNSTABLE (2): Used to indicate the version is unstable.

Methods

PublisherModel

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

A Model Garden Publisher Model.