Class: Google::Apis::WebsecurityscannerV1alpha::ListScanRunsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/websecurityscanner_v1alpha/classes.rb,
generated/google/apis/websecurityscanner_v1alpha/representations.rb,
generated/google/apis/websecurityscanner_v1alpha/representations.rb

Overview

Response for the ListScanRuns method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListScanRunsResponse

Returns a new instance of ListScanRunsResponse



459
460
461
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 459

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

Instance Attribute Details

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


452
453
454
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 452

def next_page_token
  @next_page_token
end

#scan_runsArray<Google::Apis::WebsecurityscannerV1alpha::ScanRun>

The list of ScanRuns returned. Corresponds to the JSON property scanRuns



457
458
459
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 457

def scan_runs
  @scan_runs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



464
465
466
467
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 464

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