class Google::Apis::ApigatewayV1::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.
Attributes
Required. Resource name of the API Config for this Gateway. Format: projects/` project`/locations/global/apis/`api`/configs/`apiConfig` Corresponds to the JSON property `apiConfig` @return [String]
Output only. Created time. Corresponds to the JSON property `createTime` @return [String]
Output only. The default API Gateway host name of the form “gateway_id`-`hash` .`region_code`.gateway.dev`. Corresponds to the JSON property `defaultHostname` @return [String]
Optional. Display name. Corresponds to the JSON property `displayName` @return [String]
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. cloud.google.com/compute/ docs/labeling-resources Corresponds to the JSON property `labels` @return [Hash<String,String>]
Output only. Resource name of the Gateway. Format: projects/`project`/ locations/`location`/gateways/`gateway` Corresponds to the JSON property `name` @return [String]
Output only. The current state of the Gateway. Corresponds to the JSON property `state` @return [String]
Output only. Updated time. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/apigateway_v1/classes.rb, line 516 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/apigateway_v1/classes.rb, line 521 def update!(**args) @api_config = args[:api_config] if args.key?(:api_config) @create_time = args[:create_time] if args.key?(:create_time) @default_hostname = args[:default_hostname] if args.key?(:default_hostname) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end