Class: Google::Apis::DatastreamV1::StandardConnectionFormat
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::StandardConnectionFormat
- 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
Standard connection format.
Instance Attribute Summary collapse
-
#direct_connection ⇒ Boolean
(also: #direct_connection?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StandardConnectionFormat
constructor
A new instance of StandardConnectionFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StandardConnectionFormat
Returns a new instance of StandardConnectionFormat.
4154 4155 4156 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4154 def initialize(**args) update!(**args) end |
Instance Attribute Details
#direct_connection ⇒ Boolean Also known as: direct_connection?
Optional. Deprecated: Use the additional_options map to specify the
directConnection parameter instead. For example: additional_options ="
directConnection": "true"`. Specifies whether the client connects directly to
the host[:port] in the connection URI.
Corresponds to the JSON propertydirectConnection`
4151 4152 4153 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4151 def direct_connection @direct_connection end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4159 4160 4161 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4159 def update!(**args) @direct_connection = args[:direct_connection] if args.key?(:direct_connection) end |