Google Cloud BigQuery Analytics Hub V1 Client - Class CreateDataExchangeRequest (0.3.2)

Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class CreateDataExchangeRequest.

Message for creating a data exchange.

Generated from protobuf message google.cloud.bigquery.analyticshub.v1.CreateDataExchangeRequest

Namespace

Google \ Cloud \ BigQuery \ AnalyticsHub \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource path of the data exchange. e.g. projects/myproject/locations/US.

↳ data_exchange_id string

Required. The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.

↳ data_exchange Google\Cloud\BigQuery\AnalyticsHub\V1\DataExchange

Required. The data exchange to create.

getParent

Required. The parent resource path of the data exchange.

e.g. projects/myproject/locations/US.

Returns
TypeDescription
string

setParent

Required. The parent resource path of the data exchange.

e.g. projects/myproject/locations/US.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataExchangeId

Required. The ID of the data exchange.

Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.

Returns
TypeDescription
string

setDataExchangeId

Required. The ID of the data exchange.

Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataExchange

Required. The data exchange to create.

Returns
TypeDescription
Google\Cloud\BigQuery\AnalyticsHub\V1\DataExchange|null

hasDataExchange

clearDataExchange

setDataExchange

Required. The data exchange to create.

Parameter
NameDescription
var Google\Cloud\BigQuery\AnalyticsHub\V1\DataExchange
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The parent resource path of the data exchange. e.g. projects/myproject/locations/US. Please see Google\Cloud\BigQuery\AnalyticsHub\V1\AnalyticsHubServiceClient::locationName() for help formatting this field.

dataExchange Google\Cloud\BigQuery\AnalyticsHub\V1\DataExchange

Required. The data exchange to create.

Returns
TypeDescription
Google\Cloud\BigQuery\AnalyticsHub\V1\CreateDataExchangeRequest