Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::CreateFindingRequest (v0.5.0)

Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::CreateFindingRequest.

Request message for creating a finding.

Inherits

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#finding

def finding() -> ::Google::Cloud::SecurityCenter::V2::Finding
Returns

#finding=

def finding=(value) -> ::Google::Cloud::SecurityCenter::V2::Finding
Parameter
Returns

#finding_id

def finding_id() -> ::String
Returns
  • (::String) — Required. Unique identifier provided by the client within the parent scope. It must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in length.

#finding_id=

def finding_id=(value) -> ::String
Parameter
  • value (::String) — Required. Unique identifier provided by the client within the parent scope. It must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in length.
Returns
  • (::String) — Required. Unique identifier provided by the client within the parent scope. It must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in length.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Resource name of the new finding's parent. The following list shows some examples of the format: + organizations/[organization_id]/sources/[source_id] + organizations/[organization_id]/sources/[source_id]/locations/[location_id]

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Resource name of the new finding's parent. The following list shows some examples of the format: + organizations/[organization_id]/sources/[source_id] + organizations/[organization_id]/sources/[source_id]/locations/[location_id]
Returns
  • (::String) — Required. Resource name of the new finding's parent. The following list shows some examples of the format: + organizations/[organization_id]/sources/[source_id] + organizations/[organization_id]/sources/[source_id]/locations/[location_id]