google-apis-alloydb_v1beta 0.13.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: 58bc8a069eef60d9779ff4166502044db24cc3788ac8081b65f8bf3c37f57b57
4
- data.tar.gz: 48ed268b1e1a07876f50ec28d41f46d574221fb1d88eb190f95da7547bc31105
3
+ metadata.gz: 765a462e94c62669f752b7250bee6c6f8703f1e4c9538eed38412dbc43bda425
4
+ data.tar.gz: 4ab674d598ff6721fe82c8f0441a3790645802652f3af2a3ccd4eabad9039acb
5
5
  SHA512:
6
- metadata.gz: 29ca37311f7e9eaefb11f288693228ca2eee1dc16dadf680776aa89d298bf2ae5b83673f3ed2fc799d2fde07e0637ae233236899e6722d5e8c4fca43045d222c
7
- data.tar.gz: 6367404b65c22e1000ae46c053afb90ad7bd91201585c84ea1504c438164d0cab5e5062a421dd409cf7a7f7e6bd766e6e488d02a6ec430cacc42b4c8b2ebfa72
6
+ metadata.gz: bd06f8db6a27eb6760e1c3c35773f3b91d98f71f39b8881ead9f23a9e468e734cbfa99fd6ecff6847bbb8dedc8efee4e2e8033210d7130e439cfd1245a302413
7
+ data.tar.gz: b0446a56b512001e35bc01eeac090a0a39d1ad06dc89bcc9b5ef6770cc5b90b3c31443808f3bf0dd1010c23efc5aa5f30144e049edf51e3e4d016ba26b84fc06
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
7
+ ### v0.14.0 (2024-05-26)
8
+
9
+ * Regenerated from discovery document revision 20240517
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.13.0 (2024-04-28)
4
13
 
5
14
  * Regenerated from discovery document revision 20240417
@@ -1191,6 +1191,11 @@ module Google
1191
1191
  # @return [Google::Apis::AlloydbV1beta::ObservabilityInstanceConfig]
1192
1192
  attr_accessor :observability_config
1193
1193
 
1194
+ # Output only. All outbound public IP addresses configured for the instance.
1195
+ # Corresponds to the JSON property `outboundPublicIpAddresses`
1196
+ # @return [Array<String>]
1197
+ attr_accessor :outbound_public_ip_addresses
1198
+
1194
1199
  # PscInstanceConfig contains PSC related configuration at an instance level.
1195
1200
  # Corresponds to the JSON property `pscInstanceConfig`
1196
1201
  # @return [Google::Apis::AlloydbV1beta::PscInstanceConfig]
@@ -1281,6 +1286,7 @@ module Google
1281
1286
  @network_config = args[:network_config] if args.key?(:network_config)
1282
1287
  @nodes = args[:nodes] if args.key?(:nodes)
1283
1288
  @observability_config = args[:observability_config] if args.key?(:observability_config)
1289
+ @outbound_public_ip_addresses = args[:outbound_public_ip_addresses] if args.key?(:outbound_public_ip_addresses)
1284
1290
  @psc_instance_config = args[:psc_instance_config] if args.key?(:psc_instance_config)
1285
1291
  @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
1286
1292
  @query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
@@ -1304,6 +1310,13 @@ module Google
1304
1310
  # @return [Array<Google::Apis::AlloydbV1beta::AuthorizedNetwork>]
1305
1311
  attr_accessor :authorized_external_networks
1306
1312
 
1313
+ # Optional. Enabling an outbound public IP address to support a database server
1314
+ # sending requests out into the internet.
1315
+ # Corresponds to the JSON property `enableOutboundPublicIp`
1316
+ # @return [Boolean]
1317
+ attr_accessor :enable_outbound_public_ip
1318
+ alias_method :enable_outbound_public_ip?, :enable_outbound_public_ip
1319
+
1307
1320
  # Optional. Enabling public ip for the instance.
1308
1321
  # Corresponds to the JSON property `enablePublicIp`
1309
1322
  # @return [Boolean]
@@ -1317,6 +1330,7 @@ module Google
1317
1330
  # Update properties of this object
1318
1331
  def update!(**args)
1319
1332
  @authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
1333
+ @enable_outbound_public_ip = args[:enable_outbound_public_ip] if args.key?(:enable_outbound_public_ip)
1320
1334
  @enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
1321
1335
  end
1322
1336
  end
@@ -2560,6 +2574,11 @@ module Google
2560
2574
  # @return [String]
2561
2575
  attr_accessor :feed_type
2562
2576
 
2577
+ # More feed data would be added in subsequent CLs
2578
+ # Corresponds to the JSON property `observabilityMetricData`
2579
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData]
2580
+ attr_accessor :observability_metric_data
2581
+
2563
2582
  # Common model for database resource recommendation signal data.
2564
2583
  # Corresponds to the JSON property `recommendationSignalData`
2565
2584
  # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData]
@@ -2588,6 +2607,7 @@ module Google
2588
2607
  def update!(**args)
2589
2608
  @feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
2590
2609
  @feed_type = args[:feed_type] if args.key?(:feed_type)
2610
+ @observability_metric_data = args[:observability_metric_data] if args.key?(:observability_metric_data)
2591
2611
  @recommendation_signal_data = args[:recommendation_signal_data] if args.key?(:recommendation_signal_data)
2592
2612
  @resource_health_signal_data = args[:resource_health_signal_data] if args.key?(:resource_health_signal_data)
2593
2613
  @resource_id = args[:resource_id] if args.key?(:resource_id)
@@ -2805,6 +2825,12 @@ module Google
2805
2825
  # @return [String]
2806
2826
  attr_accessor :location
2807
2827
 
2828
+ # MachineConfiguration describes the configuration of a machine specific to
2829
+ # Database Resource.
2830
+ # Corresponds to the JSON property `machineConfiguration`
2831
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainMachineConfiguration]
2832
+ attr_accessor :machine_configuration
2833
+
2808
2834
  # DatabaseResourceId will serve as primary key for any resource ingestion event.
2809
2835
  # Corresponds to the JSON property `primaryResourceId`
2810
2836
  # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
@@ -2843,12 +2869,6 @@ module Google
2843
2869
  # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels]
2844
2870
  attr_accessor :user_label_set
2845
2871
 
2846
- # User-provided labels, represented as a dictionary where each label is a single
2847
- # key value pair.
2848
- # Corresponds to the JSON property `userLabels`
2849
- # @return [Hash<String,String>]
2850
- attr_accessor :user_labels
2851
-
2852
2872
  def initialize(**args)
2853
2873
  update!(**args)
2854
2874
  end
@@ -2866,13 +2886,13 @@ module Google
2866
2886
  @id = args[:id] if args.key?(:id)
2867
2887
  @instance_type = args[:instance_type] if args.key?(:instance_type)
2868
2888
  @location = args[:location] if args.key?(:location)
2889
+ @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
2869
2890
  @primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
2870
2891
  @product = args[:product] if args.key?(:product)
2871
2892
  @resource_container = args[:resource_container] if args.key?(:resource_container)
2872
2893
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2873
2894
  @updation_time = args[:updation_time] if args.key?(:updation_time)
2874
2895
  @user_label_set = args[:user_label_set] if args.key?(:user_label_set)
2875
- @user_labels = args[:user_labels] if args.key?(:user_labels)
2876
2896
  end
2877
2897
  end
2878
2898
 
@@ -2975,6 +2995,79 @@ module Google
2975
2995
  end
2976
2996
  end
2977
2997
 
2998
+ # MachineConfiguration describes the configuration of a machine specific to
2999
+ # Database Resource.
3000
+ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
3001
+ include Google::Apis::Core::Hashable
3002
+
3003
+ # The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again
3004
+ # after bug fix.
3005
+ # Corresponds to the JSON property `cpuCount`
3006
+ # @return [Fixnum]
3007
+ attr_accessor :cpu_count
3008
+
3009
+ # Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations
3010
+ # again after bug fix.
3011
+ # Corresponds to the JSON property `memorySizeInBytes`
3012
+ # @return [Fixnum]
3013
+ attr_accessor :memory_size_in_bytes
3014
+
3015
+ def initialize(**args)
3016
+ update!(**args)
3017
+ end
3018
+
3019
+ # Update properties of this object
3020
+ def update!(**args)
3021
+ @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
3022
+ @memory_size_in_bytes = args[:memory_size_in_bytes] if args.key?(:memory_size_in_bytes)
3023
+ end
3024
+ end
3025
+
3026
+ #
3027
+ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
3028
+ include Google::Apis::Core::Hashable
3029
+
3030
+ # Required. Type of aggregation performed on the metric.
3031
+ # Corresponds to the JSON property `aggregationType`
3032
+ # @return [String]
3033
+ attr_accessor :aggregation_type
3034
+
3035
+ # Required. Type of metric like CPU, Memory, etc.
3036
+ # Corresponds to the JSON property `metricType`
3037
+ # @return [String]
3038
+ attr_accessor :metric_type
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
+ # Required. Database resource name associated with the signal. Resource name to
3046
+ # follow CAIS resource_name format as noted here go/condor-common-datamodel
3047
+ # Corresponds to the JSON property `resourceName`
3048
+ # @return [String]
3049
+ attr_accessor :resource_name
3050
+
3051
+ # TypedValue represents the value of a metric type. It can either be a double,
3052
+ # an int64, a string or a bool.
3053
+ # Corresponds to the JSON property `value`
3054
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonTypedValue]
3055
+ attr_accessor :value
3056
+
3057
+ def initialize(**args)
3058
+ update!(**args)
3059
+ end
3060
+
3061
+ # Update properties of this object
3062
+ def update!(**args)
3063
+ @aggregation_type = args[:aggregation_type] if args.key?(:aggregation_type)
3064
+ @metric_type = args[:metric_type] if args.key?(:metric_type)
3065
+ @observation_time = args[:observation_time] if args.key?(:observation_time)
3066
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
3067
+ @value = args[:value] if args.key?(:value)
3068
+ end
3069
+ end
3070
+
2978
3071
  # An error that occurred during a backup creation operation.
2979
3072
  class StorageDatabasecenterPartnerapiV1mainOperationError
2980
3073
  include Google::Apis::Core::Hashable
@@ -3090,6 +3183,45 @@ module Google
3090
3183
  end
3091
3184
  end
3092
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
+
3093
3225
  # Restrictions on STRING type values
3094
3226
  class StringRestrictions
3095
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.13.0"
19
+ GEM_VERSION = "0.15.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 = "20240417"
25
+ REVISION = "20240529"
26
26
  end
27
27
  end
28
28
  end
@@ -412,6 +412,18 @@ module Google
412
412
  include Google::Apis::Core::JsonObjectSupport
413
413
  end
414
414
 
415
+ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
415
427
  class StorageDatabasecenterPartnerapiV1mainOperationError
416
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
429
 
@@ -436,6 +448,12 @@ module Google
436
448
  include Google::Apis::Core::JsonObjectSupport
437
449
  end
438
450
 
451
+ class StorageDatabasecenterProtoCommonTypedValue
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
439
457
  class StringRestrictions
440
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
459
 
@@ -762,6 +780,7 @@ module Google
762
780
 
763
781
  property :observability_config, as: 'observabilityConfig', class: Google::Apis::AlloydbV1beta::ObservabilityInstanceConfig, decorator: Google::Apis::AlloydbV1beta::ObservabilityInstanceConfig::Representation
764
782
 
783
+ collection :outbound_public_ip_addresses, as: 'outboundPublicIpAddresses'
765
784
  property :psc_instance_config, as: 'pscInstanceConfig', class: Google::Apis::AlloydbV1beta::PscInstanceConfig, decorator: Google::Apis::AlloydbV1beta::PscInstanceConfig::Representation
766
785
 
767
786
  property :public_ip_address, as: 'publicIpAddress'
@@ -786,6 +805,7 @@ module Google
786
805
  class Representation < Google::Apis::Core::JsonRepresentation
787
806
  collection :authorized_external_networks, as: 'authorizedExternalNetworks', class: Google::Apis::AlloydbV1beta::AuthorizedNetwork, decorator: Google::Apis::AlloydbV1beta::AuthorizedNetwork::Representation
788
807
 
808
+ property :enable_outbound_public_ip, as: 'enableOutboundPublicIp'
789
809
  property :enable_public_ip, as: 'enablePublicIp'
790
810
  end
791
811
  end
@@ -1131,6 +1151,8 @@ module Google
1131
1151
  class Representation < Google::Apis::Core::JsonRepresentation
1132
1152
  property :feed_timestamp, as: 'feedTimestamp'
1133
1153
  property :feed_type, as: 'feedType'
1154
+ property :observability_metric_data, as: 'observabilityMetricData', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData::Representation
1155
+
1134
1156
  property :recommendation_signal_data, as: 'recommendationSignalData', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData::Representation
1135
1157
 
1136
1158
  property :resource_health_signal_data, as: 'resourceHealthSignalData', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData::Representation
@@ -1192,6 +1214,8 @@ module Google
1192
1214
 
1193
1215
  property :instance_type, as: 'instanceType'
1194
1216
  property :location, as: 'location'
1217
+ property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
1218
+
1195
1219
  property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1196
1220
 
1197
1221
  property :product, as: 'product', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct::Representation
@@ -1201,7 +1225,6 @@ module Google
1201
1225
  property :updation_time, as: 'updationTime'
1202
1226
  property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
1203
1227
 
1204
- hash :user_labels, as: 'userLabels'
1205
1228
  end
1206
1229
  end
1207
1230
 
@@ -1227,6 +1250,26 @@ module Google
1227
1250
  end
1228
1251
  end
1229
1252
 
1253
+ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
1254
+ # @private
1255
+ class Representation < Google::Apis::Core::JsonRepresentation
1256
+ property :cpu_count, as: 'cpuCount'
1257
+ property :memory_size_in_bytes, :numeric_string => true, as: 'memorySizeInBytes'
1258
+ end
1259
+ end
1260
+
1261
+ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
1262
+ # @private
1263
+ class Representation < Google::Apis::Core::JsonRepresentation
1264
+ property :aggregation_type, as: 'aggregationType'
1265
+ property :metric_type, as: 'metricType'
1266
+ property :observation_time, as: 'observationTime'
1267
+ property :resource_name, as: 'resourceName'
1268
+ property :value, as: 'value', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonTypedValue, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonTypedValue::Representation
1269
+
1270
+ end
1271
+ end
1272
+
1230
1273
  class StorageDatabasecenterPartnerapiV1mainOperationError
1231
1274
  # @private
1232
1275
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1261,6 +1304,16 @@ module Google
1261
1304
  end
1262
1305
  end
1263
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
+
1264
1317
  class StringRestrictions
1265
1318
  # @private
1266
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.13.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-04-28 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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.13.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: []