google-apis-memcache_v1beta2 0.17.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2584407f33e3214c355b0ae28e9e3691c3d5d265f882c1cffe3a557cb86acac2
|
4
|
+
data.tar.gz: 39f6e5cdf0d16cdd3e96afb564f701fb9bf8fbb7dbe8fb3bf6b7c20dfac23fed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 367765942b4e9fe0d83060017943ff11ba8369756b078d8b54bf9c86fe1678c3be9ce8a622ff2f35c49a36422893841e8ea130e8def224ac772bb551974c0c86
|
7
|
+
data.tar.gz: d5f749243e59b6494d557bc8ccd0571a64693948a5941675da8313ee46947304fa12bd94207783182e9c2e5296d0db2a260751d26e931d0b4f4218e4aad414bc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-memcache_v1beta2
|
2
2
|
|
3
|
+
### v0.20.0 (2022-04-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220419
|
6
|
+
|
7
|
+
### v0.19.0 (2022-04-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220404
|
10
|
+
|
11
|
+
### v0.18.0 (2022-03-23)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220317
|
14
|
+
|
3
15
|
### v0.17.0 (2022-02-19)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220208
|
@@ -122,11 +122,11 @@ module Google
|
|
122
122
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
123
123
|
# day and time zone are either specified elsewhere or are insignificant. The
|
124
124
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
125
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
126
|
-
# and day, with a zero year (
|
127
|
-
# zero month and a zero day * A year and month, with a zero day (
|
128
|
-
# card expiration date) Related types: * google.type.
|
129
|
-
# DateTime * google.protobuf.Timestamp
|
125
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
126
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
127
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
128
|
+
# example, a credit card expiration date). Related types: * google.type.
|
129
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
130
130
|
class Date
|
131
131
|
include Google::Apis::Core::Hashable
|
132
132
|
|
@@ -168,11 +168,11 @@ module Google
|
|
168
168
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
169
169
|
# day and time zone are either specified elsewhere or are insignificant. The
|
170
170
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
171
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
172
|
-
# and day, with a zero year (
|
173
|
-
# zero month and a zero day * A year and month, with a zero day (
|
174
|
-
# card expiration date) Related types: * google.type.
|
175
|
-
# DateTime * google.protobuf.Timestamp
|
171
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
172
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
173
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
174
|
+
# example, a credit card expiration date). Related types: * google.type.
|
175
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
176
176
|
# Corresponds to the JSON property `endDate`
|
177
177
|
# @return [Google::Apis::MemcacheV1beta2::Date]
|
178
178
|
attr_accessor :end_date
|
@@ -180,11 +180,11 @@ module Google
|
|
180
180
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
181
181
|
# day and time zone are either specified elsewhere or are insignificant. The
|
182
182
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
183
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
184
|
-
# and day, with a zero year (
|
185
|
-
# zero month and a zero day * A year and month, with a zero day (
|
186
|
-
# card expiration date) Related types: * google.type.
|
187
|
-
# DateTime * google.protobuf.Timestamp
|
183
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
184
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
185
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
186
|
+
# example, a credit card expiration date). Related types: * google.type.
|
187
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
188
188
|
# Corresponds to the JSON property `startDate`
|
189
189
|
# @return [Google::Apis::MemcacheV1beta2::Date]
|
190
190
|
attr_accessor :start_date
|
@@ -211,8 +211,7 @@ module Google
|
|
211
211
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
212
212
|
# messages in your APIs. A typical example is to use it as the request or the
|
213
213
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
214
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
215
|
-
# `Empty` is empty JSON object ````.
|
214
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
216
215
|
class Empty
|
217
216
|
include Google::Apis::Core::Hashable
|
218
217
|
|
@@ -246,6 +245,46 @@ module Google
|
|
246
245
|
end
|
247
246
|
end
|
248
247
|
|
248
|
+
# Maintenance policy per instance.
|
249
|
+
class GoogleCloudMemcacheV1beta2MaintenancePolicy
|
250
|
+
include Google::Apis::Core::Hashable
|
251
|
+
|
252
|
+
# Output only. The time when the policy was created.
|
253
|
+
# Corresponds to the JSON property `createTime`
|
254
|
+
# @return [String]
|
255
|
+
attr_accessor :create_time
|
256
|
+
|
257
|
+
# Description of what this policy is for. Create/Update methods return
|
258
|
+
# INVALID_ARGUMENT if the length is greater than 512.
|
259
|
+
# Corresponds to the JSON property `description`
|
260
|
+
# @return [String]
|
261
|
+
attr_accessor :description
|
262
|
+
|
263
|
+
# Output only. The time when the policy was updated.
|
264
|
+
# Corresponds to the JSON property `updateTime`
|
265
|
+
# @return [String]
|
266
|
+
attr_accessor :update_time
|
267
|
+
|
268
|
+
# Required. Maintenance window that is applied to resources covered by this
|
269
|
+
# policy. Minimum 1. For the current version, the maximum number of
|
270
|
+
# weekly_maintenance_windows is expected to be one.
|
271
|
+
# Corresponds to the JSON property `weeklyMaintenanceWindow`
|
272
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::WeeklyMaintenanceWindow>]
|
273
|
+
attr_accessor :weekly_maintenance_window
|
274
|
+
|
275
|
+
def initialize(**args)
|
276
|
+
update!(**args)
|
277
|
+
end
|
278
|
+
|
279
|
+
# Update properties of this object
|
280
|
+
def update!(**args)
|
281
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
282
|
+
@description = args[:description] if args.key?(:description)
|
283
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
284
|
+
@weekly_maintenance_window = args[:weekly_maintenance_window] if args.key?(:weekly_maintenance_window)
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
249
288
|
# Represents the metadata of a long-running operation.
|
250
289
|
class GoogleCloudMemcacheV1beta2OperationMetadata
|
251
290
|
include Google::Apis::Core::Hashable
|
@@ -335,11 +374,12 @@ module Google
|
|
335
374
|
# @return [String]
|
336
375
|
attr_accessor :create_time
|
337
376
|
|
338
|
-
# Optional. The instance_type of this instance of format: projects/`
|
339
|
-
# locations/`location_id`/instanceTypes/`instance_type_id`.
|
340
|
-
# represents a high-level tier or SKU of the service that this
|
341
|
-
# to. When enabled(eg: Maintenance Rollout), Rollout uses '
|
342
|
-
# with 'software_versions' to determine whether instance
|
377
|
+
# Optional. The instance_type of this instance of format: projects/`
|
378
|
+
# project_number`/locations/`location_id`/instanceTypes/`instance_type_id`.
|
379
|
+
# Instance Type represents a high-level tier or SKU of the service that this
|
380
|
+
# instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses '
|
381
|
+
# instance_type' along with 'software_versions' to determine whether instance
|
382
|
+
# needs an update or not.
|
343
383
|
# Corresponds to the JSON property `instanceType`
|
344
384
|
# @return [String]
|
345
385
|
attr_accessor :instance_type
|
@@ -371,19 +411,21 @@ module Google
|
|
371
411
|
# @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
|
372
412
|
attr_accessor :maintenance_settings
|
373
413
|
|
374
|
-
# Unique name of the resource. It uses the form: `projects/`
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
414
|
+
# Unique name of the resource. It uses the form: `projects/`project_number`/
|
415
|
+
# locations/`location_id`/instances/`instance_id`` Note: This name is passed,
|
416
|
+
# stored and logged across the rollout system. So use of consumer project_id or
|
417
|
+
# any other consumer PII in the name is strongly discouraged for wipeout (go/
|
418
|
+
# wipeout) compliance. See go/elysium/project_ids#storage-guidance for more
|
419
|
+
# details.
|
378
420
|
# Corresponds to the JSON property `name`
|
379
421
|
# @return [String]
|
380
422
|
attr_accessor :name
|
381
423
|
|
382
|
-
# Optional.
|
424
|
+
# Optional. notification_parameter are information that service producers may
|
383
425
|
# like to include that is not relevant to Rollout. This parameter will only be
|
384
426
|
# passed to Gamma and Cloud Logging for notification/logging purpose.
|
385
427
|
# Corresponds to the JSON property `notificationParameters`
|
386
|
-
# @return [Hash<String,
|
428
|
+
# @return [Hash<String,Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter>]
|
387
429
|
attr_accessor :notification_parameters
|
388
430
|
|
389
431
|
# Output only. Custom string attributes used primarily to expose producer-
|
@@ -588,6 +630,25 @@ module Google
|
|
588
630
|
end
|
589
631
|
end
|
590
632
|
|
633
|
+
# Contains notification related data.
|
634
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter
|
635
|
+
include Google::Apis::Core::Hashable
|
636
|
+
|
637
|
+
# Optional. Array of string values. e.g. instance's replica information.
|
638
|
+
# Corresponds to the JSON property `values`
|
639
|
+
# @return [Array<String>]
|
640
|
+
attr_accessor :values
|
641
|
+
|
642
|
+
def initialize(**args)
|
643
|
+
update!(**args)
|
644
|
+
end
|
645
|
+
|
646
|
+
# Update properties of this object
|
647
|
+
def update!(**args)
|
648
|
+
@values = args[:values] if args.key?(:values)
|
649
|
+
end
|
650
|
+
end
|
651
|
+
|
591
652
|
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
592
653
|
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
593
654
|
include Google::Apis::Core::Hashable
|
@@ -752,6 +813,16 @@ module Google
|
|
752
813
|
# @return [Hash<String,String>]
|
753
814
|
attr_accessor :labels
|
754
815
|
|
816
|
+
# Maintenance policy per instance.
|
817
|
+
# Corresponds to the JSON property `maintenancePolicy`
|
818
|
+
# @return [Google::Apis::MemcacheV1beta2::GoogleCloudMemcacheV1beta2MaintenancePolicy]
|
819
|
+
attr_accessor :maintenance_policy
|
820
|
+
|
821
|
+
# Upcoming maintenance schedule.
|
822
|
+
# Corresponds to the JSON property `maintenanceSchedule`
|
823
|
+
# @return [Google::Apis::MemcacheV1beta2::MaintenanceSchedule]
|
824
|
+
attr_accessor :maintenance_schedule
|
825
|
+
|
755
826
|
# Output only. The full version of memcached server running on this instance.
|
756
827
|
# System automatically determines the full memcached version for an instance
|
757
828
|
# based on the input MemcacheVersion. The full version format will be "memcached-
|
@@ -833,6 +904,8 @@ module Google
|
|
833
904
|
@display_name = args[:display_name] if args.key?(:display_name)
|
834
905
|
@instance_messages = args[:instance_messages] if args.key?(:instance_messages)
|
835
906
|
@labels = args[:labels] if args.key?(:labels)
|
907
|
+
@maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
|
908
|
+
@maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
|
836
909
|
@memcache_full_version = args[:memcache_full_version] if args.key?(:memcache_full_version)
|
837
910
|
@memcache_nodes = args[:memcache_nodes] if args.key?(:memcache_nodes)
|
838
911
|
@memcache_version = args[:memcache_version] if args.key?(:memcache_version)
|
@@ -1087,6 +1160,40 @@ module Google
|
|
1087
1160
|
end
|
1088
1161
|
end
|
1089
1162
|
|
1163
|
+
# Upcoming maintenance schedule.
|
1164
|
+
class MaintenanceSchedule
|
1165
|
+
include Google::Apis::Core::Hashable
|
1166
|
+
|
1167
|
+
# Output only. The end time of any upcoming scheduled maintenance for this
|
1168
|
+
# instance.
|
1169
|
+
# Corresponds to the JSON property `endTime`
|
1170
|
+
# @return [String]
|
1171
|
+
attr_accessor :end_time
|
1172
|
+
|
1173
|
+
# Output only. The deadline that the maintenance schedule start time can not go
|
1174
|
+
# beyond, including reschedule.
|
1175
|
+
# Corresponds to the JSON property `scheduleDeadlineTime`
|
1176
|
+
# @return [String]
|
1177
|
+
attr_accessor :schedule_deadline_time
|
1178
|
+
|
1179
|
+
# Output only. The start time of any upcoming scheduled maintenance for this
|
1180
|
+
# instance.
|
1181
|
+
# Corresponds to the JSON property `startTime`
|
1182
|
+
# @return [String]
|
1183
|
+
attr_accessor :start_time
|
1184
|
+
|
1185
|
+
def initialize(**args)
|
1186
|
+
update!(**args)
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
# Update properties of this object
|
1190
|
+
def update!(**args)
|
1191
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1192
|
+
@schedule_deadline_time = args[:schedule_deadline_time] if args.key?(:schedule_deadline_time)
|
1193
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1194
|
+
end
|
1195
|
+
end
|
1196
|
+
|
1090
1197
|
# MaintenanceWindow definition.
|
1091
1198
|
class MaintenanceWindow
|
1092
1199
|
include Google::Apis::Core::Hashable
|
@@ -1345,6 +1452,33 @@ module Google
|
|
1345
1452
|
end
|
1346
1453
|
end
|
1347
1454
|
|
1455
|
+
# Request for RescheduleMaintenance.
|
1456
|
+
class RescheduleMaintenanceRequest
|
1457
|
+
include Google::Apis::Core::Hashable
|
1458
|
+
|
1459
|
+
# Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as
|
1460
|
+
# well.
|
1461
|
+
# Corresponds to the JSON property `rescheduleType`
|
1462
|
+
# @return [String]
|
1463
|
+
attr_accessor :reschedule_type
|
1464
|
+
|
1465
|
+
# Timestamp when the maintenance shall be rescheduled to if reschedule_type=
|
1466
|
+
# SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`.
|
1467
|
+
# Corresponds to the JSON property `scheduleTime`
|
1468
|
+
# @return [String]
|
1469
|
+
attr_accessor :schedule_time
|
1470
|
+
|
1471
|
+
def initialize(**args)
|
1472
|
+
update!(**args)
|
1473
|
+
end
|
1474
|
+
|
1475
|
+
# Update properties of this object
|
1476
|
+
def update!(**args)
|
1477
|
+
@reschedule_type = args[:reschedule_type] if args.key?(:reschedule_type)
|
1478
|
+
@schedule_time = args[:schedule_time] if args.key?(:schedule_time)
|
1479
|
+
end
|
1480
|
+
end
|
1481
|
+
|
1348
1482
|
# Configure the schedule.
|
1349
1483
|
class Schedule
|
1350
1484
|
include Google::Apis::Core::Hashable
|
@@ -1535,6 +1669,39 @@ module Google
|
|
1535
1669
|
end
|
1536
1670
|
end
|
1537
1671
|
|
1672
|
+
# Time window specified for weekly operations.
|
1673
|
+
class WeeklyMaintenanceWindow
|
1674
|
+
include Google::Apis::Core::Hashable
|
1675
|
+
|
1676
|
+
# Required. Allows to define schedule that runs specified day of the week.
|
1677
|
+
# Corresponds to the JSON property `day`
|
1678
|
+
# @return [String]
|
1679
|
+
attr_accessor :day
|
1680
|
+
|
1681
|
+
# Required. Duration of the time window.
|
1682
|
+
# Corresponds to the JSON property `duration`
|
1683
|
+
# @return [String]
|
1684
|
+
attr_accessor :duration
|
1685
|
+
|
1686
|
+
# Represents a time of day. The date and time zone are either not significant or
|
1687
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1688
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
1689
|
+
# Corresponds to the JSON property `startTime`
|
1690
|
+
# @return [Google::Apis::MemcacheV1beta2::TimeOfDay]
|
1691
|
+
attr_accessor :start_time
|
1692
|
+
|
1693
|
+
def initialize(**args)
|
1694
|
+
update!(**args)
|
1695
|
+
end
|
1696
|
+
|
1697
|
+
# Update properties of this object
|
1698
|
+
def update!(**args)
|
1699
|
+
@day = args[:day] if args.key?(:day)
|
1700
|
+
@duration = args[:duration] if args.key?(:duration)
|
1701
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1702
|
+
end
|
1703
|
+
end
|
1704
|
+
|
1538
1705
|
#
|
1539
1706
|
class ZoneMetadata
|
1540
1707
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MemcacheV1beta2
|
18
18
|
# Version of the google-apis-memcache_v1beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220419"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class GoogleCloudMemcacheV1beta2MaintenancePolicy
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class GoogleCloudMemcacheV1beta2OperationMetadata
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -106,6 +112,12 @@ module Google
|
|
106
112
|
include Google::Apis::Core::JsonObjectSupport
|
107
113
|
end
|
108
114
|
|
115
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
109
121
|
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
110
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
123
|
|
@@ -178,6 +190,12 @@ module Google
|
|
178
190
|
include Google::Apis::Core::JsonObjectSupport
|
179
191
|
end
|
180
192
|
|
193
|
+
class MaintenanceSchedule
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
181
199
|
class MaintenanceWindow
|
182
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
201
|
|
@@ -214,6 +232,12 @@ module Google
|
|
214
232
|
include Google::Apis::Core::JsonObjectSupport
|
215
233
|
end
|
216
234
|
|
235
|
+
class RescheduleMaintenanceRequest
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
217
241
|
class Schedule
|
218
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
243
|
|
@@ -250,6 +274,12 @@ module Google
|
|
250
274
|
include Google::Apis::Core::JsonObjectSupport
|
251
275
|
end
|
252
276
|
|
277
|
+
class WeeklyMaintenanceWindow
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
253
283
|
class ZoneMetadata
|
254
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
285
|
|
@@ -322,6 +352,17 @@ module Google
|
|
322
352
|
end
|
323
353
|
end
|
324
354
|
|
355
|
+
class GoogleCloudMemcacheV1beta2MaintenancePolicy
|
356
|
+
# @private
|
357
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
358
|
+
property :create_time, as: 'createTime'
|
359
|
+
property :description, as: 'description'
|
360
|
+
property :update_time, as: 'updateTime'
|
361
|
+
collection :weekly_maintenance_window, as: 'weeklyMaintenanceWindow', class: Google::Apis::MemcacheV1beta2::WeeklyMaintenanceWindow, decorator: Google::Apis::MemcacheV1beta2::WeeklyMaintenanceWindow::Representation
|
362
|
+
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
325
366
|
class GoogleCloudMemcacheV1beta2OperationMetadata
|
326
367
|
# @private
|
327
368
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -354,7 +395,8 @@ module Google
|
|
354
395
|
property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
|
355
396
|
|
356
397
|
property :name, as: 'name'
|
357
|
-
hash :notification_parameters, as: 'notificationParameters'
|
398
|
+
hash :notification_parameters, as: 'notificationParameters', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter::Representation
|
399
|
+
|
358
400
|
hash :producer_metadata, as: 'producerMetadata'
|
359
401
|
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
|
360
402
|
|
@@ -399,6 +441,13 @@ module Google
|
|
399
441
|
end
|
400
442
|
end
|
401
443
|
|
444
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter
|
445
|
+
# @private
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
447
|
+
collection :values, as: 'values'
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
402
451
|
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
403
452
|
# @private
|
404
453
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -444,6 +493,10 @@ module Google
|
|
444
493
|
collection :instance_messages, as: 'instanceMessages', class: Google::Apis::MemcacheV1beta2::InstanceMessage, decorator: Google::Apis::MemcacheV1beta2::InstanceMessage::Representation
|
445
494
|
|
446
495
|
hash :labels, as: 'labels'
|
496
|
+
property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::MemcacheV1beta2::GoogleCloudMemcacheV1beta2MaintenancePolicy, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudMemcacheV1beta2MaintenancePolicy::Representation
|
497
|
+
|
498
|
+
property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::MemcacheV1beta2::MaintenanceSchedule, decorator: Google::Apis::MemcacheV1beta2::MaintenanceSchedule::Representation
|
499
|
+
|
447
500
|
property :memcache_full_version, as: 'memcacheFullVersion'
|
448
501
|
collection :memcache_nodes, as: 'memcacheNodes', class: Google::Apis::MemcacheV1beta2::Node, decorator: Google::Apis::MemcacheV1beta2::Node::Representation
|
449
502
|
|
@@ -530,6 +583,15 @@ module Google
|
|
530
583
|
end
|
531
584
|
end
|
532
585
|
|
586
|
+
class MaintenanceSchedule
|
587
|
+
# @private
|
588
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
589
|
+
property :end_time, as: 'endTime'
|
590
|
+
property :schedule_deadline_time, as: 'scheduleDeadlineTime'
|
591
|
+
property :start_time, as: 'startTime'
|
592
|
+
end
|
593
|
+
end
|
594
|
+
|
533
595
|
class MaintenanceWindow
|
534
596
|
# @private
|
535
597
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -595,6 +657,14 @@ module Google
|
|
595
657
|
end
|
596
658
|
end
|
597
659
|
|
660
|
+
class RescheduleMaintenanceRequest
|
661
|
+
# @private
|
662
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
663
|
+
property :reschedule_type, as: 'rescheduleType'
|
664
|
+
property :schedule_time, as: 'scheduleTime'
|
665
|
+
end
|
666
|
+
end
|
667
|
+
|
598
668
|
class Schedule
|
599
669
|
# @private
|
600
670
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -652,6 +722,16 @@ module Google
|
|
652
722
|
end
|
653
723
|
end
|
654
724
|
|
725
|
+
class WeeklyMaintenanceWindow
|
726
|
+
# @private
|
727
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
728
|
+
property :day, as: 'day'
|
729
|
+
property :duration, as: 'duration'
|
730
|
+
property :start_time, as: 'startTime', class: Google::Apis::MemcacheV1beta2::TimeOfDay, decorator: Google::Apis::MemcacheV1beta2::TimeOfDay::Representation
|
731
|
+
|
732
|
+
end
|
733
|
+
end
|
734
|
+
|
655
735
|
class ZoneMetadata
|
656
736
|
# @private
|
657
737
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -85,8 +85,8 @@ module Google
|
|
85
85
|
# The resource that owns the locations collection, if applicable.
|
86
86
|
# @param [String] filter
|
87
87
|
# A filter to narrow down results to a preferred subset. The filtering language
|
88
|
-
# accepts strings like "displayName=tokyo"
|
89
|
-
# AIP-160](https://google.aip.dev/160).
|
88
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
89
|
+
# in [AIP-160](https://google.aip.dev/160).
|
90
90
|
# @param [Fixnum] page_size
|
91
91
|
# The maximum number of results to return. If not set, the service selects a
|
92
92
|
# default.
|
@@ -389,6 +389,41 @@ module Google
|
|
389
389
|
execute_or_queue_command(command, &block)
|
390
390
|
end
|
391
391
|
|
392
|
+
# Performs the apply phase of the RescheduleMaintenance verb.
|
393
|
+
# @param [String] instance
|
394
|
+
# Required. Memcache instance resource name using the form: `projects/`
|
395
|
+
# project_id`/locations/`location_id`/instances/`instance_id`` where `
|
396
|
+
# location_id` refers to a GCP region.
|
397
|
+
# @param [Google::Apis::MemcacheV1beta2::RescheduleMaintenanceRequest] reschedule_maintenance_request_object
|
398
|
+
# @param [String] fields
|
399
|
+
# Selector specifying which fields to include in a partial response.
|
400
|
+
# @param [String] quota_user
|
401
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
402
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
403
|
+
# @param [Google::Apis::RequestOptions] options
|
404
|
+
# Request-specific options
|
405
|
+
#
|
406
|
+
# @yield [result, err] Result & error if block supplied
|
407
|
+
# @yieldparam result [Google::Apis::MemcacheV1beta2::Operation] parsed result object
|
408
|
+
# @yieldparam err [StandardError] error object if request failed
|
409
|
+
#
|
410
|
+
# @return [Google::Apis::MemcacheV1beta2::Operation]
|
411
|
+
#
|
412
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
413
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
414
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
415
|
+
def reschedule_instance_maintenance(instance, reschedule_maintenance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
416
|
+
command = make_simple_command(:post, 'v1beta2/{+instance}:rescheduleMaintenance', options)
|
417
|
+
command.request_representation = Google::Apis::MemcacheV1beta2::RescheduleMaintenanceRequest::Representation
|
418
|
+
command.request_object = reschedule_maintenance_request_object
|
419
|
+
command.response_representation = Google::Apis::MemcacheV1beta2::Operation::Representation
|
420
|
+
command.response_class = Google::Apis::MemcacheV1beta2::Operation
|
421
|
+
command.params['instance'] = instance unless instance.nil?
|
422
|
+
command.query['fields'] = fields unless fields.nil?
|
423
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
424
|
+
execute_or_queue_command(command, &block)
|
425
|
+
end
|
426
|
+
|
392
427
|
# Updates the defined Memcached parameters for an existing instance. This method
|
393
428
|
# only stages the parameters, it must be followed by `ApplyParameters` to apply
|
394
429
|
# the parameters to nodes of the Memcached instance.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-memcache_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.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: 2022-02
|
11
|
+
date: 2022-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-memcache_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1beta2/v0.20.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-memcache_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|