google-apis-memcache_v1 0.16.0 → 0.17.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: 513fce16620b353d421e13c2966958b7da9b22c729600d69568372f8647de4d2
4
- data.tar.gz: e63501cf55da24ae16220762b6048d5b222670193abde852fbe52de182c6fad1
3
+ metadata.gz: 046c80dbca9ae165c7254ff5800df79327f5154d0ba68a88f83eb1e59a84969c
4
+ data.tar.gz: a6d711033255d6dde4b4b082749ab9dba02b46104464b2c0ed8b0e10ee1badc5
5
5
  SHA512:
6
- metadata.gz: 951043dc422ec6397f428e59b9516b3af5d4b8e6c688e15afecc07a674909188874ca37dd9940e959423f0bc5e30830167bf0dffaecd98b5db1ffc25b88ab9a0
7
- data.tar.gz: d852b7452525ab5c16cb2354ed1e3f2ac6f2c7523ae5cd436e90fcf62688e6fe6b21155efae5a0d445c92c55a7043056ef8c56446ed4ee0379b062d62ebe1371
6
+ metadata.gz: 0f251fb233a891b68e4b4e46a7450b3b9e428a87759a37379d68213e3a7309d64f126431cedff1ce340ec307768594a4534e1c0c92cbff2bae1aa2ab5672a8a3
7
+ data.tar.gz: 411bc88431b46c9edab359e9baf897914e47ba43cd1ec9185661292fb48b3c31482f661ce555a3ffbfc2824faa72b3e31eea7c0e55afcb13cc7aab9c93334c00
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-memcache_v1
2
2
 
3
+ ### v0.17.0 (2022-03-23)
4
+
5
+ * Regenerated from discovery document revision 20220317
6
+
3
7
  ### v0.16.0 (2022-02-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20220208
@@ -93,11 +93,11 @@ module Google
93
93
  # Represents a whole or partial calendar date, such as a birthday. The time of
94
94
  # day and time zone are either specified elsewhere or are insignificant. The
95
95
  # date is relative to the Gregorian Calendar. This can represent one of the
96
- # following: * A full date, with non-zero year, month, and day values * A month
97
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
98
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
99
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
100
- # DateTime * google.protobuf.Timestamp
96
+ # following: * A full date, with non-zero year, month, and day values. * A month
97
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
98
+ # with a zero month and a zero day. * A year and month, with a zero day (for
99
+ # example, a credit card expiration date). Related types: * google.type.
100
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
101
101
  class Date
102
102
  include Google::Apis::Core::Hashable
103
103
 
@@ -139,11 +139,11 @@ module Google
139
139
  # Represents a whole or partial calendar date, such as a birthday. The time of
140
140
  # day and time zone are either specified elsewhere or are insignificant. The
141
141
  # date is relative to the Gregorian Calendar. This can represent one of the
142
- # following: * A full date, with non-zero year, month, and day values * A month
143
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
144
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
145
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
146
- # DateTime * google.protobuf.Timestamp
142
+ # following: * A full date, with non-zero year, month, and day values. * A month
143
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
144
+ # with a zero month and a zero day. * A year and month, with a zero day (for
145
+ # example, a credit card expiration date). Related types: * google.type.
146
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
147
147
  # Corresponds to the JSON property `endDate`
148
148
  # @return [Google::Apis::MemcacheV1::Date]
149
149
  attr_accessor :end_date
@@ -151,11 +151,11 @@ module Google
151
151
  # Represents a whole or partial calendar date, such as a birthday. The time of
152
152
  # day and time zone are either specified elsewhere or are insignificant. The
153
153
  # date is relative to the Gregorian Calendar. This can represent one of the
154
- # following: * A full date, with non-zero year, month, and day values * A month
155
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
156
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
157
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
158
- # DateTime * google.protobuf.Timestamp
154
+ # following: * A full date, with non-zero year, month, and day values. * A month
155
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
156
+ # with a zero month and a zero day. * A year and month, with a zero day (for
157
+ # example, a credit card expiration date). Related types: * google.type.
158
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
159
159
  # Corresponds to the JSON property `startDate`
160
160
  # @return [Google::Apis::MemcacheV1::Date]
161
161
  attr_accessor :start_date
@@ -217,6 +217,46 @@ module Google
217
217
  end
218
218
  end
219
219
 
220
+ # Maintenance policy per instance.
221
+ class GoogleCloudMemcacheV1MaintenancePolicy
222
+ include Google::Apis::Core::Hashable
223
+
224
+ # Output only. The time when the policy was created.
225
+ # Corresponds to the JSON property `createTime`
226
+ # @return [String]
227
+ attr_accessor :create_time
228
+
229
+ # Description of what this policy is for. Create/Update methods return
230
+ # INVALID_ARGUMENT if the length is greater than 512.
231
+ # Corresponds to the JSON property `description`
232
+ # @return [String]
233
+ attr_accessor :description
234
+
235
+ # Output only. The time when the policy was updated.
236
+ # Corresponds to the JSON property `updateTime`
237
+ # @return [String]
238
+ attr_accessor :update_time
239
+
240
+ # Required. Maintenance window that is applied to resources covered by this
241
+ # policy. Minimum 1. For the current version, the maximum number of
242
+ # weekly_maintenance_windows is expected to be one.
243
+ # Corresponds to the JSON property `weeklyMaintenanceWindow`
244
+ # @return [Array<Google::Apis::MemcacheV1::WeeklyMaintenanceWindow>]
245
+ attr_accessor :weekly_maintenance_window
246
+
247
+ def initialize(**args)
248
+ update!(**args)
249
+ end
250
+
251
+ # Update properties of this object
252
+ def update!(**args)
253
+ @create_time = args[:create_time] if args.key?(:create_time)
254
+ @description = args[:description] if args.key?(:description)
255
+ @update_time = args[:update_time] if args.key?(:update_time)
256
+ @weekly_maintenance_window = args[:weekly_maintenance_window] if args.key?(:weekly_maintenance_window)
257
+ end
258
+ end
259
+
220
260
  # Represents the metadata of a long-running operation.
221
261
  class GoogleCloudMemcacheV1OperationMetadata
222
262
  include Google::Apis::Core::Hashable
@@ -723,6 +763,16 @@ module Google
723
763
  # @return [Hash<String,String>]
724
764
  attr_accessor :labels
725
765
 
766
+ # Maintenance policy per instance.
767
+ # Corresponds to the JSON property `maintenancePolicy`
768
+ # @return [Google::Apis::MemcacheV1::GoogleCloudMemcacheV1MaintenancePolicy]
769
+ attr_accessor :maintenance_policy
770
+
771
+ # Upcoming maintenance schedule.
772
+ # Corresponds to the JSON property `maintenanceSchedule`
773
+ # @return [Google::Apis::MemcacheV1::MaintenanceSchedule]
774
+ attr_accessor :maintenance_schedule
775
+
726
776
  # Output only. The full version of memcached server running on this instance.
727
777
  # System automatically determines the full memcached version for an instance
728
778
  # based on the input MemcacheVersion. The full version format will be "memcached-
@@ -798,6 +848,8 @@ module Google
798
848
  @display_name = args[:display_name] if args.key?(:display_name)
799
849
  @instance_messages = args[:instance_messages] if args.key?(:instance_messages)
800
850
  @labels = args[:labels] if args.key?(:labels)
851
+ @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
852
+ @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
801
853
  @memcache_full_version = args[:memcache_full_version] if args.key?(:memcache_full_version)
802
854
  @memcache_nodes = args[:memcache_nodes] if args.key?(:memcache_nodes)
803
855
  @memcache_version = args[:memcache_version] if args.key?(:memcache_version)
@@ -1051,6 +1103,40 @@ module Google
1051
1103
  end
1052
1104
  end
1053
1105
 
1106
+ # Upcoming maintenance schedule.
1107
+ class MaintenanceSchedule
1108
+ include Google::Apis::Core::Hashable
1109
+
1110
+ # Output only. The end time of any upcoming scheduled maintenance for this
1111
+ # instance.
1112
+ # Corresponds to the JSON property `endTime`
1113
+ # @return [String]
1114
+ attr_accessor :end_time
1115
+
1116
+ # Output only. The deadline that the maintenance schedule start time can not go
1117
+ # beyond, including reschedule.
1118
+ # Corresponds to the JSON property `scheduleDeadlineTime`
1119
+ # @return [String]
1120
+ attr_accessor :schedule_deadline_time
1121
+
1122
+ # Output only. The start time of any upcoming scheduled maintenance for this
1123
+ # instance.
1124
+ # Corresponds to the JSON property `startTime`
1125
+ # @return [String]
1126
+ attr_accessor :start_time
1127
+
1128
+ def initialize(**args)
1129
+ update!(**args)
1130
+ end
1131
+
1132
+ # Update properties of this object
1133
+ def update!(**args)
1134
+ @end_time = args[:end_time] if args.key?(:end_time)
1135
+ @schedule_deadline_time = args[:schedule_deadline_time] if args.key?(:schedule_deadline_time)
1136
+ @start_time = args[:start_time] if args.key?(:start_time)
1137
+ end
1138
+ end
1139
+
1054
1140
  # MaintenanceWindow definition.
1055
1141
  class MaintenanceWindow
1056
1142
  include Google::Apis::Core::Hashable
@@ -1492,6 +1578,39 @@ module Google
1492
1578
  end
1493
1579
  end
1494
1580
 
1581
+ # Time window specified for weekly operations.
1582
+ class WeeklyMaintenanceWindow
1583
+ include Google::Apis::Core::Hashable
1584
+
1585
+ # Required. Allows to define schedule that runs specified day of the week.
1586
+ # Corresponds to the JSON property `day`
1587
+ # @return [String]
1588
+ attr_accessor :day
1589
+
1590
+ # Required. Duration of the time window.
1591
+ # Corresponds to the JSON property `duration`
1592
+ # @return [String]
1593
+ attr_accessor :duration
1594
+
1595
+ # Represents a time of day. The date and time zone are either not significant or
1596
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1597
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1598
+ # Corresponds to the JSON property `startTime`
1599
+ # @return [Google::Apis::MemcacheV1::TimeOfDay]
1600
+ attr_accessor :start_time
1601
+
1602
+ def initialize(**args)
1603
+ update!(**args)
1604
+ end
1605
+
1606
+ # Update properties of this object
1607
+ def update!(**args)
1608
+ @day = args[:day] if args.key?(:day)
1609
+ @duration = args[:duration] if args.key?(:duration)
1610
+ @start_time = args[:start_time] if args.key?(:start_time)
1611
+ end
1612
+ end
1613
+
1495
1614
  #
1496
1615
  class ZoneMetadata
1497
1616
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MemcacheV1
18
18
  # Version of the google-apis-memcache_v1 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.17.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
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class GoogleCloudMemcacheV1MaintenancePolicy
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class GoogleCloudMemcacheV1OperationMetadata
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -172,6 +178,12 @@ module Google
172
178
  include Google::Apis::Core::JsonObjectSupport
173
179
  end
174
180
 
181
+ class MaintenanceSchedule
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
175
187
  class MaintenanceWindow
176
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
189
 
@@ -244,6 +256,12 @@ module Google
244
256
  include Google::Apis::Core::JsonObjectSupport
245
257
  end
246
258
 
259
+ class WeeklyMaintenanceWindow
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
247
265
  class ZoneMetadata
248
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
267
 
@@ -308,6 +326,17 @@ module Google
308
326
  end
309
327
  end
310
328
 
329
+ class GoogleCloudMemcacheV1MaintenancePolicy
330
+ # @private
331
+ class Representation < Google::Apis::Core::JsonRepresentation
332
+ property :create_time, as: 'createTime'
333
+ property :description, as: 'description'
334
+ property :update_time, as: 'updateTime'
335
+ collection :weekly_maintenance_window, as: 'weeklyMaintenanceWindow', class: Google::Apis::MemcacheV1::WeeklyMaintenanceWindow, decorator: Google::Apis::MemcacheV1::WeeklyMaintenanceWindow::Representation
336
+
337
+ end
338
+ end
339
+
311
340
  class GoogleCloudMemcacheV1OperationMetadata
312
341
  # @private
313
342
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -430,6 +459,10 @@ module Google
430
459
  collection :instance_messages, as: 'instanceMessages', class: Google::Apis::MemcacheV1::InstanceMessage, decorator: Google::Apis::MemcacheV1::InstanceMessage::Representation
431
460
 
432
461
  hash :labels, as: 'labels'
462
+ property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::MemcacheV1::GoogleCloudMemcacheV1MaintenancePolicy, decorator: Google::Apis::MemcacheV1::GoogleCloudMemcacheV1MaintenancePolicy::Representation
463
+
464
+ property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::MemcacheV1::MaintenanceSchedule, decorator: Google::Apis::MemcacheV1::MaintenanceSchedule::Representation
465
+
433
466
  property :memcache_full_version, as: 'memcacheFullVersion'
434
467
  collection :memcache_nodes, as: 'memcacheNodes', class: Google::Apis::MemcacheV1::Node, decorator: Google::Apis::MemcacheV1::Node::Representation
435
468
 
@@ -515,6 +548,15 @@ module Google
515
548
  end
516
549
  end
517
550
 
551
+ class MaintenanceSchedule
552
+ # @private
553
+ class Representation < Google::Apis::Core::JsonRepresentation
554
+ property :end_time, as: 'endTime'
555
+ property :schedule_deadline_time, as: 'scheduleDeadlineTime'
556
+ property :start_time, as: 'startTime'
557
+ end
558
+ end
559
+
518
560
  class MaintenanceWindow
519
561
  # @private
520
562
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -636,6 +678,16 @@ module Google
636
678
  end
637
679
  end
638
680
 
681
+ class WeeklyMaintenanceWindow
682
+ # @private
683
+ class Representation < Google::Apis::Core::JsonRepresentation
684
+ property :day, as: 'day'
685
+ property :duration, as: 'duration'
686
+ property :start_time, as: 'startTime', class: Google::Apis::MemcacheV1::TimeOfDay, decorator: Google::Apis::MemcacheV1::TimeOfDay::Representation
687
+
688
+ end
689
+ end
690
+
639
691
  class ZoneMetadata
640
692
  # @private
641
693
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-memcache_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1/v0.17.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-memcache_v1
63
63
  post_install_message:
64
64
  rdoc_options: []