google-apis-memcache_v1beta2 0.15.0 → 0.18.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: b67a014b5d2aa93b53f68544730067d5015e2a9a2b4cd9b949455e444ed1c65d
4
- data.tar.gz: 1741e75643d40ed2c0bdce5db4c131aececaaeafb5c3e4227fd10151140b8ccd
3
+ metadata.gz: d165915f6ecd52bd6dc36b635ce3d9a7442dbbcf48b83188682eab8fea225c60
4
+ data.tar.gz: 54a704e037f140fca5e2661417a60bd123291da4b3716a6f7534580cce0b304c
5
5
  SHA512:
6
- metadata.gz: 937a65d3ddc7d4ebf389de38b805568c22f472fcc25bd95ca433a476e7d5a3a4c35638c01899316b3abf4255282108ac8941e632610894fb25187092582a2c97
7
- data.tar.gz: a0a07ede6524f10d8c022d6c13699a6a65c9f8fdfd1ac30001dbe33ffc014f1b7db726ab851c21c6a36e24c88fa75ac4a83f130984b99b1767ddb86f174c1bc8
6
+ metadata.gz: 333018ec222ecefc18873355ba91f3ce2c96cce79cf213b66187a22d5ef67120498694c336ec6953c5944a339d7d3b5194dc5c6ce9657bcce284071a0a307882
7
+ data.tar.gz: b98856f55d106144eebc529b38611a9eb5b755fc766690cfa6130eab9d3545eb39d2556a72b5f028184a6beb394db3542dd9b95efb6dc0846f10dc53b7b50e8f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
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
+
7
+ ### v0.17.0 (2022-02-19)
8
+
9
+ * Regenerated from discovery document revision 20220208
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.16.0 (2021-12-14)
13
+
14
+ * Unspecified changes
15
+
3
16
  ### v0.15.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_v1beta2"
51
51
  client = Google::Apis::MemcacheV1beta2::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.
@@ -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 value, with a zero year, such as an anniversary * A year on its own,
127
- # with zero month and day values * A year and month value, with a zero day, such
128
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
129
- # 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 value, with a zero year, such as an anniversary * A year on its own,
173
- # with zero month and day values * A year and month value, with a zero day, such
174
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
175
- # 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 value, with a zero year, such as an anniversary * A year on its own,
185
- # with zero month and day values * A year and month value, with a zero day, such
186
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
187
- # 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
@@ -335,6 +375,15 @@ module Google
335
375
  # @return [String]
336
376
  attr_accessor :create_time
337
377
 
378
+ # Optional. The instance_type of this instance of format: projects/`project_id`/
379
+ # locations/`location_id`/instanceTypes/`instance_type_id`. Instance Type
380
+ # represents a high-level tier or SKU of the service that this instance belong
381
+ # to. When enabled(eg: Maintenance Rollout), Rollout uses 'instance_type' along
382
+ # with 'software_versions' to determine whether instance needs an update or not.
383
+ # Corresponds to the JSON property `instanceType`
384
+ # @return [String]
385
+ attr_accessor :instance_type
386
+
338
387
  # Optional. Resource labels to represent user provided metadata. Each label is a
339
388
  # key-value pair, where both the key and the value are arbitrary strings
340
389
  # provided by the user.
@@ -370,6 +419,13 @@ module Google
370
419
  # @return [String]
371
420
  attr_accessor :name
372
421
 
422
+ # Optional. notification_parameters are information that service producers may
423
+ # like to include that is not relevant to Rollout. This parameter will only be
424
+ # passed to Gamma and Cloud Logging for notification/logging purpose.
425
+ # Corresponds to the JSON property `notificationParameters`
426
+ # @return [Hash<String,String>]
427
+ attr_accessor :notification_parameters
428
+
373
429
  # Output only. Custom string attributes used primarily to expose producer-
374
430
  # specific information in monitoring dashboards. See go/get-instance-metadata.
375
431
  # Corresponds to the JSON property `producerMetadata`
@@ -427,11 +483,13 @@ module Google
427
483
  def update!(**args)
428
484
  @consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
429
485
  @create_time = args[:create_time] if args.key?(:create_time)
486
+ @instance_type = args[:instance_type] if args.key?(:instance_type)
430
487
  @labels = args[:labels] if args.key?(:labels)
431
488
  @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
432
489
  @maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
433
490
  @maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
434
491
  @name = args[:name] if args.key?(:name)
492
+ @notification_parameters = args[:notification_parameters] if args.key?(:notification_parameters)
435
493
  @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
436
494
  @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
437
495
  @slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
@@ -734,6 +792,16 @@ module Google
734
792
  # @return [Hash<String,String>]
735
793
  attr_accessor :labels
736
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
+
737
805
  # Output only. The full version of memcached server running on this instance.
738
806
  # System automatically determines the full memcached version for an instance
739
807
  # based on the input MemcacheVersion. The full version format will be "memcached-
@@ -815,6 +883,8 @@ module Google
815
883
  @display_name = args[:display_name] if args.key?(:display_name)
816
884
  @instance_messages = args[:instance_messages] if args.key?(:instance_messages)
817
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)
818
888
  @memcache_full_version = args[:memcache_full_version] if args.key?(:memcache_full_version)
819
889
  @memcache_nodes = args[:memcache_nodes] if args.key?(:memcache_nodes)
820
890
  @memcache_version = args[:memcache_version] if args.key?(:memcache_version)
@@ -1069,6 +1139,40 @@ module Google
1069
1139
  end
1070
1140
  end
1071
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
+
1072
1176
  # MaintenanceWindow definition.
1073
1177
  class MaintenanceWindow
1074
1178
  include Google::Apis::Core::Hashable
@@ -1517,6 +1621,39 @@ module Google
1517
1621
  end
1518
1622
  end
1519
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
+
1520
1657
  #
1521
1658
  class ZoneMetadata
1522
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.15.0"
19
+ GEM_VERSION = "0.18.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
@@ -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
@@ -346,6 +375,7 @@ module Google
346
375
  class Representation < Google::Apis::Core::JsonRepresentation
347
376
  property :consumer_defined_name, as: 'consumerDefinedName'
348
377
  property :create_time, as: 'createTime'
378
+ property :instance_type, as: 'instanceType'
349
379
  hash :labels, as: 'labels'
350
380
  hash :maintenance_policy_names, as: 'maintenancePolicyNames'
351
381
  hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
@@ -353,6 +383,7 @@ module Google
353
383
  property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
354
384
 
355
385
  property :name, as: 'name'
386
+ hash :notification_parameters, as: 'notificationParameters'
356
387
  hash :producer_metadata, as: 'producerMetadata'
357
388
  collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
358
389
 
@@ -442,6 +473,10 @@ module Google
442
473
  collection :instance_messages, as: 'instanceMessages', class: Google::Apis::MemcacheV1beta2::InstanceMessage, decorator: Google::Apis::MemcacheV1beta2::InstanceMessage::Representation
443
474
 
444
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
+
445
480
  property :memcache_full_version, as: 'memcacheFullVersion'
446
481
  collection :memcache_nodes, as: 'memcacheNodes', class: Google::Apis::MemcacheV1beta2::Node, decorator: Google::Apis::MemcacheV1beta2::Node::Representation
447
482
 
@@ -528,6 +563,15 @@ module Google
528
563
  end
529
564
  end
530
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
+
531
575
  class MaintenanceWindow
532
576
  # @private
533
577
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -650,6 +694,16 @@ module Google
650
694
  end
651
695
  end
652
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
+
653
707
  class ZoneMetadata
654
708
  # @private
655
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.15.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: 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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1beta2/v0.15.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: []
@@ -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 V1beta2