class Google::Apis::AppengineV1beta4::FileInfo
A single source file which is part of the application to be deployed.
Attributes
mime_type[RW]
The MIME type of the file; if unspecified, the value from Google Cloud Storage will be used. Corresponds to the JSON property `mimeType` @return [String]
sha1_sum[RW]
The SHA1 (160 bits) hash of the file in hex. Corresponds to the JSON property `sha1Sum` @return [String]
source_url[RW]
The 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//'. Corresponds to the JSON property `sourceUrl` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/appengine_v1beta4/classes.rb, line 1121 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/appengine_v1beta4/classes.rb, line 1126 def update!(**args) @source_url = args[:source_url] if args.key?(:source_url) @sha1_sum = args[:sha1_sum] if args.key?(:sha1_sum) @mime_type = args[:mime_type] if args.key?(:mime_type) end