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.



486
487
488
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 486

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)


479
480
481
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 479

def host
  @host
end

#portFixnum

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

Returns:

  • (Fixnum)


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