Class: Google::Apis::SecuritycenterV1::Position

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb

Overview

A position in the uploaded text version of a module.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Position

Returns a new instance of Position.



9888
9889
9890
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9888

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#column_numberFixnum

Corresponds to the JSON property columnNumber

Returns:

  • (Fixnum)


9881
9882
9883
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9881

def column_number
  @column_number
end

#line_numberFixnum

Corresponds to the JSON property lineNumber

Returns:

  • (Fixnum)


9886
9887
9888
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9886

def line_number
  @line_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9893
9894
9895
9896
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9893

def update!(**args)
  @column_number = args[:column_number] if args.key?(:column_number)
  @line_number = args[:line_number] if args.key?(:line_number)
end