Interface DeleteListingRequestOrBuilder (0.61.0)

public interface DeleteListingRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeleteCommercial()

public abstract boolean getDeleteCommercial()

Optional. If the listing is commercial then this field must be set to true, otherwise a failure is thrown. This acts as a safety guard to avoid deleting commercial listings accidentally.

bool delete_commercial = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The deleteCommercial.

getName()

public abstract String getName()

Required. Resource name of the listing to delete. e.g. projects/myproject/locations/us/dataExchanges/123/listings/456.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Resource name of the listing to delete. e.g. projects/myproject/locations/us/dataExchanges/123/listings/456.

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

Returns
Type Description
ByteString

The bytes for name.