Class: Google::Apis::BeyondcorpV1alpha::Gateway

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

Gateway represents a user facing component that serves as an entrance to enable connectivity.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Gateway

Returns a new instance of Gateway.



806
807
808
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 806

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#typeString

Required. The type of hosting used by the gateway. Corresponds to the JSON property type

Returns:

  • (String)


793
794
795
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 793

def type
  @type
end

#uriString

Output only. Server-defined URI for this resource. Corresponds to the JSON property uri

Returns:

  • (String)


798
799
800
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 798

def uri
  @uri
end

#user_portFixnum

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

Returns:

  • (Fixnum)


804
805
806
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 804

def user_port
  @user_port
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



811
812
813
814
815
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 811

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