class Google::Apis::AppengineV1beta4::Module
A module is a component of an application that provides a single service or configuration. A module has a collection of versions that define a specific set of code used to implement the functionality of that module.
Attributes
The relative name/path of the module within the application. Example: “default” @OutputOnly Corresponds to the JSON property `id` @return [String]
The full path to the Module resource in the API. Example: “apps/myapp/modules/ default” @OutputOnly Corresponds to the JSON property `name` @return [String]
Configuration for traffic splitting for versions within a single module. Traffic splitting allows traffic directed to the module to be assigned to one of several versions in a fractional way, enabling experiments and canarying new builds, for example. Corresponds to the JSON property `split` @return [Google::Apis::AppengineV1beta4::TrafficSplit]
Public Class Methods
# File generated/google/apis/appengine_v1beta4/classes.rb, line 1387 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/appengine_v1beta4/classes.rb, line 1392 def update!(**args) @name = args[:name] if args.key?(:name) @id = args[:id] if args.key?(:id) @split = args[:split] if args.key?(:split) end