Class: Google::Apis::OsconfigV1beta::ListPatchJobsResponse

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

Overview

A response message for listing patch jobs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPatchJobsResponse

Returns a new instance of ListPatchJobsResponse.



1189
1190
1191
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1189

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

Instance Attribute Details

#next_page_tokenString

A pagination token that can be used to get the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1182
1183
1184
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1182

def next_page_token
  @next_page_token
end

#patch_jobsArray<Google::Apis::OsconfigV1beta::PatchJob>

The list of patch jobs. Corresponds to the JSON property patchJobs



1187
1188
1189
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1187

def patch_jobs
  @patch_jobs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1194
1195
1196
1197
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1194

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