Interface CreateSourceRequestOrBuilder (2.24.0)

public interface CreateSourceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. Resource name of the new source's parent. Its format should be "organizations/[organization_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 source's parent. Its format should be "organizations/[organization_id]".

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

Returns
TypeDescription
ByteString

The bytes for parent.

getSource()

public abstract Source getSource()

Required. The Source being created, only the display_name and description will be used. All other fields will be ignored.

.google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Source

The source.

getSourceOrBuilder()

public abstract SourceOrBuilder getSourceOrBuilder()

Required. The Source being created, only the display_name and description will be used. All other fields will be ignored.

.google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SourceOrBuilder

hasSource()

public abstract boolean hasSource()

Required. The Source being created, only the display_name and description will be used. All other fields will be ignored.

.google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the source field is set.