Interface CreateConnectionRequestOrBuilder (3.56.0)

public interface CreateConnectionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConnection()

public abstract Connection getConnection()

Required. The connection resource.

.google.privacy.dlp.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Connection

The connection.

getConnectionOrBuilder()

public abstract ConnectionOrBuilder getConnectionOrBuilder()

Required. The connection resource.

.google.privacy.dlp.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectionOrBuilder

getParent()

public abstract String getParent()

Required. Parent resource name.

The format of this value varies depending on the scope of the request (project or organization):

  • Projects scope: projects/{project_id}/locations/{location_id}
  • Organizations scope: organizations/{org_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. Parent resource name.

The format of this value varies depending on the scope of the request (project or organization):

  • Projects scope: projects/{project_id}/locations/{location_id}
  • Organizations scope: organizations/{org_id}/locations/{location_id}

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

Returns
Type Description
ByteString

The bytes for parent.

hasConnection()

public abstract boolean hasConnection()

Required. The connection resource.

.google.privacy.dlp.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the connection field is set.