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

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

#coldline_and_archival_storage_operations_spike

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

#create_time

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

#cross_region_egress_spike

def cross_region_egress_spike() -> ::Google::Cloud::Storage::Control::V2::IntelligenceFinding::CrossRegionEgressSpike
Returns
  • (::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) — 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

#storage_growth_above_trend

def storage_growth_above_trend() -> ::Google::Cloud::Storage::Control::V2::IntelligenceFinding::StorageGrowthAboveTrend
Returns
  • (::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) — 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

#update_time

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