GatewayArgs

data class GatewayArgs(val addresses: Output<List<String>>? = null, val certificateUrls: Output<List<String>>? = null, val description: Output<String>? = null, val gatewayId: Output<String>? = null, val gatewaySecurityPolicy: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val network: Output<String>? = null, val ports: Output<List<Int>>? = null, val project: Output<String>? = null, val scope: Output<String>? = null, val serverTlsPolicy: Output<String>? = null, val subnetwork: Output<String>? = null, val type: Output<GatewayType>? = null) : ConvertibleToJava<GatewayArgs>

Creates a new Gateway in a given project and location.

Constructors

Link copied to clipboard
fun GatewayArgs(addresses: Output<List<String>>? = null, certificateUrls: Output<List<String>>? = null, description: Output<String>? = null, gatewayId: Output<String>? = null, gatewaySecurityPolicy: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, name: Output<String>? = null, network: Output<String>? = null, ports: Output<List<Int>>? = null, project: Output<String>? = null, scope: Output<String>? = null, serverTlsPolicy: Output<String>? = null, subnetwork: Output<String>? = null, type: Output<GatewayType>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GatewayArgs

Properties

Link copied to clipboard
val addresses: Output<List<String>>? = null

Optional. Zero or one IPv4-address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0.

Link copied to clipboard
val certificateUrls: Output<List<String>>? = null

Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'.

Link copied to clipboard
val description: Output<String>? = null

Optional. A free-text description of the resource. Max length 1024 characters.

Link copied to clipboard
val gatewayId: Output<String>? = null

Required. Short name of the Gateway resource to be created.

Link copied to clipboard
val gatewaySecurityPolicy: Output<String>? = null

Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a server should apply security policy to inbound (VM to Proxy) initiated connections. For example: projects/*/locations/*/gatewaySecurityPolicies/swg-policy. This policy is specific to gateways of type 'SECURE_WEB_GATEWAY'.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Optional. Set of label tags associated with the Gateway resource.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null

Name of the Gateway resource. It matches pattern projects/*/locations/*/gateways/.

Link copied to clipboard
val network: Output<String>? = null

Optional. The relative resource name identifying the VPC network that is using this configuration. For example: projects/*/global/networks/network-1. Currently, this field is specific to gateways of type 'SECURE_WEB_GATEWAY'.

Link copied to clipboard
val ports: Output<List<Int>>? = null

One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val scope: Output<String>? = null

Optional. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.

Link copied to clipboard
val serverTlsPolicy: Output<String>? = null

Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.

Link copied to clipboard
val subnetwork: Output<String>? = null

Optional. The relative resource name identifying the subnetwork in which this SWG is allocated. For example: projects/*/regions/us-central1/subnetworks/network-1 Currently, this field is specific to gateways of type 'SECURE_WEB_GATEWAY".

Link copied to clipboard
val type: Output<GatewayType>? = null

Immutable. The type of the customer managed gateway. This field is required. If unspecified, an error is returned. //////