class Google::Apis::ApigatewayV1::ApigatewayApi
An API that can be served by one or more Gateways.
Attributes
Output only. Created time. Corresponds to the JSON property `createTime` @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 API. Format: projects/`project`/locations/ global/apis/`api` Corresponds to the JSON property `name` @return [String]
Output only. State of the API. 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 69 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/apigateway_v1/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