google-apis-alloydb_v1alpha 0.26.0 → 0.28.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: 63b241c2bd36716e541e44d109b84d13b2368c36bac04e5f51881595fe36cc4e
4
- data.tar.gz: 33009ef48eb57ac58d92bbf8f2943d321c9e1525a25ee5c415cc5eb0b41aa97e
3
+ metadata.gz: 5a5f4f5df5e68d65909c466336a405179345b922aef204966d47f08220dece4c
4
+ data.tar.gz: 7f20dc599d3c75873a7939bcbde0099fe15cc55e8bc71d58e4018c89b7821ed3
5
5
  SHA512:
6
- metadata.gz: 0ea033bf4a13c481b0db6318fd80b722461b55ea4f770ddbea2cc938f155a6988368fff002f97338d08992398c85b3deec6923da9ead27c43248b1b8c606dfda
7
- data.tar.gz: 6b7bb2745060512fc9985da0b5d1b59d4ef87023eef31c83a91ff9d5755de5e80be51a6d7c4001b619311fedeb0f033ca044f90f6cea6b77a026055d605bf395
6
+ metadata.gz: a8ecb5b5868d8209c6daf9f70b42eb371ff58442eae07d1c8124bfd46ff25f6c6548ad3f0243abc726a16db5dcf79d68dbf2c4e9f7119890157365c17ac6d627
7
+ data.tar.gz: 473cdcac27f5e5b0db0943a627d7c1fb922a097e911b9b142dddfd53764d7b823f5b1b59f0f419aeb1c090e46ee656616707db901900ab5ccd0d9b050651a6e9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
2
2
 
3
+ ### v0.28.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250508
6
+ * Regenerated using generator version 0.17.0
7
+
8
+ ### v0.27.0 (2025-04-20)
9
+
10
+ * Regenerated from discovery document revision 20250410
11
+
3
12
  ### v0.26.0 (2025-03-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20250320
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/alloydb/) may provide guida
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -140,6 +140,11 @@ module Google
140
140
  # @return [String]
141
141
  attr_accessor :cluster_uid
142
142
 
143
+ # Output only. Timestamp when the resource finished being created.
144
+ # Corresponds to the JSON property `createCompletionTime`
145
+ # @return [String]
146
+ attr_accessor :create_completion_time
147
+
143
148
  # Output only. Create time stamp
144
149
  # Corresponds to the JSON property `createTime`
145
150
  # @return [String]
@@ -281,6 +286,7 @@ module Google
281
286
  @annotations = args[:annotations] if args.key?(:annotations)
282
287
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
283
288
  @cluster_uid = args[:cluster_uid] if args.key?(:cluster_uid)
289
+ @create_completion_time = args[:create_completion_time] if args.key?(:create_completion_time)
284
290
  @create_time = args[:create_time] if args.key?(:create_time)
285
291
  @database_version = args[:database_version] if args.key?(:database_version)
286
292
  @delete_time = args[:delete_time] if args.key?(:delete_time)
@@ -518,8 +524,7 @@ module Google
518
524
  # @return [String]
519
525
  attr_accessor :etag
520
526
 
521
- # Cluster level configuration parameters related to the Gemini in Databases add-
522
- # on.
527
+ # Deprecated and unused. This field will be removed in the near future.
523
528
  # Corresponds to the JSON property `geminiConfig`
524
529
  # @return [Google::Apis::AlloydbV1alpha::GeminiClusterConfig]
525
530
  attr_accessor :gemini_config
@@ -818,8 +823,7 @@ module Google
818
823
  # @return [String]
819
824
  attr_accessor :default_pool_size
820
825
 
821
- # Optional. Deprecated; Prefer 'enabled' as this will be removed soon. TODO(b/
822
- # 394996708) move to reserved once the field is removed from the gcloud client.
826
+ # Optional. Deprecated; Prefer 'enabled' as this will be removed soon.
823
827
  # Corresponds to the JSON property `enable`
824
828
  # @return [Boolean]
825
829
  attr_accessor :enable
@@ -949,8 +953,16 @@ module Google
949
953
  class ContinuousBackupInfo
950
954
  include Google::Apis::Core::Hashable
951
955
 
952
- # Output only. The earliest restorable time that can be restored to. Output only
953
- # field.
956
+ # Output only. The earliest restorable time that can be restored to. If
957
+ # continuous backups and recovery was recently enabled, the earliest restorable
958
+ # time is the creation time of the earliest eligible backup within this cluster'
959
+ # s continuous backup recovery window. After a cluster has had continuous
960
+ # backups enabled for the duration of its recovery window, the earliest
961
+ # restorable time becomes "now minus the recovery window". For example, assuming
962
+ # a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d
963
+ # recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM.
964
+ # This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view
965
+ # is provided.
954
966
  # Corresponds to the JSON property `earliestRestorableTime`
955
967
  # @return [String]
956
968
  attr_accessor :earliest_restorable_time
@@ -966,8 +978,7 @@ module Google
966
978
  # @return [Google::Apis::AlloydbV1alpha::EncryptionInfo]
967
979
  attr_accessor :encryption_info
968
980
 
969
- # Output only. Days of the week on which a continuous backup is taken. Output
970
- # only field. Ignored if passed into the request.
981
+ # Output only. Days of the week on which a continuous backup is taken.
971
982
  # Corresponds to the JSON property `schedule`
972
983
  # @return [Array<String>]
973
984
  attr_accessor :schedule
@@ -1334,15 +1345,12 @@ module Google
1334
1345
  end
1335
1346
  end
1336
1347
 
1337
- # Cluster level configuration parameters related to the Gemini in Databases add-
1338
- # on.
1348
+ # Deprecated and unused. This field will be removed in the near future.
1339
1349
  class GeminiClusterConfig
1340
1350
  include Google::Apis::Core::Hashable
1341
1351
 
1342
- # Output only. Whether the Gemini in Databases add-on is enabled for the cluster.
1343
- # It will be true only if the add-on has been enabled for the billing account
1344
- # corresponding to the cluster. Its status is toggled from the Admin Control
1345
- # Center (ACC) and cannot be toggled using AlloyDB's APIs.
1352
+ # Output only. Deprecated and unused. This field will be removed in the near
1353
+ # future.
1346
1354
  # Corresponds to the JSON property `entitled`
1347
1355
  # @return [Boolean]
1348
1356
  attr_accessor :entitled
@@ -1358,15 +1366,12 @@ module Google
1358
1366
  end
1359
1367
  end
1360
1368
 
1361
- # Instance level configuration parameters related to the Gemini in Databases add-
1362
- # on.
1369
+ # Deprecated and unused. This field will be removed in the near future.
1363
1370
  class GeminiInstanceConfig
1364
1371
  include Google::Apis::Core::Hashable
1365
1372
 
1366
- # Output only. Whether the Gemini in Databases add-on is enabled for the
1367
- # instance. It will be true only if the add-on has been enabled for the billing
1368
- # account corresponding to the instance. Its status is toggled from the Admin
1369
- # Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
1373
+ # Output only. Deprecated and unused. This field will be removed in the near
1374
+ # future.
1370
1375
  # Corresponds to the JSON property `entitled`
1371
1376
  # @return [Boolean]
1372
1377
  attr_accessor :entitled
@@ -1637,6 +1642,16 @@ module Google
1637
1642
  class Instance
1638
1643
  include Google::Apis::Core::Hashable
1639
1644
 
1645
+ # Optional. Specifies whether an instance needs to spin up. Once the instance is
1646
+ # active, the activation policy can be updated to the `NEVER` to stop the
1647
+ # instance. Likewise, the activation policy can be updated to `ALWAYS` to start
1648
+ # the instance. There are restrictions around when an instance can/cannot be
1649
+ # activated (for example, a read pool instance should be stopped before stopping
1650
+ # primary etc.). Please refer to the API documentation for more details.
1651
+ # Corresponds to the JSON property `activationPolicy`
1652
+ # @return [String]
1653
+ attr_accessor :activation_policy
1654
+
1640
1655
  # Annotations to allow client tools to store small amount of arbitrary data.
1641
1656
  # This is distinct from labels. https://google.aip.dev/128
1642
1657
  # Corresponds to the JSON property `annotations`
@@ -1712,8 +1727,7 @@ module Google
1712
1727
  # @return [String]
1713
1728
  attr_accessor :gce_zone
1714
1729
 
1715
- # Instance level configuration parameters related to the Gemini in Databases add-
1716
- # on.
1730
+ # Deprecated and unused. This field will be removed in the near future.
1717
1731
  # Corresponds to the JSON property `geminiConfig`
1718
1732
  # @return [Google::Apis::AlloydbV1alpha::GeminiInstanceConfig]
1719
1733
  attr_accessor :gemini_config
@@ -1850,6 +1864,7 @@ module Google
1850
1864
 
1851
1865
  # Update properties of this object
1852
1866
  def update!(**args)
1867
+ @activation_policy = args[:activation_policy] if args.key?(:activation_policy)
1853
1868
  @annotations = args[:annotations] if args.key?(:annotations)
1854
1869
  @availability_type = args[:availability_type] if args.key?(:availability_type)
1855
1870
  @client_connection_config = args[:client_connection_config] if args.key?(:client_connection_config)
@@ -1890,6 +1905,16 @@ module Google
1890
1905
  class InstanceNetworkConfig
1891
1906
  include Google::Apis::Core::Hashable
1892
1907
 
1908
+ # Optional. Name of the allocated IP range for the private IP AlloyDB instance,
1909
+ # for example: "google-managed-services-default". If set, the instance IPs will
1910
+ # be created from this allocated range and will override the IP range used by
1911
+ # the parent cluster. The range name must comply with [RFC 1035](http://go/rfc/
1912
+ # 1035). Specifically, the name must be 1-63 characters long and match the
1913
+ # regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
1914
+ # Corresponds to the JSON property `allocatedIpRangeOverride`
1915
+ # @return [String]
1916
+ attr_accessor :allocated_ip_range_override
1917
+
1893
1918
  # Optional. A list of external network authorized to access this instance.
1894
1919
  # Corresponds to the JSON property `authorizedExternalNetworks`
1895
1920
  # @return [Array<Google::Apis::AlloydbV1alpha::AuthorizedNetwork>]
@@ -1922,6 +1947,7 @@ module Google
1922
1947
 
1923
1948
  # Update properties of this object
1924
1949
  def update!(**args)
1950
+ @allocated_ip_range_override = args[:allocated_ip_range_override] if args.key?(:allocated_ip_range_override)
1925
1951
  @authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
1926
1952
  @enable_outbound_public_ip = args[:enable_outbound_public_ip] if args.key?(:enable_outbound_public_ip)
1927
1953
  @enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
@@ -2658,7 +2684,16 @@ module Google
2658
2684
  # @return [String]
2659
2685
  attr_accessor :consumer_network
2660
2686
 
2661
- # Output only. The status of the service connection policy.
2687
+ # Output only. The status of the service connection policy. Possible values: "
2688
+ # STATE_UNSPECIFIED" - Default state, when Connection Map is created initially. "
2689
+ # VALID" - Set when policy and map configuration is valid, and their matching
2690
+ # can lead to allowing creation of PSC Connections subject to other constraints
2691
+ # like connections limit. "CONNECTION_POLICY_MISSING" - No Service Connection
2692
+ # Policy found for this network and Service Class "POLICY_LIMIT_REACHED" -
2693
+ # Service Connection Policy limit reached for this network and Service Class "
2694
+ # CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED" - The consumer instance project is
2695
+ # not in AllowedGoogleProducersResourceHierarchyLevels of the matching
2696
+ # ServiceConnectionPolicy.
2662
2697
  # Corresponds to the JSON property `consumerNetworkStatus`
2663
2698
  # @return [String]
2664
2699
  attr_accessor :consumer_network_status
@@ -2674,7 +2709,14 @@ module Google
2674
2709
  # @return [String]
2675
2710
  attr_accessor :ip_address
2676
2711
 
2677
- # Output only. The status of the PSC service automation connection.
2712
+ # Output only. The status of the PSC service automation connection. Possible
2713
+ # values: "STATE_UNSPECIFIED" - An invalid state as the default case. "ACTIVE" -
2714
+ # The connection has been created successfully. "FAILED" - The connection is not
2715
+ # functional since some resources on the connection fail to be created. "
2716
+ # CREATING" - The connection is being created. "DELETING" - The connection is
2717
+ # being deleted. "CREATE_REPAIRING" - The connection is being repaired to
2718
+ # complete creation. "DELETE_REPAIRING" - The connection is being repaired to
2719
+ # complete deletion.
2678
2720
  # Corresponds to the JSON property `status`
2679
2721
  # @return [String]
2680
2722
  attr_accessor :status
@@ -2973,7 +3015,7 @@ module Google
2973
3015
  end
2974
3016
 
2975
3017
  # Message for restoring a Cluster from a backup or another cluster at a given
2976
- # point in time.
3018
+ # point in time. NEXT_ID: 11
2977
3019
  class RestoreClusterRequest
2978
3020
  include Google::Apis::Core::Hashable
2979
3021
 
@@ -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.26.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250320"
25
+ REVISION = "20250508"
26
26
  end
27
27
  end
28
28
  end
@@ -701,6 +701,7 @@ module Google
701
701
  hash :annotations, as: 'annotations'
702
702
  property :cluster_name, as: 'clusterName'
703
703
  property :cluster_uid, as: 'clusterUid'
704
+ property :create_completion_time, as: 'createCompletionTime'
704
705
  property :create_time, as: 'createTime'
705
706
  property :database_version, as: 'databaseVersion'
706
707
  property :delete_time, as: 'deleteTime'
@@ -1068,6 +1069,7 @@ module Google
1068
1069
  class Instance
1069
1070
  # @private
1070
1071
  class Representation < Google::Apis::Core::JsonRepresentation
1072
+ property :activation_policy, as: 'activationPolicy'
1071
1073
  hash :annotations, as: 'annotations'
1072
1074
  property :availability_type, as: 'availabilityType'
1073
1075
  property :client_connection_config, as: 'clientConnectionConfig', class: Google::Apis::AlloydbV1alpha::ClientConnectionConfig, decorator: Google::Apis::AlloydbV1alpha::ClientConnectionConfig::Representation
@@ -1120,6 +1122,7 @@ module Google
1120
1122
  class InstanceNetworkConfig
1121
1123
  # @private
1122
1124
  class Representation < Google::Apis::Core::JsonRepresentation
1125
+ property :allocated_ip_range_override, as: 'allocatedIpRangeOverride'
1123
1126
  collection :authorized_external_networks, as: 'authorizedExternalNetworks', class: Google::Apis::AlloydbV1alpha::AuthorizedNetwork, decorator: Google::Apis::AlloydbV1alpha::AuthorizedNetwork::Representation
1124
1127
 
1125
1128
  property :enable_outbound_public_ip, as: 'enableOutboundPublicIp'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-30 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.26.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.28.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for AlloyDB API V1alpha
79
79
  test_files: []