# Developer Connect V1 API - Class Google::Cloud::Developerconnect::V1::InsightsConfig (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::Developerconnect::V1::InsightsConfig.

The InsightsConfig resource is the core configuration object to capture
events from your Software Development Lifecycle. It acts as the central hub
for managing how Developer Connect understands your application, its runtime
environments, and the artifacts deployed within them.

## 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}) --- Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations.

### #annotations=

    def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations.

### #app_hub_application

    def app_hub_application() -> ::String

**Returns**

- (::String) --- Optional. The name of the App Hub Application. Format: projects/{project}/locations/{location}/applications/{application}

  Note: The following fields are mutually exclusive: `app_hub_application`, `projects`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #app_hub_application=

    def app_hub_application=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The name of the App Hub Application. Format: projects/{project}/locations/{location}/applications/{application}


  Note: The following fields are mutually exclusive: `app_hub_application`, `projects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- Optional. The name of the App Hub Application. Format: projects/{project}/locations/{location}/applications/{application}

  Note: The following fields are mutually exclusive: `app_hub_application`, `projects`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #artifact_configs

    def artifact_configs() -> ::Array<::Google::Cloud::Developerconnect::V1::ArtifactConfig>

**Returns**

- (::Array\<[::Google::Cloud::Developerconnect::V1::ArtifactConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-ArtifactConfig)\>) --- Optional. The artifact configurations of the artifacts that are deployed.

### #artifact_configs=

    def artifact_configs=(value) -> ::Array<::Google::Cloud::Developerconnect::V1::ArtifactConfig>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Developerconnect::V1::ArtifactConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-ArtifactConfig)\>) --- Optional. The artifact configurations of the artifacts that are deployed.
**Returns**

- (::Array\<[::Google::Cloud::Developerconnect::V1::ArtifactConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-ArtifactConfig)\>) --- Optional. The artifact configurations of the artifacts that are deployed.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Create timestamp.

### #errors

    def errors() -> ::Array<::Google::Rpc::Status>

**Returns**

- (::Array\<[::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Rpc-Status)\>) --- Output only. Any errors that occurred while setting up the InsightsConfig. Each error will be in the format: `field_name: error_message`, e.g. GetAppHubApplication: Permission denied while getting App Hub application. Please grant permissions to the P4SA.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Set of labels associated with an InsightsConfig.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Set of labels associated with an InsightsConfig.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Set of labels associated with an InsightsConfig.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
**Returns**

- (::String) --- Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}

### #projects

    def projects() -> ::Google::Cloud::Developerconnect::V1::Projects

**Returns**

- ([::Google::Cloud::Developerconnect::V1::Projects](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-Projects)) --- Optional. The projects to track with the InsightsConfig.


  Note: The following fields are mutually exclusive: `projects`, `app_hub_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #projects=

    def projects=(value) -> ::Google::Cloud::Developerconnect::V1::Projects

**Parameter**

- **value** ([::Google::Cloud::Developerconnect::V1::Projects](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-Projects)) --- Optional. The projects to track with the InsightsConfig.


  Note: The following fields are mutually exclusive: `projects`, `app_hub_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Developerconnect::V1::Projects](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-Projects)) --- Optional. The projects to track with the InsightsConfig.


  Note: The following fields are mutually exclusive: `projects`, `app_hub_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #reconciling

    def reconciling() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of InsightsConfig does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.

### #runtime_configs

    def runtime_configs() -> ::Array<::Google::Cloud::Developerconnect::V1::RuntimeConfig>

**Returns**

- (::Array\<[::Google::Cloud::Developerconnect::V1::RuntimeConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-RuntimeConfig)\>) --- Output only. The runtime configurations where the application is deployed.

### #state

    def state() -> ::Google::Cloud::Developerconnect::V1::InsightsConfig::State

**Returns**

- ([::Google::Cloud::Developerconnect::V1::InsightsConfig::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-InsightsConfig-State)) --- Optional. Output only. The state of the InsightsConfig.

### #state=

    def state=(value) -> ::Google::Cloud::Developerconnect::V1::InsightsConfig::State

**Parameter**

- **value** ([::Google::Cloud::Developerconnect::V1::InsightsConfig::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-InsightsConfig-State)) --- Optional. Output only. The state of the InsightsConfig.
**Returns**

- ([::Google::Cloud::Developerconnect::V1::InsightsConfig::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-InsightsConfig-State)) --- Optional. Output only. The state of the InsightsConfig.

### #update_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Update timestamp.