Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/beyondcorp_v1/classes.rb,
lib/google/apis/beyondcorp_v1/representations.rb,
lib/google/apis/beyondcorp_v1/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) ⇒ GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway

Returns a new instance of GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway.



501
502
503
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 501

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)


478
479
480
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 478

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)


484
485
486
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 484

def ingress_port
  @ingress_port
end

#l7pscString

Output only. L7 private service connection for this resource. Corresponds to the JSON property l7psc

Returns:

  • (String)


489
490
491
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 489

def l7psc
  @l7psc
end

#typeString

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

Returns:

  • (String)


494
495
496
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 494

def type
  @type
end

#uriString

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

Returns:

  • (String)


499
500
501
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 499

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



506
507
508
509
510
511
512
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 506

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