Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DestinationConfigDestination
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DestinationConfigDestination
- 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
-
#host ⇒ String
Publicly routable host.
-
#port ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1DestinationConfigDestination
constructor
A new instance of GoogleCloudDiscoveryengineV1DestinationConfigDestination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1DestinationConfigDestination
Returns a new instance of GoogleCloudDiscoveryengineV1DestinationConfigDestination.
3513 3514 3515 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3513 def initialize(**args) update!(**args) end |
Instance Attribute Details
#host ⇒ String
Publicly routable host.
Corresponds to the JSON property host
3506 3507 3508 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3506 def host @host end |
#port ⇒ Fixnum
Optional. Target port number accepted by the destination.
Corresponds to the JSON property port
3511 3512 3513 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3511 def port @port end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3518 3519 3520 3521 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3518 def update!(**args) @host = args[:host] if args.key?(:host) @port = args[:port] if args.key?(:port) end |