Class: Google::Apis::BeyondcorpV1alpha::Gateway
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::Gateway
- 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
Gateway represents a user facing component that serves as an entrance to enable connectivity.
Instance Attribute Summary collapse
-
#type ⇒ String
Required.
-
#uri ⇒ String
Output only.
-
#user_port ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Gateway
constructor
A new instance of Gateway.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Gateway
Returns a new instance of Gateway.
1107 1108 1109 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1107 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Required. The type of hosting used by the gateway.
Corresponds to the JSON property type
1094 1095 1096 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1094 def type @type end |
#uri ⇒ String
Output only. Server-defined URI for this resource.
Corresponds to the JSON property uri
1099 1100 1101 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1099 def uri @uri end |
#user_port ⇒ Fixnum
Output only. User port reserved on the gateways for this connection, if not
specified or zero, the default port is 19443.
Corresponds to the JSON property userPort
1105 1106 1107 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1105 def user_port @user_port end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1112 1113 1114 1115 1116 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1112 def update!(**args) @type = args[:type] if args.key?(:type) @uri = args[:uri] if args.key?(:uri) @user_port = args[:user_port] if args.key?(:user_port) end |