Class: Google::Apis::DatamigrationV1::PscInterfaceConfig

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

The PSC Interface configuration is used to create PSC Interface between DMS's internal VPC and the consumer's PSC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PscInterfaceConfig

Returns a new instance of PscInterfaceConfig.



4532
4533
4534
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4532

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

Instance Attribute Details

#network_attachmentString

Required. Fully qualified name of the Network Attachment that DMS will connect to. Format: projects/project/regions/region/networkAttachments/name ` Corresponds to the JSON propertynetworkAttachment`

Returns:

  • (String)


4530
4531
4532
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4530

def network_attachment
  @network_attachment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4537
4538
4539
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4537

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