Class Gateway (1.0.0)

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

A Gateway is an API-aware HTTP proxy. It performs API-Method and/or API-Consumer specific actions based on an API Config such as authentication, policy enforcement, and backend selection.

Inheritance

Object > Gateway

Namespace

Google.Cloud.ApiGateway.V1

Assembly

Google.Cloud.ApiGateway.V1.dll

Constructors

Gateway()

public Gateway()

Gateway(Gateway)

public Gateway(Gateway other)
Parameter
NameDescription
otherGateway

Properties

ApiConfig

public string ApiConfig { get; set; }

Required. Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}

Property Value
TypeDescription
String

ApiConfigAsApiConfigName

public ApiConfigName ApiConfigAsApiConfigName { get; set; }

ApiConfigName-typed view over the ApiConfig resource name property.

Property Value
TypeDescription
ApiConfigName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Created time.

Property Value
TypeDescription
Timestamp

DefaultHostname

public string DefaultHostname { get; set; }

Output only. The default API Gateway host name of the form {gateway_id}-{hash}.{region_code}.gateway.dev.

Property Value
TypeDescription
String

DisplayName

public string DisplayName { get; set; }

Optional. Display name.

Property Value
TypeDescription
String

GatewayName

public GatewayName GatewayName { get; set; }

GatewayName-typed view over the Name resource name property.

Property Value
TypeDescription
GatewayName

Labels

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

Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources

Property Value
TypeDescription
MapField<String, String>

Name

public string Name { get; set; }

Output only. Resource name of the Gateway. Format: projects/{project}/locations/{location}/gateways/{gateway}

Property Value
TypeDescription
String

State

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

Output only. The current state of the Gateway.

Property Value
TypeDescription
Gateway.Types.State

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Updated time.

Property Value
TypeDescription
Timestamp