Class: Google::Apis::OsconfigV1::ListPatchJobsResponse
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1::ListPatchJobsResponse
- 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 patch jobs.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A pagination token that can be used to get the next page of results.
-
#patch_jobs ⇒ Array<Google::Apis::OsconfigV1::PatchJob>
The list of patch jobs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPatchJobsResponse
constructor
A new instance of ListPatchJobsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPatchJobsResponse
Returns a new instance of ListPatchJobsResponse.
1203 1204 1205 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1203 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A pagination token that can be used to get the next page of results.
Corresponds to the JSON property nextPageToken
1196 1197 1198 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1196 def next_page_token @next_page_token end |
#patch_jobs ⇒ Array<Google::Apis::OsconfigV1::PatchJob>
The list of patch jobs.
Corresponds to the JSON property patchJobs
1201 1202 1203 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1201 def patch_jobs @patch_jobs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1208 1209 1210 1211 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1208 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @patch_jobs = args[:patch_jobs] if args.key?(:patch_jobs) end |