google-apis-alloydb_v1beta 0.23.0 → 0.24.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: 440cc5a3c1838f6dbe0ae52424558fa7b65025c1da37ca95c4f9299a89fc5f48
4
- data.tar.gz: df84293cac84edf3b20d12bf488759f42edae81103880068afc1d074c148bf20
3
+ metadata.gz: bf9cd9bf12665fe0b3f527c8bd34a78a210c8fbe6e02a164b3c7d15162d8b382
4
+ data.tar.gz: 49a61f9b8f829c26b3b42b03915ca0c9c2aeef32563f73dcfc2b5d7c769baf12
5
5
  SHA512:
6
- metadata.gz: 53ed4cd3cd4339fb961bf0fe1dd687e63c11b56a4350fe2f3cf5eda7e85ac5dbd9bb5297230f727f7f5582e966c058dde319f251871f3b6ca8352d31b8359115
7
- data.tar.gz: 9b41e7df0c66a7017acf20fc544e9a9602aa08049af9e68cc200b32f4da736bd6a30e8f1fbe230d293e792d5bdb0d85d79a7a5f3e9ff4135ef117792703194cc
6
+ metadata.gz: 52df6779bc0ce0df3dd5c34fadad04a997aa12c60a39962fdc9bffc1c2bcfe87241e07f9aeadaf51e31b1df36f5297b77d83c4aa8967754593ddeb0132652bc9
7
+ data.tar.gz: a18bb84d9356385ace88099df59725760bdc1ef5003526fcbd157891b5159f8be92753613c75d268aa6647474be2f6c80c929bd0e48bf10c3663c0a1d02820d6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1beta
2
2
 
3
+ ### v0.24.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250308
6
+
3
7
  ### v0.23.0 (2025-03-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20250227
@@ -975,6 +975,55 @@ module Google
975
975
  end
976
976
  end
977
977
 
978
+ # DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not
979
+ # be scheduled to start within this deny period. The start_date must be less
980
+ # than the end_date.
981
+ class DenyMaintenancePeriod
982
+ include Google::Apis::Core::Hashable
983
+
984
+ # Represents a whole or partial calendar date, such as a birthday. The time of
985
+ # day and time zone are either specified elsewhere or are insignificant. The
986
+ # date is relative to the Gregorian Calendar. This can represent one of the
987
+ # following: * A full date, with non-zero year, month, and day values. * A month
988
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
989
+ # with a zero month and a zero day. * A year and month, with a zero day (for
990
+ # example, a credit card expiration date). Related types: * google.type.
991
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
992
+ # Corresponds to the JSON property `endDate`
993
+ # @return [Google::Apis::AlloydbV1beta::GoogleTypeDate]
994
+ attr_accessor :end_date
995
+
996
+ # Represents a whole or partial calendar date, such as a birthday. The time of
997
+ # day and time zone are either specified elsewhere or are insignificant. The
998
+ # date is relative to the Gregorian Calendar. This can represent one of the
999
+ # following: * A full date, with non-zero year, month, and day values. * A month
1000
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1001
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1002
+ # example, a credit card expiration date). Related types: * google.type.
1003
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1004
+ # Corresponds to the JSON property `startDate`
1005
+ # @return [Google::Apis::AlloydbV1beta::GoogleTypeDate]
1006
+ attr_accessor :start_date
1007
+
1008
+ # Represents a time of day. The date and time zone are either not significant or
1009
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1010
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1011
+ # Corresponds to the JSON property `time`
1012
+ # @return [Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay]
1013
+ attr_accessor :time
1014
+
1015
+ def initialize(**args)
1016
+ update!(**args)
1017
+ end
1018
+
1019
+ # Update properties of this object
1020
+ def update!(**args)
1021
+ @end_date = args[:end_date] if args.key?(:end_date)
1022
+ @start_date = args[:start_date] if args.key?(:start_date)
1023
+ @time = args[:time] if args.key?(:time)
1024
+ end
1025
+ end
1026
+
978
1027
  # A generic empty message that you can re-use to avoid defining duplicated empty
979
1028
  # messages in your APIs. A typical example is to use it as the request or the
980
1029
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1275,6 +1324,47 @@ module Google
1275
1324
  end
1276
1325
  end
1277
1326
 
1327
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1328
+ # day and time zone are either specified elsewhere or are insignificant. The
1329
+ # date is relative to the Gregorian Calendar. This can represent one of the
1330
+ # following: * A full date, with non-zero year, month, and day values. * A month
1331
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1332
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1333
+ # example, a credit card expiration date). Related types: * google.type.
1334
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1335
+ class GoogleTypeDate
1336
+ include Google::Apis::Core::Hashable
1337
+
1338
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
1339
+ # specify a year by itself or a year and month where the day isn't significant.
1340
+ # Corresponds to the JSON property `day`
1341
+ # @return [Fixnum]
1342
+ attr_accessor :day
1343
+
1344
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
1345
+ # and day.
1346
+ # Corresponds to the JSON property `month`
1347
+ # @return [Fixnum]
1348
+ attr_accessor :month
1349
+
1350
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
1351
+ # year.
1352
+ # Corresponds to the JSON property `year`
1353
+ # @return [Fixnum]
1354
+ attr_accessor :year
1355
+
1356
+ def initialize(**args)
1357
+ update!(**args)
1358
+ end
1359
+
1360
+ # Update properties of this object
1361
+ def update!(**args)
1362
+ @day = args[:day] if args.key?(:day)
1363
+ @month = args[:month] if args.key?(:month)
1364
+ @year = args[:year] if args.key?(:year)
1365
+ end
1366
+ end
1367
+
1278
1368
  # Represents a time of day. The date and time zone are either not significant or
1279
1369
  # are specified elsewhere. An API may choose to allow leap seconds. Related
1280
1370
  # types are google.type.Date and `google.protobuf.Timestamp`.
@@ -1675,6 +1765,14 @@ module Google
1675
1765
  attr_accessor :enable_public_ip
1676
1766
  alias_method :enable_public_ip?, :enable_public_ip
1677
1767
 
1768
+ # Output only. The resource link for the VPC network in which instance resources
1769
+ # are created and from which they are accessible via Private IP. This will be
1770
+ # the same value as the parent cluster's network. It is specified in the form: //
1771
+ # `projects/`project_number`/global/networks/`network_id``.
1772
+ # Corresponds to the JSON property `network`
1773
+ # @return [String]
1774
+ attr_accessor :network
1775
+
1678
1776
  def initialize(**args)
1679
1777
  update!(**args)
1680
1778
  end
@@ -1684,6 +1782,7 @@ module Google
1684
1782
  @authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
1685
1783
  @enable_outbound_public_ip = args[:enable_outbound_public_ip] if args.key?(:enable_outbound_public_ip)
1686
1784
  @enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
1785
+ @network = args[:network] if args.key?(:network)
1687
1786
  end
1688
1787
  end
1689
1788
 
@@ -1926,6 +2025,12 @@ module Google
1926
2025
  # @return [Fixnum]
1927
2026
  attr_accessor :cpu_count
1928
2027
 
2028
+ # Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-
2029
+ # highmem-4-lssd". cpu_count must match the number of vCPUs in the machine type.
2030
+ # Corresponds to the JSON property `machineType`
2031
+ # @return [String]
2032
+ attr_accessor :machine_type
2033
+
1929
2034
  def initialize(**args)
1930
2035
  update!(**args)
1931
2036
  end
@@ -1933,6 +2038,7 @@ module Google
1933
2038
  # Update properties of this object
1934
2039
  def update!(**args)
1935
2040
  @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
2041
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
1936
2042
  end
1937
2043
  end
1938
2044
 
@@ -1963,6 +2069,11 @@ module Google
1963
2069
  class MaintenanceUpdatePolicy
1964
2070
  include Google::Apis::Core::Hashable
1965
2071
 
2072
+ # Periods to deny maintenance. Currently limited to 1.
2073
+ # Corresponds to the JSON property `denyMaintenancePeriods`
2074
+ # @return [Array<Google::Apis::AlloydbV1beta::DenyMaintenancePeriod>]
2075
+ attr_accessor :deny_maintenance_periods
2076
+
1966
2077
  # Preferred windows to perform maintenance. Currently limited to 1.
1967
2078
  # Corresponds to the JSON property `maintenanceWindows`
1968
2079
  # @return [Array<Google::Apis::AlloydbV1beta::MaintenanceWindow>]
@@ -1974,6 +2085,7 @@ module Google
1974
2085
 
1975
2086
  # Update properties of this object
1976
2087
  def update!(**args)
2088
+ @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
1977
2089
  @maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows)
1978
2090
  end
1979
2091
  end
@@ -2118,6 +2230,12 @@ module Google
2118
2230
  class ObservabilityInstanceConfig
2119
2231
  include Google::Apis::Core::Hashable
2120
2232
 
2233
+ # Whether assistive experiences are enabled for this AlloyDB instance.
2234
+ # Corresponds to the JSON property `assistiveExperiencesEnabled`
2235
+ # @return [Boolean]
2236
+ attr_accessor :assistive_experiences_enabled
2237
+ alias_method :assistive_experiences_enabled?, :assistive_experiences_enabled
2238
+
2121
2239
  # Observability feature status for an instance. This flag is turned "off" by
2122
2240
  # default.
2123
2241
  # Corresponds to the JSON property `enabled`
@@ -2180,6 +2298,7 @@ module Google
2180
2298
 
2181
2299
  # Update properties of this object
2182
2300
  def update!(**args)
2301
+ @assistive_experiences_enabled = args[:assistive_experiences_enabled] if args.key?(:assistive_experiences_enabled)
2183
2302
  @enabled = args[:enabled] if args.key?(:enabled)
2184
2303
  @max_query_string_length = args[:max_query_string_length] if args.key?(:max_query_string_length)
2185
2304
  @preserve_comments = args[:preserve_comments] if args.key?(:preserve_comments)
@@ -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.23.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250227"
25
+ REVISION = "20250308"
26
26
  end
27
27
  end
28
28
  end
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class DenyMaintenancePeriod
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class Empty
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -178,6 +184,12 @@ module Google
178
184
  include Google::Apis::Core::JsonObjectSupport
179
185
  end
180
186
 
187
+ class GoogleTypeDate
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
181
193
  class GoogleTypeTimeOfDay
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
@@ -872,6 +884,18 @@ module Google
872
884
  end
873
885
  end
874
886
 
887
+ class DenyMaintenancePeriod
888
+ # @private
889
+ class Representation < Google::Apis::Core::JsonRepresentation
890
+ property :end_date, as: 'endDate', class: Google::Apis::AlloydbV1beta::GoogleTypeDate, decorator: Google::Apis::AlloydbV1beta::GoogleTypeDate::Representation
891
+
892
+ property :start_date, as: 'startDate', class: Google::Apis::AlloydbV1beta::GoogleTypeDate, decorator: Google::Apis::AlloydbV1beta::GoogleTypeDate::Representation
893
+
894
+ property :time, as: 'time', class: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay::Representation
895
+
896
+ end
897
+ end
898
+
875
899
  class Empty
876
900
  # @private
877
901
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -962,6 +986,15 @@ module Google
962
986
  end
963
987
  end
964
988
 
989
+ class GoogleTypeDate
990
+ # @private
991
+ class Representation < Google::Apis::Core::JsonRepresentation
992
+ property :day, as: 'day'
993
+ property :month, as: 'month'
994
+ property :year, as: 'year'
995
+ end
996
+ end
997
+
965
998
  class GoogleTypeTimeOfDay
966
999
  # @private
967
1000
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1050,6 +1083,7 @@ module Google
1050
1083
 
1051
1084
  property :enable_outbound_public_ip, as: 'enableOutboundPublicIp'
1052
1085
  property :enable_public_ip, as: 'enablePublicIp'
1086
+ property :network, as: 'network'
1053
1087
  end
1054
1088
  end
1055
1089
 
@@ -1132,6 +1166,7 @@ module Google
1132
1166
  # @private
1133
1167
  class Representation < Google::Apis::Core::JsonRepresentation
1134
1168
  property :cpu_count, as: 'cpuCount'
1169
+ property :machine_type, as: 'machineType'
1135
1170
  end
1136
1171
  end
1137
1172
 
@@ -1145,6 +1180,8 @@ module Google
1145
1180
  class MaintenanceUpdatePolicy
1146
1181
  # @private
1147
1182
  class Representation < Google::Apis::Core::JsonRepresentation
1183
+ collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::AlloydbV1beta::DenyMaintenancePeriod, decorator: Google::Apis::AlloydbV1beta::DenyMaintenancePeriod::Representation
1184
+
1148
1185
  collection :maintenance_windows, as: 'maintenanceWindows', class: Google::Apis::AlloydbV1beta::MaintenanceWindow, decorator: Google::Apis::AlloydbV1beta::MaintenanceWindow::Representation
1149
1186
 
1150
1187
  end
@@ -1189,6 +1226,7 @@ module Google
1189
1226
  class ObservabilityInstanceConfig
1190
1227
  # @private
1191
1228
  class Representation < Google::Apis::Core::JsonRepresentation
1229
+ property :assistive_experiences_enabled, as: 'assistiveExperiencesEnabled'
1192
1230
  property :enabled, as: 'enabled'
1193
1231
  property :max_query_string_length, as: 'maxQueryStringLength'
1194
1232
  property :preserve_comments, as: 'preserveComments'
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.23.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-09 00:00:00.000000000 Z
10
+ date: 2025-03-16 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.23.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.24.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: