Class: Google::Apis::DatastreamV1alpha1::DestinationConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1alpha1::DestinationConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1alpha1/classes.rb,
lib/google/apis/datastream_v1alpha1/representations.rb,
lib/google/apis/datastream_v1alpha1/representations.rb
Overview
The configuration of the stream destination.
Instance Attribute Summary collapse
-
#destination_connection_profile_name ⇒ String
Required.
-
#gcs_destination_config ⇒ Google::Apis::DatastreamV1alpha1::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.
277 278 279 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 277 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_connection_profile_name ⇒ String
Required. Destination connection profile identifier.
Corresponds to the JSON property destinationConnectionProfileName
270 271 272 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 270 def destination_connection_profile_name @destination_connection_profile_name end |
#gcs_destination_config ⇒ Google::Apis::DatastreamV1alpha1::GcsDestinationConfig
Google Cloud Storage destination configuration
Corresponds to the JSON property gcsDestinationConfig
275 276 277 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 275 def gcs_destination_config @gcs_destination_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
282 283 284 285 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 282 def update!(**args) @destination_connection_profile_name = args[:destination_connection_profile_name] if args.key?(:destination_connection_profile_name) @gcs_destination_config = args[:gcs_destination_config] if args.key?(:gcs_destination_config) end |