Class ApigatewayGateway
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
Inherited Members
Namespace: Google.Apis.Apigateway.v1.Data
Assembly: Google.Apis.Apigateway.v1.dll
Syntax
public class ApigatewayGateway : IDirectResponseSchema
Properties
ApiConfig
Required. Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}
Declaration
[JsonProperty("apiConfig")]
public virtual string ApiConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| 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. Created time.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DefaultHostname
Output only. The default hostname that serves traffic for this Gateway.
Declaration
[JsonProperty("defaultHostname")]
public virtual string DefaultHostname { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Optional. Display name.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { 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 |
EffectiveStreamingMode
Output only. The streaming mode this gateway is actually served with, which the service resolves at creation
from streaming_mode, the referenced API Config, and the platform default at the time. Read this rather
than streaming_mode to determine whether a gateway supports response streaming.
Declaration
[JsonProperty("effectiveStreamingMode")]
public virtual string EffectiveStreamingMode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Labels
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
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
Name
Output only. Resource name of the Gateway. Format: projects/{project}/locations/{location}/gateways/{gateway}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
State
Output only. The current state of the Gateway.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StreamingMode
Optional. Immutable. Requests response streaming for a new gateway. An attempt to change it on update is
rejected. If unset, the service selects the mode. This field records only what was requested and is never
modified by the service; read effective_streaming_mode for the mode the gateway is served with.
Declaration
[JsonProperty("streamingMode")]
public virtual string StreamingMode { 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. Updated time.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |