# Recommender V1 API - Class Google::Cloud::Recommender::V1::RecommenderConfig (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.18.0 0.17.2 0.16.0 0.15.0 0.14.0 0.13.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.6 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) --- Identifier. Name of recommender config. Eg, projects/\[PROJECT_NUMBER\]/locations/\[LOCATION\]/recommenders/\[RECOMMENDER_ID\]/config

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. Name of recommender config. Eg, projects/\[PROJECT_NUMBER\]/locations/\[LOCATION\]/recommenders/\[RECOMMENDER_ID\]/config
**Returns**

- (::String) --- Identifier. 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recommender-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recommender-v1/latest/Google-Cloud-Recommender-V1-RecommenderGenerationConfig)) --- RecommenderGenerationConfig which configures the Generation of recommendations for this recommender.
**Returns**

- ([::Google::Cloud::Recommender::V1::RecommenderGenerationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recommender-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recommender-v1/latest/Google-Protobuf-Timestamp)) --- Last time when the config was updated.

### #update_time=

    def update_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recommender-v1/latest/Google-Protobuf-Timestamp)) --- Last time when the config was updated.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recommender-v1/latest/Google-Protobuf-Timestamp)) --- Last time when the config was updated.