Reference documentation and code samples for the Recommender V1 Client class RecommenderConfig.
Configuration for a Recommender.
Generated from protobuf message google.cloud.recommender.v1.RecommenderConfig
Namespace
Google \ Cloud \ Recommender \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config
↳ recommender_generation_config
RecommenderGenerationConfig
RecommenderGenerationConfig which configures the Generation of recommendations for this recommender.
↳ etag
string
Fingerprint of the RecommenderConfig. Provides optimistic locking when updating.
↳ update_time
↳ revision_id
string
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
array| Google\Protobuf\Internal\MapField
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
string
A user-settable field to provide a human-readable name to be used in user interfaces.
getName
Name of recommender config.
Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config
string
setName
Name of recommender config.
Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config
var
string
$this
getRecommenderGenerationConfig
RecommenderGenerationConfig which configures the Generation of recommendations for this recommender.
hasRecommenderGenerationConfig
clearRecommenderGenerationConfig
setRecommenderGenerationConfig
RecommenderGenerationConfig which configures the Generation of recommendations for this recommender.
$this
getEtag
Fingerprint of the RecommenderConfig. Provides optimistic locking when updating.
string
setEtag
Fingerprint of the RecommenderConfig. Provides optimistic locking when updating.
var
string
$this
getUpdateTime
Last time when the config was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Last time when the config was updated.
$this
getRevisionId
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.
string
setRevisionId
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.
var
string
$this
getAnnotations
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.
setAnnotations
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.
$this
getDisplayName
A user-settable field to provide a human-readable name to be used in user interfaces.
string
setDisplayName
A user-settable field to provide a human-readable name to be used in user interfaces.
var
string
$this