Class: Google::Apis::OsconfigV1alpha::ListVulnerabilityReportsResponse

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

Overview

A response message for listing vulnerability reports for all VM instances in the specified location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListVulnerabilityReportsResponse

Returns a new instance of ListVulnerabilityReportsResponse.



1022
1023
1024
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1022

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

Instance Attribute Details

#next_page_tokenString

The pagination token to retrieve the next page of vulnerabilityReports object. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1015
1016
1017
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1015

def next_page_token
  @next_page_token
end

#vulnerability_reportsArray<Google::Apis::OsconfigV1alpha::VulnerabilityReport>

List of vulnerabilityReport objects. Corresponds to the JSON property vulnerabilityReports



1020
1021
1022
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1020

def vulnerability_reports
  @vulnerability_reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1027
1028
1029
1030
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1027

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