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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +81 -0
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/service.rb +12 -9
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/service.rb +4 -0
- data/generated/google/apis/admob_v1beta.rb +38 -0
- data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
- data/generated/google/apis/admob_v1beta/representations.rb +472 -0
- data/generated/google/apis/admob_v1beta/service.rb +279 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +8 -32
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +0 -16
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -32
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +114 -11
- data/generated/google/apis/apigee_v1/representations.rb +39 -1
- data/generated/google/apis/apigee_v1/service.rb +370 -2
- data/generated/google/apis/area120tables_v1alpha1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -6
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +22 -10
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +6 -6
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +425 -6
- data/generated/google/apis/cloudasset_v1/representations.rb +170 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -6
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +0 -6
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +0 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +0 -6
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +0 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +0 -6
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +0 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +7 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +323 -6
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +248 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +323 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +248 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +323 -6
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +248 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +5 -5
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +323 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +248 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +5 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +35 -13
- data/generated/google/apis/compute_v1/representations.rb +2 -0
- data/generated/google/apis/compute_v1/service.rb +2 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +3 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +446 -4
- data/generated/google/apis/content_v2_1/representations.rb +136 -0
- data/generated/google/apis/content_v2_1/service.rb +36 -1
- data/generated/google/apis/deploymentmanager_v2.rb +2 -2
- data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +2 -2
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +0 -31
- data/generated/google/apis/dialogflow_v2/representations.rb +0 -15
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -31
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +12 -6
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +0 -31
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +0 -15
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +5 -5
- data/generated/google/apis/displayvideo_v1/service.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +6 -0
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/domains_v1alpha2.rb +1 -1
- data/generated/google/apis/domains_v1alpha2/classes.rb +0 -6
- data/generated/google/apis/domains_v1alpha2/representations.rb +0 -1
- data/generated/google/apis/domains_v1beta1.rb +1 -1
- data/generated/google/apis/domains_v1beta1/classes.rb +0 -6
- data/generated/google/apis/domains_v1beta1/representations.rb +0 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +2 -2
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +6 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +12 -54
- data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -29
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +4 -2
- data/generated/google/apis/logging_v2/service.rb +20 -20
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +345 -4
- data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +345 -4
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +345 -4
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
- data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
- data/generated/google/apis/notebooks_v1.rb +34 -0
- data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
- data/generated/google/apis/notebooks_v1/representations.rb +581 -0
- data/generated/google/apis/notebooks_v1/service.rb +1042 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +9 -6
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +0 -6
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +0 -1
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +0 -6
- data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +0 -1
- data/generated/google/apis/privateca_v1beta1.rb +1 -1
- data/generated/google/apis/privateca_v1beta1/classes.rb +0 -6
- data/generated/google/apis/privateca_v1beta1/representations.rb +0 -1
- data/generated/google/apis/privateca_v1beta1/service.rb +0 -52
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +58 -0
- data/generated/google/apis/redis_v1/representations.rb +20 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +0 -6
- data/generated/google/apis/run_v1/representations.rb +0 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +0 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -6
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +0 -6
- data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -6
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +0 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -6
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -7
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +38 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +31 -16
- data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
- data/generated/google/apis/transcoder_v1beta1.rb +34 -0
- data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
- data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
- data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +6 -6
- data/lib/google/apis/version.rb +1 -1
- 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::ManagedidentitiesV1beta1::TimeOfDay, decorator: Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::Date, decorator: Google::Apis::ManagedidentitiesV1beta1::Date::Representation
|
342
|
+
|
343
|
+
property :start_date, as: 'startDate', class: Google::Apis::ManagedidentitiesV1beta1::Date, decorator: Google::Apis::ManagedidentitiesV1beta1::Date::Representation
|
344
|
+
|
345
|
+
property :time, as: 'time', class: Google::Apis::ManagedidentitiesV1beta1::TimeOfDay, decorator: Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::MaintenancePolicy, decorator: Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::UpdatePolicy, decorator: Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::DailyCycle, decorator: Google::Apis::ManagedidentitiesV1beta1::DailyCycle::Representation
|
589
|
+
|
590
|
+
property :weekly_cycle, as: 'weeklyCycle', class: Google::Apis::ManagedidentitiesV1beta1::WeeklyCycle, decorator: Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::TimeOfDay, decorator: Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::DenyMaintenancePeriod, decorator: Google::Apis::ManagedidentitiesV1beta1::DenyMaintenancePeriod::Representation
|
735
|
+
|
736
|
+
property :window, as: 'window', class: Google::Apis::ManagedidentitiesV1beta1::MaintenanceWindow, decorator: Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::Schedule, decorator: Google::Apis::ManagedidentitiesV1beta1::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/memorystore/
|
27
27
|
module MemcacheV1beta2
|
28
28
|
VERSION = 'V1beta2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201109'
|
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'
|
@@ -63,6 +63,122 @@ module Google
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
+
# Time window specified for daily operations.
|
67
|
+
class DailyCycle
|
68
|
+
include Google::Apis::Core::Hashable
|
69
|
+
|
70
|
+
# Output only. Duration of the time window, set by service producer.
|
71
|
+
# Corresponds to the JSON property `duration`
|
72
|
+
# @return [String]
|
73
|
+
attr_accessor :duration
|
74
|
+
|
75
|
+
# Represents a time of day. The date and time zone are either not significant or
|
76
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
77
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
78
|
+
# Corresponds to the JSON property `startTime`
|
79
|
+
# @return [Google::Apis::MemcacheV1beta2::TimeOfDay]
|
80
|
+
attr_accessor :start_time
|
81
|
+
|
82
|
+
def initialize(**args)
|
83
|
+
update!(**args)
|
84
|
+
end
|
85
|
+
|
86
|
+
# Update properties of this object
|
87
|
+
def update!(**args)
|
88
|
+
@duration = args[:duration] if args.key?(:duration)
|
89
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
94
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
95
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
96
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
97
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
98
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
99
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
100
|
+
# google.protobuf.Timestamp`.
|
101
|
+
class Date
|
102
|
+
include Google::Apis::Core::Hashable
|
103
|
+
|
104
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
105
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
106
|
+
# Corresponds to the JSON property `day`
|
107
|
+
# @return [Fixnum]
|
108
|
+
attr_accessor :day
|
109
|
+
|
110
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
111
|
+
# and day.
|
112
|
+
# Corresponds to the JSON property `month`
|
113
|
+
# @return [Fixnum]
|
114
|
+
attr_accessor :month
|
115
|
+
|
116
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
117
|
+
# year.
|
118
|
+
# Corresponds to the JSON property `year`
|
119
|
+
# @return [Fixnum]
|
120
|
+
attr_accessor :year
|
121
|
+
|
122
|
+
def initialize(**args)
|
123
|
+
update!(**args)
|
124
|
+
end
|
125
|
+
|
126
|
+
# Update properties of this object
|
127
|
+
def update!(**args)
|
128
|
+
@day = args[:day] if args.key?(:day)
|
129
|
+
@month = args[:month] if args.key?(:month)
|
130
|
+
@year = args[:year] if args.key?(:year)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
# DenyMaintenancePeriod definition. Maintenance is forbidden within the deny
|
135
|
+
# period. The start_date must be less than the end_date.
|
136
|
+
class DenyMaintenancePeriod
|
137
|
+
include Google::Apis::Core::Hashable
|
138
|
+
|
139
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
140
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
141
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
142
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
143
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
144
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
145
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
146
|
+
# google.protobuf.Timestamp`.
|
147
|
+
# Corresponds to the JSON property `endDate`
|
148
|
+
# @return [Google::Apis::MemcacheV1beta2::Date]
|
149
|
+
attr_accessor :end_date
|
150
|
+
|
151
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
152
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
153
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
154
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
155
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
156
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
157
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
158
|
+
# google.protobuf.Timestamp`.
|
159
|
+
# Corresponds to the JSON property `startDate`
|
160
|
+
# @return [Google::Apis::MemcacheV1beta2::Date]
|
161
|
+
attr_accessor :start_date
|
162
|
+
|
163
|
+
# Represents a time of day. The date and time zone are either not significant or
|
164
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
165
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
166
|
+
# Corresponds to the JSON property `time`
|
167
|
+
# @return [Google::Apis::MemcacheV1beta2::TimeOfDay]
|
168
|
+
attr_accessor :time
|
169
|
+
|
170
|
+
def initialize(**args)
|
171
|
+
update!(**args)
|
172
|
+
end
|
173
|
+
|
174
|
+
# Update properties of this object
|
175
|
+
def update!(**args)
|
176
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
177
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
178
|
+
@time = args[:time] if args.key?(:time)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
66
182
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
67
183
|
# messages in your APIs. A typical example is to use it as the request or the
|
68
184
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -184,10 +300,10 @@ module Google
|
|
184
300
|
# @return [Hash<String,String>]
|
185
301
|
attr_accessor :labels
|
186
302
|
|
187
|
-
# The MaintenancePolicies that have been attached to the instance.
|
188
|
-
# be of the type name of the oneof policy name defined in
|
189
|
-
# the referenced policy must define the same policy type.
|
190
|
-
# of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
|
303
|
+
# Deprecated. The MaintenancePolicies that have been attached to the instance.
|
304
|
+
# The key must be of the type name of the oneof policy name defined in
|
305
|
+
# MaintenancePolicy, and the referenced policy must define the same policy type.
|
306
|
+
# For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
|
191
307
|
# Corresponds to the JSON property `maintenancePolicyNames`
|
192
308
|
# @return [Hash<String,String>]
|
193
309
|
attr_accessor :maintenance_policy_names
|
@@ -339,6 +455,16 @@ module Google
|
|
339
455
|
attr_accessor :exclude
|
340
456
|
alias_method :exclude?, :exclude
|
341
457
|
|
458
|
+
# Optional. The MaintenancePolicies that have been attached to the instance. The
|
459
|
+
# key must be of the type name of the oneof policy name defined in
|
460
|
+
# MaintenancePolicy, and the embedded policy must define the same policy type.
|
461
|
+
# For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
|
462
|
+
# If only the name is needed (like in the deprecated Instance.
|
463
|
+
# maintenance_policy_names field) then only populate MaintenancePolicy.name.
|
464
|
+
# Corresponds to the JSON property `maintenancePolicies`
|
465
|
+
# @return [Hash<String,Google::Apis::MemcacheV1beta2::MaintenancePolicy>]
|
466
|
+
attr_accessor :maintenance_policies
|
467
|
+
|
342
468
|
def initialize(**args)
|
343
469
|
update!(**args)
|
344
470
|
end
|
@@ -346,6 +472,7 @@ module Google
|
|
346
472
|
# Update properties of this object
|
347
473
|
def update!(**args)
|
348
474
|
@exclude = args[:exclude] if args.key?(:exclude)
|
475
|
+
@maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
|
349
476
|
end
|
350
477
|
end
|
351
478
|
|
@@ -831,6 +958,93 @@ module Google
|
|
831
958
|
end
|
832
959
|
end
|
833
960
|
|
961
|
+
# Defines policies to service maintenance events.
|
962
|
+
class MaintenancePolicy
|
963
|
+
include Google::Apis::Core::Hashable
|
964
|
+
|
965
|
+
# Output only. The time when the resource was created.
|
966
|
+
# Corresponds to the JSON property `createTime`
|
967
|
+
# @return [String]
|
968
|
+
attr_accessor :create_time
|
969
|
+
|
970
|
+
# Optional. Description of what this policy is for. Create/Update methods return
|
971
|
+
# INVALID_ARGUMENT if the length is greater than 512.
|
972
|
+
# Corresponds to the JSON property `description`
|
973
|
+
# @return [String]
|
974
|
+
attr_accessor :description
|
975
|
+
|
976
|
+
# Optional. Resource labels to represent user provided metadata. Each label is a
|
977
|
+
# key-value pair, where both the key and the value are arbitrary strings
|
978
|
+
# provided by the user.
|
979
|
+
# Corresponds to the JSON property `labels`
|
980
|
+
# @return [Hash<String,String>]
|
981
|
+
attr_accessor :labels
|
982
|
+
|
983
|
+
# Required. MaintenancePolicy name using the form: `projects/`project_id`/
|
984
|
+
# locations/`location_id`/maintenancePolicies/`maintenance_policy_id`` where `
|
985
|
+
# project_id` refers to a GCP consumer project ID, `location_id` refers to a GCP
|
986
|
+
# region/zone, `maintenance_policy_id` must be 1-63 characters long and match
|
987
|
+
# the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.
|
988
|
+
# Corresponds to the JSON property `name`
|
989
|
+
# @return [String]
|
990
|
+
attr_accessor :name
|
991
|
+
|
992
|
+
# Optional. The state of the policy.
|
993
|
+
# Corresponds to the JSON property `state`
|
994
|
+
# @return [String]
|
995
|
+
attr_accessor :state
|
996
|
+
|
997
|
+
# Maintenance policy applicable to instance updates.
|
998
|
+
# Corresponds to the JSON property `updatePolicy`
|
999
|
+
# @return [Google::Apis::MemcacheV1beta2::UpdatePolicy]
|
1000
|
+
attr_accessor :update_policy
|
1001
|
+
|
1002
|
+
# Output only. The time when the resource was updated.
|
1003
|
+
# Corresponds to the JSON property `updateTime`
|
1004
|
+
# @return [String]
|
1005
|
+
attr_accessor :update_time
|
1006
|
+
|
1007
|
+
def initialize(**args)
|
1008
|
+
update!(**args)
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
# Update properties of this object
|
1012
|
+
def update!(**args)
|
1013
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1014
|
+
@description = args[:description] if args.key?(:description)
|
1015
|
+
@labels = args[:labels] if args.key?(:labels)
|
1016
|
+
@name = args[:name] if args.key?(:name)
|
1017
|
+
@state = args[:state] if args.key?(:state)
|
1018
|
+
@update_policy = args[:update_policy] if args.key?(:update_policy)
|
1019
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1020
|
+
end
|
1021
|
+
end
|
1022
|
+
|
1023
|
+
# MaintenanceWindow definition.
|
1024
|
+
class MaintenanceWindow
|
1025
|
+
include Google::Apis::Core::Hashable
|
1026
|
+
|
1027
|
+
# Time window specified for daily operations.
|
1028
|
+
# Corresponds to the JSON property `dailyCycle`
|
1029
|
+
# @return [Google::Apis::MemcacheV1beta2::DailyCycle]
|
1030
|
+
attr_accessor :daily_cycle
|
1031
|
+
|
1032
|
+
# Time window specified for weekly operations.
|
1033
|
+
# Corresponds to the JSON property `weeklyCycle`
|
1034
|
+
# @return [Google::Apis::MemcacheV1beta2::WeeklyCycle]
|
1035
|
+
attr_accessor :weekly_cycle
|
1036
|
+
|
1037
|
+
def initialize(**args)
|
1038
|
+
update!(**args)
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
# Update properties of this object
|
1042
|
+
def update!(**args)
|
1043
|
+
@daily_cycle = args[:daily_cycle] if args.key?(:daily_cycle)
|
1044
|
+
@weekly_cycle = args[:weekly_cycle] if args.key?(:weekly_cycle)
|
1045
|
+
end
|
1046
|
+
end
|
1047
|
+
|
834
1048
|
#
|
835
1049
|
class MemcacheParameters
|
836
1050
|
include Google::Apis::Core::Hashable
|
@@ -997,6 +1211,39 @@ module Google
|
|
997
1211
|
end
|
998
1212
|
end
|
999
1213
|
|
1214
|
+
# Configure the schedule.
|
1215
|
+
class Schedule
|
1216
|
+
include Google::Apis::Core::Hashable
|
1217
|
+
|
1218
|
+
# Allows to define schedule that runs specified day of the week.
|
1219
|
+
# Corresponds to the JSON property `day`
|
1220
|
+
# @return [String]
|
1221
|
+
attr_accessor :day
|
1222
|
+
|
1223
|
+
# Output only. Duration of the time window, set by service producer.
|
1224
|
+
# Corresponds to the JSON property `duration`
|
1225
|
+
# @return [String]
|
1226
|
+
attr_accessor :duration
|
1227
|
+
|
1228
|
+
# Represents a time of day. The date and time zone are either not significant or
|
1229
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1230
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
1231
|
+
# Corresponds to the JSON property `startTime`
|
1232
|
+
# @return [Google::Apis::MemcacheV1beta2::TimeOfDay]
|
1233
|
+
attr_accessor :start_time
|
1234
|
+
|
1235
|
+
def initialize(**args)
|
1236
|
+
update!(**args)
|
1237
|
+
end
|
1238
|
+
|
1239
|
+
# Update properties of this object
|
1240
|
+
def update!(**args)
|
1241
|
+
@day = args[:day] if args.key?(:day)
|
1242
|
+
@duration = args[:duration] if args.key?(:duration)
|
1243
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1244
|
+
end
|
1245
|
+
end
|
1246
|
+
|
1000
1247
|
# The `Status` type defines a logical error model that is suitable for different
|
1001
1248
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1002
1249
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -1036,6 +1283,47 @@ module Google
|
|
1036
1283
|
end
|
1037
1284
|
end
|
1038
1285
|
|
1286
|
+
# Represents a time of day. The date and time zone are either not significant or
|
1287
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1288
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
1289
|
+
class TimeOfDay
|
1290
|
+
include Google::Apis::Core::Hashable
|
1291
|
+
|
1292
|
+
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
|
1293
|
+
# allow the value "24:00:00" for scenarios like business closing time.
|
1294
|
+
# Corresponds to the JSON property `hours`
|
1295
|
+
# @return [Fixnum]
|
1296
|
+
attr_accessor :hours
|
1297
|
+
|
1298
|
+
# Minutes of hour of day. Must be from 0 to 59.
|
1299
|
+
# Corresponds to the JSON property `minutes`
|
1300
|
+
# @return [Fixnum]
|
1301
|
+
attr_accessor :minutes
|
1302
|
+
|
1303
|
+
# Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
1304
|
+
# Corresponds to the JSON property `nanos`
|
1305
|
+
# @return [Fixnum]
|
1306
|
+
attr_accessor :nanos
|
1307
|
+
|
1308
|
+
# Seconds of minutes of the time. Must normally be from 0 to 59. An API may
|
1309
|
+
# allow the value 60 if it allows leap-seconds.
|
1310
|
+
# Corresponds to the JSON property `seconds`
|
1311
|
+
# @return [Fixnum]
|
1312
|
+
attr_accessor :seconds
|
1313
|
+
|
1314
|
+
def initialize(**args)
|
1315
|
+
update!(**args)
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
# Update properties of this object
|
1319
|
+
def update!(**args)
|
1320
|
+
@hours = args[:hours] if args.key?(:hours)
|
1321
|
+
@minutes = args[:minutes] if args.key?(:minutes)
|
1322
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
1323
|
+
@seconds = args[:seconds] if args.key?(:seconds)
|
1324
|
+
end
|
1325
|
+
end
|
1326
|
+
|
1039
1327
|
# Request for UpdateParameters.
|
1040
1328
|
class UpdateParametersRequest
|
1041
1329
|
include Google::Apis::Core::Hashable
|
@@ -1061,6 +1349,59 @@ module Google
|
|
1061
1349
|
end
|
1062
1350
|
end
|
1063
1351
|
|
1352
|
+
# Maintenance policy applicable to instance updates.
|
1353
|
+
class UpdatePolicy
|
1354
|
+
include Google::Apis::Core::Hashable
|
1355
|
+
|
1356
|
+
# Optional. Relative scheduling channel applied to resource.
|
1357
|
+
# Corresponds to the JSON property `channel`
|
1358
|
+
# @return [String]
|
1359
|
+
attr_accessor :channel
|
1360
|
+
|
1361
|
+
# Deny Maintenance Period that is applied to resource to indicate when
|
1362
|
+
# maintenance is forbidden. User can specify zero or more non-overlapping deny
|
1363
|
+
# periods. For V1, Maximum number of deny_maintenance_periods is expected to be
|
1364
|
+
# one.
|
1365
|
+
# Corresponds to the JSON property `denyMaintenancePeriods`
|
1366
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::DenyMaintenancePeriod>]
|
1367
|
+
attr_accessor :deny_maintenance_periods
|
1368
|
+
|
1369
|
+
# MaintenanceWindow definition.
|
1370
|
+
# Corresponds to the JSON property `window`
|
1371
|
+
# @return [Google::Apis::MemcacheV1beta2::MaintenanceWindow]
|
1372
|
+
attr_accessor :window
|
1373
|
+
|
1374
|
+
def initialize(**args)
|
1375
|
+
update!(**args)
|
1376
|
+
end
|
1377
|
+
|
1378
|
+
# Update properties of this object
|
1379
|
+
def update!(**args)
|
1380
|
+
@channel = args[:channel] if args.key?(:channel)
|
1381
|
+
@deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
|
1382
|
+
@window = args[:window] if args.key?(:window)
|
1383
|
+
end
|
1384
|
+
end
|
1385
|
+
|
1386
|
+
# Time window specified for weekly operations.
|
1387
|
+
class WeeklyCycle
|
1388
|
+
include Google::Apis::Core::Hashable
|
1389
|
+
|
1390
|
+
# User can specify multiple windows in a week. Minimum of 1 window.
|
1391
|
+
# Corresponds to the JSON property `schedule`
|
1392
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::Schedule>]
|
1393
|
+
attr_accessor :schedule
|
1394
|
+
|
1395
|
+
def initialize(**args)
|
1396
|
+
update!(**args)
|
1397
|
+
end
|
1398
|
+
|
1399
|
+
# Update properties of this object
|
1400
|
+
def update!(**args)
|
1401
|
+
@schedule = args[:schedule] if args.key?(:schedule)
|
1402
|
+
end
|
1403
|
+
end
|
1404
|
+
|
1064
1405
|
#
|
1065
1406
|
class ZoneMetadata
|
1066
1407
|
include Google::Apis::Core::Hashable
|