Class: Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaCliAnalysis
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaCliAnalysis
- 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
The results of a Code Compliance CLI analysis.
Instance Attribute Summary collapse
-
#code_scans ⇒ Array<Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaCodeScan>
Optional.
-
#sources ⇒ Array<Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaSource>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChecksRepoScanV1alphaCliAnalysis
constructor
A new instance of GoogleChecksRepoScanV1alphaCliAnalysis.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChecksRepoScanV1alphaCliAnalysis
Returns a new instance of GoogleChecksRepoScanV1alphaCliAnalysis.
298 299 300 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 298 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code_scans ⇒ Array<Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaCodeScan>
Optional. Requested code scans resulting from preliminary CLI analysis.
Corresponds to the JSON property codeScans
291 292 293 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 291 def code_scans @code_scans end |
#sources ⇒ Array<Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaSource>
Optional. Data sources detected in the scan.
Corresponds to the JSON property sources
296 297 298 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 296 def sources @sources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
303 304 305 306 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 303 def update!(**args) @code_scans = args[:code_scans] if args.key?(:code_scans) @sources = args[:sources] if args.key?(:sources) end |