Class: Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaRepoScan
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaRepoScan
- 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
Repo scan.
Instance Attribute Summary collapse
-
#cli_version ⇒ String
CLI version.
-
#local_scan_path ⇒ String
Local scan path.
-
#name ⇒ String
Identifier.
-
#results_uri ⇒ String
A URL to view results.
-
#scm_metadata ⇒ Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaScmMetadata
SCM metadata.
-
#sources ⇒ Array<Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaSource>
Data sources detected.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChecksRepoScanV1alphaRepoScan
constructor
A new instance of GoogleChecksRepoScanV1alphaRepoScan.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChecksRepoScanV1alphaRepoScan
Returns a new instance of GoogleChecksRepoScanV1alphaRepoScan.
522 523 524 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 522 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cli_version ⇒ String
CLI version.
Corresponds to the JSON property cliVersion
495 496 497 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 495 def cli_version @cli_version end |
#local_scan_path ⇒ String
Local scan path.
Corresponds to the JSON property localScanPath
500 501 502 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 500 def local_scan_path @local_scan_path end |
#name ⇒ String
Identifier. Resource name of the scan.
Corresponds to the JSON property name
505 506 507 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 505 def name @name end |
#results_uri ⇒ String
A URL to view results.
Corresponds to the JSON property resultsUri
510 511 512 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 510 def results_uri @results_uri end |
#scm_metadata ⇒ Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaScmMetadata
SCM metadata.
Corresponds to the JSON property scmMetadata
515 516 517 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 515 def @scm_metadata end |
#sources ⇒ Array<Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaSource>
Data sources detected.
Corresponds to the JSON property sources
520 521 522 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 520 def sources @sources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
527 528 529 530 531 532 533 534 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 527 def update!(**args) @cli_version = args[:cli_version] if args.key?(:cli_version) @local_scan_path = args[:local_scan_path] if args.key?(:local_scan_path) @name = args[:name] if args.key?(:name) @results_uri = args[:results_uri] if args.key?(:results_uri) @scm_metadata = args[:scm_metadata] if args.key?(:scm_metadata) @sources = args[:sources] if args.key?(:sources) end |