Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::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::V1::Finding
Returns
- (::Google::Cloud::SecurityCenter::V1::Finding) — Required. The Finding being created. The name and security_marks will be ignored as they are both output only fields on this resource.
#finding=
def finding=(value) -> ::Google::Cloud::SecurityCenter::V1::Finding
Parameter
- value (::Google::Cloud::SecurityCenter::V1::Finding) — Required. The Finding being created. The name and security_marks will be ignored as they are both output only fields on this resource.
Returns
- (::Google::Cloud::SecurityCenter::V1::Finding) — Required. The Finding being created. The name and security_marks will be ignored as they are both output only fields on this resource.
#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. Its format should be "organizations/[organization_id]/sources/[source_id]".
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. Resource name of the new finding's parent. Its format should be "organizations/[organization_id]/sources/[source_id]".
Returns
- (::String) — Required. Resource name of the new finding's parent. Its format should be "organizations/[organization_id]/sources/[source_id]".