# Recommender V1 API - Class Google::Cloud::Recommender::V1::InsightTypeConfig (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::InsightTypeConfig.

Configuration for an InsightType.

## 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 InsightTypeConfig. Provides optimistic locking when updating.

### #etag=

    def etag=(value) -> ::String

**Parameter**

- **value** (::String) --- Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.
**Returns**

- (::String) --- Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.

### #insight_type_generation_config

    def insight_type_generation_config() -> ::Google::Cloud::Recommender::V1::InsightTypeGenerationConfig

**Returns**

- ([::Google::Cloud::Recommender::V1::InsightTypeGenerationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recommender-v1/latest/Google-Cloud-Recommender-V1-InsightTypeGenerationConfig)) --- InsightTypeGenerationConfig which configures the generation of insights for this insight type.

### #insight_type_generation_config=

    def insight_type_generation_config=(value) -> ::Google::Cloud::Recommender::V1::InsightTypeGenerationConfig

**Parameter**

- **value** ([::Google::Cloud::Recommender::V1::InsightTypeGenerationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recommender-v1/latest/Google-Cloud-Recommender-V1-InsightTypeGenerationConfig)) --- InsightTypeGenerationConfig which configures the generation of insights for this insight type.
**Returns**

- ([::Google::Cloud::Recommender::V1::InsightTypeGenerationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recommender-v1/latest/Google-Cloud-Recommender-V1-InsightTypeGenerationConfig)) --- InsightTypeGenerationConfig which configures the generation of insights for this insight type.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. Name of insight type config. Eg, projects/\[PROJECT_NUMBER\]/locations/\[LOCATION\]/insightTypes/\[INSIGHT_TYPE_ID\]/config

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. Name of insight type config. Eg, projects/\[PROJECT_NUMBER\]/locations/\[LOCATION\]/insightTypes/\[INSIGHT_TYPE_ID\]/config
**Returns**

- (::String) --- Identifier. Name of insight type config. Eg, projects/\[PROJECT_NUMBER\]/locations/\[LOCATION\]/insightTypes/\[INSIGHT_TYPE_ID\]/config

### #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.