Class: Google::Apis::DatastreamV1::SingleTargetDataset
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::SingleTargetDataset
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/representations.rb
Overview
A single target dataset to which all data will be streamed.
Instance Attribute Summary collapse
-
#dataset_id ⇒ String
The dataset ID of the target dataset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SingleTargetDataset
constructor
A new instance of SingleTargetDataset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SingleTargetDataset
Returns a new instance of SingleTargetDataset.
2001 2002 2003 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2001 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataset_id ⇒ String
The dataset ID of the target dataset.
Corresponds to the JSON property datasetId
1999 2000 2001 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1999 def dataset_id @dataset_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2006 2007 2008 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2006 def update!(**args) @dataset_id = args[:dataset_id] if args.key?(:dataset_id) end |