google-apis-alloydb_v1beta 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: 22da7c10d4478c2188eef570723f148848822b297bd9a254dbdb765358d95f36
4
- data.tar.gz: 01d88def64d9bba0363b0f1bf0171fc798df4e19699ee2fef7671c1cd811f4bf
3
+ metadata.gz: 4cdc1763bbfd020118876431bb0b99e07695384863c9aaa783a430cc79c5463d
4
+ data.tar.gz: 8cd312412b3ff7dd8e04e4ce7d7c9698f03d8192a7239db32706370e77c70a86
5
5
  SHA512:
6
- metadata.gz: f2e74007900f407a2fd3e610191d5d320fe818de352e9752191c4fe709e2a332f9ffefb2c88293a033473448294de43f06c21fd543635c7d34390bd053e21666
7
- data.tar.gz: 2dab6689063532dce4428cbc16a439714d86c9ef62c92bd84031ef3dffb8baa2acfa23d6f781443eb30996c0afa6b077b929e797611972388fcc5c420c6648c6
6
+ metadata.gz: 7f4784c7ce55517a0e23d5e1d3b3b8975d6296c6adc4b486ab4b0aa5b948e919a1069277be90ddf347152bcffecc89ac7793167a543430b1d199ec657f76a8c7
7
+ data.tar.gz: c062bc3197bff1e8086ce54d5fc3d490d0e0abed9b04bda0e081f28770c677a3b98ac717c19c1bf1b4acccaa41f589f3aaf4e196be8c1da5894b1650e9dc9570
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alloydb_v1beta
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
@@ -555,6 +555,16 @@ module Google
555
555
  # @return [String]
556
556
  attr_accessor :state
557
557
 
558
+ # Optional. Subscription type of the cluster.
559
+ # Corresponds to the JSON property `subscriptionType`
560
+ # @return [String]
561
+ attr_accessor :subscription_type
562
+
563
+ # Contains information and all metadata related to TRIAL clusters.
564
+ # Corresponds to the JSON property `trialMetadata`
565
+ # @return [Google::Apis::AlloydbV1beta::TrialMetadata]
566
+ attr_accessor :trial_metadata
567
+
558
568
  # Output only. The system-generated UID of the resource. The UID is assigned
559
569
  # when the resource is created, and it is retained until it is deleted.
560
570
  # Corresponds to the JSON property `uid`
@@ -601,6 +611,8 @@ module Google
601
611
  @secondary_config = args[:secondary_config] if args.key?(:secondary_config)
602
612
  @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
603
613
  @state = args[:state] if args.key?(:state)
614
+ @subscription_type = args[:subscription_type] if args.key?(:subscription_type)
615
+ @trial_metadata = args[:trial_metadata] if args.key?(:trial_metadata)
604
616
  @uid = args[:uid] if args.key?(:uid)
605
617
  @update_time = args[:update_time] if args.key?(:update_time)
606
618
  end
@@ -2869,12 +2881,6 @@ module Google
2869
2881
  # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels]
2870
2882
  attr_accessor :user_label_set
2871
2883
 
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
2884
  def initialize(**args)
2879
2885
  update!(**args)
2880
2886
  end
@@ -2899,7 +2905,6 @@ module Google
2899
2905
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2900
2906
  @updation_time = args[:updation_time] if args.key?(:updation_time)
2901
2907
  @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
2908
  end
2904
2909
  end
2905
2910
 
@@ -3007,12 +3012,14 @@ module Google
3007
3012
  class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
3008
3013
  include Google::Apis::Core::Hashable
3009
3014
 
3010
- # The number of CPUs.
3015
+ # The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again
3016
+ # after bug fix.
3011
3017
  # Corresponds to the JSON property `cpuCount`
3012
3018
  # @return [Fixnum]
3013
3019
  attr_accessor :cpu_count
3014
3020
 
3015
- # Memory size in bytes.
3021
+ # Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations
3022
+ # again after bug fix.
3016
3023
  # Corresponds to the JSON property `memorySizeInBytes`
3017
3024
  # @return [Fixnum]
3018
3025
  attr_accessor :memory_size_in_bytes
@@ -3032,25 +3039,31 @@ module Google
3032
3039
  class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
3033
3040
  include Google::Apis::Core::Hashable
3034
3041
 
3035
- # Required. The timestamp of the metric value.
3036
- # Corresponds to the JSON property `metricTimestamp`
3042
+ # Required. Type of aggregation performed on the metric.
3043
+ # Corresponds to the JSON property `aggregationType`
3037
3044
  # @return [String]
3038
- attr_accessor :metric_timestamp
3045
+ attr_accessor :aggregation_type
3039
3046
 
3040
3047
  # Required. Type of metric like CPU, Memory, etc.
3041
3048
  # Corresponds to the JSON property `metricType`
3042
3049
  # @return [String]
3043
3050
  attr_accessor :metric_type
3044
3051
 
3052
+ # Required. The time the metric value was observed.
3053
+ # Corresponds to the JSON property `observationTime`
3054
+ # @return [String]
3055
+ attr_accessor :observation_time
3056
+
3045
3057
  # Required. Database resource name associated with the signal. Resource name to
3046
3058
  # follow CAIS resource_name format as noted here go/condor-common-datamodel
3047
3059
  # Corresponds to the JSON property `resourceName`
3048
3060
  # @return [String]
3049
3061
  attr_accessor :resource_name
3050
3062
 
3051
- # Required. Value of the metric type.
3063
+ # TypedValue represents the value of a metric type. It can either be a double,
3064
+ # an int64, a string or a bool.
3052
3065
  # Corresponds to the JSON property `value`
3053
- # @return [Float]
3066
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonTypedValue]
3054
3067
  attr_accessor :value
3055
3068
 
3056
3069
  def initialize(**args)
@@ -3059,8 +3072,9 @@ module Google
3059
3072
 
3060
3073
  # Update properties of this object
3061
3074
  def update!(**args)
3062
- @metric_timestamp = args[:metric_timestamp] if args.key?(:metric_timestamp)
3075
+ @aggregation_type = args[:aggregation_type] if args.key?(:aggregation_type)
3063
3076
  @metric_type = args[:metric_type] if args.key?(:metric_type)
3077
+ @observation_time = args[:observation_time] if args.key?(:observation_time)
3064
3078
  @resource_name = args[:resource_name] if args.key?(:resource_name)
3065
3079
  @value = args[:value] if args.key?(:value)
3066
3080
  end
@@ -3181,6 +3195,45 @@ module Google
3181
3195
  end
3182
3196
  end
3183
3197
 
3198
+ # TypedValue represents the value of a metric type. It can either be a double,
3199
+ # an int64, a string or a bool.
3200
+ class StorageDatabasecenterProtoCommonTypedValue
3201
+ include Google::Apis::Core::Hashable
3202
+
3203
+ # For boolean value
3204
+ # Corresponds to the JSON property `boolValue`
3205
+ # @return [Boolean]
3206
+ attr_accessor :bool_value
3207
+ alias_method :bool_value?, :bool_value
3208
+
3209
+ # For double value
3210
+ # Corresponds to the JSON property `doubleValue`
3211
+ # @return [Float]
3212
+ attr_accessor :double_value
3213
+
3214
+ # For integer value
3215
+ # Corresponds to the JSON property `int64Value`
3216
+ # @return [Fixnum]
3217
+ attr_accessor :int64_value
3218
+
3219
+ # For string value
3220
+ # Corresponds to the JSON property `stringValue`
3221
+ # @return [String]
3222
+ attr_accessor :string_value
3223
+
3224
+ def initialize(**args)
3225
+ update!(**args)
3226
+ end
3227
+
3228
+ # Update properties of this object
3229
+ def update!(**args)
3230
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
3231
+ @double_value = args[:double_value] if args.key?(:double_value)
3232
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
3233
+ @string_value = args[:string_value] if args.key?(:string_value)
3234
+ end
3235
+ end
3236
+
3184
3237
  # Restrictions on STRING type values
3185
3238
  class StringRestrictions
3186
3239
  include Google::Apis::Core::Hashable
@@ -3294,6 +3347,37 @@ module Google
3294
3347
  end
3295
3348
  end
3296
3349
 
3350
+ # Contains information and all metadata related to TRIAL clusters.
3351
+ class TrialMetadata
3352
+ include Google::Apis::Core::Hashable
3353
+
3354
+ # End time of the trial cluster.
3355
+ # Corresponds to the JSON property `endTime`
3356
+ # @return [String]
3357
+ attr_accessor :end_time
3358
+
3359
+ # start time of the trial cluster.
3360
+ # Corresponds to the JSON property `startTime`
3361
+ # @return [String]
3362
+ attr_accessor :start_time
3363
+
3364
+ # Upgrade time of trial cluster to Standard cluster.
3365
+ # Corresponds to the JSON property `upgradeTime`
3366
+ # @return [String]
3367
+ attr_accessor :upgrade_time
3368
+
3369
+ def initialize(**args)
3370
+ update!(**args)
3371
+ end
3372
+
3373
+ # Update properties of this object
3374
+ def update!(**args)
3375
+ @end_time = args[:end_time] if args.key?(:end_time)
3376
+ @start_time = args[:start_time] if args.key?(:start_time)
3377
+ @upgrade_time = args[:upgrade_time] if args.key?(:upgrade_time)
3378
+ end
3379
+ end
3380
+
3297
3381
  # Policy to be used while updating the instance.
3298
3382
  class UpdatePolicy
3299
3383
  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.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
@@ -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
 
@@ -466,6 +472,12 @@ module Google
466
472
  include Google::Apis::Core::JsonObjectSupport
467
473
  end
468
474
 
475
+ class TrialMetadata
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
469
481
  class UpdatePolicy
470
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
483
 
@@ -619,6 +631,9 @@ module Google
619
631
  property :ssl_config, as: 'sslConfig', class: Google::Apis::AlloydbV1beta::SslConfig, decorator: Google::Apis::AlloydbV1beta::SslConfig::Representation
620
632
 
621
633
  property :state, as: 'state'
634
+ property :subscription_type, as: 'subscriptionType'
635
+ property :trial_metadata, as: 'trialMetadata', class: Google::Apis::AlloydbV1beta::TrialMetadata, decorator: Google::Apis::AlloydbV1beta::TrialMetadata::Representation
636
+
622
637
  property :uid, as: 'uid'
623
638
  property :update_time, as: 'updateTime'
624
639
  end
@@ -1219,7 +1234,6 @@ module Google
1219
1234
  property :updation_time, as: 'updationTime'
1220
1235
  property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
1221
1236
 
1222
- hash :user_labels, as: 'userLabels'
1223
1237
  end
1224
1238
  end
1225
1239
 
@@ -1256,10 +1270,12 @@ module Google
1256
1270
  class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
1257
1271
  # @private
1258
1272
  class Representation < Google::Apis::Core::JsonRepresentation
1259
- property :metric_timestamp, as: 'metricTimestamp'
1273
+ property :aggregation_type, as: 'aggregationType'
1260
1274
  property :metric_type, as: 'metricType'
1275
+ property :observation_time, as: 'observationTime'
1261
1276
  property :resource_name, as: 'resourceName'
1262
- property :value, as: 'value'
1277
+ property :value, as: 'value', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonTypedValue, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonTypedValue::Representation
1278
+
1263
1279
  end
1264
1280
  end
1265
1281
 
@@ -1297,6 +1313,16 @@ module Google
1297
1313
  end
1298
1314
  end
1299
1315
 
1316
+ class StorageDatabasecenterProtoCommonTypedValue
1317
+ # @private
1318
+ class Representation < Google::Apis::Core::JsonRepresentation
1319
+ property :bool_value, as: 'boolValue'
1320
+ property :double_value, as: 'doubleValue'
1321
+ property :int64_value, :numeric_string => true, as: 'int64Value'
1322
+ property :string_value, as: 'stringValue'
1323
+ end
1324
+ end
1325
+
1300
1326
  class StringRestrictions
1301
1327
  # @private
1302
1328
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1327,6 +1353,15 @@ module Google
1327
1353
  end
1328
1354
  end
1329
1355
 
1356
+ class TrialMetadata
1357
+ # @private
1358
+ class Representation < Google::Apis::Core::JsonRepresentation
1359
+ property :end_time, as: 'endTime'
1360
+ property :start_time, as: 'startTime'
1361
+ property :upgrade_time, as: 'upgradeTime'
1362
+ end
1363
+ end
1364
+
1330
1365
  class UpdatePolicy
1331
1366
  # @private
1332
1367
  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.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_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.16.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: []