google-apis-alloydb_v1beta 0.4.0 → 0.5.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: d94c884e0d06fb51ed552dfa882754556c2348c776b36c997b4881d654c28523
4
- data.tar.gz: b31f63141c491e14354092c0f041d9a9a6261526d6a4dc16debb027e5b5f96cb
3
+ metadata.gz: 7b8c0ddf0f12a1b66aea15560badc7a4666f409c15233f7007da9ac98b77455c
4
+ data.tar.gz: f0955f5f612af3c90f20da55b5d25c2ad3eb386c86705a827c3117c74e34951c
5
5
  SHA512:
6
- metadata.gz: f205043f3c60d2f1886f745cea5dd07737a307af37fe807cc10ae4f731ef96aad104eb6996b668d43cdba9dceb9c47e07e6c7b9a43172fda93cfded7f06636f8
7
- data.tar.gz: bfc92e4d80773f19e16100a6657b218815e2bfe54a3ba0f158b0329eb971126b4be4f28f219ade1acacb783c682e044ef4bd65612e093c111de9af5521e3ae38
6
+ metadata.gz: dbf38d0521042880c1c88f77db696e13e7b859b80461ea837b9c7e8bb965c7125bc0463c1da6c92d225e91532b5745059da67680bc6b4bee44c8f80f36edfd54
7
+ data.tar.gz: aed09dc7e224886541962bec26551e80e10f7ff557733f1c5fa00d5c20fcf5e2317150b558149cb12eaa6c72b6e2b7a04da676d4c1b2ac0d8d5473093b63a5b0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-alloydb_v1beta
2
2
 
3
+ ### v0.5.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240103
6
+ * Regenerated using generator version 0.13.0
7
+
3
8
  ### v0.4.0 (2023-12-17)
4
9
 
5
10
  * Regenerated from discovery document revision 20231206
@@ -1188,6 +1188,13 @@ module Google
1188
1188
  # @return [Array<Google::Apis::AlloydbV1beta::Node>]
1189
1189
  attr_accessor :nodes
1190
1190
 
1191
+ # Output only. The public IP addresses for the Instance. This is available ONLY
1192
+ # when enable_public_ip is set. This is the connection endpoint for an end-user
1193
+ # application.
1194
+ # Corresponds to the JSON property `publicIpAddress`
1195
+ # @return [String]
1196
+ attr_accessor :public_ip_address
1197
+
1191
1198
  # QueryInsights Instance specific configuration.
1192
1199
  # Corresponds to the JSON property `queryInsightsConfig`
1193
1200
  # @return [Google::Apis::AlloydbV1beta::QueryInsightsInstanceConfig]
@@ -1264,6 +1271,7 @@ module Google
1264
1271
  @name = args[:name] if args.key?(:name)
1265
1272
  @network_config = args[:network_config] if args.key?(:network_config)
1266
1273
  @nodes = args[:nodes] if args.key?(:nodes)
1274
+ @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
1267
1275
  @query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
1268
1276
  @read_pool_config = args[:read_pool_config] if args.key?(:read_pool_config)
1269
1277
  @reconciling = args[:reconciling] if args.key?(:reconciling)
@@ -2250,6 +2258,72 @@ module Google
2250
2258
  end
2251
2259
  end
2252
2260
 
2261
+ # Any custom metadata associated with the resource. i.e. A spanner instance can
2262
+ # have multiple databases with its own unique metadata. Information for these
2263
+ # individual databases can be captured in custom metadata data
2264
+ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
2265
+ include Google::Apis::Core::Hashable
2266
+
2267
+ #
2268
+ # Corresponds to the JSON property `databaseMetadata`
2269
+ # @return [Array<Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata>]
2270
+ attr_accessor :database_metadata
2271
+
2272
+ def initialize(**args)
2273
+ update!(**args)
2274
+ end
2275
+
2276
+ # Update properties of this object
2277
+ def update!(**args)
2278
+ @database_metadata = args[:database_metadata] if args.key?(:database_metadata)
2279
+ end
2280
+ end
2281
+
2282
+ # Metadata for individual databases created in an instance. i.e. spanner
2283
+ # instance can have multiple databases with unique configuration settings.
2284
+ class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
2285
+ include Google::Apis::Core::Hashable
2286
+
2287
+ # Configuration for automatic backups
2288
+ # Corresponds to the JSON property `backupConfiguration`
2289
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupConfiguration]
2290
+ attr_accessor :backup_configuration
2291
+
2292
+ # A backup run.
2293
+ # Corresponds to the JSON property `backupRun`
2294
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupRun]
2295
+ attr_accessor :backup_run
2296
+
2297
+ # Product specification for Condor resources.
2298
+ # Corresponds to the JSON property `product`
2299
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct]
2300
+ attr_accessor :product
2301
+
2302
+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
2303
+ # Corresponds to the JSON property `resourceId`
2304
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
2305
+ attr_accessor :resource_id
2306
+
2307
+ # Required. Database name. Resource name to follow CAIS resource_name format as
2308
+ # noted here go/condor-common-datamodel
2309
+ # Corresponds to the JSON property `resourceName`
2310
+ # @return [String]
2311
+ attr_accessor :resource_name
2312
+
2313
+ def initialize(**args)
2314
+ update!(**args)
2315
+ end
2316
+
2317
+ # Update properties of this object
2318
+ def update!(**args)
2319
+ @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
2320
+ @backup_run = args[:backup_run] if args.key?(:backup_run)
2321
+ @product = args[:product] if args.key?(:product)
2322
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
2323
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2324
+ end
2325
+ end
2326
+
2253
2327
  # DatabaseResourceFeed is the top level proto to be used to ingest different
2254
2328
  # database resource level events into Condor platform.
2255
2329
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
@@ -2469,9 +2543,11 @@ module Google
2469
2543
  # @return [String]
2470
2544
  attr_accessor :current_state
2471
2545
 
2472
- # Any custom metadata associated with the resource (a JSON field)
2546
+ # Any custom metadata associated with the resource. i.e. A spanner instance can
2547
+ # have multiple databases with its own unique metadata. Information for these
2548
+ # individual databases can be captured in custom metadata data
2473
2549
  # Corresponds to the JSON property `customMetadata`
2474
- # @return [Hash<String,Object>]
2550
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainCustomMetadataData]
2475
2551
  attr_accessor :custom_metadata
2476
2552
 
2477
2553
  # The state that the instance is expected to be in. For example, an instance
@@ -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.4.0"
19
+ GEM_VERSION = "0.5.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 = "20231206"
25
+ REVISION = "20240103"
26
26
  end
27
27
  end
28
28
  end
@@ -328,6 +328,18 @@ module Google
328
328
  include Google::Apis::Core::JsonObjectSupport
329
329
  end
330
330
 
331
+ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
331
343
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
332
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
345
 
@@ -689,6 +701,7 @@ module Google
689
701
 
690
702
  collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1beta::Node, decorator: Google::Apis::AlloydbV1beta::Node::Representation
691
703
 
704
+ property :public_ip_address, as: 'publicIpAddress'
692
705
  property :query_insights_config, as: 'queryInsightsConfig', class: Google::Apis::AlloydbV1beta::QueryInsightsInstanceConfig, decorator: Google::Apis::AlloydbV1beta::QueryInsightsInstanceConfig::Representation
693
706
 
694
707
  property :read_pool_config, as: 'readPoolConfig', class: Google::Apis::AlloydbV1beta::ReadPoolConfig, decorator: Google::Apis::AlloydbV1beta::ReadPoolConfig::Representation
@@ -972,6 +985,29 @@ module Google
972
985
  end
973
986
  end
974
987
 
988
+ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
989
+ # @private
990
+ class Representation < Google::Apis::Core::JsonRepresentation
991
+ collection :database_metadata, as: 'databaseMetadata', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata::Representation
992
+
993
+ end
994
+ end
995
+
996
+ class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
997
+ # @private
998
+ class Representation < Google::Apis::Core::JsonRepresentation
999
+ property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupConfiguration, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupConfiguration::Representation
1000
+
1001
+ property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
1002
+
1003
+ property :product, as: 'product', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct::Representation
1004
+
1005
+ property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1006
+
1007
+ property :resource_name, as: 'resourceName'
1008
+ end
1009
+ end
1010
+
975
1011
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
976
1012
  # @private
977
1013
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1027,7 +1063,8 @@ module Google
1027
1063
 
1028
1064
  property :creation_time, as: 'creationTime'
1029
1065
  property :current_state, as: 'currentState'
1030
- hash :custom_metadata, as: 'customMetadata'
1066
+ property :custom_metadata, as: 'customMetadata', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainCustomMetadataData, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainCustomMetadataData::Representation
1067
+
1031
1068
  property :expected_state, as: 'expectedState'
1032
1069
  property :id, as: 'id', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1033
1070
 
@@ -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_v1beta',
58
60
  client_version: Google::Apis::AlloydbV1beta::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_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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-12-17 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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.5.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1beta
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 V1beta