google-apis-redis_v1beta1 0.4.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7b4d55a9570d7344c549b7d608ed7cc0fde3576f14ef79a80575132526480e7
|
4
|
+
data.tar.gz: b333b0c1eb5be7bf999547d292f1327b523460efc60bb6a58790d643c99cdfff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 779d6675819454a12c1738c9dc715c4f8eba0f98c2c3ff97236b9972948b9a211f25d6872369eb46c95dc2f16b08837adf0f72a3918ae005375c67d49aa7da48
|
7
|
+
data.tar.gz: d9d09527d9850bc5ed1f77f383770452ef8d7f3b8b31335cc4bd9da14ec7b20313bacf7ef9f5032c20c8dcb4798928156bb66777bac77b72b47c03cd6e7325c3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-redis_v1beta1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.8.0 (2021-06-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210615
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.7.0 (2021-05-28)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210525
|
15
|
+
|
16
|
+
### v0.6.0 (2021-05-19)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.5.0 (2021-05-14)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210511
|
23
|
+
|
3
24
|
### v0.4.0 (2021-03-25)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210318
|
@@ -322,6 +322,17 @@ module Google
|
|
322
322
|
# @return [String]
|
323
323
|
attr_accessor :location_id
|
324
324
|
|
325
|
+
# Maintenance policy for an instance.
|
326
|
+
# Corresponds to the JSON property `maintenancePolicy`
|
327
|
+
# @return [Google::Apis::RedisV1beta1::MaintenancePolicy]
|
328
|
+
attr_accessor :maintenance_policy
|
329
|
+
|
330
|
+
# Upcoming maintenance schedule. If no maintenance is scheduled, fields are not
|
331
|
+
# populated.
|
332
|
+
# Corresponds to the JSON property `maintenanceSchedule`
|
333
|
+
# @return [Google::Apis::RedisV1beta1::MaintenanceSchedule]
|
334
|
+
attr_accessor :maintenance_schedule
|
335
|
+
|
325
336
|
# Required. Redis memory size in GiB.
|
326
337
|
# Corresponds to the JSON property `memorySizeGb`
|
327
338
|
# @return [Fixnum]
|
@@ -363,7 +374,8 @@ module Google
|
|
363
374
|
# Optional. The version of Redis software. If not provided, latest supported
|
364
375
|
# version will be used. Currently, the supported values are: * `REDIS_3_2` for
|
365
376
|
# Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility (default) * `
|
366
|
-
# REDIS_5_0` for Redis 5.0 compatibility
|
377
|
+
# REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x
|
378
|
+
# compatibility
|
367
379
|
# Corresponds to the JSON property `redisVersion`
|
368
380
|
# @return [String]
|
369
381
|
attr_accessor :redis_version
|
@@ -421,6 +433,8 @@ module Google
|
|
421
433
|
@host = args[:host] if args.key?(:host)
|
422
434
|
@labels = args[:labels] if args.key?(:labels)
|
423
435
|
@location_id = args[:location_id] if args.key?(:location_id)
|
436
|
+
@maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
|
437
|
+
@maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
|
424
438
|
@memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
|
425
439
|
@name = args[:name] if args.key?(:name)
|
426
440
|
@persistence_iam_identity = args[:persistence_iam_identity] if args.key?(:persistence_iam_identity)
|
@@ -593,6 +607,88 @@ module Google
|
|
593
607
|
end
|
594
608
|
end
|
595
609
|
|
610
|
+
# Maintenance policy for an instance.
|
611
|
+
class MaintenancePolicy
|
612
|
+
include Google::Apis::Core::Hashable
|
613
|
+
|
614
|
+
# Output only. The time when the policy was created.
|
615
|
+
# Corresponds to the JSON property `createTime`
|
616
|
+
# @return [String]
|
617
|
+
attr_accessor :create_time
|
618
|
+
|
619
|
+
# Optional. Description of what this policy is for. Create/Update methods return
|
620
|
+
# INVALID_ARGUMENT if the length is greater than 512.
|
621
|
+
# Corresponds to the JSON property `description`
|
622
|
+
# @return [String]
|
623
|
+
attr_accessor :description
|
624
|
+
|
625
|
+
# Output only. The time when the policy was last updated.
|
626
|
+
# Corresponds to the JSON property `updateTime`
|
627
|
+
# @return [String]
|
628
|
+
attr_accessor :update_time
|
629
|
+
|
630
|
+
# Optional. Maintenance window that is applied to resources covered by this
|
631
|
+
# policy. Minimum 1. For the current version, the maximum number of
|
632
|
+
# weekly_window is expected to be one.
|
633
|
+
# Corresponds to the JSON property `weeklyMaintenanceWindow`
|
634
|
+
# @return [Array<Google::Apis::RedisV1beta1::WeeklyMaintenanceWindow>]
|
635
|
+
attr_accessor :weekly_maintenance_window
|
636
|
+
|
637
|
+
def initialize(**args)
|
638
|
+
update!(**args)
|
639
|
+
end
|
640
|
+
|
641
|
+
# Update properties of this object
|
642
|
+
def update!(**args)
|
643
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
644
|
+
@description = args[:description] if args.key?(:description)
|
645
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
646
|
+
@weekly_maintenance_window = args[:weekly_maintenance_window] if args.key?(:weekly_maintenance_window)
|
647
|
+
end
|
648
|
+
end
|
649
|
+
|
650
|
+
# Upcoming maintenance schedule. If no maintenance is scheduled, fields are not
|
651
|
+
# populated.
|
652
|
+
class MaintenanceSchedule
|
653
|
+
include Google::Apis::Core::Hashable
|
654
|
+
|
655
|
+
# If the scheduled maintenance can be rescheduled, default is true.
|
656
|
+
# Corresponds to the JSON property `canReschedule`
|
657
|
+
# @return [Boolean]
|
658
|
+
attr_accessor :can_reschedule
|
659
|
+
alias_method :can_reschedule?, :can_reschedule
|
660
|
+
|
661
|
+
# Output only. The end time of any upcoming scheduled maintenance for this
|
662
|
+
# instance.
|
663
|
+
# Corresponds to the JSON property `endTime`
|
664
|
+
# @return [String]
|
665
|
+
attr_accessor :end_time
|
666
|
+
|
667
|
+
# Output only. The time deadline any schedule start time cannot go beyond,
|
668
|
+
# including reschedule.
|
669
|
+
# Corresponds to the JSON property `scheduleDeadlineTime`
|
670
|
+
# @return [String]
|
671
|
+
attr_accessor :schedule_deadline_time
|
672
|
+
|
673
|
+
# Output only. The start time of any upcoming scheduled maintenance for this
|
674
|
+
# instance.
|
675
|
+
# Corresponds to the JSON property `startTime`
|
676
|
+
# @return [String]
|
677
|
+
attr_accessor :start_time
|
678
|
+
|
679
|
+
def initialize(**args)
|
680
|
+
update!(**args)
|
681
|
+
end
|
682
|
+
|
683
|
+
# Update properties of this object
|
684
|
+
def update!(**args)
|
685
|
+
@can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
|
686
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
687
|
+
@schedule_deadline_time = args[:schedule_deadline_time] if args.key?(:schedule_deadline_time)
|
688
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
689
|
+
end
|
690
|
+
end
|
691
|
+
|
596
692
|
# This resource represents a long-running operation that is the result of a
|
597
693
|
# network API call.
|
598
694
|
class Operation
|
@@ -678,6 +774,34 @@ module Google
|
|
678
774
|
end
|
679
775
|
end
|
680
776
|
|
777
|
+
# Request for RescheduleMaintenance.
|
778
|
+
class RescheduleMaintenanceRequest
|
779
|
+
include Google::Apis::Core::Hashable
|
780
|
+
|
781
|
+
# Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as
|
782
|
+
# well.
|
783
|
+
# Corresponds to the JSON property `rescheduleType`
|
784
|
+
# @return [String]
|
785
|
+
attr_accessor :reschedule_type
|
786
|
+
|
787
|
+
# Optional. Timestamp when the maintenance shall be rescheduled to if
|
788
|
+
# reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:
|
789
|
+
# 19:00.094Z`.
|
790
|
+
# Corresponds to the JSON property `scheduleTime`
|
791
|
+
# @return [String]
|
792
|
+
attr_accessor :schedule_time
|
793
|
+
|
794
|
+
def initialize(**args)
|
795
|
+
update!(**args)
|
796
|
+
end
|
797
|
+
|
798
|
+
# Update properties of this object
|
799
|
+
def update!(**args)
|
800
|
+
@reschedule_type = args[:reschedule_type] if args.key?(:reschedule_type)
|
801
|
+
@schedule_time = args[:schedule_time] if args.key?(:schedule_time)
|
802
|
+
end
|
803
|
+
end
|
804
|
+
|
681
805
|
# The `Status` type defines a logical error model that is suitable for different
|
682
806
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
683
807
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -717,6 +841,47 @@ module Google
|
|
717
841
|
end
|
718
842
|
end
|
719
843
|
|
844
|
+
# Represents a time of day. The date and time zone are either not significant or
|
845
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
846
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
847
|
+
class TimeOfDay
|
848
|
+
include Google::Apis::Core::Hashable
|
849
|
+
|
850
|
+
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
|
851
|
+
# allow the value "24:00:00" for scenarios like business closing time.
|
852
|
+
# Corresponds to the JSON property `hours`
|
853
|
+
# @return [Fixnum]
|
854
|
+
attr_accessor :hours
|
855
|
+
|
856
|
+
# Minutes of hour of day. Must be from 0 to 59.
|
857
|
+
# Corresponds to the JSON property `minutes`
|
858
|
+
# @return [Fixnum]
|
859
|
+
attr_accessor :minutes
|
860
|
+
|
861
|
+
# Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
862
|
+
# Corresponds to the JSON property `nanos`
|
863
|
+
# @return [Fixnum]
|
864
|
+
attr_accessor :nanos
|
865
|
+
|
866
|
+
# Seconds of minutes of the time. Must normally be from 0 to 59. An API may
|
867
|
+
# allow the value 60 if it allows leap-seconds.
|
868
|
+
# Corresponds to the JSON property `seconds`
|
869
|
+
# @return [Fixnum]
|
870
|
+
attr_accessor :seconds
|
871
|
+
|
872
|
+
def initialize(**args)
|
873
|
+
update!(**args)
|
874
|
+
end
|
875
|
+
|
876
|
+
# Update properties of this object
|
877
|
+
def update!(**args)
|
878
|
+
@hours = args[:hours] if args.key?(:hours)
|
879
|
+
@minutes = args[:minutes] if args.key?(:minutes)
|
880
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
881
|
+
@seconds = args[:seconds] if args.key?(:seconds)
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
720
885
|
# TlsCertificate Resource
|
721
886
|
class TlsCertificate
|
722
887
|
include Google::Apis::Core::Hashable
|
@@ -780,6 +945,41 @@ module Google
|
|
780
945
|
@redis_version = args[:redis_version] if args.key?(:redis_version)
|
781
946
|
end
|
782
947
|
end
|
948
|
+
|
949
|
+
# Time window in which disruptive maintenance updates occur. Non-disruptive
|
950
|
+
# updates can occur inside or outside this window.
|
951
|
+
class WeeklyMaintenanceWindow
|
952
|
+
include Google::Apis::Core::Hashable
|
953
|
+
|
954
|
+
# Required. The day of week that maintenance updates occur.
|
955
|
+
# Corresponds to the JSON property `day`
|
956
|
+
# @return [String]
|
957
|
+
attr_accessor :day
|
958
|
+
|
959
|
+
# Output only. Duration of the maintenance window. The current window is fixed
|
960
|
+
# at 1 hour.
|
961
|
+
# Corresponds to the JSON property `duration`
|
962
|
+
# @return [String]
|
963
|
+
attr_accessor :duration
|
964
|
+
|
965
|
+
# Represents a time of day. The date and time zone are either not significant or
|
966
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
967
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
968
|
+
# Corresponds to the JSON property `startTime`
|
969
|
+
# @return [Google::Apis::RedisV1beta1::TimeOfDay]
|
970
|
+
attr_accessor :start_time
|
971
|
+
|
972
|
+
def initialize(**args)
|
973
|
+
update!(**args)
|
974
|
+
end
|
975
|
+
|
976
|
+
# Update properties of this object
|
977
|
+
def update!(**args)
|
978
|
+
@day = args[:day] if args.key?(:day)
|
979
|
+
@duration = args[:duration] if args.key?(:duration)
|
980
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
981
|
+
end
|
982
|
+
end
|
783
983
|
end
|
784
984
|
end
|
785
985
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RedisV1beta1
|
18
18
|
# Version of the google-apis-redis_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210615"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,6 +118,18 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class MaintenancePolicy
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class MaintenanceSchedule
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
121
133
|
class Operation
|
122
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
135
|
|
@@ -130,12 +142,24 @@ module Google
|
|
130
142
|
include Google::Apis::Core::JsonObjectSupport
|
131
143
|
end
|
132
144
|
|
145
|
+
class RescheduleMaintenanceRequest
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
133
151
|
class Status
|
134
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
153
|
|
136
154
|
include Google::Apis::Core::JsonObjectSupport
|
137
155
|
end
|
138
156
|
|
157
|
+
class TimeOfDay
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
139
163
|
class TlsCertificate
|
140
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
165
|
|
@@ -148,6 +172,12 @@ module Google
|
|
148
172
|
include Google::Apis::Core::JsonObjectSupport
|
149
173
|
end
|
150
174
|
|
175
|
+
class WeeklyMaintenanceWindow
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
151
181
|
class Empty
|
152
182
|
# @private
|
153
183
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -239,6 +269,10 @@ module Google
|
|
239
269
|
property :host, as: 'host'
|
240
270
|
hash :labels, as: 'labels'
|
241
271
|
property :location_id, as: 'locationId'
|
272
|
+
property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::RedisV1beta1::MaintenancePolicy, decorator: Google::Apis::RedisV1beta1::MaintenancePolicy::Representation
|
273
|
+
|
274
|
+
property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::RedisV1beta1::MaintenanceSchedule, decorator: Google::Apis::RedisV1beta1::MaintenanceSchedule::Representation
|
275
|
+
|
242
276
|
property :memory_size_gb, as: 'memorySizeGb'
|
243
277
|
property :name, as: 'name'
|
244
278
|
property :persistence_iam_identity, as: 'persistenceIamIdentity'
|
@@ -301,6 +335,27 @@ module Google
|
|
301
335
|
end
|
302
336
|
end
|
303
337
|
|
338
|
+
class MaintenancePolicy
|
339
|
+
# @private
|
340
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
341
|
+
property :create_time, as: 'createTime'
|
342
|
+
property :description, as: 'description'
|
343
|
+
property :update_time, as: 'updateTime'
|
344
|
+
collection :weekly_maintenance_window, as: 'weeklyMaintenanceWindow', class: Google::Apis::RedisV1beta1::WeeklyMaintenanceWindow, decorator: Google::Apis::RedisV1beta1::WeeklyMaintenanceWindow::Representation
|
345
|
+
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
class MaintenanceSchedule
|
350
|
+
# @private
|
351
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
352
|
+
property :can_reschedule, as: 'canReschedule'
|
353
|
+
property :end_time, as: 'endTime'
|
354
|
+
property :schedule_deadline_time, as: 'scheduleDeadlineTime'
|
355
|
+
property :start_time, as: 'startTime'
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
304
359
|
class Operation
|
305
360
|
# @private
|
306
361
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -321,6 +376,14 @@ module Google
|
|
321
376
|
end
|
322
377
|
end
|
323
378
|
|
379
|
+
class RescheduleMaintenanceRequest
|
380
|
+
# @private
|
381
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
382
|
+
property :reschedule_type, as: 'rescheduleType'
|
383
|
+
property :schedule_time, as: 'scheduleTime'
|
384
|
+
end
|
385
|
+
end
|
386
|
+
|
324
387
|
class Status
|
325
388
|
# @private
|
326
389
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -330,6 +393,16 @@ module Google
|
|
330
393
|
end
|
331
394
|
end
|
332
395
|
|
396
|
+
class TimeOfDay
|
397
|
+
# @private
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
399
|
+
property :hours, as: 'hours'
|
400
|
+
property :minutes, as: 'minutes'
|
401
|
+
property :nanos, as: 'nanos'
|
402
|
+
property :seconds, as: 'seconds'
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
333
406
|
class TlsCertificate
|
334
407
|
# @private
|
335
408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -347,6 +420,16 @@ module Google
|
|
347
420
|
property :redis_version, as: 'redisVersion'
|
348
421
|
end
|
349
422
|
end
|
423
|
+
|
424
|
+
class WeeklyMaintenanceWindow
|
425
|
+
# @private
|
426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
427
|
+
property :day, as: 'day'
|
428
|
+
property :duration, as: 'duration'
|
429
|
+
property :start_time, as: 'startTime', class: Google::Apis::RedisV1beta1::TimeOfDay, decorator: Google::Apis::RedisV1beta1::TimeOfDay::Representation
|
430
|
+
|
431
|
+
end
|
432
|
+
end
|
350
433
|
end
|
351
434
|
end
|
352
435
|
end
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
88
88
|
# AIP-160](https://google.aip.dev/160).
|
89
89
|
# @param [Fixnum] page_size
|
90
|
-
# The maximum number of results to return. If not set, the service
|
90
|
+
# The maximum number of results to return. If not set, the service selects a
|
91
91
|
# default.
|
92
92
|
# @param [String] page_token
|
93
93
|
# A page token received from the `next_page_token` field in the response. Send
|
@@ -476,6 +476,41 @@ module Google
|
|
476
476
|
execute_or_queue_command(command, &block)
|
477
477
|
end
|
478
478
|
|
479
|
+
# Reschedule maintenance for a given instance in a given project and location.
|
480
|
+
# @param [String] name
|
481
|
+
# Required. Redis instance resource name using the form: `projects/`project_id`/
|
482
|
+
# locations/`location_id`/instances/`instance_id`` where `location_id` refers to
|
483
|
+
# a GCP region.
|
484
|
+
# @param [Google::Apis::RedisV1beta1::RescheduleMaintenanceRequest] reschedule_maintenance_request_object
|
485
|
+
# @param [String] fields
|
486
|
+
# Selector specifying which fields to include in a partial response.
|
487
|
+
# @param [String] quota_user
|
488
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
489
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
490
|
+
# @param [Google::Apis::RequestOptions] options
|
491
|
+
# Request-specific options
|
492
|
+
#
|
493
|
+
# @yield [result, err] Result & error if block supplied
|
494
|
+
# @yieldparam result [Google::Apis::RedisV1beta1::Operation] parsed result object
|
495
|
+
# @yieldparam err [StandardError] error object if request failed
|
496
|
+
#
|
497
|
+
# @return [Google::Apis::RedisV1beta1::Operation]
|
498
|
+
#
|
499
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
500
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
501
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
502
|
+
def reschedule_instance_maintenance(name, reschedule_maintenance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
503
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:rescheduleMaintenance', options)
|
504
|
+
command.request_representation = Google::Apis::RedisV1beta1::RescheduleMaintenanceRequest::Representation
|
505
|
+
command.request_object = reschedule_maintenance_request_object
|
506
|
+
command.response_representation = Google::Apis::RedisV1beta1::Operation::Representation
|
507
|
+
command.response_class = Google::Apis::RedisV1beta1::Operation
|
508
|
+
command.params['name'] = name unless name.nil?
|
509
|
+
command.query['fields'] = fields unless fields.nil?
|
510
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
511
|
+
execute_or_queue_command(command, &block)
|
512
|
+
end
|
513
|
+
|
479
514
|
# Upgrades Redis instance to the newer Redis version specified in the request.
|
480
515
|
# @param [String] name
|
481
516
|
# Required. Redis instance resource name using the form: `projects/`project_id`/
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-redis_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Google Cloud Memorystore for Redis
|
28
34
|
API V1beta1. Simple REST clients are Ruby client libraries that provide access to
|
29
35
|
Google services via their HTTP REST API endpoints. These libraries are generated
|
@@ -53,7 +59,7 @@ licenses:
|
|
53
59
|
metadata:
|
54
60
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
55
61
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-redis_v1beta1/CHANGELOG.md
|
56
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1beta1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1beta1/v0.9.0
|
57
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-redis_v1beta1
|
58
64
|
post_install_message:
|
59
65
|
rdoc_options: []
|
@@ -70,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
76
|
- !ruby/object:Gem::Version
|
71
77
|
version: '0'
|
72
78
|
requirements: []
|
73
|
-
rubygems_version: 3.2.
|
79
|
+
rubygems_version: 3.2.17
|
74
80
|
signing_key:
|
75
81
|
specification_version: 4
|
76
82
|
summary: Simple REST client for Google Cloud Memorystore for Redis API V1beta1
|