Class: Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaCliAnalysis

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_scansArray<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

#sourcesArray<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