google-apis-alloydb_v1beta 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: 2c31defc23592a5a8bec0c4d80b7ec01da7f28a11fb0b0857c574b194de5d6a2
4
- data.tar.gz: 378e0db1e571b7c235caa154b99d277e2f24cfaab824023750d206cf88bd84d5
3
+ metadata.gz: db79bedbb53631976684a0786bf12e44f22c1728402beca2b5018d84bba79e68
4
+ data.tar.gz: 3c25370a9171f636ff098048e152c9b946b60044cc763ab00d6d0a8d3a7423a7
5
5
  SHA512:
6
- metadata.gz: fc7dd5ba439a9c826412273b7153bd4568d2415e0c5530474e7f2ee60332ea588384210ace87591f6bea16203421311716e3aee827c93e85aa535e916f690dcf
7
- data.tar.gz: 76e0c4e3010725eedbc5247e1f9a92ad7b42454af3c71073c5e9e89cfe450c827e4b252aa42ed857e920d94d76f0a919800fd0e87678ce757e45f3259c82ec4c
6
+ metadata.gz: d66f9c09aaeebca11391eb3a0aa9a2000448075a7883c55d395e84a4d464b41292b4109b1607a2de2def4e88f131ca3cfe636177beb05ad140e37a9c2bad8ce3
7
+ data.tar.gz: 2de873eada438167425709ae48cecfd6a237097579e8bdfb33bae5149eb8d6207fb7a1b236ac5d292c44442960190b4b5a2e459a915dbca7e7bf3c59fb50af3d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-alloydb_v1beta
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]
@@ -275,6 +280,7 @@ module Google
275
280
  @annotations = args[:annotations] if args.key?(:annotations)
276
281
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
277
282
  @cluster_uid = args[:cluster_uid] if args.key?(:cluster_uid)
283
+ @create_completion_time = args[:create_completion_time] if args.key?(:create_completion_time)
278
284
  @create_time = args[:create_time] if args.key?(:create_time)
279
285
  @database_version = args[:database_version] if args.key?(:database_version)
280
286
  @delete_time = args[:delete_time] if args.key?(:delete_time)
@@ -498,8 +504,7 @@ module Google
498
504
  # @return [String]
499
505
  attr_accessor :etag
500
506
 
501
- # Cluster level configuration parameters related to the Gemini in Databases add-
502
- # on.
507
+ # Deprecated and unused. This field will be removed in the near future.
503
508
  # Corresponds to the JSON property `geminiConfig`
504
509
  # @return [Google::Apis::AlloydbV1beta::GeminiClusterConfig]
505
510
  attr_accessor :gemini_config
@@ -791,8 +796,7 @@ module Google
791
796
  # @return [String]
792
797
  attr_accessor :default_pool_size
793
798
 
794
- # Optional. Deprecated; Prefer 'enabled' as this will be removed soon. TODO(b/
795
- # 394996708) move to reserved once the field is removed from the gcloud client.
799
+ # Optional. Deprecated; Prefer 'enabled' as this will be removed soon.
796
800
  # Corresponds to the JSON property `enable`
797
801
  # @return [Boolean]
798
802
  attr_accessor :enable
@@ -922,8 +926,16 @@ module Google
922
926
  class ContinuousBackupInfo
923
927
  include Google::Apis::Core::Hashable
924
928
 
925
- # Output only. The earliest restorable time that can be restored to. Output only
926
- # field.
929
+ # Output only. The earliest restorable time that can be restored to. If
930
+ # continuous backups and recovery was recently enabled, the earliest restorable
931
+ # time is the creation time of the earliest eligible backup within this cluster'
932
+ # s continuous backup recovery window. After a cluster has had continuous
933
+ # backups enabled for the duration of its recovery window, the earliest
934
+ # restorable time becomes "now minus the recovery window". For example, assuming
935
+ # a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d
936
+ # recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM.
937
+ # This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view
938
+ # is provided.
927
939
  # Corresponds to the JSON property `earliestRestorableTime`
928
940
  # @return [String]
929
941
  attr_accessor :earliest_restorable_time
@@ -939,8 +951,7 @@ module Google
939
951
  # @return [Google::Apis::AlloydbV1beta::EncryptionInfo]
940
952
  attr_accessor :encryption_info
941
953
 
942
- # Output only. Days of the week on which a continuous backup is taken. Output
943
- # only field. Ignored if passed into the request.
954
+ # Output only. Days of the week on which a continuous backup is taken.
944
955
  # Corresponds to the JSON property `schedule`
945
956
  # @return [Array<String>]
946
957
  attr_accessor :schedule
@@ -1307,15 +1318,12 @@ module Google
1307
1318
  end
1308
1319
  end
1309
1320
 
1310
- # Cluster level configuration parameters related to the Gemini in Databases add-
1311
- # on.
1321
+ # Deprecated and unused. This field will be removed in the near future.
1312
1322
  class GeminiClusterConfig
1313
1323
  include Google::Apis::Core::Hashable
1314
1324
 
1315
- # Output only. Whether the Gemini in Databases add-on is enabled for the cluster.
1316
- # It will be true only if the add-on has been enabled for the billing account
1317
- # corresponding to the cluster. Its status is toggled from the Admin Control
1318
- # Center (ACC) and cannot be toggled using AlloyDB's APIs.
1325
+ # Output only. Deprecated and unused. This field will be removed in the near
1326
+ # future.
1319
1327
  # Corresponds to the JSON property `entitled`
1320
1328
  # @return [Boolean]
1321
1329
  attr_accessor :entitled
@@ -1331,15 +1339,12 @@ module Google
1331
1339
  end
1332
1340
  end
1333
1341
 
1334
- # Instance level configuration parameters related to the Gemini in Databases add-
1335
- # on.
1342
+ # Deprecated and unused. This field will be removed in the near future.
1336
1343
  class GeminiInstanceConfig
1337
1344
  include Google::Apis::Core::Hashable
1338
1345
 
1339
- # Output only. Whether the Gemini in Databases add-on is enabled for the
1340
- # instance. It will be true only if the add-on has been enabled for the billing
1341
- # account corresponding to the instance. Its status is toggled from the Admin
1342
- # Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
1346
+ # Output only. Deprecated and unused. This field will be removed in the near
1347
+ # future.
1343
1348
  # Corresponds to the JSON property `entitled`
1344
1349
  # @return [Boolean]
1345
1350
  attr_accessor :entitled
@@ -1610,6 +1615,16 @@ module Google
1610
1615
  class Instance
1611
1616
  include Google::Apis::Core::Hashable
1612
1617
 
1618
+ # Optional. Specifies whether an instance needs to spin up. Once the instance is
1619
+ # active, the activation policy can be updated to the `NEVER` to stop the
1620
+ # instance. Likewise, the activation policy can be updated to `ALWAYS` to start
1621
+ # the instance. There are restrictions around when an instance can/cannot be
1622
+ # activated (for example, a read pool instance should be stopped before stopping
1623
+ # primary etc.). Please refer to the API documentation for more details.
1624
+ # Corresponds to the JSON property `activationPolicy`
1625
+ # @return [String]
1626
+ attr_accessor :activation_policy
1627
+
1613
1628
  # Annotations to allow client tools to store small amount of arbitrary data.
1614
1629
  # This is distinct from labels. https://google.aip.dev/128
1615
1630
  # Corresponds to the JSON property `annotations`
@@ -1685,8 +1700,7 @@ module Google
1685
1700
  # @return [String]
1686
1701
  attr_accessor :gce_zone
1687
1702
 
1688
- # Instance level configuration parameters related to the Gemini in Databases add-
1689
- # on.
1703
+ # Deprecated and unused. This field will be removed in the near future.
1690
1704
  # Corresponds to the JSON property `geminiConfig`
1691
1705
  # @return [Google::Apis::AlloydbV1beta::GeminiInstanceConfig]
1692
1706
  attr_accessor :gemini_config
@@ -1817,6 +1831,7 @@ module Google
1817
1831
 
1818
1832
  # Update properties of this object
1819
1833
  def update!(**args)
1834
+ @activation_policy = args[:activation_policy] if args.key?(:activation_policy)
1820
1835
  @annotations = args[:annotations] if args.key?(:annotations)
1821
1836
  @availability_type = args[:availability_type] if args.key?(:availability_type)
1822
1837
  @client_connection_config = args[:client_connection_config] if args.key?(:client_connection_config)
@@ -1856,6 +1871,16 @@ module Google
1856
1871
  class InstanceNetworkConfig
1857
1872
  include Google::Apis::Core::Hashable
1858
1873
 
1874
+ # Optional. Name of the allocated IP range for the private IP AlloyDB instance,
1875
+ # for example: "google-managed-services-default". If set, the instance IPs will
1876
+ # be created from this allocated range and will override the IP range used by
1877
+ # the parent cluster. The range name must comply with [RFC 1035](http://go/rfc/
1878
+ # 1035). Specifically, the name must be 1-63 characters long and match the
1879
+ # regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
1880
+ # Corresponds to the JSON property `allocatedIpRangeOverride`
1881
+ # @return [String]
1882
+ attr_accessor :allocated_ip_range_override
1883
+
1859
1884
  # Optional. A list of external network authorized to access this instance.
1860
1885
  # Corresponds to the JSON property `authorizedExternalNetworks`
1861
1886
  # @return [Array<Google::Apis::AlloydbV1beta::AuthorizedNetwork>]
@@ -1888,6 +1913,7 @@ module Google
1888
1913
 
1889
1914
  # Update properties of this object
1890
1915
  def update!(**args)
1916
+ @allocated_ip_range_override = args[:allocated_ip_range_override] if args.key?(:allocated_ip_range_override)
1891
1917
  @authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
1892
1918
  @enable_outbound_public_ip = args[:enable_outbound_public_ip] if args.key?(:enable_outbound_public_ip)
1893
1919
  @enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
@@ -2624,7 +2650,16 @@ module Google
2624
2650
  # @return [String]
2625
2651
  attr_accessor :consumer_network
2626
2652
 
2627
- # Output only. The status of the service connection policy.
2653
+ # Output only. The status of the service connection policy. Possible values: "
2654
+ # STATE_UNSPECIFIED" - Default state, when Connection Map is created initially. "
2655
+ # VALID" - Set when policy and map configuration is valid, and their matching
2656
+ # can lead to allowing creation of PSC Connections subject to other constraints
2657
+ # like connections limit. "CONNECTION_POLICY_MISSING" - No Service Connection
2658
+ # Policy found for this network and Service Class "POLICY_LIMIT_REACHED" -
2659
+ # Service Connection Policy limit reached for this network and Service Class "
2660
+ # CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED" - The consumer instance project is
2661
+ # not in AllowedGoogleProducersResourceHierarchyLevels of the matching
2662
+ # ServiceConnectionPolicy.
2628
2663
  # Corresponds to the JSON property `consumerNetworkStatus`
2629
2664
  # @return [String]
2630
2665
  attr_accessor :consumer_network_status
@@ -2640,7 +2675,14 @@ module Google
2640
2675
  # @return [String]
2641
2676
  attr_accessor :ip_address
2642
2677
 
2643
- # Output only. The status of the PSC service automation connection.
2678
+ # Output only. The status of the PSC service automation connection. Possible
2679
+ # values: "STATE_UNSPECIFIED" - An invalid state as the default case. "ACTIVE" -
2680
+ # The connection has been created successfully. "FAILED" - The connection is not
2681
+ # functional since some resources on the connection fail to be created. "
2682
+ # CREATING" - The connection is being created. "DELETING" - The connection is
2683
+ # being deleted. "CREATE_REPAIRING" - The connection is being repaired to
2684
+ # complete creation. "DELETE_REPAIRING" - The connection is being repaired to
2685
+ # complete deletion.
2644
2686
  # Corresponds to the JSON property `status`
2645
2687
  # @return [String]
2646
2688
  attr_accessor :status
@@ -2939,7 +2981,7 @@ module Google
2939
2981
  end
2940
2982
 
2941
2983
  # Message for restoring a Cluster from a backup or another cluster at a given
2942
- # point in time.
2984
+ # point in time. NEXT_ID: 11
2943
2985
  class RestoreClusterRequest
2944
2986
  include Google::Apis::Core::Hashable
2945
2987
 
@@ -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.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
@@ -695,6 +695,7 @@ module Google
695
695
  hash :annotations, as: 'annotations'
696
696
  property :cluster_name, as: 'clusterName'
697
697
  property :cluster_uid, as: 'clusterUid'
698
+ property :create_completion_time, as: 'createCompletionTime'
698
699
  property :create_time, as: 'createTime'
699
700
  property :database_version, as: 'databaseVersion'
700
701
  property :delete_time, as: 'deleteTime'
@@ -1054,6 +1055,7 @@ module Google
1054
1055
  class Instance
1055
1056
  # @private
1056
1057
  class Representation < Google::Apis::Core::JsonRepresentation
1058
+ property :activation_policy, as: 'activationPolicy'
1057
1059
  hash :annotations, as: 'annotations'
1058
1060
  property :availability_type, as: 'availabilityType'
1059
1061
  property :client_connection_config, as: 'clientConnectionConfig', class: Google::Apis::AlloydbV1beta::ClientConnectionConfig, decorator: Google::Apis::AlloydbV1beta::ClientConnectionConfig::Representation
@@ -1105,6 +1107,7 @@ module Google
1105
1107
  class InstanceNetworkConfig
1106
1108
  # @private
1107
1109
  class Representation < Google::Apis::Core::JsonRepresentation
1110
+ property :allocated_ip_range_override, as: 'allocatedIpRangeOverride'
1108
1111
  collection :authorized_external_networks, as: 'authorizedExternalNetworks', class: Google::Apis::AlloydbV1beta::AuthorizedNetwork, decorator: Google::Apis::AlloydbV1beta::AuthorizedNetwork::Representation
1109
1112
 
1110
1113
  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_v1beta
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_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.26.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.28.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1beta
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 V1beta
79
79
  test_files: []