class Google::Apis::AppengineV1beta4::FileInfo

Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.

Attributes

mime_type[RW]

The MIME type of the file.Defaults to the value from Google Cloud Storage. Corresponds to the JSON property `mimeType` @return [String]

sha1_sum[RW]

The SHA1 hash of the file, in hex. Corresponds to the JSON property `sha1Sum` @return [String]

source_url[RW]

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/<bucket>/<object>'. Corresponds to the JSON property `sourceUrl` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/appengine_v1beta4/classes.rb, line 606
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/appengine_v1beta4/classes.rb, line 611
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