Class: Google::Apis::BeyondcorpV1alpha::AllocatedConnection
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::AllocatedConnection
- 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
Allocated connection of the AppGateway.
Instance Attribute Summary collapse
-
#ingress_port ⇒ Fixnum
Required.
-
#psc_uri ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AllocatedConnection
constructor
A new instance of AllocatedConnection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AllocatedConnection
Returns a new instance of AllocatedConnection.
39 40 41 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 39 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ingress_port ⇒ Fixnum
Required. The ingress port of an allocated connection
Corresponds to the JSON property ingressPort
32 33 34 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 32 def ingress_port @ingress_port end |
#psc_uri ⇒ String
Required. The PSC uri of an allocated connection
Corresponds to the JSON property pscUri
37 38 39 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 37 def psc_uri @psc_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44 45 46 47 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 44 def update!(**args) @ingress_port = args[:ingress_port] if args.key?(:ingress_port) @psc_uri = args[:psc_uri] if args.key?(:psc_uri) end |