Interface BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplateOrBuilder (1.36.0)

public static interface BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatasetIdPrefix()

public abstract String getDatasetIdPrefix()

If supplied, every created dataset will have its name prefixed by the provided value. The prefix and name will be separated by an underscore. i.e. <prefix>_<dataset_name>.

string dataset_id_prefix = 2;

Returns
TypeDescription
String

The datasetIdPrefix.

getDatasetIdPrefixBytes()

public abstract ByteString getDatasetIdPrefixBytes()

If supplied, every created dataset will have its name prefixed by the provided value. The prefix and name will be separated by an underscore. i.e. <prefix>_<dataset_name>.

string dataset_id_prefix = 2;

Returns
TypeDescription
ByteString

The bytes for datasetIdPrefix.

getKmsKeyName()

public abstract String getKmsKeyName()

Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key. i.e. projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}. See https://cloud.google.com/bigquery/docs/customer-managed-encryption for more information.

string kms_key_name = 3;

Returns
TypeDescription
String

The kmsKeyName.

getKmsKeyNameBytes()

public abstract ByteString getKmsKeyNameBytes()

Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key. i.e. projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}. See https://cloud.google.com/bigquery/docs/customer-managed-encryption for more information.

string kms_key_name = 3;

Returns
TypeDescription
ByteString

The bytes for kmsKeyName.

getLocation()

public abstract String getLocation()

Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.

string location = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.

string location = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for location.