class Google::Apis::AppengineV1beta4::Module
A Module
resource is a logical component of an application that can share state and communicate in a secure fashion with other modules. For example, an application that handles customer requests might include separate modules to handle tasks such as backend data analysis or API requests from mobile devices. Each module has a collection of versions that define a specific set of code used to implement the functionality of that module.
Attributes
Relative name of the module within the application. Example: default.@ OutputOnly Corresponds to the JSON property `id` @return [String]
Full path to the Module
resource in the API. Example: apps/myapp/modules/ default.@OutputOnly Corresponds to the JSON property `name` @return [String]
Traffic routing configuration for versions within a single module. Traffic splits define how traffic directed to the module is assigned to versions. Corresponds to the JSON property `split` @return [Google::Apis::AppengineV1beta4::TrafficSplit]
Public Class Methods
# File lib/google/apis/appengine_v1beta4/classes.rb, line 1113 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/appengine_v1beta4/classes.rb, line 1118 def update!(**args) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @split = args[:split] if args.key?(:split) end