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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource path of the data exchange. e.g. |
↳ 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 |
DataExchange
Required. The data exchange to create. |
getParent
Required. The parent resource path of the data exchange.
e.g. projects/myproject/locations/US
.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent resource path of the data exchange.
e.g. projects/myproject/locations/US
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDataExchange
Required. The data exchange to create.
Returns | |
---|---|
Type | Description |
DataExchange|null |
hasDataExchange
clearDataExchange
setDataExchange
Required. The data exchange to create.
Parameter | |
---|---|
Name | Description |
var |
DataExchange
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The parent resource path of the data exchange.
e.g. |
dataExchange |
DataExchange
Required. The data exchange to create. |
Returns | |
---|---|
Type | Description |
CreateDataExchangeRequest |