Class: Google::Apis::AnalyticshubV1::SelectedResource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#routineString

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`

Returns:

  • (String)


2431
2432
2433
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2431

def routine
  @routine
end

#tableString

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`

Returns:

  • (String)


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