Class: Google::Apis::DatastreamV1::PrivateConnectivity

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

Private Connectivity

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrivateConnectivity

Returns a new instance of PrivateConnectivity.



2165
2166
2167
# File 'lib/google/apis/datastream_v1/classes.rb', line 2165

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

Instance Attribute Details

#private_connectionString

Required. A reference to a private connection resource. Format: projects/ project/locations/location/privateConnections/name` Corresponds to the JSON propertyprivateConnection`

Returns:

  • (String)


2163
2164
2165
# File 'lib/google/apis/datastream_v1/classes.rb', line 2163

def private_connection
  @private_connection
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2170
2171
2172
# File 'lib/google/apis/datastream_v1/classes.rb', line 2170

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