Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint

Returns a new instance of GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint.



759
760
761
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 759

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

Instance Attribute Details

#hostString

Required. Hostname or IP address of the remote application endpoint. Corresponds to the JSON property host

Returns:

  • (String)


752
753
754
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 752

def host
  @host
end

#portFixnum

Required. Port of the remote application endpoint. Corresponds to the JSON property port

Returns:

  • (Fixnum)


757
758
759
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 757

def port
  @port
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



764
765
766
767
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 764

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