Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint

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

Internet Gateway endpoint to forward traffic to.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint

Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint.



1972
1973
1974
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1972

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

Instance Attribute Details

#hostnameString

Required. Hostname of the endpoint. Corresponds to the JSON property hostname

Returns:

  • (String)


1965
1966
1967
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1965

def hostname
  @hostname
end

#portFixnum

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

Returns:

  • (Fixnum)


1970
1971
1972
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1970

def port
  @port
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1977
1978
1979
1980
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1977

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