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.



2362
2363
2364
# File 'lib/google/apis/datastream_v1/classes.rb', line 2362

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)


2360
2361
2362
# File 'lib/google/apis/datastream_v1/classes.rb', line 2360

def private_connection
  @private_connection
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2367
2368
2369
# File 'lib/google/apis/datastream_v1/classes.rb', line 2367

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