Class RecommenderConfig (2.12.0)

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

Configuration for a Recommender.

Attributes

NameDescription
name str
Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config
recommender_generation_config google.cloud.recommender_v1beta1.types.RecommenderGenerationConfig
RecommenderGenerationConfig which configures the Generation of recommendations for this recommender.
etag str
Fingerprint of the RecommenderConfig. Provides optimistic locking when updating.
update_time google.protobuf.timestamp_pb2.Timestamp
Last time when the config was updated.
revision_id str
Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.
annotations MutableMapping[str, str]
Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
display_name str
A user-settable field to provide a human-readable name to be used in user interfaces.

Classes

AnnotationsEntry

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

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.