google-apis-memcache_v1 0.14.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: 69d67389b2eaa4b117de75caf009ce5bfda62b4e52edd251e3a644ad91b55d6e
4
- data.tar.gz: 716c7cdeb4bf3704619eae953831e1a6a79d8a04ac8f6d2afee5f67434023fd6
3
+ metadata.gz: 046c80dbca9ae165c7254ff5800df79327f5154d0ba68a88f83eb1e59a84969c
4
+ data.tar.gz: a6d711033255d6dde4b4b082749ab9dba02b46104464b2c0ed8b0e10ee1badc5
5
5
  SHA512:
6
- metadata.gz: 576da8e8a548b542bb703b0693a8e8b8f530d11110738c0e48a16b4dd70b51232ac473ff007b0a31d84df0cd0657ff63800f2bed98a3731e04438f5610a3ea6e
7
- data.tar.gz: 24790e20e060587aa46cc043ac2516847757e29c120588aeed0d7ebd8ec5c893f8a5177ee447eadfe23a1270e5ba9b164012cc7ba0ab179b38cb51dbc4403493
6
+ metadata.gz: 0f251fb233a891b68e4b4e46a7450b3b9e428a87759a37379d68213e3a7309d64f126431cedff1ce340ec307768594a4534e1c0c92cbff2bae1aa2ab5672a8a3
7
+ data.tar.gz: 411bc88431b46c9edab359e9baf897914e47ba43cd1ec9185661292fb48b3c31482f661ce555a3ffbfc2824faa72b3e31eea7c0e55afcb13cc7aab9c93334c00
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
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
+
7
+ ### v0.16.0 (2022-02-19)
8
+
9
+ * Regenerated from discovery document revision 20220208
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.15.0 (2021-12-14)
13
+
14
+ * Unspecified changes
15
+
3
16
  ### v0.14.0 (2021-11-06)
4
17
 
5
18
  * Regenerated from discovery document revision 20211028
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/memcache_v1"
51
51
  client = Google::Apis::MemcacheV1::CloudMemorystoreforMemcachedService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -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 value, with a zero year, such as an anniversary * A year on its own,
98
- # with zero month and day values * A year and month value, with a zero day, such
99
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
100
- # 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 value, with a zero year, such as an anniversary * A year on its own,
144
- # with zero month and day values * A year and month value, with a zero day, such
145
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
146
- # 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 value, with a zero year, such as an anniversary * A year on its own,
156
- # with zero month and day values * A year and month value, with a zero day, such
157
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
158
- # 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
@@ -306,6 +346,15 @@ module Google
306
346
  # @return [String]
307
347
  attr_accessor :create_time
308
348
 
349
+ # Optional. The instance_type of this instance of format: projects/`project_id`/
350
+ # locations/`location_id`/instanceTypes/`instance_type_id`. Instance Type
351
+ # represents a high-level tier or SKU of the service that this instance belong
352
+ # to. When enabled(eg: Maintenance Rollout), Rollout uses 'instance_type' along
353
+ # with 'software_versions' to determine whether instance needs an update or not.
354
+ # Corresponds to the JSON property `instanceType`
355
+ # @return [String]
356
+ attr_accessor :instance_type
357
+
309
358
  # Optional. Resource labels to represent user provided metadata. Each label is a
310
359
  # key-value pair, where both the key and the value are arbitrary strings
311
360
  # provided by the user.
@@ -341,6 +390,13 @@ module Google
341
390
  # @return [String]
342
391
  attr_accessor :name
343
392
 
393
+ # Optional. notification_parameters are information that service producers may
394
+ # like to include that is not relevant to Rollout. This parameter will only be
395
+ # passed to Gamma and Cloud Logging for notification/logging purpose.
396
+ # Corresponds to the JSON property `notificationParameters`
397
+ # @return [Hash<String,String>]
398
+ attr_accessor :notification_parameters
399
+
344
400
  # Output only. Custom string attributes used primarily to expose producer-
345
401
  # specific information in monitoring dashboards. See go/get-instance-metadata.
346
402
  # Corresponds to the JSON property `producerMetadata`
@@ -398,11 +454,13 @@ module Google
398
454
  def update!(**args)
399
455
  @consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
400
456
  @create_time = args[:create_time] if args.key?(:create_time)
457
+ @instance_type = args[:instance_type] if args.key?(:instance_type)
401
458
  @labels = args[:labels] if args.key?(:labels)
402
459
  @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
403
460
  @maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
404
461
  @maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
405
462
  @name = args[:name] if args.key?(:name)
463
+ @notification_parameters = args[:notification_parameters] if args.key?(:notification_parameters)
406
464
  @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
407
465
  @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
408
466
  @slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
@@ -705,6 +763,16 @@ module Google
705
763
  # @return [Hash<String,String>]
706
764
  attr_accessor :labels
707
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
+
708
776
  # Output only. The full version of memcached server running on this instance.
709
777
  # System automatically determines the full memcached version for an instance
710
778
  # based on the input MemcacheVersion. The full version format will be "memcached-
@@ -780,6 +848,8 @@ module Google
780
848
  @display_name = args[:display_name] if args.key?(:display_name)
781
849
  @instance_messages = args[:instance_messages] if args.key?(:instance_messages)
782
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)
783
853
  @memcache_full_version = args[:memcache_full_version] if args.key?(:memcache_full_version)
784
854
  @memcache_nodes = args[:memcache_nodes] if args.key?(:memcache_nodes)
785
855
  @memcache_version = args[:memcache_version] if args.key?(:memcache_version)
@@ -1033,6 +1103,40 @@ module Google
1033
1103
  end
1034
1104
  end
1035
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
+
1036
1140
  # MaintenanceWindow definition.
1037
1141
  class MaintenanceWindow
1038
1142
  include Google::Apis::Core::Hashable
@@ -1474,6 +1578,39 @@ module Google
1474
1578
  end
1475
1579
  end
1476
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
+
1477
1614
  #
1478
1615
  class ZoneMetadata
1479
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.14.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211028"
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
@@ -332,6 +361,7 @@ module Google
332
361
  class Representation < Google::Apis::Core::JsonRepresentation
333
362
  property :consumer_defined_name, as: 'consumerDefinedName'
334
363
  property :create_time, as: 'createTime'
364
+ property :instance_type, as: 'instanceType'
335
365
  hash :labels, as: 'labels'
336
366
  hash :maintenance_policy_names, as: 'maintenancePolicyNames'
337
367
  hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
@@ -339,6 +369,7 @@ module Google
339
369
  property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
340
370
 
341
371
  property :name, as: 'name'
372
+ hash :notification_parameters, as: 'notificationParameters'
342
373
  hash :producer_metadata, as: 'producerMetadata'
343
374
  collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
344
375
 
@@ -428,6 +459,10 @@ module Google
428
459
  collection :instance_messages, as: 'instanceMessages', class: Google::Apis::MemcacheV1::InstanceMessage, decorator: Google::Apis::MemcacheV1::InstanceMessage::Representation
429
460
 
430
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
+
431
466
  property :memcache_full_version, as: 'memcacheFullVersion'
432
467
  collection :memcache_nodes, as: 'memcacheNodes', class: Google::Apis::MemcacheV1::Node, decorator: Google::Apis::MemcacheV1::Node::Representation
433
468
 
@@ -513,6 +548,15 @@ module Google
513
548
  end
514
549
  end
515
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
+
516
560
  class MaintenanceWindow
517
561
  # @private
518
562
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -634,6 +678,16 @@ module Google
634
678
  end
635
679
  end
636
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
+
637
691
  class ZoneMetadata
638
692
  # @private
639
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.14.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: 2021-11-08 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.14.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Memorystore for Memcached API V1