Reference documentation and code samples for the Analytics Hub V1 API class Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource.
Resource in this dataset that is selectively shared.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#routine
defroutine()->::String
Returns
(::String) — Optional. Format:
For routine:
projects/{projectId}/datasets/{datasetId}/routines/{routineId}
Example:"projects/test_project/datasets/test_dataset/routines/test_routine"
Note: The following fields are mutually exclusive: routine, table. If a field in that set is populated, all other fields in the set will automatically be cleared.
#routine=
defroutine=(value)->::String
Parameter
value (::String) — Optional. Format:
For routine:
projects/{projectId}/datasets/{datasetId}/routines/{routineId}
Example:"projects/test_project/datasets/test_dataset/routines/test_routine"
Note: The following fields are mutually exclusive: routine, table. If a field in that set is populated, all other fields in the set will automatically be cleared.
Returns
(::String) — Optional. Format:
For routine:
projects/{projectId}/datasets/{datasetId}/routines/{routineId}
Example:"projects/test_project/datasets/test_dataset/routines/test_routine"
Note: The following fields are mutually exclusive: routine, table. If a field in that set is populated, all other fields in the set will automatically be cleared.
#table
deftable()->::String
Returns
(::String) — Optional. Format:
For table:
projects/{projectId}/datasets/{datasetId}/tables/{tableId}
Example:"projects/test_project/datasets/test_dataset/tables/test_table"
Note: The following fields are mutually exclusive: table, routine. If a field in that set is populated, all other fields in the set will automatically be cleared.
#table=
deftable=(value)->::String
Parameter
value (::String) — Optional. Format:
For table:
projects/{projectId}/datasets/{datasetId}/tables/{tableId}
Example:"projects/test_project/datasets/test_dataset/tables/test_table"
Note: The following fields are mutually exclusive: table, routine. If a field in that set is populated, all other fields in the set will automatically be cleared.
Returns
(::String) — Optional. Format:
For table:
projects/{projectId}/datasets/{datasetId}/tables/{tableId}
Example:"projects/test_project/datasets/test_dataset/tables/test_table"
Note: The following fields are mutually exclusive: table, routine. If a field in that set is populated, all other fields in the set will automatically be cleared.
[[["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::BigQueryDatasetSource::SelectedResource (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-BigQueryDatasetSource-SelectedResource)\n- [0.13.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.13.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\n- [0.12.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.12.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\n- [0.11.1](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.11.1/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\n- [0.10.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.10.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\n- [0.9.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.9.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\n- [0.8.1](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.8.1/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\n- [0.7.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.7.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\n- [0.6.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.6.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\n- [0.5.2](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.5.2/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\n- [0.4.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.4.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\n- [0.3.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.3.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\n- [0.2.1](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.2.1/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource)\n- [0.1.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.1.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Listing-BigQueryDatasetSource-SelectedResource) \nReference documentation and code samples for the Analytics Hub V1 API class Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource.\n\nResource in this dataset that is selectively shared. \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### #routine\n\n def routine() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Format: For routine: `projects/{projectId}/datasets/{datasetId}/routines/{routineId}` Example:\"projects/test_project/datasets/test_dataset/routines/test_routine\"\n\n\n Note: The following fields are mutually exclusive: `routine`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #routine=\n\n def routine=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. Format: For routine: `projects/{projectId}/datasets/{datasetId}/routines/{routineId}` Example:\"projects/test_project/datasets/test_dataset/routines/test_routine\"\n\n\nNote: The following fields are mutually exclusive: `routine`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- (::String) --- Optional. Format: For routine: `projects/{projectId}/datasets/{datasetId}/routines/{routineId}` Example:\"projects/test_project/datasets/test_dataset/routines/test_routine\"\n\n\n Note: The following fields are mutually exclusive: `routine`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #table\n\n def table() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Format: For table: `projects/{projectId}/datasets/{datasetId}/tables/{tableId}` Example:\"projects/test_project/datasets/test_dataset/tables/test_table\"\n\n\n Note: The following fields are mutually exclusive: `table`, `routine`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #table=\n\n def table=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. Format: For table: `projects/{projectId}/datasets/{datasetId}/tables/{tableId}` Example:\"projects/test_project/datasets/test_dataset/tables/test_table\"\n\n\nNote: The following fields are mutually exclusive: `table`, `routine`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- (::String) --- Optional. Format: For table: `projects/{projectId}/datasets/{datasetId}/tables/{tableId}` Example:\"projects/test_project/datasets/test_dataset/tables/test_table\"\n\n\n Note: The following fields are mutually exclusive: `table`, `routine`. If a field in that set is populated, all other fields in the set will automatically be cleared."]]