google-apis-redis_v1 0.53.0 → 0.54.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: 21dbd3a15bf9b70a063567700e7bd09a55b23727b563dfc9a57976c6e90a34d6
4
- data.tar.gz: 9d49876b95b2c5556967da97ddb522eec1c9f058ce7578c7eaec467109ae9eea
3
+ metadata.gz: 9a0c0c34c99c8847e449012a6a53055d11cf421f6c6253050e968ff575547297
4
+ data.tar.gz: f268fbdc2e785312b32faadbe7a488309b719586fc9737d0e04e7c3d560318a3
5
5
  SHA512:
6
- metadata.gz: e80c71f543ff2ec5925fc07782dc49425abb9e5a2f8ebeb58ebf2815d912640b8056272c1c5f3e24d7b0afd04ef38a04fb3fec0b2c305aab10996d2c38fe1d3e
7
- data.tar.gz: a41b3bd93ed99eee224cf98cff96ab63d865b72e50a957a8b8271cabd280cc791feb35082513487e6273742d632b2101a3c3a94bc0a4ca86087b7d7db0e1e4f2
6
+ metadata.gz: 14d2cafee8b4f5171c102474d7abfe64cea182e57a9b9be6f03d6188b6638885f0e2eb398ad7753af3636368822adb50f5117ac216d14c99ba1bce8a17e013f2
7
+ data.tar.gz: ff78e046888daeaef4a0a4c1d5a6a10508e432560889c32081c6feb21788246f6e5126cd5f046271a4bd520d239c57020c68bd582482299564428b8382a2c34b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-redis_v1
2
2
 
3
+ ### v0.54.0 (2024-06-02)
4
+
5
+ * Regenerated from discovery document revision 20240528
6
+
3
7
  ### v0.53.0 (2024-05-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20240509
@@ -474,6 +474,11 @@ module Google
474
474
  # @return [String]
475
475
  attr_accessor :feed_type
476
476
 
477
+ # More feed data would be added in subsequent CLs
478
+ # Corresponds to the JSON property `observabilityMetricData`
479
+ # @return [Google::Apis::RedisV1::ObservabilityMetricData]
480
+ attr_accessor :observability_metric_data
481
+
477
482
  # Common model for database resource recommendation signal data.
478
483
  # Corresponds to the JSON property `recommendationSignalData`
479
484
  # @return [Google::Apis::RedisV1::DatabaseResourceRecommendationSignalData]
@@ -502,6 +507,7 @@ module Google
502
507
  def update!(**args)
503
508
  @feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
504
509
  @feed_type = args[:feed_type] if args.key?(:feed_type)
510
+ @observability_metric_data = args[:observability_metric_data] if args.key?(:observability_metric_data)
505
511
  @recommendation_signal_data = args[:recommendation_signal_data] if args.key?(:recommendation_signal_data)
506
512
  @resource_health_signal_data = args[:resource_health_signal_data] if args.key?(:resource_health_signal_data)
507
513
  @resource_id = args[:resource_id] if args.key?(:resource_id)
@@ -719,6 +725,12 @@ module Google
719
725
  # @return [String]
720
726
  attr_accessor :location
721
727
 
728
+ # MachineConfiguration describes the configuration of a machine specific to
729
+ # Database Resource.
730
+ # Corresponds to the JSON property `machineConfiguration`
731
+ # @return [Google::Apis::RedisV1::MachineConfiguration]
732
+ attr_accessor :machine_configuration
733
+
722
734
  # DatabaseResourceId will serve as primary key for any resource ingestion event.
723
735
  # Corresponds to the JSON property `primaryResourceId`
724
736
  # @return [Google::Apis::RedisV1::DatabaseResourceId]
@@ -757,12 +769,6 @@ module Google
757
769
  # @return [Google::Apis::RedisV1::UserLabels]
758
770
  attr_accessor :user_label_set
759
771
 
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
772
  def initialize(**args)
767
773
  update!(**args)
768
774
  end
@@ -780,13 +786,13 @@ module Google
780
786
  @id = args[:id] if args.key?(:id)
781
787
  @instance_type = args[:instance_type] if args.key?(:instance_type)
782
788
  @location = args[:location] if args.key?(:location)
789
+ @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
783
790
  @primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
784
791
  @product = args[:product] if args.key?(:product)
785
792
  @resource_container = args[:resource_container] if args.key?(:resource_container)
786
793
  @resource_name = args[:resource_name] if args.key?(:resource_name)
787
794
  @updation_time = args[:updation_time] if args.key?(:updation_time)
788
795
  @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
796
  end
791
797
  end
792
798
 
@@ -1638,6 +1644,34 @@ module Google
1638
1644
  end
1639
1645
  end
1640
1646
 
1647
+ # MachineConfiguration describes the configuration of a machine specific to
1648
+ # Database Resource.
1649
+ class MachineConfiguration
1650
+ include Google::Apis::Core::Hashable
1651
+
1652
+ # The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again
1653
+ # after bug fix.
1654
+ # Corresponds to the JSON property `cpuCount`
1655
+ # @return [Fixnum]
1656
+ attr_accessor :cpu_count
1657
+
1658
+ # Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations
1659
+ # again after bug fix.
1660
+ # Corresponds to the JSON property `memorySizeInBytes`
1661
+ # @return [Fixnum]
1662
+ attr_accessor :memory_size_in_bytes
1663
+
1664
+ def initialize(**args)
1665
+ update!(**args)
1666
+ end
1667
+
1668
+ # Update properties of this object
1669
+ def update!(**args)
1670
+ @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
1671
+ @memory_size_in_bytes = args[:memory_size_in_bytes] if args.key?(:memory_size_in_bytes)
1672
+ end
1673
+ end
1674
+
1641
1675
  # Maintenance policy for an instance.
1642
1676
  class MaintenancePolicy
1643
1677
  include Google::Apis::Core::Hashable
@@ -1764,6 +1798,51 @@ module Google
1764
1798
  end
1765
1799
  end
1766
1800
 
1801
+ #
1802
+ class ObservabilityMetricData
1803
+ include Google::Apis::Core::Hashable
1804
+
1805
+ # Required. Type of aggregation performed on the metric.
1806
+ # Corresponds to the JSON property `aggregationType`
1807
+ # @return [String]
1808
+ attr_accessor :aggregation_type
1809
+
1810
+ # Required. Type of metric like CPU, Memory, etc.
1811
+ # Corresponds to the JSON property `metricType`
1812
+ # @return [String]
1813
+ attr_accessor :metric_type
1814
+
1815
+ # Required. The time the metric value was observed.
1816
+ # Corresponds to the JSON property `observationTime`
1817
+ # @return [String]
1818
+ attr_accessor :observation_time
1819
+
1820
+ # Required. Database resource name associated with the signal. Resource name to
1821
+ # follow CAIS resource_name format as noted here go/condor-common-datamodel
1822
+ # Corresponds to the JSON property `resourceName`
1823
+ # @return [String]
1824
+ attr_accessor :resource_name
1825
+
1826
+ # TypedValue represents the value of a metric type. It can either be a double,
1827
+ # an int64, a string or a bool.
1828
+ # Corresponds to the JSON property `value`
1829
+ # @return [Google::Apis::RedisV1::TypedValue]
1830
+ attr_accessor :value
1831
+
1832
+ def initialize(**args)
1833
+ update!(**args)
1834
+ end
1835
+
1836
+ # Update properties of this object
1837
+ def update!(**args)
1838
+ @aggregation_type = args[:aggregation_type] if args.key?(:aggregation_type)
1839
+ @metric_type = args[:metric_type] if args.key?(:metric_type)
1840
+ @observation_time = args[:observation_time] if args.key?(:observation_time)
1841
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
1842
+ @value = args[:value] if args.key?(:value)
1843
+ end
1844
+ end
1845
+
1767
1846
  # This resource represents a long-running operation that is the result of a
1768
1847
  # network API call.
1769
1848
  class Operation
@@ -2340,6 +2419,45 @@ module Google
2340
2419
  end
2341
2420
  end
2342
2421
 
2422
+ # TypedValue represents the value of a metric type. It can either be a double,
2423
+ # an int64, a string or a bool.
2424
+ class TypedValue
2425
+ include Google::Apis::Core::Hashable
2426
+
2427
+ # For boolean value
2428
+ # Corresponds to the JSON property `boolValue`
2429
+ # @return [Boolean]
2430
+ attr_accessor :bool_value
2431
+ alias_method :bool_value?, :bool_value
2432
+
2433
+ # For double value
2434
+ # Corresponds to the JSON property `doubleValue`
2435
+ # @return [Float]
2436
+ attr_accessor :double_value
2437
+
2438
+ # For integer value
2439
+ # Corresponds to the JSON property `int64Value`
2440
+ # @return [Fixnum]
2441
+ attr_accessor :int64_value
2442
+
2443
+ # For string value
2444
+ # Corresponds to the JSON property `stringValue`
2445
+ # @return [String]
2446
+ attr_accessor :string_value
2447
+
2448
+ def initialize(**args)
2449
+ update!(**args)
2450
+ end
2451
+
2452
+ # Update properties of this object
2453
+ def update!(**args)
2454
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
2455
+ @double_value = args[:double_value] if args.key?(:double_value)
2456
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
2457
+ @string_value = args[:string_value] if args.key?(:string_value)
2458
+ end
2459
+ end
2460
+
2343
2461
  # Represents information about an updating cluster.
2344
2462
  class UpdateInfo
2345
2463
  include Google::Apis::Core::Hashable
@@ -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.54.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 = "20240528"
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
 
@@ -506,6 +524,8 @@ module Google
506
524
  class Representation < Google::Apis::Core::JsonRepresentation
507
525
  property :feed_timestamp, as: 'feedTimestamp'
508
526
  property :feed_type, as: 'feedType'
527
+ property :observability_metric_data, as: 'observabilityMetricData', class: Google::Apis::RedisV1::ObservabilityMetricData, decorator: Google::Apis::RedisV1::ObservabilityMetricData::Representation
528
+
509
529
  property :recommendation_signal_data, as: 'recommendationSignalData', class: Google::Apis::RedisV1::DatabaseResourceRecommendationSignalData, decorator: Google::Apis::RedisV1::DatabaseResourceRecommendationSignalData::Representation
510
530
 
511
531
  property :resource_health_signal_data, as: 'resourceHealthSignalData', class: Google::Apis::RedisV1::DatabaseResourceHealthSignalData, decorator: Google::Apis::RedisV1::DatabaseResourceHealthSignalData::Representation
@@ -567,6 +587,8 @@ module Google
567
587
 
568
588
  property :instance_type, as: 'instanceType'
569
589
  property :location, as: 'location'
590
+ property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::RedisV1::MachineConfiguration, decorator: Google::Apis::RedisV1::MachineConfiguration::Representation
591
+
570
592
  property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::RedisV1::DatabaseResourceId, decorator: Google::Apis::RedisV1::DatabaseResourceId::Representation
571
593
 
572
594
  property :product, as: 'product', class: Google::Apis::RedisV1::Product, decorator: Google::Apis::RedisV1::Product::Representation
@@ -576,7 +598,6 @@ module Google
576
598
  property :updation_time, as: 'updationTime'
577
599
  property :user_label_set, as: 'userLabelSet', class: Google::Apis::RedisV1::UserLabels, decorator: Google::Apis::RedisV1::UserLabels::Representation
578
600
 
579
- hash :user_labels, as: 'userLabels'
580
601
  end
581
602
  end
582
603
 
@@ -794,6 +815,14 @@ module Google
794
815
  end
795
816
  end
796
817
 
818
+ class MachineConfiguration
819
+ # @private
820
+ class Representation < Google::Apis::Core::JsonRepresentation
821
+ property :cpu_count, as: 'cpuCount'
822
+ property :memory_size_in_bytes, :numeric_string => true, as: 'memorySizeInBytes'
823
+ end
824
+ end
825
+
797
826
  class MaintenancePolicy
798
827
  # @private
799
828
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -831,6 +860,18 @@ module Google
831
860
  end
832
861
  end
833
862
 
863
+ class ObservabilityMetricData
864
+ # @private
865
+ class Representation < Google::Apis::Core::JsonRepresentation
866
+ property :aggregation_type, as: 'aggregationType'
867
+ property :metric_type, as: 'metricType'
868
+ property :observation_time, as: 'observationTime'
869
+ property :resource_name, as: 'resourceName'
870
+ property :value, as: 'value', class: Google::Apis::RedisV1::TypedValue, decorator: Google::Apis::RedisV1::TypedValue::Representation
871
+
872
+ end
873
+ end
874
+
834
875
  class Operation
835
876
  # @private
836
877
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -981,6 +1022,16 @@ module Google
981
1022
  end
982
1023
  end
983
1024
 
1025
+ class TypedValue
1026
+ # @private
1027
+ class Representation < Google::Apis::Core::JsonRepresentation
1028
+ property :bool_value, as: 'boolValue'
1029
+ property :double_value, as: 'doubleValue'
1030
+ property :int64_value, :numeric_string => true, as: 'int64Value'
1031
+ property :string_value, as: 'stringValue'
1032
+ end
1033
+ end
1034
+
984
1035
  class UpdateInfo
985
1036
  # @private
986
1037
  class Representation < Google::Apis::Core::JsonRepresentation
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.54.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-02 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.54.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: []