google-apis-osconfig_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module OsconfigV1
18
+ # Version of the google-apis-osconfig_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201112"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,709 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module OsconfigV1
24
+
25
+ class AptSettings
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class CancelPatchJobRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Empty
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class ExecStep
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class ExecStepConfig
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ExecutePatchJobRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class FixedOrPercent
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GcsObject
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GooSettings
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Inventory
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class InventoryItem
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class InventoryOsInfo
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class InventorySoftwarePackage
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class InventoryVersionedPackage
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class InventoryWindowsQuickFixEngineeringPackage
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class InventoryWindowsUpdatePackage
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class InventoryWindowsUpdatePackageWindowsUpdateCategory
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class InventoryZypperPatch
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ListPatchDeploymentsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListPatchJobInstanceDetailsResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ListPatchJobsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class MonthlySchedule
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class OneTimeSchedule
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class PatchConfig
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class PatchDeployment
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class PatchInstanceFilter
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class PatchInstanceFilterGroupLabel
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class PatchJob
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class PatchJobInstanceDetails
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class PatchJobInstanceDetailsSummary
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class PatchRollout
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class RecurringSchedule
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class TimeOfDay
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class TimeZone
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class WeekDayOfMonth
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class WeeklySchedule
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class WindowsUpdateSettings
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class YumSettings
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ZypperSettings
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class AptSettings
260
+ # @private
261
+ class Representation < Google::Apis::Core::JsonRepresentation
262
+ collection :excludes, as: 'excludes'
263
+ collection :exclusive_packages, as: 'exclusivePackages'
264
+ property :type, as: 'type'
265
+ end
266
+ end
267
+
268
+ class CancelPatchJobRequest
269
+ # @private
270
+ class Representation < Google::Apis::Core::JsonRepresentation
271
+ end
272
+ end
273
+
274
+ class Empty
275
+ # @private
276
+ class Representation < Google::Apis::Core::JsonRepresentation
277
+ end
278
+ end
279
+
280
+ class ExecStep
281
+ # @private
282
+ class Representation < Google::Apis::Core::JsonRepresentation
283
+ property :linux_exec_step_config, as: 'linuxExecStepConfig', class: Google::Apis::OsconfigV1::ExecStepConfig, decorator: Google::Apis::OsconfigV1::ExecStepConfig::Representation
284
+
285
+ property :windows_exec_step_config, as: 'windowsExecStepConfig', class: Google::Apis::OsconfigV1::ExecStepConfig, decorator: Google::Apis::OsconfigV1::ExecStepConfig::Representation
286
+
287
+ end
288
+ end
289
+
290
+ class ExecStepConfig
291
+ # @private
292
+ class Representation < Google::Apis::Core::JsonRepresentation
293
+ collection :allowed_success_codes, as: 'allowedSuccessCodes'
294
+ property :gcs_object, as: 'gcsObject', class: Google::Apis::OsconfigV1::GcsObject, decorator: Google::Apis::OsconfigV1::GcsObject::Representation
295
+
296
+ property :interpreter, as: 'interpreter'
297
+ property :local_path, as: 'localPath'
298
+ end
299
+ end
300
+
301
+ class ExecutePatchJobRequest
302
+ # @private
303
+ class Representation < Google::Apis::Core::JsonRepresentation
304
+ property :description, as: 'description'
305
+ property :display_name, as: 'displayName'
306
+ property :dry_run, as: 'dryRun'
307
+ property :duration, as: 'duration'
308
+ property :instance_filter, as: 'instanceFilter', class: Google::Apis::OsconfigV1::PatchInstanceFilter, decorator: Google::Apis::OsconfigV1::PatchInstanceFilter::Representation
309
+
310
+ property :patch_config, as: 'patchConfig', class: Google::Apis::OsconfigV1::PatchConfig, decorator: Google::Apis::OsconfigV1::PatchConfig::Representation
311
+
312
+ property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1::PatchRollout, decorator: Google::Apis::OsconfigV1::PatchRollout::Representation
313
+
314
+ end
315
+ end
316
+
317
+ class FixedOrPercent
318
+ # @private
319
+ class Representation < Google::Apis::Core::JsonRepresentation
320
+ property :fixed, as: 'fixed'
321
+ property :percent, as: 'percent'
322
+ end
323
+ end
324
+
325
+ class GcsObject
326
+ # @private
327
+ class Representation < Google::Apis::Core::JsonRepresentation
328
+ property :bucket, as: 'bucket'
329
+ property :generation_number, :numeric_string => true, as: 'generationNumber'
330
+ property :object, as: 'object'
331
+ end
332
+ end
333
+
334
+ class GooSettings
335
+ # @private
336
+ class Representation < Google::Apis::Core::JsonRepresentation
337
+ end
338
+ end
339
+
340
+ class Inventory
341
+ # @private
342
+ class Representation < Google::Apis::Core::JsonRepresentation
343
+ hash :items, as: 'items', class: Google::Apis::OsconfigV1::InventoryItem, decorator: Google::Apis::OsconfigV1::InventoryItem::Representation
344
+
345
+ property :os_info, as: 'osInfo', class: Google::Apis::OsconfigV1::InventoryOsInfo, decorator: Google::Apis::OsconfigV1::InventoryOsInfo::Representation
346
+
347
+ end
348
+ end
349
+
350
+ class InventoryItem
351
+ # @private
352
+ class Representation < Google::Apis::Core::JsonRepresentation
353
+ property :available_package, as: 'availablePackage', class: Google::Apis::OsconfigV1::InventorySoftwarePackage, decorator: Google::Apis::OsconfigV1::InventorySoftwarePackage::Representation
354
+
355
+ property :create_time, as: 'createTime'
356
+ property :id, as: 'id'
357
+ property :installed_package, as: 'installedPackage', class: Google::Apis::OsconfigV1::InventorySoftwarePackage, decorator: Google::Apis::OsconfigV1::InventorySoftwarePackage::Representation
358
+
359
+ property :origin_type, as: 'originType'
360
+ property :type, as: 'type'
361
+ property :update_time, as: 'updateTime'
362
+ end
363
+ end
364
+
365
+ class InventoryOsInfo
366
+ # @private
367
+ class Representation < Google::Apis::Core::JsonRepresentation
368
+ property :architecture, as: 'architecture'
369
+ property :hostname, as: 'hostname'
370
+ property :kernel_release, as: 'kernelRelease'
371
+ property :kernel_version, as: 'kernelVersion'
372
+ property :long_name, as: 'longName'
373
+ property :osconfig_agent_version, as: 'osconfigAgentVersion'
374
+ property :short_name, as: 'shortName'
375
+ property :version, as: 'version'
376
+ end
377
+ end
378
+
379
+ class InventorySoftwarePackage
380
+ # @private
381
+ class Representation < Google::Apis::Core::JsonRepresentation
382
+ property :apt_package, as: 'aptPackage', class: Google::Apis::OsconfigV1::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1::InventoryVersionedPackage::Representation
383
+
384
+ property :cos_package, as: 'cosPackage', class: Google::Apis::OsconfigV1::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1::InventoryVersionedPackage::Representation
385
+
386
+ property :googet_package, as: 'googetPackage', class: Google::Apis::OsconfigV1::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1::InventoryVersionedPackage::Representation
387
+
388
+ property :qfe_package, as: 'qfePackage', class: Google::Apis::OsconfigV1::InventoryWindowsQuickFixEngineeringPackage, decorator: Google::Apis::OsconfigV1::InventoryWindowsQuickFixEngineeringPackage::Representation
389
+
390
+ property :wua_package, as: 'wuaPackage', class: Google::Apis::OsconfigV1::InventoryWindowsUpdatePackage, decorator: Google::Apis::OsconfigV1::InventoryWindowsUpdatePackage::Representation
391
+
392
+ property :yum_package, as: 'yumPackage', class: Google::Apis::OsconfigV1::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1::InventoryVersionedPackage::Representation
393
+
394
+ property :zypper_package, as: 'zypperPackage', class: Google::Apis::OsconfigV1::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1::InventoryVersionedPackage::Representation
395
+
396
+ property :zypper_patch, as: 'zypperPatch', class: Google::Apis::OsconfigV1::InventoryZypperPatch, decorator: Google::Apis::OsconfigV1::InventoryZypperPatch::Representation
397
+
398
+ end
399
+ end
400
+
401
+ class InventoryVersionedPackage
402
+ # @private
403
+ class Representation < Google::Apis::Core::JsonRepresentation
404
+ property :architecture, as: 'architecture'
405
+ property :package_name, as: 'packageName'
406
+ property :version, as: 'version'
407
+ end
408
+ end
409
+
410
+ class InventoryWindowsQuickFixEngineeringPackage
411
+ # @private
412
+ class Representation < Google::Apis::Core::JsonRepresentation
413
+ property :caption, as: 'caption'
414
+ property :description, as: 'description'
415
+ property :hot_fix_id, as: 'hotFixId'
416
+ property :install_time, as: 'installTime'
417
+ end
418
+ end
419
+
420
+ class InventoryWindowsUpdatePackage
421
+ # @private
422
+ class Representation < Google::Apis::Core::JsonRepresentation
423
+ collection :categories, as: 'categories', class: Google::Apis::OsconfigV1::InventoryWindowsUpdatePackageWindowsUpdateCategory, decorator: Google::Apis::OsconfigV1::InventoryWindowsUpdatePackageWindowsUpdateCategory::Representation
424
+
425
+ property :description, as: 'description'
426
+ collection :kb_article_ids, as: 'kbArticleIds'
427
+ property :last_deployment_change_time, as: 'lastDeploymentChangeTime'
428
+ collection :more_info_urls, as: 'moreInfoUrls'
429
+ property :revision_number, as: 'revisionNumber'
430
+ property :support_url, as: 'supportUrl'
431
+ property :title, as: 'title'
432
+ property :update_id, as: 'updateId'
433
+ end
434
+ end
435
+
436
+ class InventoryWindowsUpdatePackageWindowsUpdateCategory
437
+ # @private
438
+ class Representation < Google::Apis::Core::JsonRepresentation
439
+ property :id, as: 'id'
440
+ property :name, as: 'name'
441
+ end
442
+ end
443
+
444
+ class InventoryZypperPatch
445
+ # @private
446
+ class Representation < Google::Apis::Core::JsonRepresentation
447
+ property :category, as: 'category'
448
+ property :patch_name, as: 'patchName'
449
+ property :severity, as: 'severity'
450
+ property :summary, as: 'summary'
451
+ end
452
+ end
453
+
454
+ class ListPatchDeploymentsResponse
455
+ # @private
456
+ class Representation < Google::Apis::Core::JsonRepresentation
457
+ property :next_page_token, as: 'nextPageToken'
458
+ collection :patch_deployments, as: 'patchDeployments', class: Google::Apis::OsconfigV1::PatchDeployment, decorator: Google::Apis::OsconfigV1::PatchDeployment::Representation
459
+
460
+ end
461
+ end
462
+
463
+ class ListPatchJobInstanceDetailsResponse
464
+ # @private
465
+ class Representation < Google::Apis::Core::JsonRepresentation
466
+ property :next_page_token, as: 'nextPageToken'
467
+ collection :patch_job_instance_details, as: 'patchJobInstanceDetails', class: Google::Apis::OsconfigV1::PatchJobInstanceDetails, decorator: Google::Apis::OsconfigV1::PatchJobInstanceDetails::Representation
468
+
469
+ end
470
+ end
471
+
472
+ class ListPatchJobsResponse
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ property :next_page_token, as: 'nextPageToken'
476
+ collection :patch_jobs, as: 'patchJobs', class: Google::Apis::OsconfigV1::PatchJob, decorator: Google::Apis::OsconfigV1::PatchJob::Representation
477
+
478
+ end
479
+ end
480
+
481
+ class MonthlySchedule
482
+ # @private
483
+ class Representation < Google::Apis::Core::JsonRepresentation
484
+ property :month_day, as: 'monthDay'
485
+ property :week_day_of_month, as: 'weekDayOfMonth', class: Google::Apis::OsconfigV1::WeekDayOfMonth, decorator: Google::Apis::OsconfigV1::WeekDayOfMonth::Representation
486
+
487
+ end
488
+ end
489
+
490
+ class OneTimeSchedule
491
+ # @private
492
+ class Representation < Google::Apis::Core::JsonRepresentation
493
+ property :execute_time, as: 'executeTime'
494
+ end
495
+ end
496
+
497
+ class PatchConfig
498
+ # @private
499
+ class Representation < Google::Apis::Core::JsonRepresentation
500
+ property :apt, as: 'apt', class: Google::Apis::OsconfigV1::AptSettings, decorator: Google::Apis::OsconfigV1::AptSettings::Representation
501
+
502
+ property :goo, as: 'goo', class: Google::Apis::OsconfigV1::GooSettings, decorator: Google::Apis::OsconfigV1::GooSettings::Representation
503
+
504
+ property :post_step, as: 'postStep', class: Google::Apis::OsconfigV1::ExecStep, decorator: Google::Apis::OsconfigV1::ExecStep::Representation
505
+
506
+ property :pre_step, as: 'preStep', class: Google::Apis::OsconfigV1::ExecStep, decorator: Google::Apis::OsconfigV1::ExecStep::Representation
507
+
508
+ property :reboot_config, as: 'rebootConfig'
509
+ property :windows_update, as: 'windowsUpdate', class: Google::Apis::OsconfigV1::WindowsUpdateSettings, decorator: Google::Apis::OsconfigV1::WindowsUpdateSettings::Representation
510
+
511
+ property :yum, as: 'yum', class: Google::Apis::OsconfigV1::YumSettings, decorator: Google::Apis::OsconfigV1::YumSettings::Representation
512
+
513
+ property :zypper, as: 'zypper', class: Google::Apis::OsconfigV1::ZypperSettings, decorator: Google::Apis::OsconfigV1::ZypperSettings::Representation
514
+
515
+ end
516
+ end
517
+
518
+ class PatchDeployment
519
+ # @private
520
+ class Representation < Google::Apis::Core::JsonRepresentation
521
+ property :create_time, as: 'createTime'
522
+ property :description, as: 'description'
523
+ property :duration, as: 'duration'
524
+ property :instance_filter, as: 'instanceFilter', class: Google::Apis::OsconfigV1::PatchInstanceFilter, decorator: Google::Apis::OsconfigV1::PatchInstanceFilter::Representation
525
+
526
+ property :last_execute_time, as: 'lastExecuteTime'
527
+ property :name, as: 'name'
528
+ property :one_time_schedule, as: 'oneTimeSchedule', class: Google::Apis::OsconfigV1::OneTimeSchedule, decorator: Google::Apis::OsconfigV1::OneTimeSchedule::Representation
529
+
530
+ property :patch_config, as: 'patchConfig', class: Google::Apis::OsconfigV1::PatchConfig, decorator: Google::Apis::OsconfigV1::PatchConfig::Representation
531
+
532
+ property :recurring_schedule, as: 'recurringSchedule', class: Google::Apis::OsconfigV1::RecurringSchedule, decorator: Google::Apis::OsconfigV1::RecurringSchedule::Representation
533
+
534
+ property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1::PatchRollout, decorator: Google::Apis::OsconfigV1::PatchRollout::Representation
535
+
536
+ property :update_time, as: 'updateTime'
537
+ end
538
+ end
539
+
540
+ class PatchInstanceFilter
541
+ # @private
542
+ class Representation < Google::Apis::Core::JsonRepresentation
543
+ property :all, as: 'all'
544
+ collection :group_labels, as: 'groupLabels', class: Google::Apis::OsconfigV1::PatchInstanceFilterGroupLabel, decorator: Google::Apis::OsconfigV1::PatchInstanceFilterGroupLabel::Representation
545
+
546
+ collection :instance_name_prefixes, as: 'instanceNamePrefixes'
547
+ collection :instances, as: 'instances'
548
+ collection :zones, as: 'zones'
549
+ end
550
+ end
551
+
552
+ class PatchInstanceFilterGroupLabel
553
+ # @private
554
+ class Representation < Google::Apis::Core::JsonRepresentation
555
+ hash :labels, as: 'labels'
556
+ end
557
+ end
558
+
559
+ class PatchJob
560
+ # @private
561
+ class Representation < Google::Apis::Core::JsonRepresentation
562
+ property :create_time, as: 'createTime'
563
+ property :description, as: 'description'
564
+ property :display_name, as: 'displayName'
565
+ property :dry_run, as: 'dryRun'
566
+ property :duration, as: 'duration'
567
+ property :error_message, as: 'errorMessage'
568
+ property :instance_details_summary, as: 'instanceDetailsSummary', class: Google::Apis::OsconfigV1::PatchJobInstanceDetailsSummary, decorator: Google::Apis::OsconfigV1::PatchJobInstanceDetailsSummary::Representation
569
+
570
+ property :instance_filter, as: 'instanceFilter', class: Google::Apis::OsconfigV1::PatchInstanceFilter, decorator: Google::Apis::OsconfigV1::PatchInstanceFilter::Representation
571
+
572
+ property :name, as: 'name'
573
+ property :patch_config, as: 'patchConfig', class: Google::Apis::OsconfigV1::PatchConfig, decorator: Google::Apis::OsconfigV1::PatchConfig::Representation
574
+
575
+ property :patch_deployment, as: 'patchDeployment'
576
+ property :percent_complete, as: 'percentComplete'
577
+ property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1::PatchRollout, decorator: Google::Apis::OsconfigV1::PatchRollout::Representation
578
+
579
+ property :state, as: 'state'
580
+ property :update_time, as: 'updateTime'
581
+ end
582
+ end
583
+
584
+ class PatchJobInstanceDetails
585
+ # @private
586
+ class Representation < Google::Apis::Core::JsonRepresentation
587
+ property :attempt_count, :numeric_string => true, as: 'attemptCount'
588
+ property :failure_reason, as: 'failureReason'
589
+ property :instance_system_id, as: 'instanceSystemId'
590
+ property :name, as: 'name'
591
+ property :state, as: 'state'
592
+ end
593
+ end
594
+
595
+ class PatchJobInstanceDetailsSummary
596
+ # @private
597
+ class Representation < Google::Apis::Core::JsonRepresentation
598
+ property :acked_instance_count, :numeric_string => true, as: 'ackedInstanceCount'
599
+ property :applying_patches_instance_count, :numeric_string => true, as: 'applyingPatchesInstanceCount'
600
+ property :downloading_patches_instance_count, :numeric_string => true, as: 'downloadingPatchesInstanceCount'
601
+ property :failed_instance_count, :numeric_string => true, as: 'failedInstanceCount'
602
+ property :inactive_instance_count, :numeric_string => true, as: 'inactiveInstanceCount'
603
+ property :no_agent_detected_instance_count, :numeric_string => true, as: 'noAgentDetectedInstanceCount'
604
+ property :notified_instance_count, :numeric_string => true, as: 'notifiedInstanceCount'
605
+ property :pending_instance_count, :numeric_string => true, as: 'pendingInstanceCount'
606
+ property :post_patch_step_instance_count, :numeric_string => true, as: 'postPatchStepInstanceCount'
607
+ property :pre_patch_step_instance_count, :numeric_string => true, as: 'prePatchStepInstanceCount'
608
+ property :rebooting_instance_count, :numeric_string => true, as: 'rebootingInstanceCount'
609
+ property :started_instance_count, :numeric_string => true, as: 'startedInstanceCount'
610
+ property :succeeded_instance_count, :numeric_string => true, as: 'succeededInstanceCount'
611
+ property :succeeded_reboot_required_instance_count, :numeric_string => true, as: 'succeededRebootRequiredInstanceCount'
612
+ property :timed_out_instance_count, :numeric_string => true, as: 'timedOutInstanceCount'
613
+ end
614
+ end
615
+
616
+ class PatchRollout
617
+ # @private
618
+ class Representation < Google::Apis::Core::JsonRepresentation
619
+ property :disruption_budget, as: 'disruptionBudget', class: Google::Apis::OsconfigV1::FixedOrPercent, decorator: Google::Apis::OsconfigV1::FixedOrPercent::Representation
620
+
621
+ property :mode, as: 'mode'
622
+ end
623
+ end
624
+
625
+ class RecurringSchedule
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :end_time, as: 'endTime'
629
+ property :frequency, as: 'frequency'
630
+ property :last_execute_time, as: 'lastExecuteTime'
631
+ property :monthly, as: 'monthly', class: Google::Apis::OsconfigV1::MonthlySchedule, decorator: Google::Apis::OsconfigV1::MonthlySchedule::Representation
632
+
633
+ property :next_execute_time, as: 'nextExecuteTime'
634
+ property :start_time, as: 'startTime'
635
+ property :time_of_day, as: 'timeOfDay', class: Google::Apis::OsconfigV1::TimeOfDay, decorator: Google::Apis::OsconfigV1::TimeOfDay::Representation
636
+
637
+ property :time_zone, as: 'timeZone', class: Google::Apis::OsconfigV1::TimeZone, decorator: Google::Apis::OsconfigV1::TimeZone::Representation
638
+
639
+ property :weekly, as: 'weekly', class: Google::Apis::OsconfigV1::WeeklySchedule, decorator: Google::Apis::OsconfigV1::WeeklySchedule::Representation
640
+
641
+ end
642
+ end
643
+
644
+ class TimeOfDay
645
+ # @private
646
+ class Representation < Google::Apis::Core::JsonRepresentation
647
+ property :hours, as: 'hours'
648
+ property :minutes, as: 'minutes'
649
+ property :nanos, as: 'nanos'
650
+ property :seconds, as: 'seconds'
651
+ end
652
+ end
653
+
654
+ class TimeZone
655
+ # @private
656
+ class Representation < Google::Apis::Core::JsonRepresentation
657
+ property :id, as: 'id'
658
+ property :version, as: 'version'
659
+ end
660
+ end
661
+
662
+ class WeekDayOfMonth
663
+ # @private
664
+ class Representation < Google::Apis::Core::JsonRepresentation
665
+ property :day_of_week, as: 'dayOfWeek'
666
+ property :week_ordinal, as: 'weekOrdinal'
667
+ end
668
+ end
669
+
670
+ class WeeklySchedule
671
+ # @private
672
+ class Representation < Google::Apis::Core::JsonRepresentation
673
+ property :day_of_week, as: 'dayOfWeek'
674
+ end
675
+ end
676
+
677
+ class WindowsUpdateSettings
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ collection :classifications, as: 'classifications'
681
+ collection :excludes, as: 'excludes'
682
+ collection :exclusive_patches, as: 'exclusivePatches'
683
+ end
684
+ end
685
+
686
+ class YumSettings
687
+ # @private
688
+ class Representation < Google::Apis::Core::JsonRepresentation
689
+ collection :excludes, as: 'excludes'
690
+ collection :exclusive_packages, as: 'exclusivePackages'
691
+ property :minimal, as: 'minimal'
692
+ property :security, as: 'security'
693
+ end
694
+ end
695
+
696
+ class ZypperSettings
697
+ # @private
698
+ class Representation < Google::Apis::Core::JsonRepresentation
699
+ collection :categories, as: 'categories'
700
+ collection :excludes, as: 'excludes'
701
+ collection :exclusive_patches, as: 'exclusivePatches'
702
+ collection :severities, as: 'severities'
703
+ property :with_optional, as: 'withOptional'
704
+ property :with_update, as: 'withUpdate'
705
+ end
706
+ end
707
+ end
708
+ end
709
+ end