Reference documentation and code samples for the Google Cloud Storage Control V2 Client class IntelligenceFinding.
The IntelligenceFinding resource that represents a security, performance,
or cost-related finding about a project or bucket.
Generated from protobuf message google.storage.control.v2.IntelligenceFinding
Namespace
Google \ Cloud \ Storage \ Control \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The resource name of |
↳ description |
string
Output only. A short description about the finding. |
↳ type |
int
Output only. Type of this finding. |
↳ category |
int
Output only. Category of this finding. |
↳ severity |
int
Output only. Severity of the finding. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The time at which the finding was created. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The time at which the finding was last updated. |
↳ target_resource |
string
Output only. The fully qualified resource name of the resource that this |
↳ associated_resources |
string[]
Output only. Contains GCP resource names that are relevant to this |
↳ observation_period |
Google\Type\Interval
Output only. The time interval during which the underlying data was used to generate this |
↳ coldline_and_archival_storage_operations_spike |
IntelligenceFinding\ColdlineAndArchivalStorageOperationsSpike
Output only. |
↳ throttled_requests_spike |
IntelligenceFinding\ThrottledRequestSpike
Output only. |
↳ cross_region_egress_spike |
IntelligenceFinding\CrossRegionEgressSpike
Output only. |
↳ storage_growth_above_trend |
IntelligenceFinding\StorageGrowthAboveTrend
Output only. |
getName
Identifier. The resource name of IntelligenceFinding.
Format:
projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The resource name of IntelligenceFinding.
Format:
projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Output only. A short description about the finding.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Output only. A short description about the finding.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Output only. Type of this finding.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type FindingType. |
setType
Output only. Type of this finding.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type FindingType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCategory
Output only. Category of this finding.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type FindingCategory. |
setCategory
Output only. Category of this finding.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type FindingCategory. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSeverity
Output only. Severity of the finding.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type FindingSeverity. |
setSeverity
Output only. Severity of the finding.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type FindingSeverity. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. The time at which the finding was created.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time at which the finding was created.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. The time at which the finding was last updated.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time at which the finding was last updated.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTargetResource
Output only. The fully qualified resource name of the resource that this
IntelligenceFinding applies to. eg:
storage.googleapis.com/projects/_/buckets/b1cloudresourecemanager.googleapis.com/projects/p1
| Returns | |
|---|---|
| Type | Description |
string |
|
setTargetResource
Output only. The fully qualified resource name of the resource that this
IntelligenceFinding applies to. eg:
storage.googleapis.com/projects/_/buckets/b1cloudresourecemanager.googleapis.com/projects/p1
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAssociatedResources
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/b1cloudresourecemanager.googleapis.com/projects/p1
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setAssociatedResources
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/b1cloudresourecemanager.googleapis.com/projects/p1
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getObservationPeriod
Output only. The time interval during which the underlying data was used to
generate this IntelligenceFinding.
| Returns | |
|---|---|
| Type | Description |
Google\Type\Interval|null |
|
hasObservationPeriod
clearObservationPeriod
setObservationPeriod
Output only. The time interval during which the underlying data was used to
generate this IntelligenceFinding.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Type\Interval
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getColdlineAndArchivalStorageOperationsSpike
Output only. IntelligenceFinding about a spike in Class A/B operations
on Coldline or Archive Cloud Storage objects.
| Returns | |
|---|---|
| Type | Description |
IntelligenceFinding\ColdlineAndArchivalStorageOperationsSpike|null |
|
hasColdlineAndArchivalStorageOperationsSpike
setColdlineAndArchivalStorageOperationsSpike
Output only. IntelligenceFinding about a spike in Class A/B operations
on Coldline or Archive Cloud Storage objects.
| Parameter | |
|---|---|
| Name | Description |
var |
IntelligenceFinding\ColdlineAndArchivalStorageOperationsSpike
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getThrottledRequestsSpike
Output only. IntelligenceFinding about a spike in throttled requests
(429 errors) within a project.
| Returns | |
|---|---|
| Type | Description |
IntelligenceFinding\ThrottledRequestSpike|null |
|
hasThrottledRequestsSpike
setThrottledRequestsSpike
Output only. IntelligenceFinding about a spike in throttled requests
(429 errors) within a project.
| Parameter | |
|---|---|
| Name | Description |
var |
IntelligenceFinding\ThrottledRequestSpike
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCrossRegionEgressSpike
Output only. IntelligenceFinding about a spike in cross-region egress.
| Returns | |
|---|---|
| Type | Description |
IntelligenceFinding\CrossRegionEgressSpike|null |
|
hasCrossRegionEgressSpike
setCrossRegionEgressSpike
Output only. IntelligenceFinding about a spike in cross-region egress.
| Parameter | |
|---|---|
| Name | Description |
var |
IntelligenceFinding\CrossRegionEgressSpike
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStorageGrowthAboveTrend
Output only. IntelligenceFinding about growth in storage above the
expected trend.
| Returns | |
|---|---|
| Type | Description |
IntelligenceFinding\StorageGrowthAboveTrend|null |
|
hasStorageGrowthAboveTrend
setStorageGrowthAboveTrend
Output only. IntelligenceFinding about growth in storage above the
expected trend.
| Parameter | |
|---|---|
| Name | Description |
var |
IntelligenceFinding\StorageGrowthAboveTrend
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIntelligenceFindingDetails
| Returns | |
|---|---|
| Type | Description |
string |
|