google-api-client 0.49.0 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +81 -0
  3. data/generated/google/apis/accessapproval_v1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  5. data/generated/google/apis/admob_v1.rb +4 -1
  6. data/generated/google/apis/admob_v1/service.rb +4 -0
  7. data/generated/google/apis/admob_v1beta.rb +38 -0
  8. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  9. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  10. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  11. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  12. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +8 -32
  13. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +0 -16
  14. data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -32
  15. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  16. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  17. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  18. data/generated/google/apis/apigee_v1.rb +1 -1
  19. data/generated/google/apis/apigee_v1/classes.rb +114 -11
  20. data/generated/google/apis/apigee_v1/representations.rb +39 -1
  21. data/generated/google/apis/apigee_v1/service.rb +370 -2
  22. data/generated/google/apis/area120tables_v1alpha1.rb +1 -1
  23. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  24. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -6
  25. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
  26. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  27. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +22 -10
  28. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
  29. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +1 -5
  30. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  31. data/generated/google/apis/billingbudgets_v1/classes.rb +6 -6
  32. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  33. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +6 -6
  34. data/generated/google/apis/cloudasset_v1.rb +1 -1
  35. data/generated/google/apis/cloudasset_v1/classes.rb +425 -6
  36. data/generated/google/apis/cloudasset_v1/representations.rb +170 -1
  37. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  38. data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -6
  39. data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
  40. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +0 -6
  42. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +0 -1
  43. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  44. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +0 -6
  45. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +0 -1
  46. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  47. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +0 -6
  48. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +0 -1
  49. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  50. data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -6
  51. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -1
  52. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  53. data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
  54. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  55. data/generated/google/apis/cloudidentity_v1beta1/service.rb +7 -3
  56. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +323 -6
  58. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +248 -1
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +323 -6
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +248 -1
  62. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  63. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +323 -6
  64. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +248 -1
  65. data/generated/google/apis/cloudresourcemanager_v2/service.rb +5 -5
  66. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  67. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +323 -6
  68. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +248 -1
  69. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +5 -5
  70. data/generated/google/apis/compute_v1.rb +1 -1
  71. data/generated/google/apis/compute_v1/classes.rb +35 -13
  72. data/generated/google/apis/compute_v1/representations.rb +2 -0
  73. data/generated/google/apis/compute_v1/service.rb +2 -1
  74. data/generated/google/apis/content_v2.rb +1 -1
  75. data/generated/google/apis/content_v2/service.rb +3 -1
  76. data/generated/google/apis/content_v2_1.rb +1 -1
  77. data/generated/google/apis/content_v2_1/classes.rb +446 -4
  78. data/generated/google/apis/content_v2_1/representations.rb +136 -0
  79. data/generated/google/apis/content_v2_1/service.rb +36 -1
  80. data/generated/google/apis/deploymentmanager_v2.rb +2 -2
  81. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
  82. data/generated/google/apis/deploymentmanager_v2beta.rb +2 -2
  83. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  84. data/generated/google/apis/dialogflow_v2.rb +1 -1
  85. data/generated/google/apis/dialogflow_v2/classes.rb +0 -31
  86. data/generated/google/apis/dialogflow_v2/representations.rb +0 -15
  87. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  88. data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -31
  89. data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -15
  90. data/generated/google/apis/dialogflow_v2beta1/service.rb +12 -6
  91. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  92. data/generated/google/apis/dialogflow_v3beta1/classes.rb +0 -31
  93. data/generated/google/apis/dialogflow_v3beta1/representations.rb +0 -15
  94. data/generated/google/apis/displayvideo_v1.rb +1 -1
  95. data/generated/google/apis/displayvideo_v1/classes.rb +5 -5
  96. data/generated/google/apis/displayvideo_v1/service.rb +1 -1
  97. data/generated/google/apis/dlp_v2.rb +1 -1
  98. data/generated/google/apis/dlp_v2/classes.rb +6 -0
  99. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  100. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  101. data/generated/google/apis/domains_v1alpha2/classes.rb +0 -6
  102. data/generated/google/apis/domains_v1alpha2/representations.rb +0 -1
  103. data/generated/google/apis/domains_v1beta1.rb +1 -1
  104. data/generated/google/apis/domains_v1beta1/classes.rb +0 -6
  105. data/generated/google/apis/domains_v1beta1/representations.rb +0 -1
  106. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  107. data/generated/google/apis/drive_v2.rb +1 -1
  108. data/generated/google/apis/drive_v2/classes.rb +2 -2
  109. data/generated/google/apis/drive_v3.rb +1 -1
  110. data/generated/google/apis/drive_v3/classes.rb +2 -2
  111. data/generated/google/apis/healthcare_v1.rb +1 -1
  112. data/generated/google/apis/healthcare_v1/classes.rb +6 -0
  113. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  114. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  115. data/generated/google/apis/healthcare_v1beta1/classes.rb +12 -54
  116. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -29
  117. data/generated/google/apis/logging_v2.rb +1 -1
  118. data/generated/google/apis/logging_v2/classes.rb +4 -2
  119. data/generated/google/apis/logging_v2/service.rb +20 -20
  120. data/generated/google/apis/managedidentities_v1.rb +1 -1
  121. data/generated/google/apis/managedidentities_v1/classes.rb +345 -4
  122. data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
  123. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  124. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +345 -4
  125. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -0
  126. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  127. data/generated/google/apis/managedidentities_v1beta1/classes.rb +345 -4
  128. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -0
  129. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  130. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  131. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  132. data/generated/google/apis/notebooks_v1.rb +34 -0
  133. data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
  134. data/generated/google/apis/notebooks_v1/representations.rb +581 -0
  135. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  136. data/generated/google/apis/people_v1.rb +1 -1
  137. data/generated/google/apis/people_v1/service.rb +9 -6
  138. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  139. data/generated/google/apis/policytroubleshooter_v1/classes.rb +0 -6
  140. data/generated/google/apis/policytroubleshooter_v1/representations.rb +0 -1
  141. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  142. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +0 -6
  143. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +0 -1
  144. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  145. data/generated/google/apis/privateca_v1beta1/classes.rb +0 -6
  146. data/generated/google/apis/privateca_v1beta1/representations.rb +0 -1
  147. data/generated/google/apis/privateca_v1beta1/service.rb +0 -52
  148. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  149. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  150. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  151. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  152. data/generated/google/apis/redis_v1.rb +1 -1
  153. data/generated/google/apis/redis_v1/classes.rb +58 -0
  154. data/generated/google/apis/redis_v1/representations.rb +20 -0
  155. data/generated/google/apis/redis_v1beta1.rb +1 -1
  156. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  157. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  158. data/generated/google/apis/run_v1.rb +1 -1
  159. data/generated/google/apis/run_v1/classes.rb +0 -6
  160. data/generated/google/apis/run_v1/representations.rb +0 -1
  161. data/generated/google/apis/run_v1alpha1.rb +1 -1
  162. data/generated/google/apis/run_v1alpha1/classes.rb +0 -6
  163. data/generated/google/apis/run_v1alpha1/representations.rb +0 -1
  164. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  165. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -6
  166. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  167. data/generated/google/apis/secretmanager_v1.rb +1 -1
  168. data/generated/google/apis/secretmanager_v1/classes.rb +0 -6
  169. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  170. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  171. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -6
  172. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  173. data/generated/google/apis/securitycenter_v1.rb +1 -1
  174. data/generated/google/apis/securitycenter_v1/classes.rb +0 -6
  175. data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
  176. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  177. data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -6
  178. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
  179. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  180. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -6
  181. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  182. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -7
  183. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  184. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  185. data/generated/google/apis/servicenetworking_v1/service.rb +38 -0
  186. data/generated/google/apis/storage_v1.rb +1 -1
  187. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  188. data/generated/google/apis/storagetransfer_v1/classes.rb +31 -16
  189. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  190. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  191. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  192. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  193. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  194. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  195. data/generated/google/apis/translate_v3.rb +1 -1
  196. data/generated/google/apis/translate_v3beta1.rb +1 -1
  197. data/generated/google/apis/youtube_v3.rb +1 -1
  198. data/generated/google/apis/youtube_v3/service.rb +6 -6
  199. data/lib/google/apis/version.rb +1 -1
  200. metadata +15 -3
@@ -40,6 +40,24 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class DailyCycle
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Date
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class DenyMaintenancePeriod
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
43
61
  class DetachTrustRequest
44
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
63
 
@@ -160,6 +178,18 @@ module Google
160
178
  include Google::Apis::Core::JsonObjectSupport
161
179
  end
162
180
 
181
+ class MaintenancePolicy
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class MaintenanceWindow
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
163
193
  class Operation
164
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
195
 
@@ -202,6 +232,12 @@ module Google
202
232
  include Google::Apis::Core::JsonObjectSupport
203
233
  end
204
234
 
235
+ class Schedule
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
205
241
  class SetIamPolicyRequest
206
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
243
 
@@ -226,18 +262,36 @@ module Google
226
262
  include Google::Apis::Core::JsonObjectSupport
227
263
  end
228
264
 
265
+ class TimeOfDay
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
229
271
  class TrustProp
230
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
273
 
232
274
  include Google::Apis::Core::JsonObjectSupport
233
275
  end
234
276
 
277
+ class UpdatePolicy
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
235
283
  class ValidateTrustRequest
236
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
285
 
238
286
  include Google::Apis::Core::JsonObjectSupport
239
287
  end
240
288
 
289
+ class WeeklyCycle
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
241
295
  class AttachTrustRequest
242
296
  # @private
243
297
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -263,6 +317,36 @@ module Google
263
317
  end
264
318
  end
265
319
 
320
+ class DailyCycle
321
+ # @private
322
+ class Representation < Google::Apis::Core::JsonRepresentation
323
+ property :duration, as: 'duration'
324
+ property :start_time, as: 'startTime', class: Google::Apis::ManagedidentitiesV1alpha1::TimeOfDay, decorator: Google::Apis::ManagedidentitiesV1alpha1::TimeOfDay::Representation
325
+
326
+ end
327
+ end
328
+
329
+ class Date
330
+ # @private
331
+ class Representation < Google::Apis::Core::JsonRepresentation
332
+ property :day, as: 'day'
333
+ property :month, as: 'month'
334
+ property :year, as: 'year'
335
+ end
336
+ end
337
+
338
+ class DenyMaintenancePeriod
339
+ # @private
340
+ class Representation < Google::Apis::Core::JsonRepresentation
341
+ property :end_date, as: 'endDate', class: Google::Apis::ManagedidentitiesV1alpha1::Date, decorator: Google::Apis::ManagedidentitiesV1alpha1::Date::Representation
342
+
343
+ property :start_date, as: 'startDate', class: Google::Apis::ManagedidentitiesV1alpha1::Date, decorator: Google::Apis::ManagedidentitiesV1alpha1::Date::Representation
344
+
345
+ property :time, as: 'time', class: Google::Apis::ManagedidentitiesV1alpha1::TimeOfDay, decorator: Google::Apis::ManagedidentitiesV1alpha1::TimeOfDay::Representation
346
+
347
+ end
348
+ end
349
+
266
350
  class DetachTrustRequest
267
351
  # @private
268
352
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -381,6 +465,8 @@ module Google
381
465
  # @private
382
466
  class Representation < Google::Apis::Core::JsonRepresentation
383
467
  property :exclude, as: 'exclude'
468
+ hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::ManagedidentitiesV1alpha1::MaintenancePolicy, decorator: Google::Apis::ManagedidentitiesV1alpha1::MaintenancePolicy::Representation
469
+
384
470
  end
385
471
  end
386
472
 
@@ -482,6 +568,30 @@ module Google
482
568
  end
483
569
  end
484
570
 
571
+ class MaintenancePolicy
572
+ # @private
573
+ class Representation < Google::Apis::Core::JsonRepresentation
574
+ property :create_time, as: 'createTime'
575
+ property :description, as: 'description'
576
+ hash :labels, as: 'labels'
577
+ property :name, as: 'name'
578
+ property :state, as: 'state'
579
+ property :update_policy, as: 'updatePolicy', class: Google::Apis::ManagedidentitiesV1alpha1::UpdatePolicy, decorator: Google::Apis::ManagedidentitiesV1alpha1::UpdatePolicy::Representation
580
+
581
+ property :update_time, as: 'updateTime'
582
+ end
583
+ end
584
+
585
+ class MaintenanceWindow
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :daily_cycle, as: 'dailyCycle', class: Google::Apis::ManagedidentitiesV1alpha1::DailyCycle, decorator: Google::Apis::ManagedidentitiesV1alpha1::DailyCycle::Representation
589
+
590
+ property :weekly_cycle, as: 'weeklyCycle', class: Google::Apis::ManagedidentitiesV1alpha1::WeeklyCycle, decorator: Google::Apis::ManagedidentitiesV1alpha1::WeeklyCycle::Representation
591
+
592
+ end
593
+ end
594
+
485
595
  class Operation
486
596
  # @private
487
597
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -549,6 +659,16 @@ module Google
549
659
  end
550
660
  end
551
661
 
662
+ class Schedule
663
+ # @private
664
+ class Representation < Google::Apis::Core::JsonRepresentation
665
+ property :day, as: 'day'
666
+ property :duration, as: 'duration'
667
+ property :start_time, as: 'startTime', class: Google::Apis::ManagedidentitiesV1alpha1::TimeOfDay, decorator: Google::Apis::ManagedidentitiesV1alpha1::TimeOfDay::Representation
668
+
669
+ end
670
+ end
671
+
552
672
  class SetIamPolicyRequest
553
673
  # @private
554
674
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -580,6 +700,16 @@ module Google
580
700
  end
581
701
  end
582
702
 
703
+ class TimeOfDay
704
+ # @private
705
+ class Representation < Google::Apis::Core::JsonRepresentation
706
+ property :hours, as: 'hours'
707
+ property :minutes, as: 'minutes'
708
+ property :nanos, as: 'nanos'
709
+ property :seconds, as: 'seconds'
710
+ end
711
+ end
712
+
583
713
  class TrustProp
584
714
  # @private
585
715
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -597,6 +727,17 @@ module Google
597
727
  end
598
728
  end
599
729
 
730
+ class UpdatePolicy
731
+ # @private
732
+ class Representation < Google::Apis::Core::JsonRepresentation
733
+ property :channel, as: 'channel'
734
+ collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::ManagedidentitiesV1alpha1::DenyMaintenancePeriod, decorator: Google::Apis::ManagedidentitiesV1alpha1::DenyMaintenancePeriod::Representation
735
+
736
+ property :window, as: 'window', class: Google::Apis::ManagedidentitiesV1alpha1::MaintenanceWindow, decorator: Google::Apis::ManagedidentitiesV1alpha1::MaintenanceWindow::Representation
737
+
738
+ end
739
+ end
740
+
600
741
  class ValidateTrustRequest
601
742
  # @private
602
743
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -604,6 +745,14 @@ module Google
604
745
 
605
746
  end
606
747
  end
748
+
749
+ class WeeklyCycle
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ collection :schedule, as: 'schedule', class: Google::Apis::ManagedidentitiesV1alpha1::Schedule, decorator: Google::Apis::ManagedidentitiesV1alpha1::Schedule::Representation
753
+
754
+ end
755
+ end
607
756
  end
608
757
  end
609
758
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/managed-microsoft-ad/
27
27
  module ManagedidentitiesV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20201027'
29
+ REVISION = '20201030'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -132,6 +132,122 @@ module Google
132
132
  end
133
133
  end
134
134
 
135
+ # Time window specified for daily operations.
136
+ class DailyCycle
137
+ include Google::Apis::Core::Hashable
138
+
139
+ # Output only. Duration of the time window, set by service producer.
140
+ # Corresponds to the JSON property `duration`
141
+ # @return [String]
142
+ attr_accessor :duration
143
+
144
+ # Represents a time of day. The date and time zone are either not significant or
145
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
146
+ # types are google.type.Date and `google.protobuf.Timestamp`.
147
+ # Corresponds to the JSON property `startTime`
148
+ # @return [Google::Apis::ManagedidentitiesV1beta1::TimeOfDay]
149
+ attr_accessor :start_time
150
+
151
+ def initialize(**args)
152
+ update!(**args)
153
+ end
154
+
155
+ # Update properties of this object
156
+ def update!(**args)
157
+ @duration = args[:duration] if args.key?(:duration)
158
+ @start_time = args[:start_time] if args.key?(:start_time)
159
+ end
160
+ end
161
+
162
+ # Represents a whole or partial calendar date, such as a birthday. The time of
163
+ # day and time zone are either specified elsewhere or are insignificant. The
164
+ # date is relative to the Gregorian Calendar. This can represent one of the
165
+ # following: * A full date, with non-zero year, month, and day values * A month
166
+ # and day value, with a zero year, such as an anniversary * A year on its own,
167
+ # with zero month and day values * A year and month value, with a zero day, such
168
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
169
+ # google.protobuf.Timestamp`.
170
+ class Date
171
+ include Google::Apis::Core::Hashable
172
+
173
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
174
+ # specify a year by itself or a year and month where the day isn't significant.
175
+ # Corresponds to the JSON property `day`
176
+ # @return [Fixnum]
177
+ attr_accessor :day
178
+
179
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
180
+ # and day.
181
+ # Corresponds to the JSON property `month`
182
+ # @return [Fixnum]
183
+ attr_accessor :month
184
+
185
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
186
+ # year.
187
+ # Corresponds to the JSON property `year`
188
+ # @return [Fixnum]
189
+ attr_accessor :year
190
+
191
+ def initialize(**args)
192
+ update!(**args)
193
+ end
194
+
195
+ # Update properties of this object
196
+ def update!(**args)
197
+ @day = args[:day] if args.key?(:day)
198
+ @month = args[:month] if args.key?(:month)
199
+ @year = args[:year] if args.key?(:year)
200
+ end
201
+ end
202
+
203
+ # DenyMaintenancePeriod definition. Maintenance is forbidden within the deny
204
+ # period. The start_date must be less than the end_date.
205
+ class DenyMaintenancePeriod
206
+ include Google::Apis::Core::Hashable
207
+
208
+ # Represents a whole or partial calendar date, such as a birthday. The time of
209
+ # day and time zone are either specified elsewhere or are insignificant. The
210
+ # date is relative to the Gregorian Calendar. This can represent one of the
211
+ # following: * A full date, with non-zero year, month, and day values * A month
212
+ # and day value, with a zero year, such as an anniversary * A year on its own,
213
+ # with zero month and day values * A year and month value, with a zero day, such
214
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
215
+ # google.protobuf.Timestamp`.
216
+ # Corresponds to the JSON property `endDate`
217
+ # @return [Google::Apis::ManagedidentitiesV1beta1::Date]
218
+ attr_accessor :end_date
219
+
220
+ # Represents a whole or partial calendar date, such as a birthday. The time of
221
+ # day and time zone are either specified elsewhere or are insignificant. The
222
+ # date is relative to the Gregorian Calendar. This can represent one of the
223
+ # following: * A full date, with non-zero year, month, and day values * A month
224
+ # and day value, with a zero year, such as an anniversary * A year on its own,
225
+ # with zero month and day values * A year and month value, with a zero day, such
226
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
227
+ # google.protobuf.Timestamp`.
228
+ # Corresponds to the JSON property `startDate`
229
+ # @return [Google::Apis::ManagedidentitiesV1beta1::Date]
230
+ attr_accessor :start_date
231
+
232
+ # Represents a time of day. The date and time zone are either not significant or
233
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
234
+ # types are google.type.Date and `google.protobuf.Timestamp`.
235
+ # Corresponds to the JSON property `time`
236
+ # @return [Google::Apis::ManagedidentitiesV1beta1::TimeOfDay]
237
+ attr_accessor :time
238
+
239
+ def initialize(**args)
240
+ update!(**args)
241
+ end
242
+
243
+ # Update properties of this object
244
+ def update!(**args)
245
+ @end_date = args[:end_date] if args.key?(:end_date)
246
+ @start_date = args[:start_date] if args.key?(:start_date)
247
+ @time = args[:time] if args.key?(:time)
248
+ end
249
+ end
250
+
135
251
  # Request message for DetachTrust
136
252
  class DetachTrustRequest
137
253
  include Google::Apis::Core::Hashable
@@ -504,10 +620,10 @@ module Google
504
620
  # @return [Hash<String,String>]
505
621
  attr_accessor :labels
506
622
 
507
- # The MaintenancePolicies that have been attached to the instance. The key must
508
- # be of the type name of the oneof policy name defined in MaintenancePolicy, and
509
- # the referenced policy must define the same policy type. For complete details
510
- # of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
623
+ # Deprecated. The MaintenancePolicies that have been attached to the instance.
624
+ # The key must be of the type name of the oneof policy name defined in
625
+ # MaintenancePolicy, and the referenced policy must define the same policy type.
626
+ # For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
511
627
  # Corresponds to the JSON property `maintenancePolicyNames`
512
628
  # @return [Hash<String,String>]
513
629
  attr_accessor :maintenance_policy_names
@@ -659,6 +775,16 @@ module Google
659
775
  attr_accessor :exclude
660
776
  alias_method :exclude?, :exclude
661
777
 
778
+ # Optional. The MaintenancePolicies that have been attached to the instance. The
779
+ # key must be of the type name of the oneof policy name defined in
780
+ # MaintenancePolicy, and the embedded policy must define the same policy type.
781
+ # For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
782
+ # If only the name is needed (like in the deprecated Instance.
783
+ # maintenance_policy_names field) then only populate MaintenancePolicy.name.
784
+ # Corresponds to the JSON property `maintenancePolicies`
785
+ # @return [Hash<String,Google::Apis::ManagedidentitiesV1beta1::MaintenancePolicy>]
786
+ attr_accessor :maintenance_policies
787
+
662
788
  def initialize(**args)
663
789
  update!(**args)
664
790
  end
@@ -666,6 +792,7 @@ module Google
666
792
  # Update properties of this object
667
793
  def update!(**args)
668
794
  @exclude = args[:exclude] if args.key?(:exclude)
795
+ @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
669
796
  end
670
797
  end
671
798
 
@@ -1028,6 +1155,93 @@ module Google
1028
1155
  end
1029
1156
  end
1030
1157
 
1158
+ # Defines policies to service maintenance events.
1159
+ class MaintenancePolicy
1160
+ include Google::Apis::Core::Hashable
1161
+
1162
+ # Output only. The time when the resource was created.
1163
+ # Corresponds to the JSON property `createTime`
1164
+ # @return [String]
1165
+ attr_accessor :create_time
1166
+
1167
+ # Optional. Description of what this policy is for. Create/Update methods return
1168
+ # INVALID_ARGUMENT if the length is greater than 512.
1169
+ # Corresponds to the JSON property `description`
1170
+ # @return [String]
1171
+ attr_accessor :description
1172
+
1173
+ # Optional. Resource labels to represent user provided metadata. Each label is a
1174
+ # key-value pair, where both the key and the value are arbitrary strings
1175
+ # provided by the user.
1176
+ # Corresponds to the JSON property `labels`
1177
+ # @return [Hash<String,String>]
1178
+ attr_accessor :labels
1179
+
1180
+ # Required. MaintenancePolicy name using the form: `projects/`project_id`/
1181
+ # locations/`location_id`/maintenancePolicies/`maintenance_policy_id`` where `
1182
+ # project_id` refers to a GCP consumer project ID, `location_id` refers to a GCP
1183
+ # region/zone, `maintenance_policy_id` must be 1-63 characters long and match
1184
+ # the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.
1185
+ # Corresponds to the JSON property `name`
1186
+ # @return [String]
1187
+ attr_accessor :name
1188
+
1189
+ # Optional. The state of the policy.
1190
+ # Corresponds to the JSON property `state`
1191
+ # @return [String]
1192
+ attr_accessor :state
1193
+
1194
+ # Maintenance policy applicable to instance updates.
1195
+ # Corresponds to the JSON property `updatePolicy`
1196
+ # @return [Google::Apis::ManagedidentitiesV1beta1::UpdatePolicy]
1197
+ attr_accessor :update_policy
1198
+
1199
+ # Output only. The time when the resource was updated.
1200
+ # Corresponds to the JSON property `updateTime`
1201
+ # @return [String]
1202
+ attr_accessor :update_time
1203
+
1204
+ def initialize(**args)
1205
+ update!(**args)
1206
+ end
1207
+
1208
+ # Update properties of this object
1209
+ def update!(**args)
1210
+ @create_time = args[:create_time] if args.key?(:create_time)
1211
+ @description = args[:description] if args.key?(:description)
1212
+ @labels = args[:labels] if args.key?(:labels)
1213
+ @name = args[:name] if args.key?(:name)
1214
+ @state = args[:state] if args.key?(:state)
1215
+ @update_policy = args[:update_policy] if args.key?(:update_policy)
1216
+ @update_time = args[:update_time] if args.key?(:update_time)
1217
+ end
1218
+ end
1219
+
1220
+ # MaintenanceWindow definition.
1221
+ class MaintenanceWindow
1222
+ include Google::Apis::Core::Hashable
1223
+
1224
+ # Time window specified for daily operations.
1225
+ # Corresponds to the JSON property `dailyCycle`
1226
+ # @return [Google::Apis::ManagedidentitiesV1beta1::DailyCycle]
1227
+ attr_accessor :daily_cycle
1228
+
1229
+ # Time window specified for weekly operations.
1230
+ # Corresponds to the JSON property `weeklyCycle`
1231
+ # @return [Google::Apis::ManagedidentitiesV1beta1::WeeklyCycle]
1232
+ attr_accessor :weekly_cycle
1233
+
1234
+ def initialize(**args)
1235
+ update!(**args)
1236
+ end
1237
+
1238
+ # Update properties of this object
1239
+ def update!(**args)
1240
+ @daily_cycle = args[:daily_cycle] if args.key?(:daily_cycle)
1241
+ @weekly_cycle = args[:weekly_cycle] if args.key?(:weekly_cycle)
1242
+ end
1243
+ end
1244
+
1031
1245
  # This resource represents a long-running operation that is the result of a
1032
1246
  # network API call.
1033
1247
  class Operation
@@ -1339,6 +1553,39 @@ module Google
1339
1553
  end
1340
1554
  end
1341
1555
 
1556
+ # Configure the schedule.
1557
+ class Schedule
1558
+ include Google::Apis::Core::Hashable
1559
+
1560
+ # Allows to define schedule that runs specified day of the week.
1561
+ # Corresponds to the JSON property `day`
1562
+ # @return [String]
1563
+ attr_accessor :day
1564
+
1565
+ # Output only. Duration of the time window, set by service producer.
1566
+ # Corresponds to the JSON property `duration`
1567
+ # @return [String]
1568
+ attr_accessor :duration
1569
+
1570
+ # Represents a time of day. The date and time zone are either not significant or
1571
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1572
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1573
+ # Corresponds to the JSON property `startTime`
1574
+ # @return [Google::Apis::ManagedidentitiesV1beta1::TimeOfDay]
1575
+ attr_accessor :start_time
1576
+
1577
+ def initialize(**args)
1578
+ update!(**args)
1579
+ end
1580
+
1581
+ # Update properties of this object
1582
+ def update!(**args)
1583
+ @day = args[:day] if args.key?(:day)
1584
+ @duration = args[:duration] if args.key?(:duration)
1585
+ @start_time = args[:start_time] if args.key?(:start_time)
1586
+ end
1587
+ end
1588
+
1342
1589
  # Request message for `SetIamPolicy` method.
1343
1590
  class SetIamPolicyRequest
1344
1591
  include Google::Apis::Core::Hashable
@@ -1463,6 +1710,47 @@ module Google
1463
1710
  end
1464
1711
  end
1465
1712
 
1713
+ # Represents a time of day. The date and time zone are either not significant or
1714
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1715
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1716
+ class TimeOfDay
1717
+ include Google::Apis::Core::Hashable
1718
+
1719
+ # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
1720
+ # allow the value "24:00:00" for scenarios like business closing time.
1721
+ # Corresponds to the JSON property `hours`
1722
+ # @return [Fixnum]
1723
+ attr_accessor :hours
1724
+
1725
+ # Minutes of hour of day. Must be from 0 to 59.
1726
+ # Corresponds to the JSON property `minutes`
1727
+ # @return [Fixnum]
1728
+ attr_accessor :minutes
1729
+
1730
+ # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1731
+ # Corresponds to the JSON property `nanos`
1732
+ # @return [Fixnum]
1733
+ attr_accessor :nanos
1734
+
1735
+ # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
1736
+ # allow the value 60 if it allows leap-seconds.
1737
+ # Corresponds to the JSON property `seconds`
1738
+ # @return [Fixnum]
1739
+ attr_accessor :seconds
1740
+
1741
+ def initialize(**args)
1742
+ update!(**args)
1743
+ end
1744
+
1745
+ # Update properties of this object
1746
+ def update!(**args)
1747
+ @hours = args[:hours] if args.key?(:hours)
1748
+ @minutes = args[:minutes] if args.key?(:minutes)
1749
+ @nanos = args[:nanos] if args.key?(:nanos)
1750
+ @seconds = args[:seconds] if args.key?(:seconds)
1751
+ end
1752
+ end
1753
+
1466
1754
  # Represents a relationship between two domains. This allows a controller in one
1467
1755
  # domain to authenticate a user in another domain.
1468
1756
  class TrustProp
@@ -1550,6 +1838,40 @@ module Google
1550
1838
  end
1551
1839
  end
1552
1840
 
1841
+ # Maintenance policy applicable to instance updates.
1842
+ class UpdatePolicy
1843
+ include Google::Apis::Core::Hashable
1844
+
1845
+ # Optional. Relative scheduling channel applied to resource.
1846
+ # Corresponds to the JSON property `channel`
1847
+ # @return [String]
1848
+ attr_accessor :channel
1849
+
1850
+ # Deny Maintenance Period that is applied to resource to indicate when
1851
+ # maintenance is forbidden. User can specify zero or more non-overlapping deny
1852
+ # periods. For V1, Maximum number of deny_maintenance_periods is expected to be
1853
+ # one.
1854
+ # Corresponds to the JSON property `denyMaintenancePeriods`
1855
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::DenyMaintenancePeriod>]
1856
+ attr_accessor :deny_maintenance_periods
1857
+
1858
+ # MaintenanceWindow definition.
1859
+ # Corresponds to the JSON property `window`
1860
+ # @return [Google::Apis::ManagedidentitiesV1beta1::MaintenanceWindow]
1861
+ attr_accessor :window
1862
+
1863
+ def initialize(**args)
1864
+ update!(**args)
1865
+ end
1866
+
1867
+ # Update properties of this object
1868
+ def update!(**args)
1869
+ @channel = args[:channel] if args.key?(:channel)
1870
+ @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
1871
+ @window = args[:window] if args.key?(:window)
1872
+ end
1873
+ end
1874
+
1553
1875
  # Request message for ValidateTrust
1554
1876
  class ValidateTrustRequest
1555
1877
  include Google::Apis::Core::Hashable
@@ -1569,6 +1891,25 @@ module Google
1569
1891
  @trust_prop = args[:trust_prop] if args.key?(:trust_prop)
1570
1892
  end
1571
1893
  end
1894
+
1895
+ # Time window specified for weekly operations.
1896
+ class WeeklyCycle
1897
+ include Google::Apis::Core::Hashable
1898
+
1899
+ # User can specify multiple windows in a week. Minimum of 1 window.
1900
+ # Corresponds to the JSON property `schedule`
1901
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::Schedule>]
1902
+ attr_accessor :schedule
1903
+
1904
+ def initialize(**args)
1905
+ update!(**args)
1906
+ end
1907
+
1908
+ # Update properties of this object
1909
+ def update!(**args)
1910
+ @schedule = args[:schedule] if args.key?(:schedule)
1911
+ end
1912
+ end
1572
1913
  end
1573
1914
  end
1574
1915
  end