Class: Google::Apis::AppengineV1::ZipInfo
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AppengineV1::ZipInfo
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1/classes.rb,
 generated/google/apis/appengine_v1/representations.rb,
 generated/google/apis/appengine_v1/representations.rb
Overview
The zip file information for a zip deployment.
Instance Attribute Summary collapse
- 
  
    
      #files_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An estimate of the number of files in a zip for a zip deployment. 
- 
  
    
      #source_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    URL of the zip file to deploy from. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ZipInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ZipInfo. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ZipInfo
Returns a new instance of ZipInfo
| 2943 2944 2945 | # File 'generated/google/apis/appengine_v1/classes.rb', line 2943 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#files_count ⇒ Fixnum
An estimate of the number of files in a zip for a zip deployment. If set, must
be greater than or equal to the actual number of files. Used for optimizing
performance; if not provided, deployment may be slow.
Corresponds to the JSON property filesCount
| 2935 2936 2937 | # File 'generated/google/apis/appengine_v1/classes.rb', line 2935 def files_count @files_count end | 
#source_url ⇒ String
URL of the zip file to deploy from. Must be a URL to a resource in Google
Cloud Storage in the form 'http(s)://storage.googleapis.com/
| 2941 2942 2943 | # File 'generated/google/apis/appengine_v1/classes.rb', line 2941 def source_url @source_url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2948 2949 2950 2951 | # File 'generated/google/apis/appengine_v1/classes.rb', line 2948 def update!(**args) @files_count = args[:files_count] if args.key?(:files_count) @source_url = args[:source_url] if args.key?(:source_url) end |