Class: Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaGenerateScanRequest

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 request message for RepoScanService.GenerateScan.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_analysisGoogle::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_versionString

Required. CLI version. Corresponds to the JSON property cliVersion

Returns:

  • (String)


410
411
412
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 410

def cli_version
  @cli_version
end

#local_scan_pathString

Required. Local scan path. Corresponds to the JSON property localScanPath

Returns:

  • (String)


415
416
417
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 415

def local_scan_path
  @local_scan_path
end

#scm_metadataGoogle::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