google-apis-alloydb_v1 0.14.0 → 0.16.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: aa96c86707b983aa65bcc3dbfbcac039819778c86e29689246739d82c535838e
4
- data.tar.gz: 11405b86cd09cbd9d08e14487fb12acd9d57c6d83a360e4f7b7594255ec0a958
3
+ metadata.gz: 7cb8a38f51606cea7504bf764240dca4bf2debee3bcede545358a6e9a297f13f
4
+ data.tar.gz: fc00a4f8f52c3d7a6559d8492103f28f70733b91924f1ad840b43ec43e8e3ae2
5
5
  SHA512:
6
- metadata.gz: eaf616e187bcdac5b21af396e49c11cf32fb4a655e7dd33ab7a122b72ce93871ebff26c9c92cf185a4ec9be2a107a22a8abfe4efbe6f9328785ec13b1cd1e0b2
7
- data.tar.gz: cf289216976d5e5afd1688a5b80a76530b8558aeb63b998dab16e93df90af82c75a1dbb4378513145a0b4331e07cec71e18f04a1f8f754d35df6c5d832c40405
6
+ metadata.gz: 15cd156646c082a837150edfa47dfe367eb46c3eebe38da86a67bc75a3d7c18c5985534d78b09c81852dab8aa7d8d87e257fd349ec0dd43ef7f2505a7386623a
7
+ data.tar.gz: eb259a3abc1a02258c27d18a4acc9df639b7f2640f60d06a0ec8b33f065a37a6ee26b072a76e16b8ef5fa36cf53ffa4454f4131af6fdf094fe31e1b41cc1737a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.16.0 (2024-06-09)
4
+
5
+ * Regenerated from discovery document revision 20240529
6
+
7
+ ### v0.15.0 (2024-05-26)
8
+
9
+ * Regenerated from discovery document revision 20240517
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.14.0 (2024-05-05)
4
13
 
5
14
  * 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]
@@ -2692,12 +2704,6 @@ module Google
2692
2704
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels]
2693
2705
  attr_accessor :user_label_set
2694
2706
 
2695
- # User-provided labels, represented as a dictionary where each label is a single
2696
- # key value pair.
2697
- # Corresponds to the JSON property `userLabels`
2698
- # @return [Hash<String,String>]
2699
- attr_accessor :user_labels
2700
-
2701
2707
  def initialize(**args)
2702
2708
  update!(**args)
2703
2709
  end
@@ -2715,13 +2721,13 @@ module Google
2715
2721
  @id = args[:id] if args.key?(:id)
2716
2722
  @instance_type = args[:instance_type] if args.key?(:instance_type)
2717
2723
  @location = args[:location] if args.key?(:location)
2724
+ @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
2718
2725
  @primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
2719
2726
  @product = args[:product] if args.key?(:product)
2720
2727
  @resource_container = args[:resource_container] if args.key?(:resource_container)
2721
2728
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2722
2729
  @updation_time = args[:updation_time] if args.key?(:updation_time)
2723
2730
  @user_label_set = args[:user_label_set] if args.key?(:user_label_set)
2724
- @user_labels = args[:user_labels] if args.key?(:user_labels)
2725
2731
  end
2726
2732
  end
2727
2733
 
@@ -2824,6 +2830,79 @@ module Google
2824
2830
  end
2825
2831
  end
2826
2832
 
2833
+ # MachineConfiguration describes the configuration of a machine specific to
2834
+ # Database Resource.
2835
+ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
2836
+ include Google::Apis::Core::Hashable
2837
+
2838
+ # The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again
2839
+ # after bug fix.
2840
+ # Corresponds to the JSON property `cpuCount`
2841
+ # @return [Fixnum]
2842
+ attr_accessor :cpu_count
2843
+
2844
+ # Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations
2845
+ # again after bug fix.
2846
+ # Corresponds to the JSON property `memorySizeInBytes`
2847
+ # @return [Fixnum]
2848
+ attr_accessor :memory_size_in_bytes
2849
+
2850
+ def initialize(**args)
2851
+ update!(**args)
2852
+ end
2853
+
2854
+ # Update properties of this object
2855
+ def update!(**args)
2856
+ @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
2857
+ @memory_size_in_bytes = args[:memory_size_in_bytes] if args.key?(:memory_size_in_bytes)
2858
+ end
2859
+ end
2860
+
2861
+ #
2862
+ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
2863
+ include Google::Apis::Core::Hashable
2864
+
2865
+ # Required. Type of aggregation performed on the metric.
2866
+ # Corresponds to the JSON property `aggregationType`
2867
+ # @return [String]
2868
+ attr_accessor :aggregation_type
2869
+
2870
+ # Required. Type of metric like CPU, Memory, etc.
2871
+ # Corresponds to the JSON property `metricType`
2872
+ # @return [String]
2873
+ attr_accessor :metric_type
2874
+
2875
+ # Required. The time the metric value was observed.
2876
+ # Corresponds to the JSON property `observationTime`
2877
+ # @return [String]
2878
+ attr_accessor :observation_time
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
+ # TypedValue represents the value of a metric type. It can either be a double,
2887
+ # an int64, a string or a bool.
2888
+ # Corresponds to the JSON property `value`
2889
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonTypedValue]
2890
+ attr_accessor :value
2891
+
2892
+ def initialize(**args)
2893
+ update!(**args)
2894
+ end
2895
+
2896
+ # Update properties of this object
2897
+ def update!(**args)
2898
+ @aggregation_type = args[:aggregation_type] if args.key?(:aggregation_type)
2899
+ @metric_type = args[:metric_type] if args.key?(:metric_type)
2900
+ @observation_time = args[:observation_time] if args.key?(:observation_time)
2901
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2902
+ @value = args[:value] if args.key?(:value)
2903
+ end
2904
+ end
2905
+
2827
2906
  # An error that occurred during a backup creation operation.
2828
2907
  class StorageDatabasecenterPartnerapiV1mainOperationError
2829
2908
  include Google::Apis::Core::Hashable
@@ -2939,6 +3018,45 @@ module Google
2939
3018
  end
2940
3019
  end
2941
3020
 
3021
+ # TypedValue represents the value of a metric type. It can either be a double,
3022
+ # an int64, a string or a bool.
3023
+ class StorageDatabasecenterProtoCommonTypedValue
3024
+ include Google::Apis::Core::Hashable
3025
+
3026
+ # For boolean value
3027
+ # Corresponds to the JSON property `boolValue`
3028
+ # @return [Boolean]
3029
+ attr_accessor :bool_value
3030
+ alias_method :bool_value?, :bool_value
3031
+
3032
+ # For double value
3033
+ # Corresponds to the JSON property `doubleValue`
3034
+ # @return [Float]
3035
+ attr_accessor :double_value
3036
+
3037
+ # For integer value
3038
+ # Corresponds to the JSON property `int64Value`
3039
+ # @return [Fixnum]
3040
+ attr_accessor :int64_value
3041
+
3042
+ # For string value
3043
+ # Corresponds to the JSON property `stringValue`
3044
+ # @return [String]
3045
+ attr_accessor :string_value
3046
+
3047
+ def initialize(**args)
3048
+ update!(**args)
3049
+ end
3050
+
3051
+ # Update properties of this object
3052
+ def update!(**args)
3053
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
3054
+ @double_value = args[:double_value] if args.key?(:double_value)
3055
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
3056
+ @string_value = args[:string_value] if args.key?(:string_value)
3057
+ end
3058
+ end
3059
+
2942
3060
  # Restrictions on STRING type values
2943
3061
  class StringRestrictions
2944
3062
  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.16.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 = "20240529"
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
 
@@ -424,6 +436,12 @@ module Google
424
436
  include Google::Apis::Core::JsonObjectSupport
425
437
  end
426
438
 
439
+ class StorageDatabasecenterProtoCommonTypedValue
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
427
445
  class StringRestrictions
428
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
447
 
@@ -1081,6 +1099,8 @@ module Google
1081
1099
  class Representation < Google::Apis::Core::JsonRepresentation
1082
1100
  property :feed_timestamp, as: 'feedTimestamp'
1083
1101
  property :feed_type, as: 'feedType'
1102
+ property :observability_metric_data, as: 'observabilityMetricData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData::Representation
1103
+
1084
1104
  property :recommendation_signal_data, as: 'recommendationSignalData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData::Representation
1085
1105
 
1086
1106
  property :resource_health_signal_data, as: 'resourceHealthSignalData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData::Representation
@@ -1142,6 +1162,8 @@ module Google
1142
1162
 
1143
1163
  property :instance_type, as: 'instanceType'
1144
1164
  property :location, as: 'location'
1165
+ property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
1166
+
1145
1167
  property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1146
1168
 
1147
1169
  property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation
@@ -1151,7 +1173,6 @@ module Google
1151
1173
  property :updation_time, as: 'updationTime'
1152
1174
  property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
1153
1175
 
1154
- hash :user_labels, as: 'userLabels'
1155
1176
  end
1156
1177
  end
1157
1178
 
@@ -1177,6 +1198,26 @@ module Google
1177
1198
  end
1178
1199
  end
1179
1200
 
1201
+ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
1202
+ # @private
1203
+ class Representation < Google::Apis::Core::JsonRepresentation
1204
+ property :cpu_count, as: 'cpuCount'
1205
+ property :memory_size_in_bytes, :numeric_string => true, as: 'memorySizeInBytes'
1206
+ end
1207
+ end
1208
+
1209
+ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
1210
+ # @private
1211
+ class Representation < Google::Apis::Core::JsonRepresentation
1212
+ property :aggregation_type, as: 'aggregationType'
1213
+ property :metric_type, as: 'metricType'
1214
+ property :observation_time, as: 'observationTime'
1215
+ property :resource_name, as: 'resourceName'
1216
+ property :value, as: 'value', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonTypedValue, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonTypedValue::Representation
1217
+
1218
+ end
1219
+ end
1220
+
1180
1221
  class StorageDatabasecenterPartnerapiV1mainOperationError
1181
1222
  # @private
1182
1223
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1211,6 +1252,16 @@ module Google
1211
1252
  end
1212
1253
  end
1213
1254
 
1255
+ class StorageDatabasecenterProtoCommonTypedValue
1256
+ # @private
1257
+ class Representation < Google::Apis::Core::JsonRepresentation
1258
+ property :bool_value, as: 'boolValue'
1259
+ property :double_value, as: 'doubleValue'
1260
+ property :int64_value, :numeric_string => true, as: 'int64Value'
1261
+ property :string_value, as: 'stringValue'
1262
+ end
1263
+ end
1264
+
1214
1265
  class StringRestrictions
1215
1266
  # @private
1216
1267
  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.16.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-06-09 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.16.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: []