GatewayArgs class

The set of arguments for Gateway. The set of arguments for Gateway.

Constructors

GatewayArgs({Input<List<String>>? addresses, Input<List<String>>? certificateUrls, Input<String>? description, required Input<String> gatewayId, Input<String>? gatewaySecurityPolicy, Input<Map<String, String>>? labels, Input<String>? location, Input<String>? name, Input<String>? network, required Input<List<int>> ports, Input<String>? project, Input<String>? scope, Input<String>? serverTlsPolicy, Input<String>? subnetwork, Input<GatewayType>? type})
Creates a new GatewayArgs. addresses Optional. Zero or one IPv4 or IPv6 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 for IPv4 and :: for IPv6. certificateUrls 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'. description Optional. A free-text description of the resource. Max length 1024 characters. gatewayId Required. Short name of the Gateway resource to be created. gatewaySecurityPolicy 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'. labels Optional. Set of label tags associated with the Gateway resource. location Optional. name Name of the Gateway resource. It matches pattern projects/*/locations/*/gateways/. network 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'. ports 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 for IPv4 and :: for IPv6 and support multiple ports. project Optional. scope 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. serverTlsPolicy Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled. subnetwork 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". type Immutable. The type of the customer managed gateway. This field is required. If unspecified, an error is returned.
const
GatewayArgs.fromMap(Map<String, dynamic> map)
factory

Properties

addresses → Input<List<String>>?
Optional. Zero or one IPv4 or IPv6 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 for IPv4 and :: for IPv6.
final
certificateUrls → Input<List<String>>?
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'.
final
description → Input<String>?
Optional. A free-text description of the resource. Max length 1024 characters.
final
gatewayId → Input<String>
Required. Short name of the Gateway resource to be created.
final
gatewaySecurityPolicy → Input<String>?
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'.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>>?
Optional. Set of label tags associated with the Gateway resource.
final
location → Input<String>?
final
name → Input<String>?
Name of the Gateway resource. It matches pattern projects/*/locations/*/gateways/.
final
network → Input<String>?
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'.
final
ports → Input<List<int>>
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 for IPv4 and :: for IPv6 and support multiple ports.
final
project → Input<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → Input<String>?
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.
final
serverTlsPolicy → Input<String>?
Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
final
subnetwork → Input<String>?
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".
final
type → Input<GatewayType>?
Immutable. The type of the customer managed gateway. This field is required. If unspecified, an error is returned.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited