Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1/classes.rb,
lib/google/apis/beyondcorp_v1/representations.rb,
lib/google/apis/beyondcorp_v1/representations.rb
Overview
ApplicationEndpoint represents a remote application endpoint.
Instance Attribute Summary collapse
-
#host ⇒ String
Required.
-
#port ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint
constructor
A new instance of GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint
Returns a new instance of GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint.
486 487 488 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 486 def initialize(**args) update!(**args) end |
Instance Attribute Details
#host ⇒ String
Required. Hostname or IP address of the remote application endpoint.
Corresponds to the JSON property host
479 480 481 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 479 def host @host end |
#port ⇒ Fixnum
Required. Port of the remote application endpoint.
Corresponds to the JSON property port
484 485 486 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 484 def port @port end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
491 492 493 494 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 491 def update!(**args) @host = args[:host] if args.key?(:host) @port = args[:port] if args.key?(:port) end |