google-apis-alloydb_v1 0.5.0 → 0.7.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: ee8ea519446b10d986f7be2d1f60afa2ef000875c08790e27f29f04ae8d28bb5
4
- data.tar.gz: 2d63e653967f36ca598599c819d346285c65dab810a120639a32d6aa4b0e7e00
3
+ metadata.gz: 6793a30057a3281b1dc8bb2cee515500d63d95567269e3fcf45f7271c9aaf4d4
4
+ data.tar.gz: 4a6c933fe80b6ee72bb7fcf2dce2f89d506eb10aa520dde648e3428893f26607
5
5
  SHA512:
6
- metadata.gz: '0915294526aed8a5e45d915cb1ff6c54d6c5e795719b9c38cee05e95b3a89eb6d3b96ef83d02acf9fc6159001147d936bb2523075523c7558aa0b476f0b578a4'
7
- data.tar.gz: dd8ba3c0741b11839e54f5b78885911a3b2745355cf341d606cb0bc3dc5e0286c27096ef5f592411fc33f04964c227e363b90ec57fd1fa2079904136c33afad2
6
+ metadata.gz: 5639fa66938b9a6fe7edb32bf4996523d1afae1b687e9e64339169080ad929216dae8e97bb0cc24fae56e3597031806543a356a158fb88e46f10d512645daf97
7
+ data.tar.gz: 2df270642742100bcdf879c3bc9a12ed5204e3bf7197add8c0816ba0a1dc5d35e01cf5f3b46ec26c47f6b7a123f7a4b152b806e71e4731c81dc0f6caa95c8f3c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.7.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240103
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.6.0 (2023-12-10)
9
+
10
+ * Regenerated from discovery document revision 20231128
11
+
3
12
  ### v0.5.0 (2023-11-19)
4
13
 
5
14
  * Regenerated from discovery document revision 20231109
@@ -206,6 +206,12 @@ module Google
206
206
  attr_accessor :reconciling
207
207
  alias_method :reconciling?, :reconciling
208
208
 
209
+ # Output only. Reserved for future use.
210
+ # Corresponds to the JSON property `satisfiesPzs`
211
+ # @return [Boolean]
212
+ attr_accessor :satisfies_pzs
213
+ alias_method :satisfies_pzs?, :satisfies_pzs
214
+
209
215
  # Output only. The size of the backup in bytes.
210
216
  # Corresponds to the JSON property `sizeBytes`
211
217
  # @return [Fixnum]
@@ -254,6 +260,7 @@ module Google
254
260
  @labels = args[:labels] if args.key?(:labels)
255
261
  @name = args[:name] if args.key?(:name)
256
262
  @reconciling = args[:reconciling] if args.key?(:reconciling)
263
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
257
264
  @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
258
265
  @state = args[:state] if args.key?(:state)
259
266
  @type = args[:type] if args.key?(:type)
@@ -495,6 +502,12 @@ module Google
495
502
  attr_accessor :reconciling
496
503
  alias_method :reconciling?, :reconciling
497
504
 
505
+ # Output only. Reserved for future use.
506
+ # Corresponds to the JSON property `satisfiesPzs`
507
+ # @return [Boolean]
508
+ attr_accessor :satisfies_pzs
509
+ alias_method :satisfies_pzs?, :satisfies_pzs
510
+
498
511
  # Configuration information for the secondary cluster. This should be set if and
499
512
  # only if the cluster is of type SECONDARY.
500
513
  # Corresponds to the JSON property `secondaryConfig`
@@ -549,6 +562,7 @@ module Google
549
562
  @network_config = args[:network_config] if args.key?(:network_config)
550
563
  @primary_config = args[:primary_config] if args.key?(:primary_config)
551
564
  @reconciling = args[:reconciling] if args.key?(:reconciling)
565
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
552
566
  @secondary_config = args[:secondary_config] if args.key?(:secondary_config)
553
567
  @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
554
568
  @state = args[:state] if args.key?(:state)
@@ -1155,6 +1169,12 @@ module Google
1155
1169
  attr_accessor :reconciling
1156
1170
  alias_method :reconciling?, :reconciling
1157
1171
 
1172
+ # Output only. Reserved for future use.
1173
+ # Corresponds to the JSON property `satisfiesPzs`
1174
+ # @return [Boolean]
1175
+ attr_accessor :satisfies_pzs
1176
+ alias_method :satisfies_pzs?, :satisfies_pzs
1177
+
1158
1178
  # Output only. The current serving state of the instance.
1159
1179
  # Corresponds to the JSON property `state`
1160
1180
  # @return [String]
@@ -1202,6 +1222,7 @@ module Google
1202
1222
  @query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
1203
1223
  @read_pool_config = args[:read_pool_config] if args.key?(:read_pool_config)
1204
1224
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1225
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1205
1226
  @state = args[:state] if args.key?(:state)
1206
1227
  @uid = args[:uid] if args.key?(:uid)
1207
1228
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -2157,6 +2178,72 @@ module Google
2157
2178
  end
2158
2179
  end
2159
2180
 
2181
+ # Any custom metadata associated with the resource. i.e. A spanner instance can
2182
+ # have multiple databases with its own unique metadata. Information for these
2183
+ # individual databases can be captured in custom metadata data
2184
+ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
2185
+ include Google::Apis::Core::Hashable
2186
+
2187
+ #
2188
+ # Corresponds to the JSON property `databaseMetadata`
2189
+ # @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata>]
2190
+ attr_accessor :database_metadata
2191
+
2192
+ def initialize(**args)
2193
+ update!(**args)
2194
+ end
2195
+
2196
+ # Update properties of this object
2197
+ def update!(**args)
2198
+ @database_metadata = args[:database_metadata] if args.key?(:database_metadata)
2199
+ end
2200
+ end
2201
+
2202
+ # Metadata for individual databases created in an instance. i.e. spanner
2203
+ # instance can have multiple databases with unique configuration settings.
2204
+ class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
2205
+ include Google::Apis::Core::Hashable
2206
+
2207
+ # Configuration for automatic backups
2208
+ # Corresponds to the JSON property `backupConfiguration`
2209
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration]
2210
+ attr_accessor :backup_configuration
2211
+
2212
+ # A backup run.
2213
+ # Corresponds to the JSON property `backupRun`
2214
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun]
2215
+ attr_accessor :backup_run
2216
+
2217
+ # Product specification for Condor resources.
2218
+ # Corresponds to the JSON property `product`
2219
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct]
2220
+ attr_accessor :product
2221
+
2222
+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
2223
+ # Corresponds to the JSON property `resourceId`
2224
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
2225
+ attr_accessor :resource_id
2226
+
2227
+ # Required. Database name. Resource name to follow CAIS resource_name format as
2228
+ # noted here go/condor-common-datamodel
2229
+ # Corresponds to the JSON property `resourceName`
2230
+ # @return [String]
2231
+ attr_accessor :resource_name
2232
+
2233
+ def initialize(**args)
2234
+ update!(**args)
2235
+ end
2236
+
2237
+ # Update properties of this object
2238
+ def update!(**args)
2239
+ @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
2240
+ @backup_run = args[:backup_run] if args.key?(:backup_run)
2241
+ @product = args[:product] if args.key?(:product)
2242
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
2243
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2244
+ end
2245
+ end
2246
+
2160
2247
  # DatabaseResourceFeed is the top level proto to be used to ingest different
2161
2248
  # database resource level events into Condor platform.
2162
2249
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
@@ -2250,8 +2337,8 @@ module Google
2250
2337
 
2251
2338
  # Closest parent container of this resource. In GCP, 'container' refers to a
2252
2339
  # Cloud Resource Manager project. It must be resource name of a Cloud Resource
2253
- # Manager project with the format of "provider//", such as "gcp/projects/123".
2254
- # For GCP provided resources, number should be project number.
2340
+ # Manager project with the format of "provider//", such as "projects/123". For
2341
+ # GCP provided resources, number should be project number.
2255
2342
  # Corresponds to the JSON property `resourceContainer`
2256
2343
  # @return [String]
2257
2344
  attr_accessor :resource_container
@@ -2376,9 +2463,11 @@ module Google
2376
2463
  # @return [String]
2377
2464
  attr_accessor :current_state
2378
2465
 
2379
- # Any custom metadata associated with the resource (a JSON field)
2466
+ # Any custom metadata associated with the resource. i.e. A spanner instance can
2467
+ # have multiple databases with its own unique metadata. Information for these
2468
+ # individual databases can be captured in custom metadata data
2380
2469
  # Corresponds to the JSON property `customMetadata`
2381
- # @return [Hash<String,Object>]
2470
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainCustomMetadataData]
2382
2471
  attr_accessor :custom_metadata
2383
2472
 
2384
2473
  # The state that the instance is expected to be in. For example, an instance
@@ -2414,9 +2503,8 @@ module Google
2414
2503
  attr_accessor :product
2415
2504
 
2416
2505
  # Closest parent Cloud Resource Manager container of this resource. It must be
2417
- # resource name of a Cloud Resource Manager project with the format of "provider/
2418
- # /", such as "gcp/projects/123". For GCP provided resources, number should be
2419
- # project number.
2506
+ # resource name of a Cloud Resource Manager project with the format of "/", such
2507
+ # as "projects/123". For GCP provided resources, number should be project number.
2420
2508
  # Corresponds to the JSON property `resourceContainer`
2421
2509
  # @return [String]
2422
2510
  attr_accessor :resource_container
@@ -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.5.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231109"
25
+ REVISION = "20240103"
26
26
  end
27
27
  end
28
28
  end
@@ -322,6 +322,18 @@ module Google
322
322
  include Google::Apis::Core::JsonObjectSupport
323
323
  end
324
324
 
325
+ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
325
337
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
326
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
339
 
@@ -440,6 +452,7 @@ module Google
440
452
  hash :labels, as: 'labels'
441
453
  property :name, as: 'name'
442
454
  property :reconciling, as: 'reconciling'
455
+ property :satisfies_pzs, as: 'satisfiesPzs'
443
456
  property :size_bytes, :numeric_string => true, as: 'sizeBytes'
444
457
  property :state, as: 'state'
445
458
  property :type, as: 'type'
@@ -513,6 +526,7 @@ module Google
513
526
  property :primary_config, as: 'primaryConfig', class: Google::Apis::AlloydbV1::PrimaryConfig, decorator: Google::Apis::AlloydbV1::PrimaryConfig::Representation
514
527
 
515
528
  property :reconciling, as: 'reconciling'
529
+ property :satisfies_pzs, as: 'satisfiesPzs'
516
530
  property :secondary_config, as: 'secondaryConfig', class: Google::Apis::AlloydbV1::SecondaryConfig, decorator: Google::Apis::AlloydbV1::SecondaryConfig::Representation
517
531
 
518
532
  property :ssl_config, as: 'sslConfig', class: Google::Apis::AlloydbV1::SslConfig, decorator: Google::Apis::AlloydbV1::SslConfig::Representation
@@ -673,6 +687,7 @@ module Google
673
687
  property :read_pool_config, as: 'readPoolConfig', class: Google::Apis::AlloydbV1::ReadPoolConfig, decorator: Google::Apis::AlloydbV1::ReadPoolConfig::Representation
674
688
 
675
689
  property :reconciling, as: 'reconciling'
690
+ property :satisfies_pzs, as: 'satisfiesPzs'
676
691
  property :state, as: 'state'
677
692
  property :uid, as: 'uid'
678
693
  property :update_time, as: 'updateTime'
@@ -939,6 +954,29 @@ module Google
939
954
  end
940
955
  end
941
956
 
957
+ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
958
+ # @private
959
+ class Representation < Google::Apis::Core::JsonRepresentation
960
+ collection :database_metadata, as: 'databaseMetadata', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata::Representation
961
+
962
+ end
963
+ end
964
+
965
+ class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
966
+ # @private
967
+ class Representation < Google::Apis::Core::JsonRepresentation
968
+ property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration::Representation
969
+
970
+ property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
971
+
972
+ property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation
973
+
974
+ property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
975
+
976
+ property :resource_name, as: 'resourceName'
977
+ end
978
+ end
979
+
942
980
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
943
981
  # @private
944
982
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -994,7 +1032,8 @@ module Google
994
1032
 
995
1033
  property :creation_time, as: 'creationTime'
996
1034
  property :current_state, as: 'currentState'
997
- hash :custom_metadata, as: 'customMetadata'
1035
+ property :custom_metadata, as: 'customMetadata', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainCustomMetadataData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainCustomMetadataData::Representation
1036
+
998
1037
  property :expected_state, as: 'expectedState'
999
1038
  property :id, as: 'id', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1000
1039
 
@@ -42,6 +42,8 @@ module Google
42
42
  #
43
43
  # @see https://cloud.google.com/alloydb/
44
44
  class CloudAlloyDBAdminService < Google::Apis::Core::BaseService
45
+ DEFAULT_ENDPOINT_TEMPLATE = "https://alloydb.$UNIVERSE_DOMAIN$/"
46
+
45
47
  # @return [String]
46
48
  # API key. Your API key identifies your project and provides you with API access,
47
49
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -53,7 +55,7 @@ module Google
53
55
  attr_accessor :quota_user
54
56
 
55
57
  def initialize
56
- super('https://alloydb.googleapis.com/', '',
58
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
57
59
  client_name: 'google-apis-alloydb_v1',
58
60
  client_version: Google::Apis::AlloydbV1::GEM_VERSION)
59
61
  @batch_path = 'batch'
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.5.0
4
+ version: 0.7.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: 2023-11-19 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.7.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for AlloyDB API V1