Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Destination
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Destination
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/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) ⇒ GoogleCloudConnectorsV1Destination
constructor
A new instance of GoogleCloudConnectorsV1Destination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudConnectorsV1Destination
Returns a new instance of GoogleCloudConnectorsV1Destination.
5184 5185 5186 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5184 def initialize(**args) update!(**args) end |
Instance Attribute Details
#host ⇒ String
For publicly routable host.
Corresponds to the JSON property host
5172 5173 5174 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5172 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
5177 5178 5179 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5177 def port @port end |
#service_attachment ⇒ String
PSC service attachments. Format: projects//regions//serviceAttachments/*
Corresponds to the JSON property serviceAttachment
5182 5183 5184 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5182 def @service_attachment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5189 5190 5191 5192 5193 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5189 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 |