Interface CreateSourceRequestOrBuilder (2.63.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
Type Description
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
Type Description
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.v2.Source source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
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.v2.Source source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
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.v2.Source source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the source field is set.