Class: Google::Apis::ApphubV1alpha::ZoneConfiguration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ZoneConfiguration

Returns a new instance of ZoneConfiguration.



2137
2138
2139
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 2137

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

Instance Attribute Details

#zoneString

Corresponds to the JSON property zone

Returns:

  • (String)


2135
2136
2137
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 2135

def zone
  @zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2142
2143
2144
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 2142

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