# App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::FileInfo (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.6 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\>'.