Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpoint
- 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
Internet Gateway endpoint to forward traffic to.
Instance Attribute Summary collapse
-
#hostname ⇒ String
Required.
-
#port ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpoint
constructor
A new instance of GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpoint
Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpoint.
2806 2807 2808 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2806 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hostname ⇒ String
Required. Hostname of the endpoint.
Corresponds to the JSON property hostname
2799 2800 2801 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2799 def hostname @hostname end |
#port ⇒ Fixnum
Required. Port of the endpoint.
Corresponds to the JSON property port
2804 2805 2806 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2804 def port @port end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2811 2812 2813 2814 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2811 def update!(**args) @hostname = args[:hostname] if args.key?(:hostname) @port = args[:port] if args.key?(:port) end |