class Google::Apis::ApigatewayV1beta::ApigatewayApi

An API that can be served by one or more Gateways.

Attributes

create_time[RW]

Output only. Created time. Corresponds to the JSON property `createTime` @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>]

managed_service[RW]

Optional. Immutable. The name of a Google Managed Service ( cloud. google.com/service-infrastructure/docs/glossary#managed). If not specified, a new Service will automatically be created in the same project as this API. Corresponds to the JSON property `managedService` @return [String]

name[RW]

Output only. Resource name of the API. Format: projects/`project`/locations/ global/apis/`api` Corresponds to the JSON property `name` @return [String]

state[RW]

Output only. State of the API. 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 69
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 74
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @labels = args[:labels] if args.key?(:labels)
  @managed_service = args[:managed_service] if args.key?(:managed_service)
  @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