Class Gateway
Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which the services are exposed by the proxy, along with any policy configurations. Routes have reference to to Gateways to dictate how requests should be routed by this Gateway. Next id: 33
Implements
Inherited Members
Namespace: Google.Apis.NetworkServices.v1.Data
Assembly: Google.Apis.NetworkServices.v1.dll
Syntax
public class Gateway : IDirectResponseSchema
Properties
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.
Declaration
[JsonProperty("addresses")]
public virtual IList<string> Addresses { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
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'.
Declaration
[JsonProperty("certificateUrls")]
public virtual IList<string> CertificateUrls { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The timestamp when the resource was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
Optional. A free-text description of the resource. Max length 1024 characters.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnvoyHeaders
Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers may still be injected. By default, envoy will not insert any debug headers.
Declaration
[JsonProperty("envoyHeaders")]
public virtual string EnvoyHeaders { get; set; }
Property Value
Type | Description |
---|---|
string |
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'.
Declaration
[JsonProperty("gatewaySecurityPolicy")]
public virtual string GatewaySecurityPolicy { get; set; }
Property Value
Type | Description |
---|---|
string |
IpVersion
Optional. The IP Version that will be used by this gateway. Valid options are IPV4 or IPV6. Default is IPV4.
Declaration
[JsonProperty("ipVersion")]
public virtual string IpVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
Optional. Set of label tags associated with the Gateway resource.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Name
Identifier. Name of the Gateway resource. It matches pattern projects/*/locations/*/gateways/
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
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'.
Declaration
[JsonProperty("network")]
public virtual string Network { get; set; }
Property Value
Type | Description |
---|---|
string |
Ports
Required. 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.
Declaration
[JsonProperty("ports")]
public virtual IList<int?> Ports { get; set; }
Property Value
Type | Description |
---|---|
IList<int?> |
RoutingMode
Optional. The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
Declaration
[JsonProperty("routingMode")]
public virtual string RoutingMode { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Declaration
[JsonProperty("scope")]
public virtual string Scope { get; set; }
Property Value
Type | Description |
---|---|
string |
SelfLink
Output only. Server-defined URL of this resource
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
string |
ServerTlsPolicy
Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
Declaration
[JsonProperty("serverTlsPolicy")]
public virtual string ServerTlsPolicy { get; set; }
Property Value
Type | Description |
---|---|
string |
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".
Declaration
[JsonProperty("subnetwork")]
public virtual string Subnetwork { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Immutable. The type of the customer managed gateway. This field is required. If unspecified, an error is returned.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. The timestamp when the resource was updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |