Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination

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

Overview

Defines a target endpoint

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination

Returns a new instance of GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination.



12059
12060
12061
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12059

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

Instance Attribute Details

#hostString

Publicly routable host. Corresponds to the JSON property host

Returns:

  • (String)


12052
12053
12054
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12052

def host
  @host
end

#portFixnum

Optional. Target port number accepted by the destination. Corresponds to the JSON property port

Returns:

  • (Fixnum)


12057
12058
12059
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12057

def port
  @port
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12064
12065
12066
12067
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12064

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