class Google::Apis::ApigatewayV1beta::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

api_config[RW]

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]

create_time[RW]

Output only. Created time. Corresponds to the JSON property `createTime` @return [String]

default_hostname[RW]

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]

display_name[RW]

Optional. Display name. Corresponds to the JSON property `displayName` @return [String]

labels[RW]

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>]

name[RW]

Output only. Resource name of the Gateway. Format: projects/`project`/ locations/`location`/gateways/`gateway` Corresponds to the JSON property `name` @return [String]

state[RW]

Output only. The current state of the Gateway. Corresponds to the JSON property `state` @return [String]

update_time[RW]

Output only. Updated time. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/apigateway_v1beta/classes.rb, line 551
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/apigateway_v1beta/classes.rb, line 556
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