google-apis-alloydb_v1 0.14.0 → 0.15.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: aa96c86707b983aa65bcc3dbfbcac039819778c86e29689246739d82c535838e
4
- data.tar.gz: 11405b86cd09cbd9d08e14487fb12acd9d57c6d83a360e4f7b7594255ec0a958
3
+ metadata.gz: 899c22aee254eb27b6e81960f48d565f58ec361ef3794d854b0fb97ed1ec8120
4
+ data.tar.gz: fed09106c22ea25aad568e1ff51a67dd8800c947f5217459e97c186f8ac27384
5
5
  SHA512:
6
- metadata.gz: eaf616e187bcdac5b21af396e49c11cf32fb4a655e7dd33ab7a122b72ce93871ebff26c9c92cf185a4ec9be2a107a22a8abfe4efbe6f9328785ec13b1cd1e0b2
7
- data.tar.gz: cf289216976d5e5afd1688a5b80a76530b8558aeb63b998dab16e93df90af82c75a1dbb4378513145a0b4331e07cec71e18f04a1f8f754d35df6c5d832c40405
6
+ metadata.gz: d1c66140510eb2aca44a5cc188bd06b4945cf9322e1b4cf4d6384ae64fde414e21b1f824724b356432015cd869e402b64ccaead6d320640ebe215c659d06466d
7
+ data.tar.gz: 9b6fa15efbfd5bef8b65e7cf79c72c063db50a15c19067dbb17a2673f59e2cd23694383249ccea5c412981b449b7925e70a4944ca72922579dc9b5d75ff19ae3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.15.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240517
6
+ * Regenerated using generator version 0.15.0
7
+
3
8
  ### v0.14.0 (2024-05-05)
4
9
 
5
10
  * Regenerated from discovery document revision 20240424
@@ -2409,6 +2409,11 @@ module Google
2409
2409
  # @return [String]
2410
2410
  attr_accessor :feed_type
2411
2411
 
2412
+ # More feed data would be added in subsequent CLs
2413
+ # Corresponds to the JSON property `observabilityMetricData`
2414
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData]
2415
+ attr_accessor :observability_metric_data
2416
+
2412
2417
  # Common model for database resource recommendation signal data.
2413
2418
  # Corresponds to the JSON property `recommendationSignalData`
2414
2419
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData]
@@ -2437,6 +2442,7 @@ module Google
2437
2442
  def update!(**args)
2438
2443
  @feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
2439
2444
  @feed_type = args[:feed_type] if args.key?(:feed_type)
2445
+ @observability_metric_data = args[:observability_metric_data] if args.key?(:observability_metric_data)
2440
2446
  @recommendation_signal_data = args[:recommendation_signal_data] if args.key?(:recommendation_signal_data)
2441
2447
  @resource_health_signal_data = args[:resource_health_signal_data] if args.key?(:resource_health_signal_data)
2442
2448
  @resource_id = args[:resource_id] if args.key?(:resource_id)
@@ -2654,6 +2660,12 @@ module Google
2654
2660
  # @return [String]
2655
2661
  attr_accessor :location
2656
2662
 
2663
+ # MachineConfiguration describes the configuration of a machine specific to
2664
+ # Database Resource.
2665
+ # Corresponds to the JSON property `machineConfiguration`
2666
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration]
2667
+ attr_accessor :machine_configuration
2668
+
2657
2669
  # DatabaseResourceId will serve as primary key for any resource ingestion event.
2658
2670
  # Corresponds to the JSON property `primaryResourceId`
2659
2671
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
@@ -2715,6 +2727,7 @@ module Google
2715
2727
  @id = args[:id] if args.key?(:id)
2716
2728
  @instance_type = args[:instance_type] if args.key?(:instance_type)
2717
2729
  @location = args[:location] if args.key?(:location)
2730
+ @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
2718
2731
  @primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
2719
2732
  @product = args[:product] if args.key?(:product)
2720
2733
  @resource_container = args[:resource_container] if args.key?(:resource_container)
@@ -2824,6 +2837,70 @@ module Google
2824
2837
  end
2825
2838
  end
2826
2839
 
2840
+ # MachineConfiguration describes the configuration of a machine specific to
2841
+ # Database Resource.
2842
+ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
2843
+ include Google::Apis::Core::Hashable
2844
+
2845
+ # The number of CPUs.
2846
+ # Corresponds to the JSON property `cpuCount`
2847
+ # @return [Fixnum]
2848
+ attr_accessor :cpu_count
2849
+
2850
+ # Memory size in bytes.
2851
+ # Corresponds to the JSON property `memorySizeInBytes`
2852
+ # @return [Fixnum]
2853
+ attr_accessor :memory_size_in_bytes
2854
+
2855
+ def initialize(**args)
2856
+ update!(**args)
2857
+ end
2858
+
2859
+ # Update properties of this object
2860
+ def update!(**args)
2861
+ @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
2862
+ @memory_size_in_bytes = args[:memory_size_in_bytes] if args.key?(:memory_size_in_bytes)
2863
+ end
2864
+ end
2865
+
2866
+ #
2867
+ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
2868
+ include Google::Apis::Core::Hashable
2869
+
2870
+ # Required. The timestamp of the metric value.
2871
+ # Corresponds to the JSON property `metricTimestamp`
2872
+ # @return [String]
2873
+ attr_accessor :metric_timestamp
2874
+
2875
+ # Required. Type of metric like CPU, Memory, etc.
2876
+ # Corresponds to the JSON property `metricType`
2877
+ # @return [String]
2878
+ attr_accessor :metric_type
2879
+
2880
+ # Required. Database resource name associated with the signal. Resource name to
2881
+ # follow CAIS resource_name format as noted here go/condor-common-datamodel
2882
+ # Corresponds to the JSON property `resourceName`
2883
+ # @return [String]
2884
+ attr_accessor :resource_name
2885
+
2886
+ # Required. Value of the metric type.
2887
+ # Corresponds to the JSON property `value`
2888
+ # @return [Float]
2889
+ attr_accessor :value
2890
+
2891
+ def initialize(**args)
2892
+ update!(**args)
2893
+ end
2894
+
2895
+ # Update properties of this object
2896
+ def update!(**args)
2897
+ @metric_timestamp = args[:metric_timestamp] if args.key?(:metric_timestamp)
2898
+ @metric_type = args[:metric_type] if args.key?(:metric_type)
2899
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2900
+ @value = args[:value] if args.key?(:value)
2901
+ end
2902
+ end
2903
+
2827
2904
  # An error that occurred during a backup creation operation.
2828
2905
  class StorageDatabasecenterPartnerapiV1mainOperationError
2829
2906
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1
18
18
  # Version of the google-apis-alloydb_v1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240424"
25
+ REVISION = "20240517"
26
26
  end
27
27
  end
28
28
  end
@@ -400,6 +400,18 @@ module Google
400
400
  include Google::Apis::Core::JsonObjectSupport
401
401
  end
402
402
 
403
+ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
403
415
  class StorageDatabasecenterPartnerapiV1mainOperationError
404
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
417
 
@@ -1081,6 +1093,8 @@ module Google
1081
1093
  class Representation < Google::Apis::Core::JsonRepresentation
1082
1094
  property :feed_timestamp, as: 'feedTimestamp'
1083
1095
  property :feed_type, as: 'feedType'
1096
+ property :observability_metric_data, as: 'observabilityMetricData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData::Representation
1097
+
1084
1098
  property :recommendation_signal_data, as: 'recommendationSignalData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData::Representation
1085
1099
 
1086
1100
  property :resource_health_signal_data, as: 'resourceHealthSignalData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData::Representation
@@ -1142,6 +1156,8 @@ module Google
1142
1156
 
1143
1157
  property :instance_type, as: 'instanceType'
1144
1158
  property :location, as: 'location'
1159
+ property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
1160
+
1145
1161
  property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1146
1162
 
1147
1163
  property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation
@@ -1177,6 +1193,24 @@ module Google
1177
1193
  end
1178
1194
  end
1179
1195
 
1196
+ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
1197
+ # @private
1198
+ class Representation < Google::Apis::Core::JsonRepresentation
1199
+ property :cpu_count, as: 'cpuCount'
1200
+ property :memory_size_in_bytes, :numeric_string => true, as: 'memorySizeInBytes'
1201
+ end
1202
+ end
1203
+
1204
+ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
1205
+ # @private
1206
+ class Representation < Google::Apis::Core::JsonRepresentation
1207
+ property :metric_timestamp, as: 'metricTimestamp'
1208
+ property :metric_type, as: 'metricType'
1209
+ property :resource_name, as: 'resourceName'
1210
+ property :value, as: 'value'
1211
+ end
1212
+ end
1213
+
1180
1214
  class StorageDatabasecenterPartnerapiV1mainOperationError
1181
1215
  # @private
1182
1216
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.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-05 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-alloydb_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
63
63
  post_install_message:
64
64
  rdoc_options: []