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.



3925
3926
3927
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3925

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)


3923
3924
3925
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3923

def service_attachment
  @service_attachment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3930
3931
3932
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3930

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