Interface CreateFindingRequestOrBuilder (2.32.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.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FindingOrBuilder

getParent()

public abstract String getParent()

Required. Resource name of the new finding's parent. Its format should be "organizations/[organization_id]/sources/[source_id]".

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Resource name of the new finding's parent. Its format should be "organizations/[organization_id]/sources/[source_id]".

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

Returns
TypeDescription
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.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the finding field is set.