google-apis-alloydb_v1alpha 0.13.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: a59743e954a7ff3c704433ff410fc97f6ac163813f345fb3dda53f8be2720ecb
4
- data.tar.gz: 8000963dbd69bedfbdd287bd3c8cd3f17ab306186e5babcba8e06d6d33f07426
3
+ metadata.gz: 8520246ca0c3c3d2ebcb363795b54d79f16063faebb14c5ee7985b3ca516c356
4
+ data.tar.gz: af6d2cb27bcac79e8af015f57380b44bcceb8be7a9aa6275a054d64efc500485
5
5
  SHA512:
6
- metadata.gz: 55258266446d8377472aa06b4dcb387436c1fc67ae4ce1afda388504f7aba7c162c9a54c8623c87a7af33b4efa625c2bf45b2ab5ef3b065d5d57c1113960003a
7
- data.tar.gz: 472a0c88b2e0801eef98672e3d29060cfd902951d8961bff2cbe357615a686a74974bc7a6349320bc2ebafa9154c6a0fe424cc5aed85f67e6db9ba8474426a65
6
+ metadata.gz: 1762ab22e3491a90b793c688ded952fc4866d55ded1dd00bbe948fe848600a0add9f9274daecb7286b1feff40e5c46f42e4f0be218e03165eef3195591fffbe1
7
+ data.tar.gz: ecabb26236f9fd6ed0999051b6d2c1e7f251d29fa61feb607e46a64e1564946485f7df612999f114f6f5008996b9fc6aee28c5ee2605974e4e418e9f9d371eef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
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
@@ -1218,6 +1218,11 @@ module Google
1218
1218
  # @return [Google::Apis::AlloydbV1alpha::ObservabilityInstanceConfig]
1219
1219
  attr_accessor :observability_config
1220
1220
 
1221
+ # Output only. All outbound public IP addresses configured for the instance.
1222
+ # Corresponds to the JSON property `outboundPublicIpAddresses`
1223
+ # @return [Array<String>]
1224
+ attr_accessor :outbound_public_ip_addresses
1225
+
1221
1226
  # PscInstanceConfig contains PSC related configuration at an instance level.
1222
1227
  # Corresponds to the JSON property `pscInstanceConfig`
1223
1228
  # @return [Google::Apis::AlloydbV1alpha::PscInstanceConfig]
@@ -1314,6 +1319,7 @@ module Google
1314
1319
  @network_config = args[:network_config] if args.key?(:network_config)
1315
1320
  @nodes = args[:nodes] if args.key?(:nodes)
1316
1321
  @observability_config = args[:observability_config] if args.key?(:observability_config)
1322
+ @outbound_public_ip_addresses = args[:outbound_public_ip_addresses] if args.key?(:outbound_public_ip_addresses)
1317
1323
  @psc_instance_config = args[:psc_instance_config] if args.key?(:psc_instance_config)
1318
1324
  @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
1319
1325
  @query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
@@ -1338,6 +1344,13 @@ module Google
1338
1344
  # @return [Array<Google::Apis::AlloydbV1alpha::AuthorizedNetwork>]
1339
1345
  attr_accessor :authorized_external_networks
1340
1346
 
1347
+ # Optional. Enabling an outbound public IP address to support a database server
1348
+ # sending requests out into the internet.
1349
+ # Corresponds to the JSON property `enableOutboundPublicIp`
1350
+ # @return [Boolean]
1351
+ attr_accessor :enable_outbound_public_ip
1352
+ alias_method :enable_outbound_public_ip?, :enable_outbound_public_ip
1353
+
1341
1354
  # Optional. Enabling public ip for the instance.
1342
1355
  # Corresponds to the JSON property `enablePublicIp`
1343
1356
  # @return [Boolean]
@@ -1351,6 +1364,7 @@ module Google
1351
1364
  # Update properties of this object
1352
1365
  def update!(**args)
1353
1366
  @authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
1367
+ @enable_outbound_public_ip = args[:enable_outbound_public_ip] if args.key?(:enable_outbound_public_ip)
1354
1368
  @enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
1355
1369
  end
1356
1370
  end
@@ -2594,6 +2608,11 @@ module Google
2594
2608
  # @return [String]
2595
2609
  attr_accessor :feed_type
2596
2610
 
2611
+ # More feed data would be added in subsequent CLs
2612
+ # Corresponds to the JSON property `observabilityMetricData`
2613
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData]
2614
+ attr_accessor :observability_metric_data
2615
+
2597
2616
  # Common model for database resource recommendation signal data.
2598
2617
  # Corresponds to the JSON property `recommendationSignalData`
2599
2618
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData]
@@ -2622,6 +2641,7 @@ module Google
2622
2641
  def update!(**args)
2623
2642
  @feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
2624
2643
  @feed_type = args[:feed_type] if args.key?(:feed_type)
2644
+ @observability_metric_data = args[:observability_metric_data] if args.key?(:observability_metric_data)
2625
2645
  @recommendation_signal_data = args[:recommendation_signal_data] if args.key?(:recommendation_signal_data)
2626
2646
  @resource_health_signal_data = args[:resource_health_signal_data] if args.key?(:resource_health_signal_data)
2627
2647
  @resource_id = args[:resource_id] if args.key?(:resource_id)
@@ -2839,6 +2859,12 @@ module Google
2839
2859
  # @return [String]
2840
2860
  attr_accessor :location
2841
2861
 
2862
+ # MachineConfiguration describes the configuration of a machine specific to
2863
+ # Database Resource.
2864
+ # Corresponds to the JSON property `machineConfiguration`
2865
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainMachineConfiguration]
2866
+ attr_accessor :machine_configuration
2867
+
2842
2868
  # DatabaseResourceId will serve as primary key for any resource ingestion event.
2843
2869
  # Corresponds to the JSON property `primaryResourceId`
2844
2870
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
@@ -2877,12 +2903,6 @@ module Google
2877
2903
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels]
2878
2904
  attr_accessor :user_label_set
2879
2905
 
2880
- # User-provided labels, represented as a dictionary where each label is a single
2881
- # key value pair.
2882
- # Corresponds to the JSON property `userLabels`
2883
- # @return [Hash<String,String>]
2884
- attr_accessor :user_labels
2885
-
2886
2906
  def initialize(**args)
2887
2907
  update!(**args)
2888
2908
  end
@@ -2900,13 +2920,13 @@ module Google
2900
2920
  @id = args[:id] if args.key?(:id)
2901
2921
  @instance_type = args[:instance_type] if args.key?(:instance_type)
2902
2922
  @location = args[:location] if args.key?(:location)
2923
+ @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
2903
2924
  @primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
2904
2925
  @product = args[:product] if args.key?(:product)
2905
2926
  @resource_container = args[:resource_container] if args.key?(:resource_container)
2906
2927
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2907
2928
  @updation_time = args[:updation_time] if args.key?(:updation_time)
2908
2929
  @user_label_set = args[:user_label_set] if args.key?(:user_label_set)
2909
- @user_labels = args[:user_labels] if args.key?(:user_labels)
2910
2930
  end
2911
2931
  end
2912
2932
 
@@ -3009,6 +3029,79 @@ module Google
3009
3029
  end
3010
3030
  end
3011
3031
 
3032
+ # MachineConfiguration describes the configuration of a machine specific to
3033
+ # Database Resource.
3034
+ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
3035
+ include Google::Apis::Core::Hashable
3036
+
3037
+ # The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again
3038
+ # after bug fix.
3039
+ # Corresponds to the JSON property `cpuCount`
3040
+ # @return [Fixnum]
3041
+ attr_accessor :cpu_count
3042
+
3043
+ # Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations
3044
+ # again after bug fix.
3045
+ # Corresponds to the JSON property `memorySizeInBytes`
3046
+ # @return [Fixnum]
3047
+ attr_accessor :memory_size_in_bytes
3048
+
3049
+ def initialize(**args)
3050
+ update!(**args)
3051
+ end
3052
+
3053
+ # Update properties of this object
3054
+ def update!(**args)
3055
+ @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
3056
+ @memory_size_in_bytes = args[:memory_size_in_bytes] if args.key?(:memory_size_in_bytes)
3057
+ end
3058
+ end
3059
+
3060
+ #
3061
+ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
3062
+ include Google::Apis::Core::Hashable
3063
+
3064
+ # Required. Type of aggregation performed on the metric.
3065
+ # Corresponds to the JSON property `aggregationType`
3066
+ # @return [String]
3067
+ attr_accessor :aggregation_type
3068
+
3069
+ # Required. Type of metric like CPU, Memory, etc.
3070
+ # Corresponds to the JSON property `metricType`
3071
+ # @return [String]
3072
+ attr_accessor :metric_type
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
+ # Required. Database resource name associated with the signal. Resource name to
3080
+ # follow CAIS resource_name format as noted here go/condor-common-datamodel
3081
+ # Corresponds to the JSON property `resourceName`
3082
+ # @return [String]
3083
+ attr_accessor :resource_name
3084
+
3085
+ # TypedValue represents the value of a metric type. It can either be a double,
3086
+ # an int64, a string or a bool.
3087
+ # Corresponds to the JSON property `value`
3088
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonTypedValue]
3089
+ attr_accessor :value
3090
+
3091
+ def initialize(**args)
3092
+ update!(**args)
3093
+ end
3094
+
3095
+ # Update properties of this object
3096
+ def update!(**args)
3097
+ @aggregation_type = args[:aggregation_type] if args.key?(:aggregation_type)
3098
+ @metric_type = args[:metric_type] if args.key?(:metric_type)
3099
+ @observation_time = args[:observation_time] if args.key?(:observation_time)
3100
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
3101
+ @value = args[:value] if args.key?(:value)
3102
+ end
3103
+ end
3104
+
3012
3105
  # An error that occurred during a backup creation operation.
3013
3106
  class StorageDatabasecenterPartnerapiV1mainOperationError
3014
3107
  include Google::Apis::Core::Hashable
@@ -3124,6 +3217,45 @@ module Google
3124
3217
  end
3125
3218
  end
3126
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
+
3127
3259
  # Restrictions on STRING type values
3128
3260
  class StringRestrictions
3129
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.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
@@ -418,6 +418,18 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
+ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
421
433
  class StorageDatabasecenterPartnerapiV1mainOperationError
422
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
435
 
@@ -442,6 +454,12 @@ module Google
442
454
  include Google::Apis::Core::JsonObjectSupport
443
455
  end
444
456
 
457
+ class StorageDatabasecenterProtoCommonTypedValue
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
445
463
  class StringRestrictions
446
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
465
 
@@ -776,6 +794,7 @@ module Google
776
794
 
777
795
  property :observability_config, as: 'observabilityConfig', class: Google::Apis::AlloydbV1alpha::ObservabilityInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::ObservabilityInstanceConfig::Representation
778
796
 
797
+ collection :outbound_public_ip_addresses, as: 'outboundPublicIpAddresses'
779
798
  property :psc_instance_config, as: 'pscInstanceConfig', class: Google::Apis::AlloydbV1alpha::PscInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::PscInstanceConfig::Representation
780
799
 
781
800
  property :public_ip_address, as: 'publicIpAddress'
@@ -801,6 +820,7 @@ module Google
801
820
  class Representation < Google::Apis::Core::JsonRepresentation
802
821
  collection :authorized_external_networks, as: 'authorizedExternalNetworks', class: Google::Apis::AlloydbV1alpha::AuthorizedNetwork, decorator: Google::Apis::AlloydbV1alpha::AuthorizedNetwork::Representation
803
822
 
823
+ property :enable_outbound_public_ip, as: 'enableOutboundPublicIp'
804
824
  property :enable_public_ip, as: 'enablePublicIp'
805
825
  end
806
826
  end
@@ -1146,6 +1166,8 @@ module Google
1146
1166
  class Representation < Google::Apis::Core::JsonRepresentation
1147
1167
  property :feed_timestamp, as: 'feedTimestamp'
1148
1168
  property :feed_type, as: 'feedType'
1169
+ property :observability_metric_data, as: 'observabilityMetricData', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData::Representation
1170
+
1149
1171
  property :recommendation_signal_data, as: 'recommendationSignalData', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData::Representation
1150
1172
 
1151
1173
  property :resource_health_signal_data, as: 'resourceHealthSignalData', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData::Representation
@@ -1207,6 +1229,8 @@ module Google
1207
1229
 
1208
1230
  property :instance_type, as: 'instanceType'
1209
1231
  property :location, as: 'location'
1232
+ property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
1233
+
1210
1234
  property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1211
1235
 
1212
1236
  property :product, as: 'product', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct::Representation
@@ -1216,7 +1240,6 @@ module Google
1216
1240
  property :updation_time, as: 'updationTime'
1217
1241
  property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
1218
1242
 
1219
- hash :user_labels, as: 'userLabels'
1220
1243
  end
1221
1244
  end
1222
1245
 
@@ -1242,6 +1265,26 @@ module Google
1242
1265
  end
1243
1266
  end
1244
1267
 
1268
+ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
1269
+ # @private
1270
+ class Representation < Google::Apis::Core::JsonRepresentation
1271
+ property :cpu_count, as: 'cpuCount'
1272
+ property :memory_size_in_bytes, :numeric_string => true, as: 'memorySizeInBytes'
1273
+ end
1274
+ end
1275
+
1276
+ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
1277
+ # @private
1278
+ class Representation < Google::Apis::Core::JsonRepresentation
1279
+ property :aggregation_type, as: 'aggregationType'
1280
+ property :metric_type, as: 'metricType'
1281
+ property :observation_time, as: 'observationTime'
1282
+ property :resource_name, as: 'resourceName'
1283
+ property :value, as: 'value', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonTypedValue, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonTypedValue::Representation
1284
+
1285
+ end
1286
+ end
1287
+
1245
1288
  class StorageDatabasecenterPartnerapiV1mainOperationError
1246
1289
  # @private
1247
1290
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1276,6 +1319,16 @@ module Google
1276
1319
  end
1277
1320
  end
1278
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
+
1279
1332
  class StringRestrictions
1280
1333
  # @private
1281
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.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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.13.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: []