Class: Google::Apis::AppengineV1alpha::LocationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/appengine_v1alpha/classes.rb,
generated/google/apis/appengine_v1alpha/representations.rb,
generated/google/apis/appengine_v1alpha/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



478
479
480
# File 'generated/google/apis/appengine_v1alpha/classes.rb', line 478

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)


469
470
471
# File 'generated/google/apis/appengine_v1alpha/classes.rb', line 469

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)


475
476
477
# File 'generated/google/apis/appengine_v1alpha/classes.rb', line 475

def standard_environment_available
  @standard_environment_available
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



483
484
485
486
# File 'generated/google/apis/appengine_v1alpha/classes.rb', line 483

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