Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class LinkedResource.
Reference to a linked resource tracked by this Subscription.
Generated from protobuf message google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource
Namespace
Google \ Cloud \ BigQuery \ AnalyticsHub \ V1 \ SubscriptionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ linked_dataset |
string
Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linked_dataset |
↳ linked_pubsub_subscription |
string
Output only. Name of the Pub/Sub subscription, e.g. projects/subscriberproject/subscriptions/subscriptions/sub_id |
↳ listing |
string
Output only. Listing for which linked resource is created. |
getLinkedDataset
Output only. Name of the linked dataset, e.g.
projects/subscriberproject/datasets/linked_dataset
| Returns | |
|---|---|
| Type | Description |
string |
|
hasLinkedDataset
setLinkedDataset
Output only. Name of the linked dataset, e.g.
projects/subscriberproject/datasets/linked_dataset
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLinkedPubsubSubscription
Output only. Name of the Pub/Sub subscription, e.g.
projects/subscriberproject/subscriptions/subscriptions/sub_id
| Returns | |
|---|---|
| Type | Description |
string |
|
hasLinkedPubsubSubscription
setLinkedPubsubSubscription
Output only. Name of the Pub/Sub subscription, e.g.
projects/subscriberproject/subscriptions/subscriptions/sub_id
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getListing
Output only. Listing for which linked resource is created.
| Returns | |
|---|---|
| Type | Description |
string |
|
setListing
Output only. Listing for which linked resource is created.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReference
| Returns | |
|---|---|
| Type | Description |
string |
|