Class: Google::Apis::WebsecurityscannerV1beta::ListScanConfigsResponse

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

Overview

Response for the ListScanConfigs 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) ⇒ ListScanConfigsResponse

Returns a new instance of ListScanConfigsResponse.



493
494
495
# File 'generated/google/apis/websecurityscanner_v1beta/classes.rb', line 493

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)


486
487
488
# File 'generated/google/apis/websecurityscanner_v1beta/classes.rb', line 486

def next_page_token
  @next_page_token
end

#scan_configsArray<Google::Apis::WebsecurityscannerV1beta::ScanConfig>

The list of ScanConfigs returned. Corresponds to the JSON property scanConfigs



491
492
493
# File 'generated/google/apis/websecurityscanner_v1beta/classes.rb', line 491

def scan_configs
  @scan_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



498
499
500
501
# File 'generated/google/apis/websecurityscanner_v1beta/classes.rb', line 498

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