Class: Google::Apis::DatastreamV1::DestinationConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::DestinationConfig
- 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
The configuration of the stream destination.
Instance Attribute Summary collapse
-
#bigquery_destination_config ⇒ Google::Apis::DatastreamV1::BigQueryDestinationConfig
BigQuery destination configuration Corresponds to the JSON property
bigqueryDestinationConfig
. -
#destination_connection_profile ⇒ String
Required.
-
#gcs_destination_config ⇒ Google::Apis::DatastreamV1::GcsDestinationConfig
Google Cloud Storage destination configuration Corresponds to the JSON property
gcsDestinationConfig
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DestinationConfig
constructor
A new instance of DestinationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DestinationConfig
Returns a new instance of DestinationConfig.
449 450 451 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 449 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bigquery_destination_config ⇒ Google::Apis::DatastreamV1::BigQueryDestinationConfig
BigQuery destination configuration
Corresponds to the JSON property bigqueryDestinationConfig
436 437 438 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 436 def bigquery_destination_config @bigquery_destination_config end |
#destination_connection_profile ⇒ String
Required. Destination connection profile resource. Format: projects/
project/
locations/
location/connectionProfiles/
name`
Corresponds to the JSON property
destinationConnectionProfile`
442 443 444 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 442 def destination_connection_profile @destination_connection_profile end |
#gcs_destination_config ⇒ Google::Apis::DatastreamV1::GcsDestinationConfig
Google Cloud Storage destination configuration
Corresponds to the JSON property gcsDestinationConfig
447 448 449 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 447 def gcs_destination_config @gcs_destination_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
454 455 456 457 458 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 454 def update!(**args) @bigquery_destination_config = args[:bigquery_destination_config] if args.key?(:bigquery_destination_config) @destination_connection_profile = args[:destination_connection_profile] if args.key?(:destination_connection_profile) @gcs_destination_config = args[:gcs_destination_config] if args.key?(:gcs_destination_config) end |