Agent Registry V1 API - Class Google::Cloud::AgentRegistry::V1::Finding::File (v0.5.0)

Reference documentation and code samples for the Agent Registry V1 API class Google::Cloud::AgentRegistry::V1::Finding::File.

File location of the finding.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#line_number

def line_number() -> ::Integer
Returns
  • (::Integer) — Optional. Line number (1-based), or 0 if whole File / unknown.

#line_number=

def line_number=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Line number (1-based), or 0 if whole File / unknown.
Returns
  • (::Integer) — Optional. Line number (1-based), or 0 if whole File / unknown.

#path

def path() -> ::String
Returns
  • (::String) — Optional. Relative path of the file containing the finding.

#path=

def path=(value) -> ::String
Parameter
  • value (::String) — Optional. Relative path of the file containing the finding.
Returns
  • (::String) — Optional. Relative path of the file containing the finding.