google-apis-redis_v1beta1 0.50.0 → 0.51.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: 501344d3ef6ba6667c0bb1be4f874be7e35ec8e845a4bf5581750efb720db606
4
- data.tar.gz: 238651826f417d49f07750b3ca73276b4bc86b24ef2baa749d8a6dbb07c80d70
3
+ metadata.gz: 841fcfff71c1e9c34f478570203d0e91ca6f1d3728444d7d721af2e16bba98eb
4
+ data.tar.gz: 714f909f35bdc3364d1a41369e0c9c85600e8707cf0a6ed8ad7a31f16df5877e
5
5
  SHA512:
6
- metadata.gz: 07db95f9fcb1550ef700c985eb88abe20f484eacac4c182c4caba85567ce1fdc1eb9d221db6fa121369a05e2e7160a21cecb6f225439416c13c3af58482a95d4
7
- data.tar.gz: 95c2bc1ae3faae7d5ef16dfd7a5ee0da95e7da9a1e0e889b6376122bfd06b3bd7c673225682b575a84fa20e59d53a8b0905cf2c2be08f93345afa41e4943f517
6
+ metadata.gz: 48b907d1bb8e25fec5ed2a1b6d94462fb0b460361f283ac08f98632f01cd2afd02aa9167f92ead891fbf166ee6c287149f56d1ef5b0b1c505234cd2d73b58d38
7
+ data.tar.gz: c8e63bb7cf0e1ddec29bbf839dfec42e97796e12fedb0ea769a3e7f89f51025af81950feb1d8380ccab423da3191c90650b9a4923508134ed2be9bbfe8694047
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-redis_v1beta1
2
2
 
3
+ ### v0.51.0 (2024-06-02)
4
+
5
+ * Regenerated from discovery document revision 20240528
6
+
3
7
  ### v0.50.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::RedisV1beta1::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::RedisV1beta1::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::RedisV1beta1::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::RedisV1beta1::DatabaseResourceId]
@@ -757,12 +769,6 @@ module Google
757
769
  # @return [Google::Apis::RedisV1beta1::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
 
@@ -1641,6 +1647,34 @@ module Google
1641
1647
  end
1642
1648
  end
1643
1649
 
1650
+ # MachineConfiguration describes the configuration of a machine specific to
1651
+ # Database Resource.
1652
+ class MachineConfiguration
1653
+ include Google::Apis::Core::Hashable
1654
+
1655
+ # The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again
1656
+ # after bug fix.
1657
+ # Corresponds to the JSON property `cpuCount`
1658
+ # @return [Fixnum]
1659
+ attr_accessor :cpu_count
1660
+
1661
+ # Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations
1662
+ # again after bug fix.
1663
+ # Corresponds to the JSON property `memorySizeInBytes`
1664
+ # @return [Fixnum]
1665
+ attr_accessor :memory_size_in_bytes
1666
+
1667
+ def initialize(**args)
1668
+ update!(**args)
1669
+ end
1670
+
1671
+ # Update properties of this object
1672
+ def update!(**args)
1673
+ @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
1674
+ @memory_size_in_bytes = args[:memory_size_in_bytes] if args.key?(:memory_size_in_bytes)
1675
+ end
1676
+ end
1677
+
1644
1678
  # Maintenance policy for an instance.
1645
1679
  class MaintenancePolicy
1646
1680
  include Google::Apis::Core::Hashable
@@ -1767,6 +1801,51 @@ module Google
1767
1801
  end
1768
1802
  end
1769
1803
 
1804
+ #
1805
+ class ObservabilityMetricData
1806
+ include Google::Apis::Core::Hashable
1807
+
1808
+ # Required. Type of aggregation performed on the metric.
1809
+ # Corresponds to the JSON property `aggregationType`
1810
+ # @return [String]
1811
+ attr_accessor :aggregation_type
1812
+
1813
+ # Required. Type of metric like CPU, Memory, etc.
1814
+ # Corresponds to the JSON property `metricType`
1815
+ # @return [String]
1816
+ attr_accessor :metric_type
1817
+
1818
+ # Required. The time the metric value was observed.
1819
+ # Corresponds to the JSON property `observationTime`
1820
+ # @return [String]
1821
+ attr_accessor :observation_time
1822
+
1823
+ # Required. Database resource name associated with the signal. Resource name to
1824
+ # follow CAIS resource_name format as noted here go/condor-common-datamodel
1825
+ # Corresponds to the JSON property `resourceName`
1826
+ # @return [String]
1827
+ attr_accessor :resource_name
1828
+
1829
+ # TypedValue represents the value of a metric type. It can either be a double,
1830
+ # an int64, a string or a bool.
1831
+ # Corresponds to the JSON property `value`
1832
+ # @return [Google::Apis::RedisV1beta1::TypedValue]
1833
+ attr_accessor :value
1834
+
1835
+ def initialize(**args)
1836
+ update!(**args)
1837
+ end
1838
+
1839
+ # Update properties of this object
1840
+ def update!(**args)
1841
+ @aggregation_type = args[:aggregation_type] if args.key?(:aggregation_type)
1842
+ @metric_type = args[:metric_type] if args.key?(:metric_type)
1843
+ @observation_time = args[:observation_time] if args.key?(:observation_time)
1844
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
1845
+ @value = args[:value] if args.key?(:value)
1846
+ end
1847
+ end
1848
+
1770
1849
  # This resource represents a long-running operation that is the result of a
1771
1850
  # network API call.
1772
1851
  class Operation
@@ -2343,6 +2422,45 @@ module Google
2343
2422
  end
2344
2423
  end
2345
2424
 
2425
+ # TypedValue represents the value of a metric type. It can either be a double,
2426
+ # an int64, a string or a bool.
2427
+ class TypedValue
2428
+ include Google::Apis::Core::Hashable
2429
+
2430
+ # For boolean value
2431
+ # Corresponds to the JSON property `boolValue`
2432
+ # @return [Boolean]
2433
+ attr_accessor :bool_value
2434
+ alias_method :bool_value?, :bool_value
2435
+
2436
+ # For double value
2437
+ # Corresponds to the JSON property `doubleValue`
2438
+ # @return [Float]
2439
+ attr_accessor :double_value
2440
+
2441
+ # For integer value
2442
+ # Corresponds to the JSON property `int64Value`
2443
+ # @return [Fixnum]
2444
+ attr_accessor :int64_value
2445
+
2446
+ # For string value
2447
+ # Corresponds to the JSON property `stringValue`
2448
+ # @return [String]
2449
+ attr_accessor :string_value
2450
+
2451
+ def initialize(**args)
2452
+ update!(**args)
2453
+ end
2454
+
2455
+ # Update properties of this object
2456
+ def update!(**args)
2457
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
2458
+ @double_value = args[:double_value] if args.key?(:double_value)
2459
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
2460
+ @string_value = args[:string_value] if args.key?(:string_value)
2461
+ end
2462
+ end
2463
+
2346
2464
  # Represents information about an updating cluster.
2347
2465
  class UpdateInfo
2348
2466
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RedisV1beta1
18
18
  # Version of the google-apis-redis_v1beta1 gem
19
- GEM_VERSION = "0.50.0"
19
+ GEM_VERSION = "0.51.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::RedisV1beta1::ObservabilityMetricData, decorator: Google::Apis::RedisV1beta1::ObservabilityMetricData::Representation
528
+
509
529
  property :recommendation_signal_data, as: 'recommendationSignalData', class: Google::Apis::RedisV1beta1::DatabaseResourceRecommendationSignalData, decorator: Google::Apis::RedisV1beta1::DatabaseResourceRecommendationSignalData::Representation
510
530
 
511
531
  property :resource_health_signal_data, as: 'resourceHealthSignalData', class: Google::Apis::RedisV1beta1::DatabaseResourceHealthSignalData, decorator: Google::Apis::RedisV1beta1::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::RedisV1beta1::MachineConfiguration, decorator: Google::Apis::RedisV1beta1::MachineConfiguration::Representation
591
+
570
592
  property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::RedisV1beta1::DatabaseResourceId, decorator: Google::Apis::RedisV1beta1::DatabaseResourceId::Representation
571
593
 
572
594
  property :product, as: 'product', class: Google::Apis::RedisV1beta1::Product, decorator: Google::Apis::RedisV1beta1::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::RedisV1beta1::UserLabels, decorator: Google::Apis::RedisV1beta1::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::RedisV1beta1::TypedValue, decorator: Google::Apis::RedisV1beta1::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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.51.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-26 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
@@ -59,7 +59,7 @@ licenses:
59
59
  metadata:
60
60
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
61
61
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1beta1/CHANGELOG.md
62
- documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1beta1/v0.50.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1beta1/v0.51.0
63
63
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1beta1
64
64
  post_install_message:
65
65
  rdoc_options: []