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.
9423 9424 9425 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9423 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_number ⇒ Fixnum
Corresponds to the JSON property columnNumber
9416 9417 9418 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9416 def column_number @column_number end |
#line_number ⇒ Fixnum
Corresponds to the JSON property lineNumber
9421 9422 9423 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9421 def line_number @line_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9428 9429 9430 9431 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9428 def update!(**args) @column_number = args[:column_number] if args.key?(:column_number) @line_number = args[:line_number] if args.key?(:line_number) end |