Class: Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaGenerateScanRequest
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaGenerateScanRequest
- 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 request message for RepoScanService.GenerateScan.
Instance Attribute Summary collapse
-
#cli_analysis ⇒ Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaCliAnalysis
The results of a Code Compliance CLI analysis.
-
#cli_version ⇒ String
Required.
-
#local_scan_path ⇒ String
Required.
-
#scm_metadata ⇒ Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaScmMetadata
SCM metadata.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChecksRepoScanV1alphaGenerateScanRequest
constructor
A new instance of GoogleChecksRepoScanV1alphaGenerateScanRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChecksRepoScanV1alphaGenerateScanRequest
Returns a new instance of GoogleChecksRepoScanV1alphaGenerateScanRequest.
422 423 424 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 422 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cli_analysis ⇒ Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaCliAnalysis
The results of a Code Compliance CLI analysis.
Corresponds to the JSON property cliAnalysis
405 406 407 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 405 def cli_analysis @cli_analysis end |
#cli_version ⇒ String
Required. CLI version.
Corresponds to the JSON property cliVersion
410 411 412 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 410 def cli_version @cli_version end |
#local_scan_path ⇒ String
Required. Local scan path.
Corresponds to the JSON property localScanPath
415 416 417 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 415 def local_scan_path @local_scan_path end |
#scm_metadata ⇒ Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaScmMetadata
SCM metadata.
Corresponds to the JSON property scmMetadata
420 421 422 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 420 def @scm_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
427 428 429 430 431 432 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 427 def update!(**args) @cli_analysis = args[:cli_analysis] if args.key?(:cli_analysis) @cli_version = args[:cli_version] if args.key?(:cli_version) @local_scan_path = args[:local_scan_path] if args.key?(:local_scan_path) @scm_metadata = args[:scm_metadata] if args.key?(:scm_metadata) end |