# Binary Authorization V1 API - Class Grafeas::V1::FileLocation (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.1 0.1.2 Reference documentation and code samples for the Binary Authorization V1 API class Grafeas::V1::FileLocation.

Indicates the location at which a package was found.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #file_path

    def file_path() -> ::String

**Returns**

- (::String) --- For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.

### #file_path=

    def file_path=(value) -> ::String

**Parameter**

- **value** (::String) --- For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
**Returns**

- (::String) --- For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.

### #layer_details

    def layer_details() -> ::Grafeas::V1::LayerDetails

**Returns**

- ([::Grafeas::V1::LayerDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-binary_authorization-v1/latest/Grafeas-V1-LayerDetails)) --- Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

### #layer_details=

    def layer_details=(value) -> ::Grafeas::V1::LayerDetails

**Parameter**

- **value** ([::Grafeas::V1::LayerDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-binary_authorization-v1/latest/Grafeas-V1-LayerDetails)) --- Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
**Returns**

- ([::Grafeas::V1::LayerDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-binary_authorization-v1/latest/Grafeas-V1-LayerDetails)) --- Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

### #line_number

    def line_number() -> ::Integer

**Returns**

- (::Integer) --- Line number in the file where the package was found. Optional field that only applies to source repository scanning.

### #line_number=

    def line_number=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Line number in the file where the package was found. Optional field that only applies to source repository scanning.
**Returns**

- (::Integer) --- Line number in the file where the package was found. Optional field that only applies to source repository scanning.