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
- (::Google::Cloud::SecurityCenter::V2::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::V2::Finding
Parameter
- value (::Google::Cloud::SecurityCenter::V2::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::V2::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. 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]