google-apis-alloydb_v1 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: 03be8923f92afe20b52cf6e53360153a7d172beed7b1d9297ae03936484b496c
4
- data.tar.gz: 88ff3305b43f9005bc928ef8f1ffe10bde0fb691bc8731cf602fe0c0109ef1a6
3
+ metadata.gz: 899c22aee254eb27b6e81960f48d565f58ec361ef3794d854b0fb97ed1ec8120
4
+ data.tar.gz: fed09106c22ea25aad568e1ff51a67dd8800c947f5217459e97c186f8ac27384
5
5
  SHA512:
6
- metadata.gz: 959d69bb2e088b305b544186d47bdbf32b5ded7778b1f305219c04fc2ea62c36ca159dc4bbbb7b4f3caf8f8e9790d81739f107f68eb27a767a72d78de2abef4d
7
- data.tar.gz: 48d5def29866abd1f779e62b47744c4c651271de5f1de9103ab2e8f242820809a24bc45f386a5e2d069719f46126bbe8bafaea00ddb0cb61c0a46fca5fc46b76
6
+ metadata.gz: d1c66140510eb2aca44a5cc188bd06b4945cf9322e1b4cf4d6384ae64fde414e21b1f824724b356432015cd869e402b64ccaead6d320640ebe215c659d06466d
7
+ data.tar.gz: 9b6fa15efbfd5bef8b65e7cf79c72c063db50a15c19067dbb17a2673f59e2cd23694383249ccea5c412981b449b7925e70a4944ca72922579dc9b5d75ff19ae3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.15.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240517
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.14.0 (2024-05-05)
9
+
10
+ * Regenerated from discovery document revision 20240424
11
+
3
12
  ### v0.13.0 (2024-04-28)
4
13
 
5
14
  * Regenerated from discovery document revision 20240417
@@ -475,6 +475,15 @@ module Google
475
475
  # @return [Hash<String,String>]
476
476
  attr_accessor :labels
477
477
 
478
+ # MaintenanceSchedule stores the maintenance schedule generated from the
479
+ # MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if
480
+ # MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The
481
+ # schedule is cleared once the update takes place. This field cannot be manually
482
+ # changed; modify the MaintenanceUpdatePolicy instead.
483
+ # Corresponds to the JSON property `maintenanceSchedule`
484
+ # @return [Google::Apis::AlloydbV1::MaintenanceSchedule]
485
+ attr_accessor :maintenance_schedule
486
+
478
487
  # MaintenanceUpdatePolicy defines the policy for system updates.
479
488
  # Corresponds to the JSON property `maintenanceUpdatePolicy`
480
489
  # @return [Google::Apis::AlloydbV1::MaintenanceUpdatePolicy]
@@ -585,6 +594,7 @@ module Google
585
594
  @etag = args[:etag] if args.key?(:etag)
586
595
  @initial_user = args[:initial_user] if args.key?(:initial_user)
587
596
  @labels = args[:labels] if args.key?(:labels)
597
+ @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
588
598
  @maintenance_update_policy = args[:maintenance_update_policy] if args.key?(:maintenance_update_policy)
589
599
  @migration_source = args[:migration_source] if args.key?(:migration_source)
590
600
  @name = args[:name] if args.key?(:name)
@@ -1455,6 +1465,29 @@ module Google
1455
1465
  end
1456
1466
  end
1457
1467
 
1468
+ # MaintenanceSchedule stores the maintenance schedule generated from the
1469
+ # MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if
1470
+ # MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The
1471
+ # schedule is cleared once the update takes place. This field cannot be manually
1472
+ # changed; modify the MaintenanceUpdatePolicy instead.
1473
+ class MaintenanceSchedule
1474
+ include Google::Apis::Core::Hashable
1475
+
1476
+ # Output only. The scheduled start time for the maintenance.
1477
+ # Corresponds to the JSON property `startTime`
1478
+ # @return [String]
1479
+ attr_accessor :start_time
1480
+
1481
+ def initialize(**args)
1482
+ update!(**args)
1483
+ end
1484
+
1485
+ # Update properties of this object
1486
+ def update!(**args)
1487
+ @start_time = args[:start_time] if args.key?(:start_time)
1488
+ end
1489
+ end
1490
+
1458
1491
  # MaintenanceUpdatePolicy defines the policy for system updates.
1459
1492
  class MaintenanceUpdatePolicy
1460
1493
  include Google::Apis::Core::Hashable
@@ -2376,6 +2409,11 @@ module Google
2376
2409
  # @return [String]
2377
2410
  attr_accessor :feed_type
2378
2411
 
2412
+ # More feed data would be added in subsequent CLs
2413
+ # Corresponds to the JSON property `observabilityMetricData`
2414
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData]
2415
+ attr_accessor :observability_metric_data
2416
+
2379
2417
  # Common model for database resource recommendation signal data.
2380
2418
  # Corresponds to the JSON property `recommendationSignalData`
2381
2419
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData]
@@ -2404,6 +2442,7 @@ module Google
2404
2442
  def update!(**args)
2405
2443
  @feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
2406
2444
  @feed_type = args[:feed_type] if args.key?(:feed_type)
2445
+ @observability_metric_data = args[:observability_metric_data] if args.key?(:observability_metric_data)
2407
2446
  @recommendation_signal_data = args[:recommendation_signal_data] if args.key?(:recommendation_signal_data)
2408
2447
  @resource_health_signal_data = args[:resource_health_signal_data] if args.key?(:resource_health_signal_data)
2409
2448
  @resource_id = args[:resource_id] if args.key?(:resource_id)
@@ -2621,6 +2660,12 @@ module Google
2621
2660
  # @return [String]
2622
2661
  attr_accessor :location
2623
2662
 
2663
+ # MachineConfiguration describes the configuration of a machine specific to
2664
+ # Database Resource.
2665
+ # Corresponds to the JSON property `machineConfiguration`
2666
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration]
2667
+ attr_accessor :machine_configuration
2668
+
2624
2669
  # DatabaseResourceId will serve as primary key for any resource ingestion event.
2625
2670
  # Corresponds to the JSON property `primaryResourceId`
2626
2671
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
@@ -2682,6 +2727,7 @@ module Google
2682
2727
  @id = args[:id] if args.key?(:id)
2683
2728
  @instance_type = args[:instance_type] if args.key?(:instance_type)
2684
2729
  @location = args[:location] if args.key?(:location)
2730
+ @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
2685
2731
  @primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
2686
2732
  @product = args[:product] if args.key?(:product)
2687
2733
  @resource_container = args[:resource_container] if args.key?(:resource_container)
@@ -2791,6 +2837,70 @@ module Google
2791
2837
  end
2792
2838
  end
2793
2839
 
2840
+ # MachineConfiguration describes the configuration of a machine specific to
2841
+ # Database Resource.
2842
+ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
2843
+ include Google::Apis::Core::Hashable
2844
+
2845
+ # The number of CPUs.
2846
+ # Corresponds to the JSON property `cpuCount`
2847
+ # @return [Fixnum]
2848
+ attr_accessor :cpu_count
2849
+
2850
+ # Memory size in bytes.
2851
+ # Corresponds to the JSON property `memorySizeInBytes`
2852
+ # @return [Fixnum]
2853
+ attr_accessor :memory_size_in_bytes
2854
+
2855
+ def initialize(**args)
2856
+ update!(**args)
2857
+ end
2858
+
2859
+ # Update properties of this object
2860
+ def update!(**args)
2861
+ @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
2862
+ @memory_size_in_bytes = args[:memory_size_in_bytes] if args.key?(:memory_size_in_bytes)
2863
+ end
2864
+ end
2865
+
2866
+ #
2867
+ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
2868
+ include Google::Apis::Core::Hashable
2869
+
2870
+ # Required. The timestamp of the metric value.
2871
+ # Corresponds to the JSON property `metricTimestamp`
2872
+ # @return [String]
2873
+ attr_accessor :metric_timestamp
2874
+
2875
+ # Required. Type of metric like CPU, Memory, etc.
2876
+ # Corresponds to the JSON property `metricType`
2877
+ # @return [String]
2878
+ attr_accessor :metric_type
2879
+
2880
+ # Required. Database resource name associated with the signal. Resource name to
2881
+ # follow CAIS resource_name format as noted here go/condor-common-datamodel
2882
+ # Corresponds to the JSON property `resourceName`
2883
+ # @return [String]
2884
+ attr_accessor :resource_name
2885
+
2886
+ # Required. Value of the metric type.
2887
+ # Corresponds to the JSON property `value`
2888
+ # @return [Float]
2889
+ attr_accessor :value
2890
+
2891
+ def initialize(**args)
2892
+ update!(**args)
2893
+ end
2894
+
2895
+ # Update properties of this object
2896
+ def update!(**args)
2897
+ @metric_timestamp = args[:metric_timestamp] if args.key?(:metric_timestamp)
2898
+ @metric_type = args[:metric_type] if args.key?(:metric_type)
2899
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2900
+ @value = args[:value] if args.key?(:value)
2901
+ end
2902
+ end
2903
+
2794
2904
  # An error that occurred during a backup creation operation.
2795
2905
  class StorageDatabasecenterPartnerapiV1mainOperationError
2796
2906
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1
18
18
  # Version of the google-apis-alloydb_v1 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 = "20240517"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class MaintenanceSchedule
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class MaintenanceUpdatePolicy
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -394,6 +400,18 @@ module Google
394
400
  include Google::Apis::Core::JsonObjectSupport
395
401
  end
396
402
 
403
+ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
397
415
  class StorageDatabasecenterPartnerapiV1mainOperationError
398
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
417
 
@@ -566,6 +584,8 @@ module Google
566
584
  property :initial_user, as: 'initialUser', class: Google::Apis::AlloydbV1::UserPassword, decorator: Google::Apis::AlloydbV1::UserPassword::Representation
567
585
 
568
586
  hash :labels, as: 'labels'
587
+ property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::AlloydbV1::MaintenanceSchedule, decorator: Google::Apis::AlloydbV1::MaintenanceSchedule::Representation
588
+
569
589
  property :maintenance_update_policy, as: 'maintenanceUpdatePolicy', class: Google::Apis::AlloydbV1::MaintenanceUpdatePolicy, decorator: Google::Apis::AlloydbV1::MaintenanceUpdatePolicy::Representation
570
590
 
571
591
  property :migration_source, as: 'migrationSource', class: Google::Apis::AlloydbV1::MigrationSource, decorator: Google::Apis::AlloydbV1::MigrationSource::Representation
@@ -819,6 +839,13 @@ module Google
819
839
  end
820
840
  end
821
841
 
842
+ class MaintenanceSchedule
843
+ # @private
844
+ class Representation < Google::Apis::Core::JsonRepresentation
845
+ property :start_time, as: 'startTime'
846
+ end
847
+ end
848
+
822
849
  class MaintenanceUpdatePolicy
823
850
  # @private
824
851
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1066,6 +1093,8 @@ module Google
1066
1093
  class Representation < Google::Apis::Core::JsonRepresentation
1067
1094
  property :feed_timestamp, as: 'feedTimestamp'
1068
1095
  property :feed_type, as: 'feedType'
1096
+ property :observability_metric_data, as: 'observabilityMetricData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData::Representation
1097
+
1069
1098
  property :recommendation_signal_data, as: 'recommendationSignalData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData::Representation
1070
1099
 
1071
1100
  property :resource_health_signal_data, as: 'resourceHealthSignalData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData::Representation
@@ -1127,6 +1156,8 @@ module Google
1127
1156
 
1128
1157
  property :instance_type, as: 'instanceType'
1129
1158
  property :location, as: 'location'
1159
+ property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
1160
+
1130
1161
  property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1131
1162
 
1132
1163
  property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation
@@ -1162,6 +1193,24 @@ module Google
1162
1193
  end
1163
1194
  end
1164
1195
 
1196
+ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
1197
+ # @private
1198
+ class Representation < Google::Apis::Core::JsonRepresentation
1199
+ property :cpu_count, as: 'cpuCount'
1200
+ property :memory_size_in_bytes, :numeric_string => true, as: 'memorySizeInBytes'
1201
+ end
1202
+ end
1203
+
1204
+ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
1205
+ # @private
1206
+ class Representation < Google::Apis::Core::JsonRepresentation
1207
+ property :metric_timestamp, as: 'metricTimestamp'
1208
+ property :metric_type, as: 'metricType'
1209
+ property :resource_name, as: 'resourceName'
1210
+ property :value, as: 'value'
1211
+ end
1212
+ end
1213
+
1165
1214
  class StorageDatabasecenterPartnerapiV1mainOperationError
1166
1215
  # @private
1167
1216
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1
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-05-26 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
63
63
  post_install_message:
64
64
  rdoc_options: []