google-apis-redis_v1 0.53.0 → 0.55.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: 21dbd3a15bf9b70a063567700e7bd09a55b23727b563dfc9a57976c6e90a34d6
4
- data.tar.gz: 9d49876b95b2c5556967da97ddb522eec1c9f058ce7578c7eaec467109ae9eea
3
+ metadata.gz: 7ef743d479b32aa418f7be3b744b060335c25a3d05eb2dfc1a6341d4f96ae5b7
4
+ data.tar.gz: 58db9938ac8089b577be712db07225855c71f95bfd5f2478be85552529942df5
5
5
  SHA512:
6
- metadata.gz: e80c71f543ff2ec5925fc07782dc49425abb9e5a2f8ebeb58ebf2815d912640b8056272c1c5f3e24d7b0afd04ef38a04fb3fec0b2c305aab10996d2c38fe1d3e
7
- data.tar.gz: a41b3bd93ed99eee224cf98cff96ab63d865b72e50a957a8b8271cabd280cc791feb35082513487e6273742d632b2101a3c3a94bc0a4ca86087b7d7db0e1e4f2
6
+ metadata.gz: b61d33abe40b1de99189ec27949311b415eebd7449180e10289cbbae86ed8b46df891b5bc48cf6154e4b291124df1c860e93b901e735ce46348a0dac8aa0d66a
7
+ data.tar.gz: 2834b65a9ea8c975f668a3b5e671306d69a76e0751be54796f0c5b797ca3fb1618bdcfa6cbd817ba84653503429a23fc096d269d708184b8d548dc8dd2d8c964
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-redis_v1
2
2
 
3
+ ### v0.55.0 (2024-06-09)
4
+
5
+ * Regenerated from discovery document revision 20240531
6
+
7
+ ### v0.54.0 (2024-06-02)
8
+
9
+ * Regenerated from discovery document revision 20240528
10
+
3
11
  ### v0.53.0 (2024-05-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20240509
@@ -309,6 +309,11 @@ module Google
309
309
  # @return [String]
310
310
  attr_accessor :uid
311
311
 
312
+ # Zone distribution config for allocation of cluster resources.
313
+ # Corresponds to the JSON property `zoneDistributionConfig`
314
+ # @return [Google::Apis::RedisV1::ZoneDistributionConfig]
315
+ attr_accessor :zone_distribution_config
316
+
312
317
  def initialize(**args)
313
318
  update!(**args)
314
319
  end
@@ -333,6 +338,7 @@ module Google
333
338
  @state_info = args[:state_info] if args.key?(:state_info)
334
339
  @transit_encryption_mode = args[:transit_encryption_mode] if args.key?(:transit_encryption_mode)
335
340
  @uid = args[:uid] if args.key?(:uid)
341
+ @zone_distribution_config = args[:zone_distribution_config] if args.key?(:zone_distribution_config)
336
342
  end
337
343
  end
338
344
 
@@ -474,6 +480,11 @@ module Google
474
480
  # @return [String]
475
481
  attr_accessor :feed_type
476
482
 
483
+ # More feed data would be added in subsequent CLs
484
+ # Corresponds to the JSON property `observabilityMetricData`
485
+ # @return [Google::Apis::RedisV1::ObservabilityMetricData]
486
+ attr_accessor :observability_metric_data
487
+
477
488
  # Common model for database resource recommendation signal data.
478
489
  # Corresponds to the JSON property `recommendationSignalData`
479
490
  # @return [Google::Apis::RedisV1::DatabaseResourceRecommendationSignalData]
@@ -502,6 +513,7 @@ module Google
502
513
  def update!(**args)
503
514
  @feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
504
515
  @feed_type = args[:feed_type] if args.key?(:feed_type)
516
+ @observability_metric_data = args[:observability_metric_data] if args.key?(:observability_metric_data)
505
517
  @recommendation_signal_data = args[:recommendation_signal_data] if args.key?(:recommendation_signal_data)
506
518
  @resource_health_signal_data = args[:resource_health_signal_data] if args.key?(:resource_health_signal_data)
507
519
  @resource_id = args[:resource_id] if args.key?(:resource_id)
@@ -719,6 +731,12 @@ module Google
719
731
  # @return [String]
720
732
  attr_accessor :location
721
733
 
734
+ # MachineConfiguration describes the configuration of a machine specific to
735
+ # Database Resource.
736
+ # Corresponds to the JSON property `machineConfiguration`
737
+ # @return [Google::Apis::RedisV1::MachineConfiguration]
738
+ attr_accessor :machine_configuration
739
+
722
740
  # DatabaseResourceId will serve as primary key for any resource ingestion event.
723
741
  # Corresponds to the JSON property `primaryResourceId`
724
742
  # @return [Google::Apis::RedisV1::DatabaseResourceId]
@@ -757,12 +775,6 @@ module Google
757
775
  # @return [Google::Apis::RedisV1::UserLabels]
758
776
  attr_accessor :user_label_set
759
777
 
760
- # User-provided labels, represented as a dictionary where each label is a single
761
- # key value pair.
762
- # Corresponds to the JSON property `userLabels`
763
- # @return [Hash<String,String>]
764
- attr_accessor :user_labels
765
-
766
778
  def initialize(**args)
767
779
  update!(**args)
768
780
  end
@@ -780,13 +792,13 @@ module Google
780
792
  @id = args[:id] if args.key?(:id)
781
793
  @instance_type = args[:instance_type] if args.key?(:instance_type)
782
794
  @location = args[:location] if args.key?(:location)
795
+ @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
783
796
  @primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
784
797
  @product = args[:product] if args.key?(:product)
785
798
  @resource_container = args[:resource_container] if args.key?(:resource_container)
786
799
  @resource_name = args[:resource_name] if args.key?(:resource_name)
787
800
  @updation_time = args[:updation_time] if args.key?(:updation_time)
788
801
  @user_label_set = args[:user_label_set] if args.key?(:user_label_set)
789
- @user_labels = args[:user_labels] if args.key?(:user_labels)
790
802
  end
791
803
  end
792
804
 
@@ -1638,6 +1650,34 @@ module Google
1638
1650
  end
1639
1651
  end
1640
1652
 
1653
+ # MachineConfiguration describes the configuration of a machine specific to
1654
+ # Database Resource.
1655
+ class MachineConfiguration
1656
+ include Google::Apis::Core::Hashable
1657
+
1658
+ # The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again
1659
+ # after bug fix.
1660
+ # Corresponds to the JSON property `cpuCount`
1661
+ # @return [Fixnum]
1662
+ attr_accessor :cpu_count
1663
+
1664
+ # Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations
1665
+ # again after bug fix.
1666
+ # Corresponds to the JSON property `memorySizeInBytes`
1667
+ # @return [Fixnum]
1668
+ attr_accessor :memory_size_in_bytes
1669
+
1670
+ def initialize(**args)
1671
+ update!(**args)
1672
+ end
1673
+
1674
+ # Update properties of this object
1675
+ def update!(**args)
1676
+ @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
1677
+ @memory_size_in_bytes = args[:memory_size_in_bytes] if args.key?(:memory_size_in_bytes)
1678
+ end
1679
+ end
1680
+
1641
1681
  # Maintenance policy for an instance.
1642
1682
  class MaintenancePolicy
1643
1683
  include Google::Apis::Core::Hashable
@@ -1764,6 +1804,51 @@ module Google
1764
1804
  end
1765
1805
  end
1766
1806
 
1807
+ #
1808
+ class ObservabilityMetricData
1809
+ include Google::Apis::Core::Hashable
1810
+
1811
+ # Required. Type of aggregation performed on the metric.
1812
+ # Corresponds to the JSON property `aggregationType`
1813
+ # @return [String]
1814
+ attr_accessor :aggregation_type
1815
+
1816
+ # Required. Type of metric like CPU, Memory, etc.
1817
+ # Corresponds to the JSON property `metricType`
1818
+ # @return [String]
1819
+ attr_accessor :metric_type
1820
+
1821
+ # Required. The time the metric value was observed.
1822
+ # Corresponds to the JSON property `observationTime`
1823
+ # @return [String]
1824
+ attr_accessor :observation_time
1825
+
1826
+ # Required. Database resource name associated with the signal. Resource name to
1827
+ # follow CAIS resource_name format as noted here go/condor-common-datamodel
1828
+ # Corresponds to the JSON property `resourceName`
1829
+ # @return [String]
1830
+ attr_accessor :resource_name
1831
+
1832
+ # TypedValue represents the value of a metric type. It can either be a double,
1833
+ # an int64, a string or a bool.
1834
+ # Corresponds to the JSON property `value`
1835
+ # @return [Google::Apis::RedisV1::TypedValue]
1836
+ attr_accessor :value
1837
+
1838
+ def initialize(**args)
1839
+ update!(**args)
1840
+ end
1841
+
1842
+ # Update properties of this object
1843
+ def update!(**args)
1844
+ @aggregation_type = args[:aggregation_type] if args.key?(:aggregation_type)
1845
+ @metric_type = args[:metric_type] if args.key?(:metric_type)
1846
+ @observation_time = args[:observation_time] if args.key?(:observation_time)
1847
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
1848
+ @value = args[:value] if args.key?(:value)
1849
+ end
1850
+ end
1851
+
1767
1852
  # This resource represents a long-running operation that is the result of a
1768
1853
  # network API call.
1769
1854
  class Operation
@@ -2340,6 +2425,45 @@ module Google
2340
2425
  end
2341
2426
  end
2342
2427
 
2428
+ # TypedValue represents the value of a metric type. It can either be a double,
2429
+ # an int64, a string or a bool.
2430
+ class TypedValue
2431
+ include Google::Apis::Core::Hashable
2432
+
2433
+ # For boolean value
2434
+ # Corresponds to the JSON property `boolValue`
2435
+ # @return [Boolean]
2436
+ attr_accessor :bool_value
2437
+ alias_method :bool_value?, :bool_value
2438
+
2439
+ # For double value
2440
+ # Corresponds to the JSON property `doubleValue`
2441
+ # @return [Float]
2442
+ attr_accessor :double_value
2443
+
2444
+ # For integer value
2445
+ # Corresponds to the JSON property `int64Value`
2446
+ # @return [Fixnum]
2447
+ attr_accessor :int64_value
2448
+
2449
+ # For string value
2450
+ # Corresponds to the JSON property `stringValue`
2451
+ # @return [String]
2452
+ attr_accessor :string_value
2453
+
2454
+ def initialize(**args)
2455
+ update!(**args)
2456
+ end
2457
+
2458
+ # Update properties of this object
2459
+ def update!(**args)
2460
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
2461
+ @double_value = args[:double_value] if args.key?(:double_value)
2462
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
2463
+ @string_value = args[:string_value] if args.key?(:string_value)
2464
+ end
2465
+ end
2466
+
2343
2467
  # Represents information about an updating cluster.
2344
2468
  class UpdateInfo
2345
2469
  include Google::Apis::Core::Hashable
@@ -2439,6 +2563,34 @@ module Google
2439
2563
  @start_time = args[:start_time] if args.key?(:start_time)
2440
2564
  end
2441
2565
  end
2566
+
2567
+ # Zone distribution config for allocation of cluster resources.
2568
+ class ZoneDistributionConfig
2569
+ include Google::Apis::Core::Hashable
2570
+
2571
+ # Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not
2572
+ # specified.
2573
+ # Corresponds to the JSON property `mode`
2574
+ # @return [String]
2575
+ attr_accessor :mode
2576
+
2577
+ # Optional. When SINGLE ZONE distribution is selected, zone field would be used
2578
+ # to allocate all resources in that zone. This is not applicable to MULTI_ZONE,
2579
+ # and would be ignored for MULTI_ZONE clusters.
2580
+ # Corresponds to the JSON property `zone`
2581
+ # @return [String]
2582
+ attr_accessor :zone
2583
+
2584
+ def initialize(**args)
2585
+ update!(**args)
2586
+ end
2587
+
2588
+ # Update properties of this object
2589
+ def update!(**args)
2590
+ @mode = args[:mode] if args.key?(:mode)
2591
+ @zone = args[:zone] if args.key?(:zone)
2592
+ end
2593
+ end
2442
2594
  end
2443
2595
  end
2444
2596
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RedisV1
18
18
  # Version of the google-apis-redis_v1 gem
19
- GEM_VERSION = "0.53.0"
19
+ GEM_VERSION = "0.55.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240509"
25
+ REVISION = "20240531"
26
26
  end
27
27
  end
28
28
  end
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class MachineConfiguration
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class MaintenancePolicy
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -256,6 +262,12 @@ module Google
256
262
  include Google::Apis::Core::JsonObjectSupport
257
263
  end
258
264
 
265
+ class ObservabilityMetricData
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
259
271
  class Operation
260
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
273
 
@@ -352,6 +364,12 @@ module Google
352
364
  include Google::Apis::Core::JsonObjectSupport
353
365
  end
354
366
 
367
+ class TypedValue
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
355
373
  class UpdateInfo
356
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
375
 
@@ -376,6 +394,12 @@ module Google
376
394
  include Google::Apis::Core::JsonObjectSupport
377
395
  end
378
396
 
397
+ class ZoneDistributionConfig
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
379
403
  class AofConfig
380
404
  # @private
381
405
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -456,6 +480,8 @@ module Google
456
480
 
457
481
  property :transit_encryption_mode, as: 'transitEncryptionMode'
458
482
  property :uid, as: 'uid'
483
+ property :zone_distribution_config, as: 'zoneDistributionConfig', class: Google::Apis::RedisV1::ZoneDistributionConfig, decorator: Google::Apis::RedisV1::ZoneDistributionConfig::Representation
484
+
459
485
  end
460
486
  end
461
487
 
@@ -506,6 +532,8 @@ module Google
506
532
  class Representation < Google::Apis::Core::JsonRepresentation
507
533
  property :feed_timestamp, as: 'feedTimestamp'
508
534
  property :feed_type, as: 'feedType'
535
+ property :observability_metric_data, as: 'observabilityMetricData', class: Google::Apis::RedisV1::ObservabilityMetricData, decorator: Google::Apis::RedisV1::ObservabilityMetricData::Representation
536
+
509
537
  property :recommendation_signal_data, as: 'recommendationSignalData', class: Google::Apis::RedisV1::DatabaseResourceRecommendationSignalData, decorator: Google::Apis::RedisV1::DatabaseResourceRecommendationSignalData::Representation
510
538
 
511
539
  property :resource_health_signal_data, as: 'resourceHealthSignalData', class: Google::Apis::RedisV1::DatabaseResourceHealthSignalData, decorator: Google::Apis::RedisV1::DatabaseResourceHealthSignalData::Representation
@@ -567,6 +595,8 @@ module Google
567
595
 
568
596
  property :instance_type, as: 'instanceType'
569
597
  property :location, as: 'location'
598
+ property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::RedisV1::MachineConfiguration, decorator: Google::Apis::RedisV1::MachineConfiguration::Representation
599
+
570
600
  property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::RedisV1::DatabaseResourceId, decorator: Google::Apis::RedisV1::DatabaseResourceId::Representation
571
601
 
572
602
  property :product, as: 'product', class: Google::Apis::RedisV1::Product, decorator: Google::Apis::RedisV1::Product::Representation
@@ -576,7 +606,6 @@ module Google
576
606
  property :updation_time, as: 'updationTime'
577
607
  property :user_label_set, as: 'userLabelSet', class: Google::Apis::RedisV1::UserLabels, decorator: Google::Apis::RedisV1::UserLabels::Representation
578
608
 
579
- hash :user_labels, as: 'userLabels'
580
609
  end
581
610
  end
582
611
 
@@ -794,6 +823,14 @@ module Google
794
823
  end
795
824
  end
796
825
 
826
+ class MachineConfiguration
827
+ # @private
828
+ class Representation < Google::Apis::Core::JsonRepresentation
829
+ property :cpu_count, as: 'cpuCount'
830
+ property :memory_size_in_bytes, :numeric_string => true, as: 'memorySizeInBytes'
831
+ end
832
+ end
833
+
797
834
  class MaintenancePolicy
798
835
  # @private
799
836
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -831,6 +868,18 @@ module Google
831
868
  end
832
869
  end
833
870
 
871
+ class ObservabilityMetricData
872
+ # @private
873
+ class Representation < Google::Apis::Core::JsonRepresentation
874
+ property :aggregation_type, as: 'aggregationType'
875
+ property :metric_type, as: 'metricType'
876
+ property :observation_time, as: 'observationTime'
877
+ property :resource_name, as: 'resourceName'
878
+ property :value, as: 'value', class: Google::Apis::RedisV1::TypedValue, decorator: Google::Apis::RedisV1::TypedValue::Representation
879
+
880
+ end
881
+ end
882
+
834
883
  class Operation
835
884
  # @private
836
885
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -981,6 +1030,16 @@ module Google
981
1030
  end
982
1031
  end
983
1032
 
1033
+ class TypedValue
1034
+ # @private
1035
+ class Representation < Google::Apis::Core::JsonRepresentation
1036
+ property :bool_value, as: 'boolValue'
1037
+ property :double_value, as: 'doubleValue'
1038
+ property :int64_value, :numeric_string => true, as: 'int64Value'
1039
+ property :string_value, as: 'stringValue'
1040
+ end
1041
+ end
1042
+
984
1043
  class UpdateInfo
985
1044
  # @private
986
1045
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1012,6 +1071,14 @@ module Google
1012
1071
 
1013
1072
  end
1014
1073
  end
1074
+
1075
+ class ZoneDistributionConfig
1076
+ # @private
1077
+ class Representation < Google::Apis::Core::JsonRepresentation
1078
+ property :mode, as: 'mode'
1079
+ property :zone, as: 'zone'
1080
+ end
1081
+ end
1015
1082
  end
1016
1083
  end
1017
1084
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-redis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.0
4
+ version: 0.55.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: 2024-05-19 00:00:00.000000000 Z
11
+ date: 2024-06-09 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-redis_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.53.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.55.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1
63
63
  post_install_message:
64
64
  rdoc_options: []