Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint
- 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
-
#hostname ⇒ String
Required.
-
#port ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint
constructor
A new instance of GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint
Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint.
1947 1948 1949 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1947 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hostname ⇒ String
Required. Hostname of the endpoint.
Corresponds to the JSON property hostname
1940 1941 1942 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1940 def hostname @hostname end |
#port ⇒ Fixnum
Required. Port of the endpoint.
Corresponds to the JSON property port
1945 1946 1947 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1945 def port @port end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1952 1953 1954 1955 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1952 def update!(**args) @hostname = args[:hostname] if args.key?(:hostname) @port = args[:port] if args.key?(:port) end |