Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/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) ⇒ GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint
constructor
A new instance of GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint
Returns a new instance of GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint.
1005 1006 1007 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1005 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
998 999 1000 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 998 def host @host end |
#port ⇒ Fixnum
Required. Port of the remote application endpoint.
Corresponds to the JSON property port
1003 1004 1005 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1003 def port @port end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1010 1011 1012 1013 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1010 def update!(**args) @host = args[:host] if args.key?(:host) @port = args[:port] if args.key?(:port) end |