google-apis-alloydb_v1alpha 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: a0e20191c06841f5c57554c7c9d4abb49405f70ae18382d3e9cbb3b46fd7cb6b
4
- data.tar.gz: ecfe0351dc67282e5b370fb849fffe3645334b7fd6618a9213f1c61674c07e4d
3
+ metadata.gz: d230b6a6d4bfb04f5f1a164706b5cef6bc9f42b5cf7d1b3fba26adf33746ee84
4
+ data.tar.gz: 03e3e511c856aa577adabe7fbd7368f05c0026b045ec08f26aaccdd380abe12e
5
5
  SHA512:
6
- metadata.gz: f6331b921c2434b3138fcb22c833aff615931884b065405ed2b9b62403b2781cd7e4e4982f7a2c60b971a687d6315a6c073268670f9a893606eaa3c561ea3f2f
7
- data.tar.gz: 5671f22aaa0dac9322fa59ab939da7024ce515f0722674f4f9540e962462c8dc5f18ea7f16e69181f48bd24eac4a7e907d85d319685318d94d4e18003f70f167
6
+ metadata.gz: b5995f69457f2f13fbac9d14662843a0bed839b8ff5448a20749412f1d7fe49e53c25eb1f188eefea66ef6fc37ac84dfdf55efc3675ebfe0d8d0e54d24dc33d4
7
+ data.tar.gz: 66199b6f1937f6e118e5be4fc19ab0523eb008202116bb6fd304039f1434911a770803224058999395d5fe1dbf99299ed92136c627e3d7646383003267a6a751
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
2
2
 
3
+ ### v0.16.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240605
6
+
7
+ ### v0.15.0 (2024-06-09)
8
+
9
+ * Regenerated from discovery document revision 20240529
10
+
3
11
  ### v0.14.0 (2024-05-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20240517
@@ -581,6 +581,16 @@ module Google
581
581
  # @return [String]
582
582
  attr_accessor :state
583
583
 
584
+ # Optional. Subscription type of the cluster.
585
+ # Corresponds to the JSON property `subscriptionType`
586
+ # @return [String]
587
+ attr_accessor :subscription_type
588
+
589
+ # Contains information and all metadata related to TRIAL clusters.
590
+ # Corresponds to the JSON property `trialMetadata`
591
+ # @return [Google::Apis::AlloydbV1alpha::TrialMetadata]
592
+ attr_accessor :trial_metadata
593
+
584
594
  # Output only. The system-generated UID of the resource. The UID is assigned
585
595
  # when the resource is created, and it is retained until it is deleted.
586
596
  # Corresponds to the JSON property `uid`
@@ -628,6 +638,8 @@ module Google
628
638
  @secondary_config = args[:secondary_config] if args.key?(:secondary_config)
629
639
  @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
630
640
  @state = args[:state] if args.key?(:state)
641
+ @subscription_type = args[:subscription_type] if args.key?(:subscription_type)
642
+ @trial_metadata = args[:trial_metadata] if args.key?(:trial_metadata)
631
643
  @uid = args[:uid] if args.key?(:uid)
632
644
  @update_time = args[:update_time] if args.key?(:update_time)
633
645
  end
@@ -2903,12 +2915,6 @@ module Google
2903
2915
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels]
2904
2916
  attr_accessor :user_label_set
2905
2917
 
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
2918
  def initialize(**args)
2913
2919
  update!(**args)
2914
2920
  end
@@ -2933,7 +2939,6 @@ module Google
2933
2939
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2934
2940
  @updation_time = args[:updation_time] if args.key?(:updation_time)
2935
2941
  @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
2942
  end
2938
2943
  end
2939
2944
 
@@ -3041,12 +3046,14 @@ module Google
3041
3046
  class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
3042
3047
  include Google::Apis::Core::Hashable
3043
3048
 
3044
- # The number of CPUs.
3049
+ # The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again
3050
+ # after bug fix.
3045
3051
  # Corresponds to the JSON property `cpuCount`
3046
3052
  # @return [Fixnum]
3047
3053
  attr_accessor :cpu_count
3048
3054
 
3049
- # Memory size in bytes.
3055
+ # Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations
3056
+ # again after bug fix.
3050
3057
  # Corresponds to the JSON property `memorySizeInBytes`
3051
3058
  # @return [Fixnum]
3052
3059
  attr_accessor :memory_size_in_bytes
@@ -3066,25 +3073,31 @@ module Google
3066
3073
  class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
3067
3074
  include Google::Apis::Core::Hashable
3068
3075
 
3069
- # Required. The timestamp of the metric value.
3070
- # Corresponds to the JSON property `metricTimestamp`
3076
+ # Required. Type of aggregation performed on the metric.
3077
+ # Corresponds to the JSON property `aggregationType`
3071
3078
  # @return [String]
3072
- attr_accessor :metric_timestamp
3079
+ attr_accessor :aggregation_type
3073
3080
 
3074
3081
  # Required. Type of metric like CPU, Memory, etc.
3075
3082
  # Corresponds to the JSON property `metricType`
3076
3083
  # @return [String]
3077
3084
  attr_accessor :metric_type
3078
3085
 
3086
+ # Required. The time the metric value was observed.
3087
+ # Corresponds to the JSON property `observationTime`
3088
+ # @return [String]
3089
+ attr_accessor :observation_time
3090
+
3079
3091
  # Required. Database resource name associated with the signal. Resource name to
3080
3092
  # follow CAIS resource_name format as noted here go/condor-common-datamodel
3081
3093
  # Corresponds to the JSON property `resourceName`
3082
3094
  # @return [String]
3083
3095
  attr_accessor :resource_name
3084
3096
 
3085
- # Required. Value of the metric type.
3097
+ # TypedValue represents the value of a metric type. It can either be a double,
3098
+ # an int64, a string or a bool.
3086
3099
  # Corresponds to the JSON property `value`
3087
- # @return [Float]
3100
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonTypedValue]
3088
3101
  attr_accessor :value
3089
3102
 
3090
3103
  def initialize(**args)
@@ -3093,8 +3106,9 @@ module Google
3093
3106
 
3094
3107
  # Update properties of this object
3095
3108
  def update!(**args)
3096
- @metric_timestamp = args[:metric_timestamp] if args.key?(:metric_timestamp)
3109
+ @aggregation_type = args[:aggregation_type] if args.key?(:aggregation_type)
3097
3110
  @metric_type = args[:metric_type] if args.key?(:metric_type)
3111
+ @observation_time = args[:observation_time] if args.key?(:observation_time)
3098
3112
  @resource_name = args[:resource_name] if args.key?(:resource_name)
3099
3113
  @value = args[:value] if args.key?(:value)
3100
3114
  end
@@ -3215,6 +3229,45 @@ module Google
3215
3229
  end
3216
3230
  end
3217
3231
 
3232
+ # TypedValue represents the value of a metric type. It can either be a double,
3233
+ # an int64, a string or a bool.
3234
+ class StorageDatabasecenterProtoCommonTypedValue
3235
+ include Google::Apis::Core::Hashable
3236
+
3237
+ # For boolean value
3238
+ # Corresponds to the JSON property `boolValue`
3239
+ # @return [Boolean]
3240
+ attr_accessor :bool_value
3241
+ alias_method :bool_value?, :bool_value
3242
+
3243
+ # For double value
3244
+ # Corresponds to the JSON property `doubleValue`
3245
+ # @return [Float]
3246
+ attr_accessor :double_value
3247
+
3248
+ # For integer value
3249
+ # Corresponds to the JSON property `int64Value`
3250
+ # @return [Fixnum]
3251
+ attr_accessor :int64_value
3252
+
3253
+ # For string value
3254
+ # Corresponds to the JSON property `stringValue`
3255
+ # @return [String]
3256
+ attr_accessor :string_value
3257
+
3258
+ def initialize(**args)
3259
+ update!(**args)
3260
+ end
3261
+
3262
+ # Update properties of this object
3263
+ def update!(**args)
3264
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
3265
+ @double_value = args[:double_value] if args.key?(:double_value)
3266
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
3267
+ @string_value = args[:string_value] if args.key?(:string_value)
3268
+ end
3269
+ end
3270
+
3218
3271
  # Restrictions on STRING type values
3219
3272
  class StringRestrictions
3220
3273
  include Google::Apis::Core::Hashable
@@ -3328,6 +3381,37 @@ module Google
3328
3381
  end
3329
3382
  end
3330
3383
 
3384
+ # Contains information and all metadata related to TRIAL clusters.
3385
+ class TrialMetadata
3386
+ include Google::Apis::Core::Hashable
3387
+
3388
+ # End time of the trial cluster.
3389
+ # Corresponds to the JSON property `endTime`
3390
+ # @return [String]
3391
+ attr_accessor :end_time
3392
+
3393
+ # start time of the trial cluster.
3394
+ # Corresponds to the JSON property `startTime`
3395
+ # @return [String]
3396
+ attr_accessor :start_time
3397
+
3398
+ # Upgrade time of trial cluster to Standard cluster.
3399
+ # Corresponds to the JSON property `upgradeTime`
3400
+ # @return [String]
3401
+ attr_accessor :upgrade_time
3402
+
3403
+ def initialize(**args)
3404
+ update!(**args)
3405
+ end
3406
+
3407
+ # Update properties of this object
3408
+ def update!(**args)
3409
+ @end_time = args[:end_time] if args.key?(:end_time)
3410
+ @start_time = args[:start_time] if args.key?(:start_time)
3411
+ @upgrade_time = args[:upgrade_time] if args.key?(:upgrade_time)
3412
+ end
3413
+ end
3414
+
3331
3415
  # Policy to be used while updating the instance.
3332
3416
  class UpdatePolicy
3333
3417
  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.16.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 = "20240605"
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
 
@@ -472,6 +478,12 @@ module Google
472
478
  include Google::Apis::Core::JsonObjectSupport
473
479
  end
474
480
 
481
+ class TrialMetadata
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
475
487
  class UpdatePolicy
476
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
489
 
@@ -633,6 +645,9 @@ module Google
633
645
  property :ssl_config, as: 'sslConfig', class: Google::Apis::AlloydbV1alpha::SslConfig, decorator: Google::Apis::AlloydbV1alpha::SslConfig::Representation
634
646
 
635
647
  property :state, as: 'state'
648
+ property :subscription_type, as: 'subscriptionType'
649
+ property :trial_metadata, as: 'trialMetadata', class: Google::Apis::AlloydbV1alpha::TrialMetadata, decorator: Google::Apis::AlloydbV1alpha::TrialMetadata::Representation
650
+
636
651
  property :uid, as: 'uid'
637
652
  property :update_time, as: 'updateTime'
638
653
  end
@@ -1234,7 +1249,6 @@ module Google
1234
1249
  property :updation_time, as: 'updationTime'
1235
1250
  property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
1236
1251
 
1237
- hash :user_labels, as: 'userLabels'
1238
1252
  end
1239
1253
  end
1240
1254
 
@@ -1271,10 +1285,12 @@ module Google
1271
1285
  class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
1272
1286
  # @private
1273
1287
  class Representation < Google::Apis::Core::JsonRepresentation
1274
- property :metric_timestamp, as: 'metricTimestamp'
1288
+ property :aggregation_type, as: 'aggregationType'
1275
1289
  property :metric_type, as: 'metricType'
1290
+ property :observation_time, as: 'observationTime'
1276
1291
  property :resource_name, as: 'resourceName'
1277
- property :value, as: 'value'
1292
+ property :value, as: 'value', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonTypedValue, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonTypedValue::Representation
1293
+
1278
1294
  end
1279
1295
  end
1280
1296
 
@@ -1312,6 +1328,16 @@ module Google
1312
1328
  end
1313
1329
  end
1314
1330
 
1331
+ class StorageDatabasecenterProtoCommonTypedValue
1332
+ # @private
1333
+ class Representation < Google::Apis::Core::JsonRepresentation
1334
+ property :bool_value, as: 'boolValue'
1335
+ property :double_value, as: 'doubleValue'
1336
+ property :int64_value, :numeric_string => true, as: 'int64Value'
1337
+ property :string_value, as: 'stringValue'
1338
+ end
1339
+ end
1340
+
1315
1341
  class StringRestrictions
1316
1342
  # @private
1317
1343
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1342,6 +1368,15 @@ module Google
1342
1368
  end
1343
1369
  end
1344
1370
 
1371
+ class TrialMetadata
1372
+ # @private
1373
+ class Representation < Google::Apis::Core::JsonRepresentation
1374
+ property :end_time, as: 'endTime'
1375
+ property :start_time, as: 'startTime'
1376
+ property :upgrade_time, as: 'upgradeTime'
1377
+ end
1378
+ end
1379
+
1345
1380
  class UpdatePolicy
1346
1381
  # @private
1347
1382
  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.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-26 00:00:00.000000000 Z
11
+ date: 2024-06-16 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.16.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: []