Class: Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/checks_v1alpha/classes.rb,
lib/google/apis/checks_v1alpha/representations.rb,
lib/google/apis/checks_v1alpha/representations.rb
Overview
A request to classify data types.
Instance Attribute Summary collapse
-
#data_type ⇒ String
Required.
-
#line_number ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification
constructor
A new instance of GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification
Returns a new instance of GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification.
387 388 389 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 387 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_type ⇒ String
Required. Candidate data type.
Corresponds to the JSON property dataType
380 381 382 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 380 def data_type @data_type end |
#line_number ⇒ Fixnum
Required. Line number (1-based).
Corresponds to the JSON property lineNumber
385 386 387 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 385 def line_number @line_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
392 393 394 395 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 392 def update!(**args) @data_type = args[:data_type] if args.key?(:data_type) @line_number = args[:line_number] if args.key?(:line_number) end |