Class: Google::Apis::AnalyticshubV1::SelectedResource
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticshubV1::SelectedResource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticshub_v1/classes.rb,
lib/google/apis/analyticshub_v1/representations.rb,
lib/google/apis/analyticshub_v1/representations.rb
Overview
Resource in this dataset that is selectively shared.
Instance Attribute Summary collapse
-
#routine ⇒ String
Optional.
-
#table ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SelectedResource
constructor
A new instance of SelectedResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SelectedResource
Returns a new instance of SelectedResource.
2440 2441 2442 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2440 def initialize(**args) update!(**args) end |
Instance Attribute Details
#routine ⇒ String
Optional. Format: For routine: projects/projectId/datasets/datasetId/
routines/routineId`Example:"projects/test_project/datasets/test_dataset/
routines/test_routine"
Corresponds to the JSON propertyroutine`
2431 2432 2433 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2431 def routine @routine end |
#table ⇒ String
Optional. Format: For table: projects/projectId/datasets/datasetId/tables/
tableId`Example:"projects/test_project/datasets/test_dataset/tables/
test_table"
Corresponds to the JSON propertytable`
2438 2439 2440 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2438 def table @table end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2445 2446 2447 2448 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2445 def update!(**args) @routine = args[:routine] if args.key?(:routine) @table = args[:table] if args.key?(:table) end |