Class: Google::Apis::SecuritycenterV1::Position
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::Position
- 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
-
#column_number ⇒ Fixnum
Corresponds to the JSON property
columnNumber
. -
#line_number ⇒ Fixnum
Corresponds to the JSON property
lineNumber
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Position
constructor
A new instance of Position.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_number ⇒ Fixnum
Corresponds to the JSON property columnNumber
9881 9882 9883 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9881 def column_number @column_number end |
#line_number ⇒ Fixnum
Corresponds to the JSON property lineNumber
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 |