google-apis-alloydb_v1alpha 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: a0e20191c06841f5c57554c7c9d4abb49405f70ae18382d3e9cbb3b46fd7cb6b
4
- data.tar.gz: ecfe0351dc67282e5b370fb849fffe3645334b7fd6618a9213f1c61674c07e4d
3
+ metadata.gz: 8520246ca0c3c3d2ebcb363795b54d79f16063faebb14c5ee7985b3ca516c356
4
+ data.tar.gz: af6d2cb27bcac79e8af015f57380b44bcceb8be7a9aa6275a054d64efc500485
5
5
  SHA512:
6
- metadata.gz: f6331b921c2434b3138fcb22c833aff615931884b065405ed2b9b62403b2781cd7e4e4982f7a2c60b971a687d6315a6c073268670f9a893606eaa3c561ea3f2f
7
- data.tar.gz: 5671f22aaa0dac9322fa59ab939da7024ce515f0722674f4f9540e962462c8dc5f18ea7f16e69181f48bd24eac4a7e907d85d319685318d94d4e18003f70f167
6
+ metadata.gz: 1762ab22e3491a90b793c688ded952fc4866d55ded1dd00bbe948fe848600a0add9f9274daecb7286b1feff40e5c46f42e4f0be218e03165eef3195591fffbe1
7
+ data.tar.gz: ecabb26236f9fd6ed0999051b6d2c1e7f251d29fa61feb607e46a64e1564946485f7df612999f114f6f5008996b9fc6aee28c5ee2605974e4e418e9f9d371eef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
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
@@ -2903,12 +2903,6 @@ module Google
2903
2903
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels]
2904
2904
  attr_accessor :user_label_set
2905
2905
 
2906
- # User-provided labels, represented as a dictionary where each label is a single
2907
- # key value pair.
2908
- # Corresponds to the JSON property `userLabels`
2909
- # @return [Hash<String,String>]
2910
- attr_accessor :user_labels
2911
-
2912
2906
  def initialize(**args)
2913
2907
  update!(**args)
2914
2908
  end
@@ -2933,7 +2927,6 @@ module Google
2933
2927
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2934
2928
  @updation_time = args[:updation_time] if args.key?(:updation_time)
2935
2929
  @user_label_set = args[:user_label_set] if args.key?(:user_label_set)
2936
- @user_labels = args[:user_labels] if args.key?(:user_labels)
2937
2930
  end
2938
2931
  end
2939
2932
 
@@ -3041,12 +3034,14 @@ module Google
3041
3034
  class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
3042
3035
  include Google::Apis::Core::Hashable
3043
3036
 
3044
- # The number of CPUs.
3037
+ # The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again
3038
+ # after bug fix.
3045
3039
  # Corresponds to the JSON property `cpuCount`
3046
3040
  # @return [Fixnum]
3047
3041
  attr_accessor :cpu_count
3048
3042
 
3049
- # Memory size in bytes.
3043
+ # Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations
3044
+ # again after bug fix.
3050
3045
  # Corresponds to the JSON property `memorySizeInBytes`
3051
3046
  # @return [Fixnum]
3052
3047
  attr_accessor :memory_size_in_bytes
@@ -3066,25 +3061,31 @@ module Google
3066
3061
  class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
3067
3062
  include Google::Apis::Core::Hashable
3068
3063
 
3069
- # Required. The timestamp of the metric value.
3070
- # Corresponds to the JSON property `metricTimestamp`
3064
+ # Required. Type of aggregation performed on the metric.
3065
+ # Corresponds to the JSON property `aggregationType`
3071
3066
  # @return [String]
3072
- attr_accessor :metric_timestamp
3067
+ attr_accessor :aggregation_type
3073
3068
 
3074
3069
  # Required. Type of metric like CPU, Memory, etc.
3075
3070
  # Corresponds to the JSON property `metricType`
3076
3071
  # @return [String]
3077
3072
  attr_accessor :metric_type
3078
3073
 
3074
+ # Required. The time the metric value was observed.
3075
+ # Corresponds to the JSON property `observationTime`
3076
+ # @return [String]
3077
+ attr_accessor :observation_time
3078
+
3079
3079
  # Required. Database resource name associated with the signal. Resource name to
3080
3080
  # follow CAIS resource_name format as noted here go/condor-common-datamodel
3081
3081
  # Corresponds to the JSON property `resourceName`
3082
3082
  # @return [String]
3083
3083
  attr_accessor :resource_name
3084
3084
 
3085
- # Required. Value of the metric type.
3085
+ # TypedValue represents the value of a metric type. It can either be a double,
3086
+ # an int64, a string or a bool.
3086
3087
  # Corresponds to the JSON property `value`
3087
- # @return [Float]
3088
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonTypedValue]
3088
3089
  attr_accessor :value
3089
3090
 
3090
3091
  def initialize(**args)
@@ -3093,8 +3094,9 @@ module Google
3093
3094
 
3094
3095
  # Update properties of this object
3095
3096
  def update!(**args)
3096
- @metric_timestamp = args[:metric_timestamp] if args.key?(:metric_timestamp)
3097
+ @aggregation_type = args[:aggregation_type] if args.key?(:aggregation_type)
3097
3098
  @metric_type = args[:metric_type] if args.key?(:metric_type)
3099
+ @observation_time = args[:observation_time] if args.key?(:observation_time)
3098
3100
  @resource_name = args[:resource_name] if args.key?(:resource_name)
3099
3101
  @value = args[:value] if args.key?(:value)
3100
3102
  end
@@ -3215,6 +3217,45 @@ module Google
3215
3217
  end
3216
3218
  end
3217
3219
 
3220
+ # TypedValue represents the value of a metric type. It can either be a double,
3221
+ # an int64, a string or a bool.
3222
+ class StorageDatabasecenterProtoCommonTypedValue
3223
+ include Google::Apis::Core::Hashable
3224
+
3225
+ # For boolean value
3226
+ # Corresponds to the JSON property `boolValue`
3227
+ # @return [Boolean]
3228
+ attr_accessor :bool_value
3229
+ alias_method :bool_value?, :bool_value
3230
+
3231
+ # For double value
3232
+ # Corresponds to the JSON property `doubleValue`
3233
+ # @return [Float]
3234
+ attr_accessor :double_value
3235
+
3236
+ # For integer value
3237
+ # Corresponds to the JSON property `int64Value`
3238
+ # @return [Fixnum]
3239
+ attr_accessor :int64_value
3240
+
3241
+ # For string value
3242
+ # Corresponds to the JSON property `stringValue`
3243
+ # @return [String]
3244
+ attr_accessor :string_value
3245
+
3246
+ def initialize(**args)
3247
+ update!(**args)
3248
+ end
3249
+
3250
+ # Update properties of this object
3251
+ def update!(**args)
3252
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
3253
+ @double_value = args[:double_value] if args.key?(:double_value)
3254
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
3255
+ @string_value = args[:string_value] if args.key?(:string_value)
3256
+ end
3257
+ end
3258
+
3218
3259
  # Restrictions on STRING type values
3219
3260
  class StringRestrictions
3220
3261
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1alpha
18
18
  # Version of the google-apis-alloydb_v1alpha 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
@@ -454,6 +454,12 @@ module Google
454
454
  include Google::Apis::Core::JsonObjectSupport
455
455
  end
456
456
 
457
+ class StorageDatabasecenterProtoCommonTypedValue
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
457
463
  class StringRestrictions
458
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
465
 
@@ -1234,7 +1240,6 @@ module Google
1234
1240
  property :updation_time, as: 'updationTime'
1235
1241
  property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
1236
1242
 
1237
- hash :user_labels, as: 'userLabels'
1238
1243
  end
1239
1244
  end
1240
1245
 
@@ -1271,10 +1276,12 @@ module Google
1271
1276
  class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
1272
1277
  # @private
1273
1278
  class Representation < Google::Apis::Core::JsonRepresentation
1274
- property :metric_timestamp, as: 'metricTimestamp'
1279
+ property :aggregation_type, as: 'aggregationType'
1275
1280
  property :metric_type, as: 'metricType'
1281
+ property :observation_time, as: 'observationTime'
1276
1282
  property :resource_name, as: 'resourceName'
1277
- property :value, as: 'value'
1283
+ property :value, as: 'value', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonTypedValue, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonTypedValue::Representation
1284
+
1278
1285
  end
1279
1286
  end
1280
1287
 
@@ -1312,6 +1319,16 @@ module Google
1312
1319
  end
1313
1320
  end
1314
1321
 
1322
+ class StorageDatabasecenterProtoCommonTypedValue
1323
+ # @private
1324
+ class Representation < Google::Apis::Core::JsonRepresentation
1325
+ property :bool_value, as: 'boolValue'
1326
+ property :double_value, as: 'doubleValue'
1327
+ property :int64_value, :numeric_string => true, as: 'int64Value'
1328
+ property :string_value, as: 'stringValue'
1329
+ end
1330
+ end
1331
+
1315
1332
  class StringRestrictions
1316
1333
  # @private
1317
1334
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1alpha
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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []