Class: Google::Apis::OsconfigV1::ListVulnerabilityReportsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/osconfig_v1/classes.rb,
lib/google/apis/osconfig_v1/representations.rb,
lib/google/apis/osconfig_v1/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.



1170
1171
1172
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1170

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)


1163
1164
1165
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1163

def next_page_token
  @next_page_token
end

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

List of vulnerabilityReport objects. Corresponds to the JSON property vulnerabilityReports



1168
1169
1170
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1168

def vulnerability_reports
  @vulnerability_reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1175
1176
1177
1178
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1175

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