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.



1229
1230
1231
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1229

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)


1222
1223
1224
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1222

def next_page_token
  @next_page_token
end

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

List of vulnerabilityReport objects. Corresponds to the JSON property vulnerabilityReports



1227
1228
1229
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1227

def vulnerability_reports
  @vulnerability_reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1234
1235
1236
1237
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1234

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