Reference documentation and code samples for the Analytics Hub V1 API class Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::PubSubTopicSource.
Pub/Sub topic source.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#data_affinity_regions
defdata_affinity_regions()->::Array<::String>
Returns
(::Array<::String>) — Optional. Region hint on where the data might be published. Data affinity
regions are modifiable. See https://cloud.google.com/about/locations for
full listing of possible Cloud regions.
value (::Array<::String>) — Optional. Region hint on where the data might be published. Data affinity
regions are modifiable. See https://cloud.google.com/about/locations for
full listing of possible Cloud regions.
Returns
(::Array<::String>) — Optional. Region hint on where the data might be published. Data affinity
regions are modifiable. See https://cloud.google.com/about/locations for
full listing of possible Cloud regions.
#topic
deftopic()->::String
Returns
(::String) — Required. Resource name of the Pub/Sub topic source for this listing.
e.g. projects/myproject/topics/topicId
#topic=
deftopic=(value)->::String
Parameter
value (::String) — Required. Resource name of the Pub/Sub topic source for this listing.
e.g. projects/myproject/topics/topicId
Returns
(::String) — Required. Resource name of the Pub/Sub topic source for this listing.
e.g. projects/myproject/topics/topicId
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Analytics Hub V1 API - Class Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::PubSubTopicSource (v0.13.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.13.1 (latest)](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-PubSubTopicSource)\n- [0.13.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.13.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-PubSubTopicSource)\n- [0.12.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.12.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-PubSubTopicSource)\n- [0.11.1](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.11.1/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-PubSubTopicSource)\n- [0.10.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.10.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-PubSubTopicSource)\n- [0.9.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.9.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-PubSubTopicSource)\n- [0.8.1](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.8.1/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-PubSubTopicSource)\n- [0.7.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.7.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-PubSubTopicSource)\n- [0.6.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.6.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-PubSubTopicSource)\n- [0.5.2](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.5.2/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-PubSubTopicSource)\n- [0.4.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.4.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-PubSubTopicSource)\n- [0.3.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.3.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-PubSubTopicSource)\n- [0.2.1](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.2.1/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-PubSubTopicSource)\n- [0.1.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.1.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-PubSubTopicSource) \nReference documentation and code samples for the Analytics Hub V1 API class Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::PubSubTopicSource.\n\nPub/Sub topic source. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #data_affinity_regions\n\n def data_affinity_regions() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Optional. Region hint on where the data might be published. Data affinity regions are modifiable. See https://cloud.google.com/about/locations for full listing of possible Cloud regions.\n\n### #data_affinity_regions=\n\n def data_affinity_regions=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- Optional. Region hint on where the data might be published. Data affinity regions are modifiable. See https://cloud.google.com/about/locations for full listing of possible Cloud regions. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Optional. Region hint on where the data might be published. Data affinity regions are modifiable. See https://cloud.google.com/about/locations for full listing of possible Cloud regions.\n\n### #topic\n\n def topic() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Resource name of the Pub/Sub topic source for this listing. e.g. projects/myproject/topics/topicId\n\n### #topic=\n\n def topic=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Resource name of the Pub/Sub topic source for this listing. e.g. projects/myproject/topics/topicId \n**Returns**\n\n- (::String) --- Required. Resource name of the Pub/Sub topic source for this listing. e.g. projects/myproject/topics/topicId"]]