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.
Attributes
Name
Description
name
str
Output only. Resource name of the Gateway.
Format:
projects/{project}/locations/{location}/gateways/{gateway}
create_time
google.protobuf.timestamp_pb2.Timestamp
Output only. Created time.
MutableMapping[str, str]
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
display_name
str
Optional. Display name.
api_config
str
Required. Resource name of the API Config for
this Gateway. Format:
projects/{project}/locations/global/apis/{api}/configs/{apiConfig}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class Gateway (1.12.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.12.2 (latest)](/python/docs/reference/apigateway/latest/google.cloud.apigateway_v1.types.Gateway)\n- [1.12.1](/python/docs/reference/apigateway/1.12.1/google.cloud.apigateway_v1.types.Gateway)\n- [1.11.0](/python/docs/reference/apigateway/1.11.0/google.cloud.apigateway_v1.types.Gateway)\n- [1.10.1](/python/docs/reference/apigateway/1.10.1/google.cloud.apigateway_v1.types.Gateway)\n- [1.9.5](/python/docs/reference/apigateway/1.9.5/google.cloud.apigateway_v1.types.Gateway)\n- [1.8.0](/python/docs/reference/apigateway/1.8.0/google.cloud.apigateway_v1.types.Gateway)\n- [1.7.3](/python/docs/reference/apigateway/1.7.3/google.cloud.apigateway_v1.types.Gateway)\n- [1.6.1](/python/docs/reference/apigateway/1.6.1/google.cloud.apigateway_v1.types.Gateway)\n- [1.5.1](/python/docs/reference/apigateway/1.5.1/google.cloud.apigateway_v1.types.Gateway)\n- [1.4.0](/python/docs/reference/apigateway/1.4.0/google.cloud.apigateway_v1.types.Gateway)\n- [1.3.3](/python/docs/reference/apigateway/1.3.3/google.cloud.apigateway_v1.types.Gateway)\n- [1.2.2](/python/docs/reference/apigateway/1.2.2/google.cloud.apigateway_v1.types.Gateway)\n- [1.1.1](/python/docs/reference/apigateway/1.1.1/google.cloud.apigateway_v1.types.Gateway)\n- [1.0.4](/python/docs/reference/apigateway/1.0.4/google.cloud.apigateway_v1.types.Gateway)\n- [0.2.0](/python/docs/reference/apigateway/0.2.0/google.cloud.apigateway_v1.types.Gateway)\n- [0.1.0](/python/docs/reference/apigateway/0.1.0/google.cloud.apigateway_v1.types.Gateway) \n\n Gateway(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nA Gateway is an API-aware HTTP proxy. It performs API-Method\nand/or API-Consumer specific actions based on an API Config such\nas authentication, policy enforcement, and backend selection.\n\nClasses\n-------\n\n### LabelsEntry\n\n LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nThe abstract base class for a message.\n\n### State\n\n State(value)\n\nAll the possible Gateway states."]]