Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/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.



13095
13096
13097
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 13095

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

Instance Attribute Details

#hostString

Publicly routable host. Corresponds to the JSON property host

Returns:

  • (String)


13088
13089
13090
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 13088

def host
  @host
end

#portFixnum

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

Returns:

  • (Fixnum)


13093
13094
13095
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 13093

def port
  @port
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13100
13101
13102
13103
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 13100

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