Class: Google::Apis::DatastreamV1::StandardConnectionFormat

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

Standard connection format.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_connectionBoolean 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`

Returns:

  • (Boolean)


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