Class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1Destination

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudConnectorsV1Destination

Returns a new instance of GoogleCloudConnectorsV1Destination.



5801
5802
5803
# File 'lib/google/apis/integrations_v1/classes.rb', line 5801

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

Instance Attribute Details

#hostString

For publicly routable host. Corresponds to the JSON property host

Returns:

  • (String)


5789
5790
5791
# File 'lib/google/apis/integrations_v1/classes.rb', line 5789

def host
  @host
end

#portFixnum

The port is the target port number that is accepted by the destination. Corresponds to the JSON property port

Returns:

  • (Fixnum)


5794
5795
5796
# File 'lib/google/apis/integrations_v1/classes.rb', line 5794

def port
  @port
end

#service_attachmentString

PSC service attachments. Format: projects//regions//serviceAttachments/* Corresponds to the JSON property serviceAttachment

Returns:

  • (String)


5799
5800
5801
# File 'lib/google/apis/integrations_v1/classes.rb', line 5799

def service_attachment
  @service_attachment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5806
5807
5808
5809
5810
# File 'lib/google/apis/integrations_v1/classes.rb', line 5806

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