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

Private Service Connect connectivity (https://cloud.google.com/vpc/docs/ private-service-connect#benefits-services)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrivateServiceConnectConnectivity

Returns a new instance of PrivateServiceConnectConnectivity.



2770
2771
2772
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2770

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)


2768
2769
2770
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2768

def service_attachment
  @service_attachment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2775
2776
2777
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2775

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