Class: Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaCodeScan
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaCodeScan
- 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 requested analysis of source code. Contains the source code and processing state.
Instance Attribute Summary collapse
-
#data_type_classifications ⇒ Array<Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification>
Optional.
-
#source_code ⇒ Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaSourceCode
Contains source code from a repo.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChecksRepoScanV1alphaCodeScan
constructor
A new instance of GoogleChecksRepoScanV1alphaCodeScan.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChecksRepoScanV1alphaCodeScan
Returns a new instance of GoogleChecksRepoScanV1alphaCodeScan.
362 363 364 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 362 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_type_classifications ⇒ Array<Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification>
Optional. Data type classification requests.
Corresponds to the JSON property dataTypeClassifications
355 356 357 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 355 def data_type_classifications @data_type_classifications end |
#source_code ⇒ Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaSourceCode
Contains source code from a repo.
Corresponds to the JSON property sourceCode
360 361 362 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 360 def source_code @source_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
367 368 369 370 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 367 def update!(**args) @data_type_classifications = args[:data_type_classifications] if args.key?(:data_type_classifications) @source_code = args[:source_code] if args.key?(:source_code) end |