Class: Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaListRepoScansResponse

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 response message for RepoScanService.ListRepoScans.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChecksRepoScanV1alphaListRepoScansResponse

Returns a new instance of GoogleChecksRepoScanV1alphaListRepoScansResponse.



450
451
452
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 450

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


443
444
445
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 443

def next_page_token
  @next_page_token
end

#repo_scansArray<Google::Apis::ChecksV1alpha::GoogleChecksRepoScanV1alphaRepoScan>

The repo scans for the specified app. Corresponds to the JSON property repoScans



448
449
450
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 448

def repo_scans
  @repo_scans
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



455
456
457
458
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 455

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @repo_scans = args[:repo_scans] if args.key?(:repo_scans)
end