Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway

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) ⇒ GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway

Returns a new instance of GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway.



1316
1317
1318
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1316

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

Instance Attribute Details

#app_gatewayString

Required. AppGateway name in following format: projects/project_id/ locations/location_id/appgateways/gateway_id` Corresponds to the JSON propertyappGateway`

Returns:

  • (String)


1298
1299
1300
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1298

def app_gateway
  @app_gateway
end

#ingress_portFixnum

Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443. Corresponds to the JSON property ingressPort

Returns:

  • (Fixnum)


1304
1305
1306
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1304

def ingress_port
  @ingress_port
end

#typeString

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

Returns:

  • (String)


1309
1310
1311
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1309

def type
  @type
end

#uriString

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

Returns:

  • (String)


1314
1315
1316
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1314

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1321
1322
1323
1324
1325
1326
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1321

def update!(**args)
  @app_gateway = args[:app_gateway] if args.key?(:app_gateway)
  @ingress_port = args[:ingress_port] if args.key?(:ingress_port)
  @type = args[:type] if args.key?(:type)
  @uri = args[:uri] if args.key?(:uri)
end