Reference documentation and code samples for the Recommender V1 API class Google::Cloud::Recommender::V1::RecommenderConfig.
Configuration for a Recommender.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — 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.
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — 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.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — 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
def display_name() -> ::String
Returns
- (::String) — A user-settable field to provide a human-readable name to be used in user interfaces.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — A user-settable field to provide a human-readable name to be used in user interfaces.
Returns
- (::String) — A user-settable field to provide a human-readable name to be used in user interfaces.
#etag
def etag() -> ::String
Returns
- (::String) — Fingerprint of the RecommenderConfig. Provides optimistic locking when updating.
#etag=
def etag=(value) -> ::String
Parameter
- value (::String) — Fingerprint of the RecommenderConfig. Provides optimistic locking when updating.
Returns
- (::String) — Fingerprint of the RecommenderConfig. Provides optimistic locking when updating.
#name
def name() -> ::String
Returns
- (::String) — Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config
Returns
- (::String) — Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config
#recommender_generation_config
def recommender_generation_config() -> ::Google::Cloud::Recommender::V1::RecommenderGenerationConfig
Returns
- (::Google::Cloud::Recommender::V1::RecommenderGenerationConfig) — RecommenderGenerationConfig which configures the Generation of recommendations for this recommender.
#recommender_generation_config=
def recommender_generation_config=(value) -> ::Google::Cloud::Recommender::V1::RecommenderGenerationConfig
Parameter
- value (::Google::Cloud::Recommender::V1::RecommenderGenerationConfig) — RecommenderGenerationConfig which configures the Generation of recommendations for this recommender.
Returns
- (::Google::Cloud::Recommender::V1::RecommenderGenerationConfig) — RecommenderGenerationConfig which configures the Generation of recommendations for this recommender.
#revision_id
def revision_id() -> ::String
Returns
- (::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.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Last time when the config was updated.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Last time when the config was updated.
Returns
- (::Google::Protobuf::Timestamp) — Last time when the config was updated.