Class: Google::Apis::BeyondcorpV1alpha::AllocatedConnection

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_portFixnum

Required. The ingress port of an allocated connection Corresponds to the JSON property ingressPort

Returns:

  • (Fixnum)


32
33
34
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 32

def ingress_port
  @ingress_port
end

#psc_uriString

Required. The PSC uri of an allocated connection Corresponds to the JSON property pscUri

Returns:

  • (String)


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