Class: Google::Apis::DatastreamV1::SingleTargetDataset

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SingleTargetDataset

Returns a new instance of SingleTargetDataset.



2025
2026
2027
# File 'lib/google/apis/datastream_v1/classes.rb', line 2025

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dataset_idString

The dataset ID of the target dataset. Corresponds to the JSON property datasetId

Returns:

  • (String)


2023
2024
2025
# File 'lib/google/apis/datastream_v1/classes.rb', line 2023

def dataset_id
  @dataset_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2030
2031
2032
# File 'lib/google/apis/datastream_v1/classes.rb', line 2030

def update!(**args)
  @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
end