google-apis-alloydb_v1 0.31.0 → 0.33.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: dd941902e8acbaf75df7f6a6fb1d20867358ce80ba899281602a504d7608763f
4
- data.tar.gz: d6a8640f42b3f97673198329dca02c6fddd17b7a7e02c04afd822e21b2a08cff
3
+ metadata.gz: e87b2778a280bb4fd2174224dd12c2e913f4c618f53cc3a671613119732906f2
4
+ data.tar.gz: 4cbbfcf4698613d12044aab671d4ab1e8be32c1ab9f1d63382cfa52269fa24ba
5
5
  SHA512:
6
- metadata.gz: 2758af16958603e5a1bd23b842a40ec8223cf4f25a549ca16fad57d4d4118b1b6bf8ec679b358f3938bfa1171c6fb1f4bec566f8e56bdfef5a0eb2eb5f842ab5
7
- data.tar.gz: ca6fda8f58cec6163848d2088b98d2f3e87363f2a29f0f6b306cacd5f3275b6c1d76533ca03d6e6a85f060e2800e66c745ae7c1935fc8ff030800df3cc743f3c
6
+ metadata.gz: 46642b0de49ae9712420b46529eaa4de616dd2f46128d67824da8a07d49d30d9a8f9d588d7b5ed139d8abb8f4eced541b34dd28152663465841c02999f5bb83e
7
+ data.tar.gz: 8f795c030c429702aabd61c96976d927d84293ba3177504a893dd6c480fdecae697ba1ffaa93f5795ab354d80ccbebea4356bff5b7986198e8fa3a7bb8da0241
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.33.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250320
6
+
7
+ ### v0.32.0 (2025-03-16)
8
+
9
+ * Regenerated from discovery document revision 20250308
10
+
3
11
  ### v0.31.0 (2025-03-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20250227
@@ -259,7 +259,9 @@ module Google
259
259
  # @return [String]
260
260
  attr_accessor :uid
261
261
 
262
- # Output only. Update time stamp
262
+ # Output only. Update time stamp Users should not infer any meaning from this
263
+ # field. Its value is generally unrelated to the timing of the backup creation
264
+ # operation.
263
265
  # Corresponds to the JSON property `updateTime`
264
266
  # @return [String]
265
267
  attr_accessor :update_time
@@ -968,6 +970,55 @@ module Google
968
970
  end
969
971
  end
970
972
 
973
+ # DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not
974
+ # be scheduled to start within this deny period. The start_date must be less
975
+ # than the end_date.
976
+ class DenyMaintenancePeriod
977
+ include Google::Apis::Core::Hashable
978
+
979
+ # Represents a whole or partial calendar date, such as a birthday. The time of
980
+ # day and time zone are either specified elsewhere or are insignificant. The
981
+ # date is relative to the Gregorian Calendar. This can represent one of the
982
+ # following: * A full date, with non-zero year, month, and day values. * A month
983
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
984
+ # with a zero month and a zero day. * A year and month, with a zero day (for
985
+ # example, a credit card expiration date). Related types: * google.type.
986
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
987
+ # Corresponds to the JSON property `endDate`
988
+ # @return [Google::Apis::AlloydbV1::GoogleTypeDate]
989
+ attr_accessor :end_date
990
+
991
+ # Represents a whole or partial calendar date, such as a birthday. The time of
992
+ # day and time zone are either specified elsewhere or are insignificant. The
993
+ # date is relative to the Gregorian Calendar. This can represent one of the
994
+ # following: * A full date, with non-zero year, month, and day values. * A month
995
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
996
+ # with a zero month and a zero day. * A year and month, with a zero day (for
997
+ # example, a credit card expiration date). Related types: * google.type.
998
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
999
+ # Corresponds to the JSON property `startDate`
1000
+ # @return [Google::Apis::AlloydbV1::GoogleTypeDate]
1001
+ attr_accessor :start_date
1002
+
1003
+ # Represents a time of day. The date and time zone are either not significant or
1004
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1005
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1006
+ # Corresponds to the JSON property `time`
1007
+ # @return [Google::Apis::AlloydbV1::GoogleTypeTimeOfDay]
1008
+ attr_accessor :time
1009
+
1010
+ def initialize(**args)
1011
+ update!(**args)
1012
+ end
1013
+
1014
+ # Update properties of this object
1015
+ def update!(**args)
1016
+ @end_date = args[:end_date] if args.key?(:end_date)
1017
+ @start_date = args[:start_date] if args.key?(:start_date)
1018
+ @time = args[:time] if args.key?(:time)
1019
+ end
1020
+ end
1021
+
971
1022
  # A generic empty message that you can re-use to avoid defining duplicated empty
972
1023
  # messages in your APIs. A typical example is to use it as the request or the
973
1024
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1219,6 +1270,47 @@ module Google
1219
1270
  end
1220
1271
  end
1221
1272
 
1273
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1274
+ # day and time zone are either specified elsewhere or are insignificant. The
1275
+ # date is relative to the Gregorian Calendar. This can represent one of the
1276
+ # following: * A full date, with non-zero year, month, and day values. * A month
1277
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1278
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1279
+ # example, a credit card expiration date). Related types: * google.type.
1280
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1281
+ class GoogleTypeDate
1282
+ include Google::Apis::Core::Hashable
1283
+
1284
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
1285
+ # specify a year by itself or a year and month where the day isn't significant.
1286
+ # Corresponds to the JSON property `day`
1287
+ # @return [Fixnum]
1288
+ attr_accessor :day
1289
+
1290
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
1291
+ # and day.
1292
+ # Corresponds to the JSON property `month`
1293
+ # @return [Fixnum]
1294
+ attr_accessor :month
1295
+
1296
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
1297
+ # year.
1298
+ # Corresponds to the JSON property `year`
1299
+ # @return [Fixnum]
1300
+ attr_accessor :year
1301
+
1302
+ def initialize(**args)
1303
+ update!(**args)
1304
+ end
1305
+
1306
+ # Update properties of this object
1307
+ def update!(**args)
1308
+ @day = args[:day] if args.key?(:day)
1309
+ @month = args[:month] if args.key?(:month)
1310
+ @year = args[:year] if args.key?(:year)
1311
+ end
1312
+ end
1313
+
1222
1314
  # Represents a time of day. The date and time zone are either not significant or
1223
1315
  # are specified elsewhere. An API may choose to allow leap seconds. Related
1224
1316
  # types are google.type.Date and `google.protobuf.Timestamp`.
@@ -1618,6 +1710,14 @@ module Google
1618
1710
  attr_accessor :enable_public_ip
1619
1711
  alias_method :enable_public_ip?, :enable_public_ip
1620
1712
 
1713
+ # Output only. The resource link for the VPC network in which instance resources
1714
+ # are created and from which they are accessible via Private IP. This will be
1715
+ # the same value as the parent cluster's network. It is specified in the form: //
1716
+ # `projects/`project_number`/global/networks/`network_id``.
1717
+ # Corresponds to the JSON property `network`
1718
+ # @return [String]
1719
+ attr_accessor :network
1720
+
1621
1721
  def initialize(**args)
1622
1722
  update!(**args)
1623
1723
  end
@@ -1627,6 +1727,7 @@ module Google
1627
1727
  @authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
1628
1728
  @enable_outbound_public_ip = args[:enable_outbound_public_ip] if args.key?(:enable_outbound_public_ip)
1629
1729
  @enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
1730
+ @network = args[:network] if args.key?(:network)
1630
1731
  end
1631
1732
  end
1632
1733
 
@@ -1869,6 +1970,12 @@ module Google
1869
1970
  # @return [Fixnum]
1870
1971
  attr_accessor :cpu_count
1871
1972
 
1973
+ # Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-
1974
+ # highmem-4-lssd". cpu_count must match the number of vCPUs in the machine type.
1975
+ # Corresponds to the JSON property `machineType`
1976
+ # @return [String]
1977
+ attr_accessor :machine_type
1978
+
1872
1979
  def initialize(**args)
1873
1980
  update!(**args)
1874
1981
  end
@@ -1876,6 +1983,7 @@ module Google
1876
1983
  # Update properties of this object
1877
1984
  def update!(**args)
1878
1985
  @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
1986
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
1879
1987
  end
1880
1988
  end
1881
1989
 
@@ -1906,6 +2014,11 @@ module Google
1906
2014
  class MaintenanceUpdatePolicy
1907
2015
  include Google::Apis::Core::Hashable
1908
2016
 
2017
+ # Periods to deny maintenance. Currently limited to 1.
2018
+ # Corresponds to the JSON property `denyMaintenancePeriods`
2019
+ # @return [Array<Google::Apis::AlloydbV1::DenyMaintenancePeriod>]
2020
+ attr_accessor :deny_maintenance_periods
2021
+
1909
2022
  # Preferred windows to perform maintenance. Currently limited to 1.
1910
2023
  # Corresponds to the JSON property `maintenanceWindows`
1911
2024
  # @return [Array<Google::Apis::AlloydbV1::MaintenanceWindow>]
@@ -1917,6 +2030,7 @@ module Google
1917
2030
 
1918
2031
  # Update properties of this object
1919
2032
  def update!(**args)
2033
+ @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
1920
2034
  @maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows)
1921
2035
  end
1922
2036
  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.31.0"
19
+ GEM_VERSION = "0.33.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 = "20250320"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class DenyMaintenancePeriod
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class Empty
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -172,6 +178,12 @@ module Google
172
178
  include Google::Apis::Core::JsonObjectSupport
173
179
  end
174
180
 
181
+ class GoogleTypeDate
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
175
187
  class GoogleTypeTimeOfDay
176
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
189
 
@@ -868,6 +880,18 @@ module Google
868
880
  end
869
881
  end
870
882
 
883
+ class DenyMaintenancePeriod
884
+ # @private
885
+ class Representation < Google::Apis::Core::JsonRepresentation
886
+ property :end_date, as: 'endDate', class: Google::Apis::AlloydbV1::GoogleTypeDate, decorator: Google::Apis::AlloydbV1::GoogleTypeDate::Representation
887
+
888
+ property :start_date, as: 'startDate', class: Google::Apis::AlloydbV1::GoogleTypeDate, decorator: Google::Apis::AlloydbV1::GoogleTypeDate::Representation
889
+
890
+ property :time, as: 'time', class: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay::Representation
891
+
892
+ end
893
+ end
894
+
871
895
  class Empty
872
896
  # @private
873
897
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -945,6 +969,15 @@ module Google
945
969
  end
946
970
  end
947
971
 
972
+ class GoogleTypeDate
973
+ # @private
974
+ class Representation < Google::Apis::Core::JsonRepresentation
975
+ property :day, as: 'day'
976
+ property :month, as: 'month'
977
+ property :year, as: 'year'
978
+ end
979
+ end
980
+
948
981
  class GoogleTypeTimeOfDay
949
982
  # @private
950
983
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1034,6 +1067,7 @@ module Google
1034
1067
 
1035
1068
  property :enable_outbound_public_ip, as: 'enableOutboundPublicIp'
1036
1069
  property :enable_public_ip, as: 'enablePublicIp'
1070
+ property :network, as: 'network'
1037
1071
  end
1038
1072
  end
1039
1073
 
@@ -1116,6 +1150,7 @@ module Google
1116
1150
  # @private
1117
1151
  class Representation < Google::Apis::Core::JsonRepresentation
1118
1152
  property :cpu_count, as: 'cpuCount'
1153
+ property :machine_type, as: 'machineType'
1119
1154
  end
1120
1155
  end
1121
1156
 
@@ -1129,6 +1164,8 @@ module Google
1129
1164
  class MaintenanceUpdatePolicy
1130
1165
  # @private
1131
1166
  class Representation < Google::Apis::Core::JsonRepresentation
1167
+ collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::AlloydbV1::DenyMaintenancePeriod, decorator: Google::Apis::AlloydbV1::DenyMaintenancePeriod::Representation
1168
+
1132
1169
  collection :maintenance_windows, as: 'maintenanceWindows', class: Google::Apis::AlloydbV1::MaintenanceWindow, decorator: Google::Apis::AlloydbV1::MaintenanceWindow::Representation
1133
1170
 
1134
1171
  end
@@ -94,6 +94,9 @@ module Google
94
94
  # Lists information about the supported locations for this service.
95
95
  # @param [String] name
96
96
  # The resource that owns the locations collection, if applicable.
97
+ # @param [Array<String>, String] extra_location_types
98
+ # Optional. A list of extra location types that should be used as conditions for
99
+ # controlling the visibility of the locations.
97
100
  # @param [String] filter
98
101
  # A filter to narrow down results to a preferred subset. The filtering language
99
102
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -121,11 +124,12 @@ module Google
121
124
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
122
125
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
123
126
  # @raise [Google::Apis::AuthorizationError] Authorization is required
124
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
127
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
125
128
  command = make_simple_command(:get, 'v1/{+name}/locations', options)
126
129
  command.response_representation = Google::Apis::AlloydbV1::GoogleCloudLocationListLocationsResponse::Representation
127
130
  command.response_class = Google::Apis::AlloydbV1::GoogleCloudLocationListLocationsResponse
128
131
  command.params['name'] = name unless name.nil?
132
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
129
133
  command.query['filter'] = filter unless filter.nil?
130
134
  command.query['pageSize'] = page_size unless page_size.nil?
131
135
  command.query['pageToken'] = page_token unless page_token.nil?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.33.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-30 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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.31.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.33.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
62
62
  rdoc_options: []
63
63
  require_paths: