Network Services v1 API - Class Gateway (1.0.0-beta01)

public sealed class Gateway : IMessage<Gateway>, IEquatable<Gateway>, IDeepCloneable<Gateway>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Services v1 API 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.

Inheritance

object > Gateway

Namespace

Google.Cloud.NetworkServices.V1

Assembly

Google.Cloud.NetworkServices.V1.dll

Constructors

Gateway()

public Gateway()

Gateway(Gateway)

public Gateway(Gateway other)
Parameter
Name Description
other Gateway

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The timestamp when the resource was created.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

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

Property Value
Type Description
string

GatewayName

public GatewayName GatewayName { get; set; }

GatewayName-typed view over the Name resource name property.

Property Value
Type Description
GatewayName

Labels

public MapField<string, string> Labels { get; }

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

Property Value
Type Description
MapFieldstringstring

Name

public string Name { get; set; }

Required. Name of the Gateway resource. It matches pattern projects/*/locations/*/gateways/<gateway_name>.

Property Value
Type Description
string

Ports

public RepeatedField<int> Ports { get; }

Required. One or more ports that the Gateway must receive traffic on. The proxy binds to the ports specified. Gateway listen on 0.0.0.0 on the ports specified below.

Property Value
Type Description
RepeatedFieldint

Scope

public string Scope { get; set; }

Required. Immutable. 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.

Property Value
Type Description
string
public string SelfLink { get; set; }

Output only. Server-defined URL of this resource

Property Value
Type Description
string

ServerTlsPolicy

public string ServerTlsPolicy { get; set; }

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

Property Value
Type Description
string

Type

public Gateway.Types.Type Type { get; set; }

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

Property Value
Type Description
GatewayTypesType

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The timestamp when the resource was updated.

Property Value
Type Description
Timestamp