Google Cloud BigQuery Analytics Hub V1 Client - Class SubscribeListingRequest (0.2.2)

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

Message for subscribing to a listing.

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

Namespace

Google \ Cloud \ BigQuery \ AnalyticsHub \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ destination_dataset Google\Cloud\BigQuery\AnalyticsHub\V1\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
TypeDescription
Google\Cloud\BigQuery\AnalyticsHub\V1\DestinationDataset|null

hasDestinationDataset

setDestinationDataset

BigQuery destination dataset to create for the subscriber.

Parameter
NameDescription
var Google\Cloud\BigQuery\AnalyticsHub\V1\DestinationDataset
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getDestination

Returns
TypeDescription
string

static::build

Parameter
NameDescription
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\AnalyticsHub\V1\AnalyticsHubServiceClient::listingName() for help formatting this field.

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