App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::FileInfo (v0.10.0)

Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::FileInfo.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#mime_type

def mime_type() -> ::String
Returns
  • (::String) — The MIME type of the file.

    Defaults to the value from Google Cloud Storage.

#mime_type=

def mime_type=(value) -> ::String
Parameter
  • value (::String) — The MIME type of the file.

    Defaults to the value from Google Cloud Storage.

Returns
  • (::String) — The MIME type of the file.

    Defaults to the value from Google Cloud Storage.

#sha1_sum

def sha1_sum() -> ::String
Returns
  • (::String) — The SHA1 hash of the file, in hex.

#sha1_sum=

def sha1_sum=(value) -> ::String
Parameter
  • value (::String) — The SHA1 hash of the file, in hex.
Returns
  • (::String) — The SHA1 hash of the file, in hex.

#source_url

def source_url() -> ::String
Returns
  • (::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/<bucket>/<object>'.

#source_url=

def source_url=(value) -> ::String
Parameter
  • value (::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/<bucket>/<object>'.
Returns
  • (::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/<bucket>/<object>'.