Interface CreateFindingRequestOrBuilder (2.56.0)

public interface CreateFindingRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFinding()

public abstract Finding getFinding()

Required. The Finding being created. The name and security_marks will be ignored as they are both output only fields on this resource.

.google.cloud.securitycenter.v2.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Finding

The finding.

getFindingId()

public abstract String getFindingId()

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.

string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The findingId.

getFindingIdBytes()

public abstract ByteString getFindingIdBytes()

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.

string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for findingId.

getFindingOrBuilder()

public abstract FindingOrBuilder getFindingOrBuilder()

Required. The Finding being created. The name and security_marks will be ignored as they are both output only fields on this resource.

.google.cloud.securitycenter.v2.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FindingOrBuilder

getParent()

public abstract String getParent()

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]

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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]

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasFinding()

public abstract boolean hasFinding()

Required. The Finding being created. The name and security_marks will be ignored as they are both output only fields on this resource.

.google.cloud.securitycenter.v2.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the finding field is set.