Class: Google::Apis::ScriptV1::DeploymentConfig
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ScriptV1::DeploymentConfig
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/script_v1/classes.rb,
 generated/google/apis/script_v1/representations.rb,
 generated/google/apis/script_v1/representations.rb
Overview
Metadata the defines how a deployment is configured.
Instance Attribute Summary collapse
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The description for this deployment. 
- 
  
    
      #manifest_file_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The manifest file name for this deployment. 
- 
  
    
      #script_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The script project's Drive ID. 
- 
  
    
      #version_number  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The version number on which this deployment is based. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DeploymentConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DeploymentConfig. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeploymentConfig
Returns a new instance of DeploymentConfig
| 153 154 155 | # File 'generated/google/apis/script_v1/classes.rb', line 153 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#description ⇒ String
The description for this deployment.
Corresponds to the JSON property description
| 136 137 138 | # File 'generated/google/apis/script_v1/classes.rb', line 136 def description @description end | 
#manifest_file_name ⇒ String
The manifest file name for this deployment.
Corresponds to the JSON property manifestFileName
| 141 142 143 | # File 'generated/google/apis/script_v1/classes.rb', line 141 def manifest_file_name @manifest_file_name end | 
#script_id ⇒ String
The script project's Drive ID.
Corresponds to the JSON property scriptId
| 146 147 148 | # File 'generated/google/apis/script_v1/classes.rb', line 146 def script_id @script_id end | 
#version_number ⇒ Fixnum
The version number on which this deployment is based.
Corresponds to the JSON property versionNumber
| 151 152 153 | # File 'generated/google/apis/script_v1/classes.rb', line 151 def version_number @version_number end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 158 159 160 161 162 163 | # File 'generated/google/apis/script_v1/classes.rb', line 158 def update!(**args) @description = args[:description] if args.key?(:description) @manifest_file_name = args[:manifest_file_name] if args.key?(:manifest_file_name) @script_id = args[:script_id] if args.key?(:script_id) @version_number = args[:version_number] if args.key?(:version_number) end |