Reference documentation and code samples for the Agent Registry V1 API class Google::Cloud::AgentRegistry::V1::Finding.
Represents a security Finding.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Create time.
#detail
def detail() -> ::String
Returns
- (::String) — Optional. Detailed description of the finding.
#detail=
def detail=(value) -> ::String
Parameter
- value (::String) — Optional. Detailed description of the finding.
Returns
- (::String) — Optional. Detailed description of the finding.
#files
def files() -> ::Array<::Google::Cloud::AgentRegistry::V1::Finding::File>
Returns
- (::Array<::Google::Cloud::AgentRegistry::V1::Finding::File>) — Optional. File associated with the finding.
#files=
def files=(value) -> ::Array<::Google::Cloud::AgentRegistry::V1::Finding::File>
Parameter
- value (::Array<::Google::Cloud::AgentRegistry::V1::Finding::File>) — Optional. File associated with the finding.
Returns
- (::Array<::Google::Cloud::AgentRegistry::V1::Finding::File>) — Optional. File associated with the finding.
#finding_class
def finding_class() -> ::Google::Cloud::AgentRegistry::V1::Finding::FindingClass
Returns
- (::Google::Cloud::AgentRegistry::V1::Finding::FindingClass) — Optional. Class of the finding.
#finding_class=
def finding_class=(value) -> ::Google::Cloud::AgentRegistry::V1::Finding::FindingClass
Parameter
- value (::Google::Cloud::AgentRegistry::V1::Finding::FindingClass) — Optional. Class of the finding.
Returns
- (::Google::Cloud::AgentRegistry::V1::Finding::FindingClass) — Optional. Class of the finding.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. Resource name of the Finding.
Format:
projects/{project}/locations/{location}/findings/{finding}.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. Resource name of the Finding.
Format:
projects/{project}/locations/{location}/findings/{finding}.
Returns
-
(::String) — Identifier. Resource name of the Finding.
Format:
projects/{project}/locations/{location}/findings/{finding}.
#resource
def resource() -> ::String
Returns
- (::String) — Optional. The resource that the finding is associated with.
#resource=
def resource=(value) -> ::String
Parameter
- value (::String) — Optional. The resource that the finding is associated with.
Returns
- (::String) — Optional. The resource that the finding is associated with.
#severity
def severity() -> ::Google::Cloud::AgentRegistry::V1::Severity
Returns
- (::Google::Cloud::AgentRegistry::V1::Severity) — Optional. Severity of the finding.
#severity=
def severity=(value) -> ::Google::Cloud::AgentRegistry::V1::Severity
Parameter
- value (::Google::Cloud::AgentRegistry::V1::Severity) — Optional. Severity of the finding.
Returns
- (::Google::Cloud::AgentRegistry::V1::Severity) — Optional. Severity of the finding.
#uid
def uid() -> ::String
Returns
- (::String) — Output only. Universally unique identifier (UUID4) for the Finding.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Update time.