# Storage Control V2 API - Class Google::Cloud::Storage::Control::V2::IntelligenceFinding (v1.12.0)

1.12.0 (latest) 1.11.0 1.10.1 1.9.0 1.8.1 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.1.1 Reference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::IntelligenceFinding.

The `IntelligenceFinding` resource that represents a security, performance,
or cost-related finding about a project or bucket.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #associated_resources

    def associated_resources() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Output only. Contains GCP resource names that are
  relevant to this `IntelligenceFinding`. The `target_resource` is also added
  as part of `associated_resources`. eg:

  - `storage.googleapis.com/projects/_/buckets/b1`
  - `cloudresourecemanager.googleapis.com/projects/p1`

### #category

    def category() -> ::Google::Cloud::Storage::Control::V2::FindingCategory

**Returns**

- ([::Google::Cloud::Storage::Control::V2::FindingCategory](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-FindingCategory)) --- Output only. Category of this finding.

### #coldline_and_archival_storage_operations_spike

    def coldline_and_archival_storage_operations_spike() -> ::Google::Cloud::Storage::Control::V2::IntelligenceFinding::ColdlineAndArchivalStorageOperationsSpike

**Returns**

- ([::Google::Cloud::Storage::Control::V2::IntelligenceFinding::ColdlineAndArchivalStorageOperationsSpike](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceFinding-ColdlineAndArchivalStorageOperationsSpike)) --- Output only. `IntelligenceFinding` about a spike in Class A/B operations on Coldline or Archive Cloud Storage objects.


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

### #create_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Protobuf-Timestamp)) --- Output only. The time at which the finding was created.

### #cross_region_egress_spike

    def cross_region_egress_spike() -> ::Google::Cloud::Storage::Control::V2::IntelligenceFinding::CrossRegionEgressSpike

**Returns**

- ([::Google::Cloud::Storage::Control::V2::IntelligenceFinding::CrossRegionEgressSpike](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceFinding-CrossRegionEgressSpike)) --- Output only. `IntelligenceFinding` about a spike in cross-region egress.


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

### #description

    def description() -> ::String

**Returns**

- (::String) --- Output only. A short description about the finding.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The resource name of `IntelligenceFinding`. Format: `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The resource name of `IntelligenceFinding`. Format: `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}`
**Returns**

- (::String) --- Identifier. The resource name of `IntelligenceFinding`. Format: `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}`

### #observation_period

    def observation_period() -> ::Google::Type::Interval

**Returns**

- ([::Google::Type::Interval](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Type-Interval)) --- Output only. The time interval during which the underlying data was used to generate this `IntelligenceFinding`.

### #severity

    def severity() -> ::Google::Cloud::Storage::Control::V2::FindingSeverity

**Returns**

- ([::Google::Cloud::Storage::Control::V2::FindingSeverity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-FindingSeverity)) --- Output only. Severity of the finding.

### #storage_growth_above_trend

    def storage_growth_above_trend() -> ::Google::Cloud::Storage::Control::V2::IntelligenceFinding::StorageGrowthAboveTrend

**Returns**

- ([::Google::Cloud::Storage::Control::V2::IntelligenceFinding::StorageGrowthAboveTrend](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceFinding-StorageGrowthAboveTrend)) --- Output only. `IntelligenceFinding` about growth in storage above the expected trend.


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

### #target_resource

    def target_resource() -> ::String

**Returns**

- (::String) --- Output only. The fully qualified resource name of the resource that this
  `IntelligenceFinding` applies to. eg:

  - `storage.googleapis.com/projects/_/buckets/b1`
  - `cloudresourecemanager.googleapis.com/projects/p1`

### #throttled_requests_spike

    def throttled_requests_spike() -> ::Google::Cloud::Storage::Control::V2::IntelligenceFinding::ThrottledRequestSpike

**Returns**

- ([::Google::Cloud::Storage::Control::V2::IntelligenceFinding::ThrottledRequestSpike](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceFinding-ThrottledRequestSpike)) --- Output only. `IntelligenceFinding` about a spike in throttled requests (429 errors) within a project.


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

### #type

    def type() -> ::Google::Cloud::Storage::Control::V2::FindingType

**Returns**

- ([::Google::Cloud::Storage::Control::V2::FindingType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-FindingType)) --- Output only. Type of this finding.

### #update_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Protobuf-Timestamp)) --- Output only. The time at which the finding was last updated.