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.



458
459
460
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 458

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)


451
452
453
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 451

def host
  @host
end

#portFixnum

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

Returns:

  • (Fixnum)


456
457
458
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 456

def port
  @port
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



463
464
465
466
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 463

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