Interface CreateZoneRequestOrBuilder (1.45.0)

public interface CreateZoneRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_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. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

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

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public abstract boolean getValidateOnly()

Optional. Only validate the request, but do not perform mutations. The default is false.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

getZone()

public abstract Zone getZone()

Required. Zone resource.

.google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Zone

The zone.

getZoneId()

public abstract String getZoneId()

Required. Zone identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must end with a number or a letter.
  • Must be between 1-63 characters.
  • Must be unique across all lakes from all locations in a project.
  • Must not be one of the reserved IDs (i.e. "default", "global-temp")

string zone_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The zoneId.

getZoneIdBytes()

public abstract ByteString getZoneIdBytes()

Required. Zone identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery.

  • Must contain only lowercase letters, numbers and hyphens.
  • Must start with a letter.
  • Must end with a number or a letter.
  • Must be between 1-63 characters.
  • Must be unique across all lakes from all locations in a project.
  • Must not be one of the reserved IDs (i.e. "default", "global-temp")

string zone_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for zoneId.

getZoneOrBuilder()

public abstract ZoneOrBuilder getZoneOrBuilder()

Required. Zone resource.

.google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ZoneOrBuilder

hasZone()

public abstract boolean hasZone()

Required. Zone resource.

.google.cloud.dataplex.v1.Zone zone = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the zone field is set.