google-apis-memcache_v1beta2 0.17.0 → 0.18.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: 119bdd49f430f95c0f92443005ddf78b8cd1026245514667b13c9c462f06e5b9
4
- data.tar.gz: 9b0ba167fd248643abf7842edd3fc0267bae6716e62edb61cc29d4f0ce76e1a6
3
+ metadata.gz: d165915f6ecd52bd6dc36b635ce3d9a7442dbbcf48b83188682eab8fea225c60
4
+ data.tar.gz: 54a704e037f140fca5e2661417a60bd123291da4b3716a6f7534580cce0b304c
5
5
  SHA512:
6
- metadata.gz: 88afc35dd281bfa02b0bf0f1815689d398c23a82bd2b059c8f39baea0bf668044571089a2aacd073df7c1d12f4f5a4fabd9e866fa12a79a9684bb4f118f90223
7
- data.tar.gz: a996ac3012f2d8034371cc0f460ca24de32ed70b2b8cc8c571e146751ca97605ffc12c0cbdd20846776abbde267d4d689727cec9e2b2999dffd81c9231dcb1c6
6
+ metadata.gz: 333018ec222ecefc18873355ba91f3ce2c96cce79cf213b66187a22d5ef67120498694c336ec6953c5944a339d7d3b5194dc5c6ce9657bcce284071a0a307882
7
+ data.tar.gz: b98856f55d106144eebc529b38611a9eb5b755fc766690cfa6130eab9d3545eb39d2556a72b5f028184a6beb394db3542dd9b95efb6dc0846f10dc53b7b50e8f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-memcache_v1beta2
2
2
 
3
+ ### v0.18.0 (2022-03-23)
4
+
5
+ * Regenerated from discovery document revision 20220317
6
+
3
7
  ### v0.17.0 (2022-02-19)
4
8
 
5
9
  * 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 (e.g., an anniversary) * A year on its own, with a
127
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
128
- # card expiration date) Related types: * google.type.TimeOfDay * 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 (e.g., an anniversary) * A year on its own, with a
173
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
174
- # card expiration date) Related types: * google.type.TimeOfDay * 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 (e.g., an anniversary) * A year on its own, with a
185
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
186
- # card expiration date) Related types: * google.type.TimeOfDay * 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
@@ -246,6 +246,46 @@ module Google
246
246
  end
247
247
  end
248
248
 
249
+ # Maintenance policy per instance.
250
+ class GoogleCloudMemcacheV1beta2MaintenancePolicy
251
+ include Google::Apis::Core::Hashable
252
+
253
+ # Output only. The time when the policy was created.
254
+ # Corresponds to the JSON property `createTime`
255
+ # @return [String]
256
+ attr_accessor :create_time
257
+
258
+ # Description of what this policy is for. Create/Update methods return
259
+ # INVALID_ARGUMENT if the length is greater than 512.
260
+ # Corresponds to the JSON property `description`
261
+ # @return [String]
262
+ attr_accessor :description
263
+
264
+ # Output only. The time when the policy was updated.
265
+ # Corresponds to the JSON property `updateTime`
266
+ # @return [String]
267
+ attr_accessor :update_time
268
+
269
+ # Required. Maintenance window that is applied to resources covered by this
270
+ # policy. Minimum 1. For the current version, the maximum number of
271
+ # weekly_maintenance_windows is expected to be one.
272
+ # Corresponds to the JSON property `weeklyMaintenanceWindow`
273
+ # @return [Array<Google::Apis::MemcacheV1beta2::WeeklyMaintenanceWindow>]
274
+ attr_accessor :weekly_maintenance_window
275
+
276
+ def initialize(**args)
277
+ update!(**args)
278
+ end
279
+
280
+ # Update properties of this object
281
+ def update!(**args)
282
+ @create_time = args[:create_time] if args.key?(:create_time)
283
+ @description = args[:description] if args.key?(:description)
284
+ @update_time = args[:update_time] if args.key?(:update_time)
285
+ @weekly_maintenance_window = args[:weekly_maintenance_window] if args.key?(:weekly_maintenance_window)
286
+ end
287
+ end
288
+
249
289
  # Represents the metadata of a long-running operation.
250
290
  class GoogleCloudMemcacheV1beta2OperationMetadata
251
291
  include Google::Apis::Core::Hashable
@@ -752,6 +792,16 @@ module Google
752
792
  # @return [Hash<String,String>]
753
793
  attr_accessor :labels
754
794
 
795
+ # Maintenance policy per instance.
796
+ # Corresponds to the JSON property `maintenancePolicy`
797
+ # @return [Google::Apis::MemcacheV1beta2::GoogleCloudMemcacheV1beta2MaintenancePolicy]
798
+ attr_accessor :maintenance_policy
799
+
800
+ # Upcoming maintenance schedule.
801
+ # Corresponds to the JSON property `maintenanceSchedule`
802
+ # @return [Google::Apis::MemcacheV1beta2::MaintenanceSchedule]
803
+ attr_accessor :maintenance_schedule
804
+
755
805
  # Output only. The full version of memcached server running on this instance.
756
806
  # System automatically determines the full memcached version for an instance
757
807
  # based on the input MemcacheVersion. The full version format will be "memcached-
@@ -833,6 +883,8 @@ module Google
833
883
  @display_name = args[:display_name] if args.key?(:display_name)
834
884
  @instance_messages = args[:instance_messages] if args.key?(:instance_messages)
835
885
  @labels = args[:labels] if args.key?(:labels)
886
+ @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
887
+ @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
836
888
  @memcache_full_version = args[:memcache_full_version] if args.key?(:memcache_full_version)
837
889
  @memcache_nodes = args[:memcache_nodes] if args.key?(:memcache_nodes)
838
890
  @memcache_version = args[:memcache_version] if args.key?(:memcache_version)
@@ -1087,6 +1139,40 @@ module Google
1087
1139
  end
1088
1140
  end
1089
1141
 
1142
+ # Upcoming maintenance schedule.
1143
+ class MaintenanceSchedule
1144
+ include Google::Apis::Core::Hashable
1145
+
1146
+ # Output only. The end time of any upcoming scheduled maintenance for this
1147
+ # instance.
1148
+ # Corresponds to the JSON property `endTime`
1149
+ # @return [String]
1150
+ attr_accessor :end_time
1151
+
1152
+ # Output only. The deadline that the maintenance schedule start time can not go
1153
+ # beyond, including reschedule.
1154
+ # Corresponds to the JSON property `scheduleDeadlineTime`
1155
+ # @return [String]
1156
+ attr_accessor :schedule_deadline_time
1157
+
1158
+ # Output only. The start time of any upcoming scheduled maintenance for this
1159
+ # instance.
1160
+ # Corresponds to the JSON property `startTime`
1161
+ # @return [String]
1162
+ attr_accessor :start_time
1163
+
1164
+ def initialize(**args)
1165
+ update!(**args)
1166
+ end
1167
+
1168
+ # Update properties of this object
1169
+ def update!(**args)
1170
+ @end_time = args[:end_time] if args.key?(:end_time)
1171
+ @schedule_deadline_time = args[:schedule_deadline_time] if args.key?(:schedule_deadline_time)
1172
+ @start_time = args[:start_time] if args.key?(:start_time)
1173
+ end
1174
+ end
1175
+
1090
1176
  # MaintenanceWindow definition.
1091
1177
  class MaintenanceWindow
1092
1178
  include Google::Apis::Core::Hashable
@@ -1535,6 +1621,39 @@ module Google
1535
1621
  end
1536
1622
  end
1537
1623
 
1624
+ # Time window specified for weekly operations.
1625
+ class WeeklyMaintenanceWindow
1626
+ include Google::Apis::Core::Hashable
1627
+
1628
+ # Required. Allows to define schedule that runs specified day of the week.
1629
+ # Corresponds to the JSON property `day`
1630
+ # @return [String]
1631
+ attr_accessor :day
1632
+
1633
+ # Required. Duration of the time window.
1634
+ # Corresponds to the JSON property `duration`
1635
+ # @return [String]
1636
+ attr_accessor :duration
1637
+
1638
+ # Represents a time of day. The date and time zone are either not significant or
1639
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1640
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1641
+ # Corresponds to the JSON property `startTime`
1642
+ # @return [Google::Apis::MemcacheV1beta2::TimeOfDay]
1643
+ attr_accessor :start_time
1644
+
1645
+ def initialize(**args)
1646
+ update!(**args)
1647
+ end
1648
+
1649
+ # Update properties of this object
1650
+ def update!(**args)
1651
+ @day = args[:day] if args.key?(:day)
1652
+ @duration = args[:duration] if args.key?(:duration)
1653
+ @start_time = args[:start_time] if args.key?(:start_time)
1654
+ end
1655
+ end
1656
+
1538
1657
  #
1539
1658
  class ZoneMetadata
1540
1659
  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.17.0"
19
+ GEM_VERSION = "0.18.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 = "20220208"
25
+ REVISION = "20220317"
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
 
@@ -178,6 +184,12 @@ module Google
178
184
  include Google::Apis::Core::JsonObjectSupport
179
185
  end
180
186
 
187
+ class MaintenanceSchedule
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
181
193
  class MaintenanceWindow
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
@@ -250,6 +262,12 @@ module Google
250
262
  include Google::Apis::Core::JsonObjectSupport
251
263
  end
252
264
 
265
+ class WeeklyMaintenanceWindow
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
253
271
  class ZoneMetadata
254
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
273
 
@@ -322,6 +340,17 @@ module Google
322
340
  end
323
341
  end
324
342
 
343
+ class GoogleCloudMemcacheV1beta2MaintenancePolicy
344
+ # @private
345
+ class Representation < Google::Apis::Core::JsonRepresentation
346
+ property :create_time, as: 'createTime'
347
+ property :description, as: 'description'
348
+ property :update_time, as: 'updateTime'
349
+ collection :weekly_maintenance_window, as: 'weeklyMaintenanceWindow', class: Google::Apis::MemcacheV1beta2::WeeklyMaintenanceWindow, decorator: Google::Apis::MemcacheV1beta2::WeeklyMaintenanceWindow::Representation
350
+
351
+ end
352
+ end
353
+
325
354
  class GoogleCloudMemcacheV1beta2OperationMetadata
326
355
  # @private
327
356
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -444,6 +473,10 @@ module Google
444
473
  collection :instance_messages, as: 'instanceMessages', class: Google::Apis::MemcacheV1beta2::InstanceMessage, decorator: Google::Apis::MemcacheV1beta2::InstanceMessage::Representation
445
474
 
446
475
  hash :labels, as: 'labels'
476
+ property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::MemcacheV1beta2::GoogleCloudMemcacheV1beta2MaintenancePolicy, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudMemcacheV1beta2MaintenancePolicy::Representation
477
+
478
+ property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::MemcacheV1beta2::MaintenanceSchedule, decorator: Google::Apis::MemcacheV1beta2::MaintenanceSchedule::Representation
479
+
447
480
  property :memcache_full_version, as: 'memcacheFullVersion'
448
481
  collection :memcache_nodes, as: 'memcacheNodes', class: Google::Apis::MemcacheV1beta2::Node, decorator: Google::Apis::MemcacheV1beta2::Node::Representation
449
482
 
@@ -530,6 +563,15 @@ module Google
530
563
  end
531
564
  end
532
565
 
566
+ class MaintenanceSchedule
567
+ # @private
568
+ class Representation < Google::Apis::Core::JsonRepresentation
569
+ property :end_time, as: 'endTime'
570
+ property :schedule_deadline_time, as: 'scheduleDeadlineTime'
571
+ property :start_time, as: 'startTime'
572
+ end
573
+ end
574
+
533
575
  class MaintenanceWindow
534
576
  # @private
535
577
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -652,6 +694,16 @@ module Google
652
694
  end
653
695
  end
654
696
 
697
+ class WeeklyMaintenanceWindow
698
+ # @private
699
+ class Representation < Google::Apis::Core::JsonRepresentation
700
+ property :day, as: 'day'
701
+ property :duration, as: 'duration'
702
+ property :start_time, as: 'startTime', class: Google::Apis::MemcacheV1beta2::TimeOfDay, decorator: Google::Apis::MemcacheV1beta2::TimeOfDay::Representation
703
+
704
+ end
705
+ end
706
+
655
707
  class ZoneMetadata
656
708
  # @private
657
709
  class Representation < Google::Apis::Core::JsonRepresentation
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.17.0
4
+ version: 0.18.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-21 00:00:00.000000000 Z
11
+ date: 2022-03-28 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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1beta2/v0.18.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: []