google-apis-alloydb_v1beta 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d94c884e0d06fb51ed552dfa882754556c2348c776b36c997b4881d654c28523
4
- data.tar.gz: b31f63141c491e14354092c0f041d9a9a6261526d6a4dc16debb027e5b5f96cb
3
+ metadata.gz: 946e66eeb6884494734ca61bb56991c191c763aeeb6abfc14d1146811e715df1
4
+ data.tar.gz: c1f102090e9612f90e4ae4fabfbdea194d6d36a038b0558427cbfc60aeb6bf1c
5
5
  SHA512:
6
- metadata.gz: f205043f3c60d2f1886f745cea5dd07737a307af37fe807cc10ae4f731ef96aad104eb6996b668d43cdba9dceb9c47e07e6c7b9a43172fda93cfded7f06636f8
7
- data.tar.gz: bfc92e4d80773f19e16100a6657b218815e2bfe54a3ba0f158b0329eb971126b4be4f28f219ade1acacb783c682e044ef4bd65612e093c111de9af5521e3ae38
6
+ metadata.gz: 0f89fb18f97b8cace91231de0753ea411a75ba7dab7110d8d821c3f13bc53788a583c1bad5ad26467d00ca82f686cbc5a0f5f862d94cb43d4a69006ab82c3388
7
+ data.tar.gz: 749e99d7c9a8d153ddf6e1e1b02e948eed6e5aac2df0a8471cf3aa6d42d1a61f4b82c7e5090e440abef0211cd3b09494275c5ff76815c2dbcfa92d2a8cecb573
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-alloydb_v1beta
2
2
 
3
+ ### v0.6.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240207
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.5.0 (2024-01-23)
9
+
10
+ * Regenerated from discovery document revision 20240103
11
+ * Regenerated using generator version 0.13.0
12
+
3
13
  ### v0.4.0 (2023-12-17)
4
14
 
5
15
  * 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
@@ -2265,6 +2339,11 @@ module Google
2265
2339
  # @return [String]
2266
2340
  attr_accessor :feed_type
2267
2341
 
2342
+ # Common model for database resource recommendation signal data.
2343
+ # Corresponds to the JSON property `recommendationSignalData`
2344
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData]
2345
+ attr_accessor :recommendation_signal_data
2346
+
2268
2347
  # Common model for database resource health signal data.
2269
2348
  # Corresponds to the JSON property `resourceHealthSignalData`
2270
2349
  # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData]
@@ -2288,6 +2367,7 @@ module Google
2288
2367
  def update!(**args)
2289
2368
  @feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
2290
2369
  @feed_type = args[:feed_type] if args.key?(:feed_type)
2370
+ @recommendation_signal_data = args[:recommendation_signal_data] if args.key?(:recommendation_signal_data)
2291
2371
  @resource_health_signal_data = args[:resource_health_signal_data] if args.key?(:resource_health_signal_data)
2292
2372
  @resource_id = args[:resource_id] if args.key?(:resource_id)
2293
2373
  @resource_metadata = args[:resource_metadata] if args.key?(:resource_metadata)
@@ -2469,9 +2549,11 @@ module Google
2469
2549
  # @return [String]
2470
2550
  attr_accessor :current_state
2471
2551
 
2472
- # Any custom metadata associated with the resource (a JSON field)
2552
+ # Any custom metadata associated with the resource. i.e. A spanner instance can
2553
+ # have multiple databases with its own unique metadata. Information for these
2554
+ # individual databases can be captured in custom metadata data
2473
2555
  # Corresponds to the JSON property `customMetadata`
2474
- # @return [Hash<String,Object>]
2556
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainCustomMetadataData]
2475
2557
  attr_accessor :custom_metadata
2476
2558
 
2477
2559
  # The state that the instance is expected to be in. For example, an instance
@@ -2558,6 +2640,51 @@ module Google
2558
2640
  end
2559
2641
  end
2560
2642
 
2643
+ # Common model for database resource recommendation signal data.
2644
+ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
2645
+ include Google::Apis::Core::Hashable
2646
+
2647
+ # Required. Any other additional metadata
2648
+ # Corresponds to the JSON property `additionalMetadata`
2649
+ # @return [Hash<String,Object>]
2650
+ attr_accessor :additional_metadata
2651
+
2652
+ # Required. last time recommendationw as refreshed
2653
+ # Corresponds to the JSON property `lastRefreshTime`
2654
+ # @return [String]
2655
+ attr_accessor :last_refresh_time
2656
+
2657
+ # Required. Recommendation state
2658
+ # Corresponds to the JSON property `recommendationState`
2659
+ # @return [String]
2660
+ attr_accessor :recommendation_state
2661
+
2662
+ # Required. Database resource name associated with the signal. Resource name to
2663
+ # follow CAIS resource_name format as noted here go/condor-common-datamodel
2664
+ # Corresponds to the JSON property `resourceName`
2665
+ # @return [String]
2666
+ attr_accessor :resource_name
2667
+
2668
+ # Required. Type of signal, for example, `SIGNAL_TYPE_IDLE`, `
2669
+ # SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES`, etc.
2670
+ # Corresponds to the JSON property `signalType`
2671
+ # @return [String]
2672
+ attr_accessor :signal_type
2673
+
2674
+ def initialize(**args)
2675
+ update!(**args)
2676
+ end
2677
+
2678
+ # Update properties of this object
2679
+ def update!(**args)
2680
+ @additional_metadata = args[:additional_metadata] if args.key?(:additional_metadata)
2681
+ @last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
2682
+ @recommendation_state = args[:recommendation_state] if args.key?(:recommendation_state)
2683
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2684
+ @signal_type = args[:signal_type] if args.key?(:signal_type)
2685
+ end
2686
+ end
2687
+
2561
2688
  # An error that occurred during a backup creation operation.
2562
2689
  class StorageDatabasecenterPartnerapiV1mainOperationError
2563
2690
  include Google::Apis::Core::Hashable
@@ -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.6.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.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231206"
25
+ REVISION = "20240207"
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
 
@@ -352,6 +364,12 @@ module Google
352
364
  include Google::Apis::Core::JsonObjectSupport
353
365
  end
354
366
 
367
+ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
355
373
  class StorageDatabasecenterPartnerapiV1mainOperationError
356
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
375
 
@@ -689,6 +707,7 @@ module Google
689
707
 
690
708
  collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1beta::Node, decorator: Google::Apis::AlloydbV1beta::Node::Representation
691
709
 
710
+ property :public_ip_address, as: 'publicIpAddress'
692
711
  property :query_insights_config, as: 'queryInsightsConfig', class: Google::Apis::AlloydbV1beta::QueryInsightsInstanceConfig, decorator: Google::Apis::AlloydbV1beta::QueryInsightsInstanceConfig::Representation
693
712
 
694
713
  property :read_pool_config, as: 'readPoolConfig', class: Google::Apis::AlloydbV1beta::ReadPoolConfig, decorator: Google::Apis::AlloydbV1beta::ReadPoolConfig::Representation
@@ -972,11 +991,36 @@ module Google
972
991
  end
973
992
  end
974
993
 
994
+ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
995
+ # @private
996
+ class Representation < Google::Apis::Core::JsonRepresentation
997
+ collection :database_metadata, as: 'databaseMetadata', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata::Representation
998
+
999
+ end
1000
+ end
1001
+
1002
+ class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
1003
+ # @private
1004
+ class Representation < Google::Apis::Core::JsonRepresentation
1005
+ property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupConfiguration, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupConfiguration::Representation
1006
+
1007
+ property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
1008
+
1009
+ property :product, as: 'product', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct::Representation
1010
+
1011
+ property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1012
+
1013
+ property :resource_name, as: 'resourceName'
1014
+ end
1015
+ end
1016
+
975
1017
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
976
1018
  # @private
977
1019
  class Representation < Google::Apis::Core::JsonRepresentation
978
1020
  property :feed_timestamp, as: 'feedTimestamp'
979
1021
  property :feed_type, as: 'feedType'
1022
+ property :recommendation_signal_data, as: 'recommendationSignalData', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData::Representation
1023
+
980
1024
  property :resource_health_signal_data, as: 'resourceHealthSignalData', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData::Representation
981
1025
 
982
1026
  property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
@@ -1027,7 +1071,8 @@ module Google
1027
1071
 
1028
1072
  property :creation_time, as: 'creationTime'
1029
1073
  property :current_state, as: 'currentState'
1030
- hash :custom_metadata, as: 'customMetadata'
1074
+ property :custom_metadata, as: 'customMetadata', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainCustomMetadataData, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainCustomMetadataData::Representation
1075
+
1031
1076
  property :expected_state, as: 'expectedState'
1032
1077
  property :id, as: 'id', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1033
1078
 
@@ -1044,6 +1089,17 @@ module Google
1044
1089
  end
1045
1090
  end
1046
1091
 
1092
+ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
1093
+ # @private
1094
+ class Representation < Google::Apis::Core::JsonRepresentation
1095
+ hash :additional_metadata, as: 'additionalMetadata'
1096
+ property :last_refresh_time, as: 'lastRefreshTime'
1097
+ property :recommendation_state, as: 'recommendationState'
1098
+ property :resource_name, as: 'resourceName'
1099
+ property :signal_type, as: 'signalType'
1100
+ end
1101
+ end
1102
+
1047
1103
  class StorageDatabasecenterPartnerapiV1mainOperationError
1048
1104
  # @private
1049
1105
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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.6.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-02-18 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.6.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