Class: Google::Apis::ConnectorsV1::Destination
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::Destination
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Instance Attribute Summary collapse
-
#host ⇒ String
For publicly routable host.
-
#port ⇒ Fixnum
The port is the target port number that is accepted by the destination.
-
#service_attachment ⇒ String
PSC service attachments.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Destination
constructor
A new instance of Destination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Destination
Returns a new instance of Destination.
1605 1606 1607 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1605 def initialize(**args) update!(**args) end |
Instance Attribute Details
#host ⇒ String
For publicly routable host.
Corresponds to the JSON property host
1593 1594 1595 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1593 def host @host end |
#port ⇒ Fixnum
The port is the target port number that is accepted by the destination.
Corresponds to the JSON property port
1598 1599 1600 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1598 def port @port end |
#service_attachment ⇒ String
PSC service attachments. Format: projects//regions//serviceAttachments/*
Corresponds to the JSON property serviceAttachment
1603 1604 1605 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1603 def @service_attachment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1610 1611 1612 1613 1614 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1610 def update!(**args) @host = args[:host] if args.key?(:host) @port = args[:port] if args.key?(:port) @service_attachment = args[:service_attachment] if args.key?(:service_attachment) end |