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
 
@@ -154,6 +172,18 @@ module Google
154
172
  include Google::Apis::Core::JsonObjectSupport
155
173
  end
156
174
 
175
+ class MaintenancePolicy
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class MaintenanceWindow
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
157
187
  class Operation
158
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
189
 
@@ -190,6 +220,12 @@ module Google
190
220
  include Google::Apis::Core::JsonObjectSupport
191
221
  end
192
222
 
223
+ class Schedule
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
193
229
  class SetIamPolicyRequest
194
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
231
 
@@ -214,18 +250,36 @@ module Google
214
250
  include Google::Apis::Core::JsonObjectSupport
215
251
  end
216
252
 
253
+ class TimeOfDay
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
217
259
  class TrustProp
218
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
261
 
220
262
  include Google::Apis::Core::JsonObjectSupport
221
263
  end
222
264
 
265
+ class UpdatePolicy
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
223
271
  class ValidateTrustRequest
224
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
273
 
226
274
  include Google::Apis::Core::JsonObjectSupport
227
275
  end
228
276
 
277
+ class WeeklyCycle
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
229
283
  class AttachTrustRequest
230
284
  # @private
231
285
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -251,6 +305,36 @@ module Google
251
305
  end
252
306
  end
253
307
 
308
+ class DailyCycle
309
+ # @private
310
+ class Representation < Google::Apis::Core::JsonRepresentation
311
+ property :duration, as: 'duration'
312
+ property :start_time, as: 'startTime', class: Google::Apis::ManagedidentitiesV1::TimeOfDay, decorator: Google::Apis::ManagedidentitiesV1::TimeOfDay::Representation
313
+
314
+ end
315
+ end
316
+
317
+ class Date
318
+ # @private
319
+ class Representation < Google::Apis::Core::JsonRepresentation
320
+ property :day, as: 'day'
321
+ property :month, as: 'month'
322
+ property :year, as: 'year'
323
+ end
324
+ end
325
+
326
+ class DenyMaintenancePeriod
327
+ # @private
328
+ class Representation < Google::Apis::Core::JsonRepresentation
329
+ property :end_date, as: 'endDate', class: Google::Apis::ManagedidentitiesV1::Date, decorator: Google::Apis::ManagedidentitiesV1::Date::Representation
330
+
331
+ property :start_date, as: 'startDate', class: Google::Apis::ManagedidentitiesV1::Date, decorator: Google::Apis::ManagedidentitiesV1::Date::Representation
332
+
333
+ property :time, as: 'time', class: Google::Apis::ManagedidentitiesV1::TimeOfDay, decorator: Google::Apis::ManagedidentitiesV1::TimeOfDay::Representation
334
+
335
+ end
336
+ end
337
+
254
338
  class DetachTrustRequest
255
339
  # @private
256
340
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -369,6 +453,8 @@ module Google
369
453
  # @private
370
454
  class Representation < Google::Apis::Core::JsonRepresentation
371
455
  property :exclude, as: 'exclude'
456
+ hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::ManagedidentitiesV1::MaintenancePolicy, decorator: Google::Apis::ManagedidentitiesV1::MaintenancePolicy::Representation
457
+
372
458
  end
373
459
  end
374
460
 
@@ -460,6 +546,30 @@ module Google
460
546
  end
461
547
  end
462
548
 
549
+ class MaintenancePolicy
550
+ # @private
551
+ class Representation < Google::Apis::Core::JsonRepresentation
552
+ property :create_time, as: 'createTime'
553
+ property :description, as: 'description'
554
+ hash :labels, as: 'labels'
555
+ property :name, as: 'name'
556
+ property :state, as: 'state'
557
+ property :update_policy, as: 'updatePolicy', class: Google::Apis::ManagedidentitiesV1::UpdatePolicy, decorator: Google::Apis::ManagedidentitiesV1::UpdatePolicy::Representation
558
+
559
+ property :update_time, as: 'updateTime'
560
+ end
561
+ end
562
+
563
+ class MaintenanceWindow
564
+ # @private
565
+ class Representation < Google::Apis::Core::JsonRepresentation
566
+ property :daily_cycle, as: 'dailyCycle', class: Google::Apis::ManagedidentitiesV1::DailyCycle, decorator: Google::Apis::ManagedidentitiesV1::DailyCycle::Representation
567
+
568
+ property :weekly_cycle, as: 'weeklyCycle', class: Google::Apis::ManagedidentitiesV1::WeeklyCycle, decorator: Google::Apis::ManagedidentitiesV1::WeeklyCycle::Representation
569
+
570
+ end
571
+ end
572
+
463
573
  class Operation
464
574
  # @private
465
575
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -516,6 +626,16 @@ module Google
516
626
  end
517
627
  end
518
628
 
629
+ class Schedule
630
+ # @private
631
+ class Representation < Google::Apis::Core::JsonRepresentation
632
+ property :day, as: 'day'
633
+ property :duration, as: 'duration'
634
+ property :start_time, as: 'startTime', class: Google::Apis::ManagedidentitiesV1::TimeOfDay, decorator: Google::Apis::ManagedidentitiesV1::TimeOfDay::Representation
635
+
636
+ end
637
+ end
638
+
519
639
  class SetIamPolicyRequest
520
640
  # @private
521
641
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -547,6 +667,16 @@ module Google
547
667
  end
548
668
  end
549
669
 
670
+ class TimeOfDay
671
+ # @private
672
+ class Representation < Google::Apis::Core::JsonRepresentation
673
+ property :hours, as: 'hours'
674
+ property :minutes, as: 'minutes'
675
+ property :nanos, as: 'nanos'
676
+ property :seconds, as: 'seconds'
677
+ end
678
+ end
679
+
550
680
  class TrustProp
551
681
  # @private
552
682
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -564,6 +694,17 @@ module Google
564
694
  end
565
695
  end
566
696
 
697
+ class UpdatePolicy
698
+ # @private
699
+ class Representation < Google::Apis::Core::JsonRepresentation
700
+ property :channel, as: 'channel'
701
+ collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::ManagedidentitiesV1::DenyMaintenancePeriod, decorator: Google::Apis::ManagedidentitiesV1::DenyMaintenancePeriod::Representation
702
+
703
+ property :window, as: 'window', class: Google::Apis::ManagedidentitiesV1::MaintenanceWindow, decorator: Google::Apis::ManagedidentitiesV1::MaintenanceWindow::Representation
704
+
705
+ end
706
+ end
707
+
567
708
  class ValidateTrustRequest
568
709
  # @private
569
710
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -571,6 +712,14 @@ module Google
571
712
 
572
713
  end
573
714
  end
715
+
716
+ class WeeklyCycle
717
+ # @private
718
+ class Representation < Google::Apis::Core::JsonRepresentation
719
+ collection :schedule, as: 'schedule', class: Google::Apis::ManagedidentitiesV1::Schedule, decorator: Google::Apis::ManagedidentitiesV1::Schedule::Representation
720
+
721
+ end
722
+ end
574
723
  end
575
724
  end
576
725
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/managed-microsoft-ad/
27
27
  module ManagedidentitiesV1alpha1
28
28
  VERSION = 'V1alpha1'
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'
@@ -134,6 +134,122 @@ module Google
134
134
  end
135
135
  end
136
136
 
137
+ # Time window specified for daily operations.
138
+ class DailyCycle
139
+ include Google::Apis::Core::Hashable
140
+
141
+ # Output only. Duration of the time window, set by service producer.
142
+ # Corresponds to the JSON property `duration`
143
+ # @return [String]
144
+ attr_accessor :duration
145
+
146
+ # Represents a time of day. The date and time zone are either not significant or
147
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
148
+ # types are google.type.Date and `google.protobuf.Timestamp`.
149
+ # Corresponds to the JSON property `startTime`
150
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::TimeOfDay]
151
+ attr_accessor :start_time
152
+
153
+ def initialize(**args)
154
+ update!(**args)
155
+ end
156
+
157
+ # Update properties of this object
158
+ def update!(**args)
159
+ @duration = args[:duration] if args.key?(:duration)
160
+ @start_time = args[:start_time] if args.key?(:start_time)
161
+ end
162
+ end
163
+
164
+ # Represents a whole or partial calendar date, such as a birthday. The time of
165
+ # day and time zone are either specified elsewhere or are insignificant. The
166
+ # date is relative to the Gregorian Calendar. This can represent one of the
167
+ # following: * A full date, with non-zero year, month, and day values * A month
168
+ # and day value, with a zero year, such as an anniversary * A year on its own,
169
+ # with zero month and day values * A year and month value, with a zero day, such
170
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
171
+ # google.protobuf.Timestamp`.
172
+ class Date
173
+ include Google::Apis::Core::Hashable
174
+
175
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
176
+ # specify a year by itself or a year and month where the day isn't significant.
177
+ # Corresponds to the JSON property `day`
178
+ # @return [Fixnum]
179
+ attr_accessor :day
180
+
181
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
182
+ # and day.
183
+ # Corresponds to the JSON property `month`
184
+ # @return [Fixnum]
185
+ attr_accessor :month
186
+
187
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
188
+ # year.
189
+ # Corresponds to the JSON property `year`
190
+ # @return [Fixnum]
191
+ attr_accessor :year
192
+
193
+ def initialize(**args)
194
+ update!(**args)
195
+ end
196
+
197
+ # Update properties of this object
198
+ def update!(**args)
199
+ @day = args[:day] if args.key?(:day)
200
+ @month = args[:month] if args.key?(:month)
201
+ @year = args[:year] if args.key?(:year)
202
+ end
203
+ end
204
+
205
+ # DenyMaintenancePeriod definition. Maintenance is forbidden within the deny
206
+ # period. The start_date must be less than the end_date.
207
+ class DenyMaintenancePeriod
208
+ include Google::Apis::Core::Hashable
209
+
210
+ # Represents a whole or partial calendar date, such as a birthday. The time of
211
+ # day and time zone are either specified elsewhere or are insignificant. The
212
+ # date is relative to the Gregorian Calendar. This can represent one of the
213
+ # following: * A full date, with non-zero year, month, and day values * A month
214
+ # and day value, with a zero year, such as an anniversary * A year on its own,
215
+ # with zero month and day values * A year and month value, with a zero day, such
216
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
217
+ # google.protobuf.Timestamp`.
218
+ # Corresponds to the JSON property `endDate`
219
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Date]
220
+ attr_accessor :end_date
221
+
222
+ # Represents a whole or partial calendar date, such as a birthday. The time of
223
+ # day and time zone are either specified elsewhere or are insignificant. The
224
+ # date is relative to the Gregorian Calendar. This can represent one of the
225
+ # following: * A full date, with non-zero year, month, and day values * A month
226
+ # and day value, with a zero year, such as an anniversary * A year on its own,
227
+ # with zero month and day values * A year and month value, with a zero day, such
228
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
229
+ # google.protobuf.Timestamp`.
230
+ # Corresponds to the JSON property `startDate`
231
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Date]
232
+ attr_accessor :start_date
233
+
234
+ # Represents a time of day. The date and time zone are either not significant or
235
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
236
+ # types are google.type.Date and `google.protobuf.Timestamp`.
237
+ # Corresponds to the JSON property `time`
238
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::TimeOfDay]
239
+ attr_accessor :time
240
+
241
+ def initialize(**args)
242
+ update!(**args)
243
+ end
244
+
245
+ # Update properties of this object
246
+ def update!(**args)
247
+ @end_date = args[:end_date] if args.key?(:end_date)
248
+ @start_date = args[:start_date] if args.key?(:start_date)
249
+ @time = args[:time] if args.key?(:time)
250
+ end
251
+ end
252
+
137
253
  #
138
254
  class DetachTrustRequest
139
255
  include Google::Apis::Core::Hashable
@@ -511,10 +627,10 @@ module Google
511
627
  # @return [Hash<String,String>]
512
628
  attr_accessor :labels
513
629
 
514
- # The MaintenancePolicies that have been attached to the instance. The key must
515
- # be of the type name of the oneof policy name defined in MaintenancePolicy, and
516
- # the referenced policy must define the same policy type. For complete details
517
- # of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
630
+ # Deprecated. The MaintenancePolicies that have been attached to the instance.
631
+ # The key must be of the type name of the oneof policy name defined in
632
+ # MaintenancePolicy, and the referenced policy must define the same policy type.
633
+ # For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
518
634
  # Corresponds to the JSON property `maintenancePolicyNames`
519
635
  # @return [Hash<String,String>]
520
636
  attr_accessor :maintenance_policy_names
@@ -666,6 +782,16 @@ module Google
666
782
  attr_accessor :exclude
667
783
  alias_method :exclude?, :exclude
668
784
 
785
+ # Optional. The MaintenancePolicies that have been attached to the instance. The
786
+ # key must be of the type name of the oneof policy name defined in
787
+ # MaintenancePolicy, and the embedded policy must define the same policy type.
788
+ # For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
789
+ # If only the name is needed (like in the deprecated Instance.
790
+ # maintenance_policy_names field) then only populate MaintenancePolicy.name.
791
+ # Corresponds to the JSON property `maintenancePolicies`
792
+ # @return [Hash<String,Google::Apis::ManagedidentitiesV1alpha1::MaintenancePolicy>]
793
+ attr_accessor :maintenance_policies
794
+
669
795
  def initialize(**args)
670
796
  update!(**args)
671
797
  end
@@ -673,6 +799,7 @@ module Google
673
799
  # Update properties of this object
674
800
  def update!(**args)
675
801
  @exclude = args[:exclude] if args.key?(:exclude)
802
+ @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
676
803
  end
677
804
  end
678
805
 
@@ -1035,6 +1162,93 @@ module Google
1035
1162
  end
1036
1163
  end
1037
1164
 
1165
+ # Defines policies to service maintenance events.
1166
+ class MaintenancePolicy
1167
+ include Google::Apis::Core::Hashable
1168
+
1169
+ # Output only. The time when the resource was created.
1170
+ # Corresponds to the JSON property `createTime`
1171
+ # @return [String]
1172
+ attr_accessor :create_time
1173
+
1174
+ # Optional. Description of what this policy is for. Create/Update methods return
1175
+ # INVALID_ARGUMENT if the length is greater than 512.
1176
+ # Corresponds to the JSON property `description`
1177
+ # @return [String]
1178
+ attr_accessor :description
1179
+
1180
+ # Optional. Resource labels to represent user provided metadata. Each label is a
1181
+ # key-value pair, where both the key and the value are arbitrary strings
1182
+ # provided by the user.
1183
+ # Corresponds to the JSON property `labels`
1184
+ # @return [Hash<String,String>]
1185
+ attr_accessor :labels
1186
+
1187
+ # Required. MaintenancePolicy name using the form: `projects/`project_id`/
1188
+ # locations/`location_id`/maintenancePolicies/`maintenance_policy_id`` where `
1189
+ # project_id` refers to a GCP consumer project ID, `location_id` refers to a GCP
1190
+ # region/zone, `maintenance_policy_id` must be 1-63 characters long and match
1191
+ # the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.
1192
+ # Corresponds to the JSON property `name`
1193
+ # @return [String]
1194
+ attr_accessor :name
1195
+
1196
+ # Optional. The state of the policy.
1197
+ # Corresponds to the JSON property `state`
1198
+ # @return [String]
1199
+ attr_accessor :state
1200
+
1201
+ # Maintenance policy applicable to instance updates.
1202
+ # Corresponds to the JSON property `updatePolicy`
1203
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::UpdatePolicy]
1204
+ attr_accessor :update_policy
1205
+
1206
+ # Output only. The time when the resource was updated.
1207
+ # Corresponds to the JSON property `updateTime`
1208
+ # @return [String]
1209
+ attr_accessor :update_time
1210
+
1211
+ def initialize(**args)
1212
+ update!(**args)
1213
+ end
1214
+
1215
+ # Update properties of this object
1216
+ def update!(**args)
1217
+ @create_time = args[:create_time] if args.key?(:create_time)
1218
+ @description = args[:description] if args.key?(:description)
1219
+ @labels = args[:labels] if args.key?(:labels)
1220
+ @name = args[:name] if args.key?(:name)
1221
+ @state = args[:state] if args.key?(:state)
1222
+ @update_policy = args[:update_policy] if args.key?(:update_policy)
1223
+ @update_time = args[:update_time] if args.key?(:update_time)
1224
+ end
1225
+ end
1226
+
1227
+ # MaintenanceWindow definition.
1228
+ class MaintenanceWindow
1229
+ include Google::Apis::Core::Hashable
1230
+
1231
+ # Time window specified for daily operations.
1232
+ # Corresponds to the JSON property `dailyCycle`
1233
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::DailyCycle]
1234
+ attr_accessor :daily_cycle
1235
+
1236
+ # Time window specified for weekly operations.
1237
+ # Corresponds to the JSON property `weeklyCycle`
1238
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::WeeklyCycle]
1239
+ attr_accessor :weekly_cycle
1240
+
1241
+ def initialize(**args)
1242
+ update!(**args)
1243
+ end
1244
+
1245
+ # Update properties of this object
1246
+ def update!(**args)
1247
+ @daily_cycle = args[:daily_cycle] if args.key?(:daily_cycle)
1248
+ @weekly_cycle = args[:weekly_cycle] if args.key?(:weekly_cycle)
1249
+ end
1250
+ end
1251
+
1038
1252
  # This resource represents a long-running operation that is the result of a
1039
1253
  # network API call.
1040
1254
  class Operation
@@ -1340,6 +1554,39 @@ module Google
1340
1554
  end
1341
1555
  end
1342
1556
 
1557
+ # Configure the schedule.
1558
+ class Schedule
1559
+ include Google::Apis::Core::Hashable
1560
+
1561
+ # Allows to define schedule that runs specified day of the week.
1562
+ # Corresponds to the JSON property `day`
1563
+ # @return [String]
1564
+ attr_accessor :day
1565
+
1566
+ # Output only. Duration of the time window, set by service producer.
1567
+ # Corresponds to the JSON property `duration`
1568
+ # @return [String]
1569
+ attr_accessor :duration
1570
+
1571
+ # Represents a time of day. The date and time zone are either not significant or
1572
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1573
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1574
+ # Corresponds to the JSON property `startTime`
1575
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::TimeOfDay]
1576
+ attr_accessor :start_time
1577
+
1578
+ def initialize(**args)
1579
+ update!(**args)
1580
+ end
1581
+
1582
+ # Update properties of this object
1583
+ def update!(**args)
1584
+ @day = args[:day] if args.key?(:day)
1585
+ @duration = args[:duration] if args.key?(:duration)
1586
+ @start_time = args[:start_time] if args.key?(:start_time)
1587
+ end
1588
+ end
1589
+
1343
1590
  # Request message for `SetIamPolicy` method.
1344
1591
  class SetIamPolicyRequest
1345
1592
  include Google::Apis::Core::Hashable
@@ -1464,6 +1711,47 @@ module Google
1464
1711
  end
1465
1712
  end
1466
1713
 
1714
+ # Represents a time of day. The date and time zone are either not significant or
1715
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1716
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1717
+ class TimeOfDay
1718
+ include Google::Apis::Core::Hashable
1719
+
1720
+ # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
1721
+ # allow the value "24:00:00" for scenarios like business closing time.
1722
+ # Corresponds to the JSON property `hours`
1723
+ # @return [Fixnum]
1724
+ attr_accessor :hours
1725
+
1726
+ # Minutes of hour of day. Must be from 0 to 59.
1727
+ # Corresponds to the JSON property `minutes`
1728
+ # @return [Fixnum]
1729
+ attr_accessor :minutes
1730
+
1731
+ # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1732
+ # Corresponds to the JSON property `nanos`
1733
+ # @return [Fixnum]
1734
+ attr_accessor :nanos
1735
+
1736
+ # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
1737
+ # allow the value 60 if it allows leap-seconds.
1738
+ # Corresponds to the JSON property `seconds`
1739
+ # @return [Fixnum]
1740
+ attr_accessor :seconds
1741
+
1742
+ def initialize(**args)
1743
+ update!(**args)
1744
+ end
1745
+
1746
+ # Update properties of this object
1747
+ def update!(**args)
1748
+ @hours = args[:hours] if args.key?(:hours)
1749
+ @minutes = args[:minutes] if args.key?(:minutes)
1750
+ @nanos = args[:nanos] if args.key?(:nanos)
1751
+ @seconds = args[:seconds] if args.key?(:seconds)
1752
+ end
1753
+ end
1754
+
1467
1755
  # Represents a relationship between two domains which makes it possible for
1468
1756
  # users in one domain to be authenticated by a dc in another domain. Refer https:
1469
1757
  # //docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-
@@ -1552,6 +1840,40 @@ module Google
1552
1840
  end
1553
1841
  end
1554
1842
 
1843
+ # Maintenance policy applicable to instance updates.
1844
+ class UpdatePolicy
1845
+ include Google::Apis::Core::Hashable
1846
+
1847
+ # Optional. Relative scheduling channel applied to resource.
1848
+ # Corresponds to the JSON property `channel`
1849
+ # @return [String]
1850
+ attr_accessor :channel
1851
+
1852
+ # Deny Maintenance Period that is applied to resource to indicate when
1853
+ # maintenance is forbidden. User can specify zero or more non-overlapping deny
1854
+ # periods. For V1, Maximum number of deny_maintenance_periods is expected to be
1855
+ # one.
1856
+ # Corresponds to the JSON property `denyMaintenancePeriods`
1857
+ # @return [Array<Google::Apis::ManagedidentitiesV1alpha1::DenyMaintenancePeriod>]
1858
+ attr_accessor :deny_maintenance_periods
1859
+
1860
+ # MaintenanceWindow definition.
1861
+ # Corresponds to the JSON property `window`
1862
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::MaintenanceWindow]
1863
+ attr_accessor :window
1864
+
1865
+ def initialize(**args)
1866
+ update!(**args)
1867
+ end
1868
+
1869
+ # Update properties of this object
1870
+ def update!(**args)
1871
+ @channel = args[:channel] if args.key?(:channel)
1872
+ @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
1873
+ @window = args[:window] if args.key?(:window)
1874
+ end
1875
+ end
1876
+
1555
1877
  #
1556
1878
  class ValidateTrustRequest
1557
1879
  include Google::Apis::Core::Hashable
@@ -1573,6 +1895,25 @@ module Google
1573
1895
  @trust_prop = args[:trust_prop] if args.key?(:trust_prop)
1574
1896
  end
1575
1897
  end
1898
+
1899
+ # Time window specified for weekly operations.
1900
+ class WeeklyCycle
1901
+ include Google::Apis::Core::Hashable
1902
+
1903
+ # User can specify multiple windows in a week. Minimum of 1 window.
1904
+ # Corresponds to the JSON property `schedule`
1905
+ # @return [Array<Google::Apis::ManagedidentitiesV1alpha1::Schedule>]
1906
+ attr_accessor :schedule
1907
+
1908
+ def initialize(**args)
1909
+ update!(**args)
1910
+ end
1911
+
1912
+ # Update properties of this object
1913
+ def update!(**args)
1914
+ @schedule = args[:schedule] if args.key?(:schedule)
1915
+ end
1916
+ end
1576
1917
  end
1577
1918
  end
1578
1919
  end