google-apis-redis_v1beta1 0.2.0 → 0.7.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 +21 -0
- data/lib/google/apis/redis_v1beta1.rb +1 -1
- data/lib/google/apis/redis_v1beta1/classes.rb +207 -5
- data/lib/google/apis/redis_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/redis_v1beta1/representations.rb +83 -0
- data/lib/google/apis/redis_v1beta1/service.rb +42 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56859bf5e683f2349928a90469efbb9fb011b9e412578ef89dfc144c958c7f3d
|
4
|
+
data.tar.gz: 992c64aa8d550207ad54ecb51ad3364ab97165881a8c5bdbf773d80635693319
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41dd890079209afd422583d0b1903170938aa1b13883503e815a7b72f27cc8f2da8ab44378361e6b66ea8314be47c948dea09d197e4678786a60eeeb567b558a
|
7
|
+
data.tar.gz: 10f8f48c835e19e3c9749e178ef2d8c9ba256e1473eef1769c3341e6e8de076963a5cc13387cce01e575da93c43cd3be68152a98fdda889562aecd84ccea6417
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-redis_v1beta1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-05-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210525
|
6
|
+
|
7
|
+
### v0.6.0 (2021-05-19)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.5.0 (2021-05-14)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210511
|
14
|
+
|
15
|
+
### v0.4.0 (2021-03-25)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210318
|
18
|
+
|
19
|
+
### v0.3.0 (2021-03-16)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210311
|
22
|
+
* Regenerated using generator version 0.2.0
|
23
|
+
|
3
24
|
### v0.2.0 (2021-03-04)
|
4
25
|
|
5
26
|
* Regenerated using generator version 0.1.2
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1beta1'
|
31
31
|
|
32
|
-
#
|
32
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
@@ -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,15 +374,18 @@ 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
|
370
382
|
|
371
|
-
# Optional.
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
383
|
+
# Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that
|
384
|
+
# are reserved for this instance. Range must be unique and non-overlapping with
|
385
|
+
# existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode,
|
386
|
+
# the name of one allocated IP address ranges associated with this private
|
387
|
+
# service access connection. If not provided, the service will choose an unused /
|
388
|
+
# 29 block, for example, 10.0.0.0/29 or 192.168.0.0/29.
|
375
389
|
# Corresponds to the JSON property `reservedIpRange`
|
376
390
|
# @return [String]
|
377
391
|
attr_accessor :reserved_ip_range
|
@@ -419,6 +433,8 @@ module Google
|
|
419
433
|
@host = args[:host] if args.key?(:host)
|
420
434
|
@labels = args[:labels] if args.key?(:labels)
|
421
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)
|
422
438
|
@memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
|
423
439
|
@name = args[:name] if args.key?(:name)
|
424
440
|
@persistence_iam_identity = args[:persistence_iam_identity] if args.key?(:persistence_iam_identity)
|
@@ -591,6 +607,88 @@ module Google
|
|
591
607
|
end
|
592
608
|
end
|
593
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
|
+
|
594
692
|
# This resource represents a long-running operation that is the result of a
|
595
693
|
# network API call.
|
596
694
|
class Operation
|
@@ -676,6 +774,34 @@ module Google
|
|
676
774
|
end
|
677
775
|
end
|
678
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
|
+
|
679
805
|
# The `Status` type defines a logical error model that is suitable for different
|
680
806
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
681
807
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -715,6 +841,47 @@ module Google
|
|
715
841
|
end
|
716
842
|
end
|
717
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
|
+
|
718
885
|
# TlsCertificate Resource
|
719
886
|
class TlsCertificate
|
720
887
|
include Google::Apis::Core::Hashable
|
@@ -778,6 +945,41 @@ module Google
|
|
778
945
|
@redis_version = args[:redis_version] if args.key?(:redis_version)
|
779
946
|
end
|
780
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 3 hours.
|
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
|
781
983
|
end
|
782
984
|
end
|
783
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.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210525"
|
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
|
@@ -83,11 +83,15 @@ module Google
|
|
83
83
|
# @param [String] name
|
84
84
|
# The resource that owns the locations collection, if applicable.
|
85
85
|
# @param [String] filter
|
86
|
-
#
|
86
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
87
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
88
|
+
# AIP-160](https://google.aip.dev/160).
|
87
89
|
# @param [Fixnum] page_size
|
88
|
-
# The
|
90
|
+
# The maximum number of results to return. If not set, the service selects a
|
91
|
+
# default.
|
89
92
|
# @param [String] page_token
|
90
|
-
#
|
93
|
+
# A page token received from the `next_page_token` field in the response. Send
|
94
|
+
# that page token to receive the subsequent page.
|
91
95
|
# @param [String] fields
|
92
96
|
# Selector specifying which fields to include in a partial response.
|
93
97
|
# @param [String] quota_user
|
@@ -472,6 +476,41 @@ module Google
|
|
472
476
|
execute_or_queue_command(command, &block)
|
473
477
|
end
|
474
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
|
+
|
475
514
|
# Upgrades Redis instance to the newer Redis version specified in the request.
|
476
515
|
# @param [String] name
|
477
516
|
# Required. Redis instance resource name using the form: `projects/`project_id`/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.7.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-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -53,7 +53,7 @@ licenses:
|
|
53
53
|
metadata:
|
54
54
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
55
55
|
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.
|
56
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1beta1/v0.7.0
|
57
57
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-redis_v1beta1
|
58
58
|
post_install_message:
|
59
59
|
rdoc_options: []
|
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
|
-
rubygems_version: 3.2.
|
73
|
+
rubygems_version: 3.2.17
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: Simple REST client for Google Cloud Memorystore for Redis API V1beta1
|