Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Defines a target endpoint
Instance Attribute Summary collapse
-
#host ⇒ String
Publicly routable host.
-
#port ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination
Returns a new instance of GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination.
8656 8657 8658 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8656 def initialize(**args) update!(**args) end |
Instance Attribute Details
#host ⇒ String
Publicly routable host.
Corresponds to the JSON property host
8649 8650 8651 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8649 def host @host end |
#port ⇒ Fixnum
Optional. Target port number accepted by the destination.
Corresponds to the JSON property port
8654 8655 8656 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8654 def port @port end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8661 8662 8663 8664 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8661 def update!(**args) @host = args[:host] if args.key?(:host) @port = args[:port] if args.key?(:port) end |