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.



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

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)


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

def service_attachment
  @service_attachment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4129
4130
4131
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4129

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