Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint

Returns a new instance of GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint.



1219
1220
1221
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1219

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)


1212
1213
1214
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1212

def host
  @host
end

#portFixnum

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

Returns:

  • (Fixnum)


1217
1218
1219
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1217

def port
  @port
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1224
1225
1226
1227
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1224

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