Class: Google::Apis::AppengineV1beta4::Module
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AppengineV1beta4::Module
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1beta4/classes.rb,
 generated/google/apis/appengine_v1beta4/representations.rb,
 generated/google/apis/appengine_v1beta4/representations.rb
Overview
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.
Instance Attribute Summary collapse
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Relative name of the module within the application. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Full path to the Module resource in the API. 
- 
  
    
      #split  ⇒ Google::Apis::AppengineV1beta4::TrafficSplit 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Traffic routing configuration for versions within a single module. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Module 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Module. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Module
Returns a new instance of Module
| 1104 1105 1106 | # File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1104 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#id ⇒ String
Relative name of the module within the application. Example: default.@
OutputOnly
Corresponds to the JSON property id
| 1090 1091 1092 | # File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1090 def id @id end | 
#name ⇒ String
Full path to the Module resource in the API. Example: apps/myapp/modules/
default.@OutputOnly
Corresponds to the JSON property name
| 1096 1097 1098 | # File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1096 def name @name end | 
#split ⇒ Google::Apis::AppengineV1beta4::TrafficSplit
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
| 1102 1103 1104 | # File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1102 def split @split end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1109 1110 1111 1112 1113 | # File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1109 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 |