Class: Google::Apis::AppengineV1beta::FileInfo
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AppengineV1beta::FileInfo
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/appengine_v1beta/classes.rb,
generated/google/apis/appengine_v1beta/representations.rb,
generated/google/apis/appengine_v1beta/representations.rb 
Overview
Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.
Instance Attribute Summary collapse
- 
  
    
      #mime_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The MIME type of the file.Defaults to the value from Google Cloud Storage.
 - 
  
    
      #sha1_sum  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The SHA1 hash of the file, in hex.
 - 
  
    
      #source_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
URL source to use to fetch this file.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ FileInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of FileInfo.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FileInfo
Returns a new instance of FileInfo
      1048 1049 1050  | 
    
      # File 'generated/google/apis/appengine_v1beta/classes.rb', line 1048 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#mime_type ⇒ String
The MIME type of the file.Defaults to the value from Google Cloud Storage.
Corresponds to the JSON property mimeType
      1035 1036 1037  | 
    
      # File 'generated/google/apis/appengine_v1beta/classes.rb', line 1035 def mime_type @mime_type end  | 
  
#sha1_sum ⇒ String
The SHA1 hash of the file, in hex.
Corresponds to the JSON property sha1Sum
      1040 1041 1042  | 
    
      # File 'generated/google/apis/appengine_v1beta/classes.rb', line 1040 def sha1_sum @sha1_sum end  | 
  
#source_url ⇒ String
URL source to use to fetch this file. Must be a URL to a resource in Google
Cloud Storage in the form 'http(s)://storage.googleapis.com/
      1046 1047 1048  | 
    
      # File 'generated/google/apis/appengine_v1beta/classes.rb', line 1046 def source_url @source_url end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1053 1054 1055 1056 1057  | 
    
      # File 'generated/google/apis/appengine_v1beta/classes.rb', line 1053 def update!(**args) @mime_type = args[:mime_type] if args.key?(:mime_type) @sha1_sum = args[:sha1_sum] if args.key?(:sha1_sum) @source_url = args[:source_url] if args.key?(:source_url) end  |