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.



3211
3212
3213
# File 'lib/google/apis/datastream_v1/classes.rb', line 3211

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)


3209
3210
3211
# File 'lib/google/apis/datastream_v1/classes.rb', line 3209

def private_connection
  @private_connection
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3216
3217
3218
# File 'lib/google/apis/datastream_v1/classes.rb', line 3216

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