google-apis-alloydb_v1 0.12.0 → 0.14.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: 2f5c62609e66deea29ee8a1ba61d2da15df4be54d502ff0fea6ef5f8a481d647
4
- data.tar.gz: 238448eb03aebd3457f9c4a695502d3b3dcfc09aaf01e4f183d54a18aa62b971
3
+ metadata.gz: aa96c86707b983aa65bcc3dbfbcac039819778c86e29689246739d82c535838e
4
+ data.tar.gz: 11405b86cd09cbd9d08e14487fb12acd9d57c6d83a360e4f7b7594255ec0a958
5
5
  SHA512:
6
- metadata.gz: c4eebcf974b2c5d7f070aee24002efdb85dbe05a1c719c72c81c46fb89a73d9adf07d0c1b03aeb2397794f480fdee80b9f21dd94c55f10c67d2738a3709595b6
7
- data.tar.gz: 6f917b0f85e22df49d44b40210d47d5cb8d4e489f4a132cd917da42a39a1140e8435b4a7ec7177fbc5eb42980641ee1b338141998aa410fec452edbdc5ae6dbe
6
+ metadata.gz: eaf616e187bcdac5b21af396e49c11cf32fb4a655e7dd33ab7a122b72ce93871ebff26c9c92cf185a4ec9be2a107a22a8abfe4efbe6f9328785ec13b1cd1e0b2
7
+ data.tar.gz: cf289216976d5e5afd1688a5b80a76530b8558aeb63b998dab16e93df90af82c75a1dbb4378513145a0b4331e07cec71e18f04a1f8f754d35df6c5d832c40405
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.14.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240424
6
+
7
+ ### v0.13.0 (2024-04-28)
8
+
9
+ * Regenerated from discovery document revision 20240417
10
+
3
11
  ### v0.12.0 (2024-04-21)
4
12
 
5
13
  * Regenerated from discovery document revision 20240410
@@ -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
@@ -2165,6 +2198,13 @@ module Google
2165
2198
  # @return [String]
2166
2199
  attr_accessor :availability_type
2167
2200
 
2201
+ # Checks for resources that are configured to have redundancy, and ongoing
2202
+ # replication across regions
2203
+ # Corresponds to the JSON property `crossRegionReplicaConfigured`
2204
+ # @return [Boolean]
2205
+ attr_accessor :cross_region_replica_configured
2206
+ alias_method :cross_region_replica_configured?, :cross_region_replica_configured
2207
+
2168
2208
  #
2169
2209
  # Corresponds to the JSON property `externalReplicaConfigured`
2170
2210
  # @return [Boolean]
@@ -2184,6 +2224,7 @@ module Google
2184
2224
  # Update properties of this object
2185
2225
  def update!(**args)
2186
2226
  @availability_type = args[:availability_type] if args.key?(:availability_type)
2227
+ @cross_region_replica_configured = args[:cross_region_replica_configured] if args.key?(:cross_region_replica_configured)
2187
2228
  @external_replica_configured = args[:external_replica_configured] if args.key?(:external_replica_configured)
2188
2229
  @promotable_replica_configured = args[:promotable_replica_configured] if args.key?(:promotable_replica_configured)
2189
2230
  end
@@ -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.12.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240410"
25
+ REVISION = "20240424"
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
 
@@ -566,6 +572,8 @@ module Google
566
572
  property :initial_user, as: 'initialUser', class: Google::Apis::AlloydbV1::UserPassword, decorator: Google::Apis::AlloydbV1::UserPassword::Representation
567
573
 
568
574
  hash :labels, as: 'labels'
575
+ property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::AlloydbV1::MaintenanceSchedule, decorator: Google::Apis::AlloydbV1::MaintenanceSchedule::Representation
576
+
569
577
  property :maintenance_update_policy, as: 'maintenanceUpdatePolicy', class: Google::Apis::AlloydbV1::MaintenanceUpdatePolicy, decorator: Google::Apis::AlloydbV1::MaintenanceUpdatePolicy::Representation
570
578
 
571
579
  property :migration_source, as: 'migrationSource', class: Google::Apis::AlloydbV1::MigrationSource, decorator: Google::Apis::AlloydbV1::MigrationSource::Representation
@@ -819,6 +827,13 @@ module Google
819
827
  end
820
828
  end
821
829
 
830
+ class MaintenanceSchedule
831
+ # @private
832
+ class Representation < Google::Apis::Core::JsonRepresentation
833
+ property :start_time, as: 'startTime'
834
+ end
835
+ end
836
+
822
837
  class MaintenanceUpdatePolicy
823
838
  # @private
824
839
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1003,6 +1018,7 @@ module Google
1003
1018
  # @private
1004
1019
  class Representation < Google::Apis::Core::JsonRepresentation
1005
1020
  property :availability_type, as: 'availabilityType'
1021
+ property :cross_region_replica_configured, as: 'crossRegionReplicaConfigured'
1006
1022
  property :external_replica_configured, as: 'externalReplicaConfigured'
1007
1023
  property :promotable_replica_configured, as: 'promotableReplicaConfigured'
1008
1024
  end
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.12.0
4
+ version: 0.14.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-21 00:00:00.000000000 Z
11
+ date: 2024-05-05 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.14.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: []