public sealed class Gateway : IMessage<Gateway>, IEquatable<Gateway>, IDeepCloneable<Gateway>, IBufferMessage, IMessage
Reference documentation and code samples for the API Gateway v1 API class Gateway.
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.
Implements
IMessage<Gateway>, IEquatable<Gateway>, IDeepCloneable<Gateway>, IBufferMessage, IMessageNamespace
Google.Cloud.ApiGateway.V1Assembly
Google.Cloud.ApiGateway.V1.dll
Constructors
Gateway()
public Gateway()
Gateway(Gateway)
public Gateway(Gateway other)
Parameter | |
---|---|
Name | Description |
other | Gateway |
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 | |
---|---|
Type | Description |
String |
ApiConfigAsApiConfigName
public ApiConfigName ApiConfigAsApiConfigName { get; set; }
ApiConfigName-typed view over the ApiConfig resource name property.
Property Value | |
---|---|
Type | Description |
ApiConfigName |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Created time.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
DisplayName
public string DisplayName { get; set; }
Optional. Display name.
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. 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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
State
public Gateway.Types.State State { get; set; }
Output only. The current state of the Gateway.
Property Value | |
---|---|
Type | Description |
Gateway.Types.State |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. Updated time.
Property Value | |
---|---|
Type | Description |
Timestamp |