google-apis-alloydb_v1beta 0.14.0 → 0.15.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: 22da7c10d4478c2188eef570723f148848822b297bd9a254dbdb765358d95f36
4
- data.tar.gz: 01d88def64d9bba0363b0f1bf0171fc798df4e19699ee2fef7671c1cd811f4bf
3
+ metadata.gz: 765a462e94c62669f752b7250bee6c6f8703f1e4c9538eed38412dbc43bda425
4
+ data.tar.gz: 4ab674d598ff6721fe82c8f0441a3790645802652f3af2a3ccd4eabad9039acb
5
5
  SHA512:
6
- metadata.gz: f2e74007900f407a2fd3e610191d5d320fe818de352e9752191c4fe709e2a332f9ffefb2c88293a033473448294de43f06c21fd543635c7d34390bd053e21666
7
- data.tar.gz: 2dab6689063532dce4428cbc16a439714d86c9ef62c92bd84031ef3dffb8baa2acfa23d6f781443eb30996c0afa6b077b929e797611972388fcc5c420c6648c6
6
+ metadata.gz: bd06f8db6a27eb6760e1c3c35773f3b91d98f71f39b8881ead9f23a9e468e734cbfa99fd6ecff6847bbb8dedc8efee4e2e8033210d7130e439cfd1245a302413
7
+ data.tar.gz: b0446a56b512001e35bc01eeac090a0a39d1ad06dc89bcc9b5ef6770cc5b90b3c31443808f3bf0dd1010c23efc5aa5f30144e049edf51e3e4d016ba26b84fc06
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1beta
2
2
 
3
+ ### v0.15.0 (2024-06-09)
4
+
5
+ * Regenerated from discovery document revision 20240529
6
+
3
7
  ### v0.14.0 (2024-05-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20240517
@@ -2869,12 +2869,6 @@ module Google
2869
2869
  # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels]
2870
2870
  attr_accessor :user_label_set
2871
2871
 
2872
- # User-provided labels, represented as a dictionary where each label is a single
2873
- # key value pair.
2874
- # Corresponds to the JSON property `userLabels`
2875
- # @return [Hash<String,String>]
2876
- attr_accessor :user_labels
2877
-
2878
2872
  def initialize(**args)
2879
2873
  update!(**args)
2880
2874
  end
@@ -2899,7 +2893,6 @@ module Google
2899
2893
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2900
2894
  @updation_time = args[:updation_time] if args.key?(:updation_time)
2901
2895
  @user_label_set = args[:user_label_set] if args.key?(:user_label_set)
2902
- @user_labels = args[:user_labels] if args.key?(:user_labels)
2903
2896
  end
2904
2897
  end
2905
2898
 
@@ -3007,12 +3000,14 @@ module Google
3007
3000
  class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
3008
3001
  include Google::Apis::Core::Hashable
3009
3002
 
3010
- # The number of CPUs.
3003
+ # The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again
3004
+ # after bug fix.
3011
3005
  # Corresponds to the JSON property `cpuCount`
3012
3006
  # @return [Fixnum]
3013
3007
  attr_accessor :cpu_count
3014
3008
 
3015
- # Memory size in bytes.
3009
+ # Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations
3010
+ # again after bug fix.
3016
3011
  # Corresponds to the JSON property `memorySizeInBytes`
3017
3012
  # @return [Fixnum]
3018
3013
  attr_accessor :memory_size_in_bytes
@@ -3032,25 +3027,31 @@ module Google
3032
3027
  class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
3033
3028
  include Google::Apis::Core::Hashable
3034
3029
 
3035
- # Required. The timestamp of the metric value.
3036
- # Corresponds to the JSON property `metricTimestamp`
3030
+ # Required. Type of aggregation performed on the metric.
3031
+ # Corresponds to the JSON property `aggregationType`
3037
3032
  # @return [String]
3038
- attr_accessor :metric_timestamp
3033
+ attr_accessor :aggregation_type
3039
3034
 
3040
3035
  # Required. Type of metric like CPU, Memory, etc.
3041
3036
  # Corresponds to the JSON property `metricType`
3042
3037
  # @return [String]
3043
3038
  attr_accessor :metric_type
3044
3039
 
3040
+ # Required. The time the metric value was observed.
3041
+ # Corresponds to the JSON property `observationTime`
3042
+ # @return [String]
3043
+ attr_accessor :observation_time
3044
+
3045
3045
  # Required. Database resource name associated with the signal. Resource name to
3046
3046
  # follow CAIS resource_name format as noted here go/condor-common-datamodel
3047
3047
  # Corresponds to the JSON property `resourceName`
3048
3048
  # @return [String]
3049
3049
  attr_accessor :resource_name
3050
3050
 
3051
- # Required. Value of the metric type.
3051
+ # TypedValue represents the value of a metric type. It can either be a double,
3052
+ # an int64, a string or a bool.
3052
3053
  # Corresponds to the JSON property `value`
3053
- # @return [Float]
3054
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonTypedValue]
3054
3055
  attr_accessor :value
3055
3056
 
3056
3057
  def initialize(**args)
@@ -3059,8 +3060,9 @@ module Google
3059
3060
 
3060
3061
  # Update properties of this object
3061
3062
  def update!(**args)
3062
- @metric_timestamp = args[:metric_timestamp] if args.key?(:metric_timestamp)
3063
+ @aggregation_type = args[:aggregation_type] if args.key?(:aggregation_type)
3063
3064
  @metric_type = args[:metric_type] if args.key?(:metric_type)
3065
+ @observation_time = args[:observation_time] if args.key?(:observation_time)
3064
3066
  @resource_name = args[:resource_name] if args.key?(:resource_name)
3065
3067
  @value = args[:value] if args.key?(:value)
3066
3068
  end
@@ -3181,6 +3183,45 @@ module Google
3181
3183
  end
3182
3184
  end
3183
3185
 
3186
+ # TypedValue represents the value of a metric type. It can either be a double,
3187
+ # an int64, a string or a bool.
3188
+ class StorageDatabasecenterProtoCommonTypedValue
3189
+ include Google::Apis::Core::Hashable
3190
+
3191
+ # For boolean value
3192
+ # Corresponds to the JSON property `boolValue`
3193
+ # @return [Boolean]
3194
+ attr_accessor :bool_value
3195
+ alias_method :bool_value?, :bool_value
3196
+
3197
+ # For double value
3198
+ # Corresponds to the JSON property `doubleValue`
3199
+ # @return [Float]
3200
+ attr_accessor :double_value
3201
+
3202
+ # For integer value
3203
+ # Corresponds to the JSON property `int64Value`
3204
+ # @return [Fixnum]
3205
+ attr_accessor :int64_value
3206
+
3207
+ # For string value
3208
+ # Corresponds to the JSON property `stringValue`
3209
+ # @return [String]
3210
+ attr_accessor :string_value
3211
+
3212
+ def initialize(**args)
3213
+ update!(**args)
3214
+ end
3215
+
3216
+ # Update properties of this object
3217
+ def update!(**args)
3218
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
3219
+ @double_value = args[:double_value] if args.key?(:double_value)
3220
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
3221
+ @string_value = args[:string_value] if args.key?(:string_value)
3222
+ end
3223
+ end
3224
+
3184
3225
  # Restrictions on STRING type values
3185
3226
  class StringRestrictions
3186
3227
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1beta
18
18
  # Version of the google-apis-alloydb_v1beta 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
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240517"
25
+ REVISION = "20240529"
26
26
  end
27
27
  end
28
28
  end
@@ -448,6 +448,12 @@ module Google
448
448
  include Google::Apis::Core::JsonObjectSupport
449
449
  end
450
450
 
451
+ class StorageDatabasecenterProtoCommonTypedValue
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
451
457
  class StringRestrictions
452
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
459
 
@@ -1219,7 +1225,6 @@ module Google
1219
1225
  property :updation_time, as: 'updationTime'
1220
1226
  property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
1221
1227
 
1222
- hash :user_labels, as: 'userLabels'
1223
1228
  end
1224
1229
  end
1225
1230
 
@@ -1256,10 +1261,12 @@ module Google
1256
1261
  class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
1257
1262
  # @private
1258
1263
  class Representation < Google::Apis::Core::JsonRepresentation
1259
- property :metric_timestamp, as: 'metricTimestamp'
1264
+ property :aggregation_type, as: 'aggregationType'
1260
1265
  property :metric_type, as: 'metricType'
1266
+ property :observation_time, as: 'observationTime'
1261
1267
  property :resource_name, as: 'resourceName'
1262
- property :value, as: 'value'
1268
+ property :value, as: 'value', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonTypedValue, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonTypedValue::Representation
1269
+
1263
1270
  end
1264
1271
  end
1265
1272
 
@@ -1297,6 +1304,16 @@ module Google
1297
1304
  end
1298
1305
  end
1299
1306
 
1307
+ class StorageDatabasecenterProtoCommonTypedValue
1308
+ # @private
1309
+ class Representation < Google::Apis::Core::JsonRepresentation
1310
+ property :bool_value, as: 'boolValue'
1311
+ property :double_value, as: 'doubleValue'
1312
+ property :int64_value, :numeric_string => true, as: 'int64Value'
1313
+ property :string_value, as: 'stringValue'
1314
+ end
1315
+ end
1316
+
1300
1317
  class StringRestrictions
1301
1318
  # @private
1302
1319
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1beta
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-26 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-alloydb_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []