Class: Google::Apis::AppengineV1::LocationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/appengine_v1/classes.rb,
generated/google/apis/appengine_v1/representations.rb,
generated/google/apis/appengine_v1/representations.rb

Overview

Metadata for the given google.cloud.location.Location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LocationMetadata

Returns a new instance of LocationMetadata



2131
2132
2133
# File 'generated/google/apis/appengine_v1/classes.rb', line 2131

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#flexible_environment_availableBoolean Also known as: flexible_environment_available?

App Engine Flexible Environment is available in the given location.@OutputOnly Corresponds to the JSON property flexibleEnvironmentAvailable

Returns:

  • (Boolean)


2128
2129
2130
# File 'generated/google/apis/appengine_v1/classes.rb', line 2128

def flexible_environment_available
  @flexible_environment_available
end

#standard_environment_availableBoolean Also known as: standard_environment_available?

App Engine Standard Environment is available in the given location.@OutputOnly Corresponds to the JSON property standardEnvironmentAvailable

Returns:

  • (Boolean)


2122
2123
2124
# File 'generated/google/apis/appengine_v1/classes.rb', line 2122

def standard_environment_available
  @standard_environment_available
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2136
2137
2138
2139
# File 'generated/google/apis/appengine_v1/classes.rb', line 2136

def update!(**args)
  @standard_environment_available = args[:standard_environment_available] if args.key?(:standard_environment_available)
  @flexible_environment_available = args[:flexible_environment_available] if args.key?(:flexible_environment_available)
end