Google Cloud BigQuery Data Exchange V1beta1 Client - Class SubscribeListingRequest (0.4.5)

Reference documentation and code samples for the Google Cloud BigQuery Data Exchange V1beta1 Client class SubscribeListingRequest.

Message for subscribing to a listing.

Generated from protobuf message google.cloud.bigquery.dataexchange.v1beta1.SubscribeListingRequest

Namespace

Google \ Cloud \ BigQuery \ DataExchange \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ destination_dataset Google\Cloud\BigQuery\DataExchange\V1beta1\DestinationDataset

BigQuery destination dataset to create for the subscriber.

↳ name string

Required. Resource name of the listing that you want to subscribe to. e.g. projects/myproject/locations/US/dataExchanges/123/listings/456.

getDestinationDataset

BigQuery destination dataset to create for the subscriber.

Returns
Type Description
Google\Cloud\BigQuery\DataExchange\V1beta1\DestinationDataset|null

hasDestinationDataset

setDestinationDataset

BigQuery destination dataset to create for the subscriber.

Parameter
Name Description
var Google\Cloud\BigQuery\DataExchange\V1beta1\DestinationDataset
Returns
Type Description
$this

getName

Required. Resource name of the listing that you want to subscribe to.

e.g. projects/myproject/locations/US/dataExchanges/123/listings/456.

Returns
Type Description
string

setName

Required. Resource name of the listing that you want to subscribe to.

e.g. projects/myproject/locations/US/dataExchanges/123/listings/456.

Parameter
Name Description
var string
Returns
Type Description
$this

getDestination

Returns
Type Description
string

static::build

Parameter
Name Description
name string

Required. Resource name of the listing that you want to subscribe to. e.g. projects/myproject/locations/US/dataExchanges/123/listings/456. Please see Google\Cloud\BigQuery\DataExchange\V1beta1\AnalyticsHubServiceClient::listingName() for help formatting this field.

Returns
Type Description
Google\Cloud\BigQuery\DataExchange\V1beta1\SubscribeListingRequest