Class: Google::Apis::DatamigrationV1::PrivateServiceConnectConnectivity

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datamigration_v1/classes.rb,
lib/google/apis/datamigration_v1/representations.rb,
lib/google/apis/datamigration_v1/representations.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrivateServiceConnectConnectivity

Returns a new instance of PrivateServiceConnectConnectivity.



4118
4119
4120
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4118

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

Instance Attribute Details

#service_attachmentString

Required. A service attachment that exposes a database, and has the following format: projects/project/regions/region/serviceAttachments/ service_attachment_name Corresponds to the JSON property serviceAttachment

Returns:

  • (String)


4116
4117
4118
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4116

def service_attachment
  @service_attachment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4123
4124
4125
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4123

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