google-apis-alloydb_v1alpha 0.4.0 → 0.5.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: 48bb38762af6fdd7cb901aa08977c0466d0269b1351707297f078671a5e11ac2
4
- data.tar.gz: a3eecdf05e3b3c36e36d9ac884b8bdb1739a8f09e7369b62064e73a57ba81eb0
3
+ metadata.gz: f8460bd104146bee9796c8ac10c8db561241decc2e8461e443208cd3943e38f7
4
+ data.tar.gz: 9d4367647475f84087e1ec403e074dd1ba88dd9ae165a678fed024d8007291bd
5
5
  SHA512:
6
- metadata.gz: bcf5104071c405df5d680351a369573458ecb70a3f5c8fbad2892ae45b58b793ccddc4feddd68d873f4b09c85ea4d6d7930158aa98e5e632a406e6b456744805
7
- data.tar.gz: ed242ab713e771c4440bd0154efee7d13a8553e4a3eced9de6b6b56880effdb94d0f0bf7a84bb0904df991d5cb22e5d6866d3ebe40babb41fee80e382fb60f1b
6
+ metadata.gz: 7239dcc64d865051cf7fa2818faa95e07baf85f658f782468dea8dbc5f2db87e1950b1ac8fd671ec60c5940bbf3309d88e77bd9e5550068eeb2c90884567b98c
7
+ data.tar.gz: 3e66a3259ffb71da7b8548f57e681f4e1dbe47bb4a64734738e9c51dc66557dba694aff8ef09ca14aeb41984e76eb20e4c8f3d5db60555ad950a3ee3d0f4760b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
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
@@ -518,7 +518,7 @@ module Google
518
518
  # @return [Google::Apis::AlloydbV1alpha::PrimaryConfig]
519
519
  attr_accessor :primary_config
520
520
 
521
- # PscConfig contains PSC related configuration at a cluster level. NEXT ID: 2
521
+ # PscConfig contains PSC related configuration at a cluster level.
522
522
  # Corresponds to the JSON property `pscConfig`
523
523
  # @return [Google::Apis::AlloydbV1alpha::PscConfig]
524
524
  attr_accessor :psc_config
@@ -1222,11 +1222,17 @@ module Google
1222
1222
  attr_accessor :nodes
1223
1223
 
1224
1224
  # PscInstanceConfig contains PSC related configuration at an instance level.
1225
- # NEXT ID: 7
1226
1225
  # Corresponds to the JSON property `pscInstanceConfig`
1227
1226
  # @return [Google::Apis::AlloydbV1alpha::PscInstanceConfig]
1228
1227
  attr_accessor :psc_instance_config
1229
1228
 
1229
+ # Output only. The public IP addresses for the Instance. This is available ONLY
1230
+ # when enable_public_ip is set. This is the connection endpoint for an end-user
1231
+ # application.
1232
+ # Corresponds to the JSON property `publicIpAddress`
1233
+ # @return [String]
1234
+ attr_accessor :public_ip_address
1235
+
1230
1236
  # QueryInsights Instance specific configuration.
1231
1237
  # Corresponds to the JSON property `queryInsightsConfig`
1232
1238
  # @return [Google::Apis::AlloydbV1alpha::QueryInsightsInstanceConfig]
@@ -1310,6 +1316,7 @@ module Google
1310
1316
  @network_config = args[:network_config] if args.key?(:network_config)
1311
1317
  @nodes = args[:nodes] if args.key?(:nodes)
1312
1318
  @psc_instance_config = args[:psc_instance_config] if args.key?(:psc_instance_config)
1319
+ @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
1313
1320
  @query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
1314
1321
  @read_pool_config = args[:read_pool_config] if args.key?(:read_pool_config)
1315
1322
  @reconciling = args[:reconciling] if args.key?(:reconciling)
@@ -1862,7 +1869,7 @@ module Google
1862
1869
  end
1863
1870
  end
1864
1871
 
1865
- # PscConfig contains PSC related configuration at a cluster level. NEXT ID: 2
1872
+ # PscConfig contains PSC related configuration at a cluster level.
1866
1873
  class PscConfig
1867
1874
  include Google::Apis::Core::Hashable
1868
1875
 
@@ -1884,7 +1891,6 @@ module Google
1884
1891
  end
1885
1892
 
1886
1893
  # PscInstanceConfig contains PSC related configuration at an instance level.
1887
- # NEXT ID: 7
1888
1894
  class PscInstanceConfig
1889
1895
  include Google::Apis::Core::Hashable
1890
1896
 
@@ -2411,6 +2417,72 @@ module Google
2411
2417
  end
2412
2418
  end
2413
2419
 
2420
+ # Any custom metadata associated with the resource. i.e. A spanner instance can
2421
+ # have multiple databases with its own unique metadata. Information for these
2422
+ # individual databases can be captured in custom metadata data
2423
+ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
2424
+ include Google::Apis::Core::Hashable
2425
+
2426
+ #
2427
+ # Corresponds to the JSON property `databaseMetadata`
2428
+ # @return [Array<Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata>]
2429
+ attr_accessor :database_metadata
2430
+
2431
+ def initialize(**args)
2432
+ update!(**args)
2433
+ end
2434
+
2435
+ # Update properties of this object
2436
+ def update!(**args)
2437
+ @database_metadata = args[:database_metadata] if args.key?(:database_metadata)
2438
+ end
2439
+ end
2440
+
2441
+ # Metadata for individual databases created in an instance. i.e. spanner
2442
+ # instance can have multiple databases with unique configuration settings.
2443
+ class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
2444
+ include Google::Apis::Core::Hashable
2445
+
2446
+ # Configuration for automatic backups
2447
+ # Corresponds to the JSON property `backupConfiguration`
2448
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupConfiguration]
2449
+ attr_accessor :backup_configuration
2450
+
2451
+ # A backup run.
2452
+ # Corresponds to the JSON property `backupRun`
2453
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun]
2454
+ attr_accessor :backup_run
2455
+
2456
+ # Product specification for Condor resources.
2457
+ # Corresponds to the JSON property `product`
2458
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct]
2459
+ attr_accessor :product
2460
+
2461
+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
2462
+ # Corresponds to the JSON property `resourceId`
2463
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
2464
+ attr_accessor :resource_id
2465
+
2466
+ # Required. Database name. Resource name to follow CAIS resource_name format as
2467
+ # noted here go/condor-common-datamodel
2468
+ # Corresponds to the JSON property `resourceName`
2469
+ # @return [String]
2470
+ attr_accessor :resource_name
2471
+
2472
+ def initialize(**args)
2473
+ update!(**args)
2474
+ end
2475
+
2476
+ # Update properties of this object
2477
+ def update!(**args)
2478
+ @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
2479
+ @backup_run = args[:backup_run] if args.key?(:backup_run)
2480
+ @product = args[:product] if args.key?(:product)
2481
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
2482
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2483
+ end
2484
+ end
2485
+
2414
2486
  # DatabaseResourceFeed is the top level proto to be used to ingest different
2415
2487
  # database resource level events into Condor platform.
2416
2488
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
@@ -2630,9 +2702,11 @@ module Google
2630
2702
  # @return [String]
2631
2703
  attr_accessor :current_state
2632
2704
 
2633
- # Any custom metadata associated with the resource (a JSON field)
2705
+ # Any custom metadata associated with the resource. i.e. A spanner instance can
2706
+ # have multiple databases with its own unique metadata. Information for these
2707
+ # individual databases can be captured in custom metadata data
2634
2708
  # Corresponds to the JSON property `customMetadata`
2635
- # @return [Hash<String,Object>]
2709
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainCustomMetadataData]
2636
2710
  attr_accessor :custom_metadata
2637
2711
 
2638
2712
  # 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 AlloydbV1alpha
18
18
  # Version of the google-apis-alloydb_v1alpha 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
@@ -352,6 +352,18 @@ module Google
352
352
  include Google::Apis::Core::JsonObjectSupport
353
353
  end
354
354
 
355
+ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
355
367
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
356
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
369
 
@@ -725,6 +737,7 @@ module Google
725
737
 
726
738
  property :psc_instance_config, as: 'pscInstanceConfig', class: Google::Apis::AlloydbV1alpha::PscInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::PscInstanceConfig::Representation
727
739
 
740
+ property :public_ip_address, as: 'publicIpAddress'
728
741
  property :query_insights_config, as: 'queryInsightsConfig', class: Google::Apis::AlloydbV1alpha::QueryInsightsInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::QueryInsightsInstanceConfig::Representation
729
742
 
730
743
  property :read_pool_config, as: 'readPoolConfig', class: Google::Apis::AlloydbV1alpha::ReadPoolConfig, decorator: Google::Apis::AlloydbV1alpha::ReadPoolConfig::Representation
@@ -1037,6 +1050,29 @@ module Google
1037
1050
  end
1038
1051
  end
1039
1052
 
1053
+ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
1054
+ # @private
1055
+ class Representation < Google::Apis::Core::JsonRepresentation
1056
+ collection :database_metadata, as: 'databaseMetadata', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata::Representation
1057
+
1058
+ end
1059
+ end
1060
+
1061
+ class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
1062
+ # @private
1063
+ class Representation < Google::Apis::Core::JsonRepresentation
1064
+ property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupConfiguration, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupConfiguration::Representation
1065
+
1066
+ property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
1067
+
1068
+ property :product, as: 'product', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct::Representation
1069
+
1070
+ property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1071
+
1072
+ property :resource_name, as: 'resourceName'
1073
+ end
1074
+ end
1075
+
1040
1076
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
1041
1077
  # @private
1042
1078
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1092,7 +1128,8 @@ module Google
1092
1128
 
1093
1129
  property :creation_time, as: 'creationTime'
1094
1130
  property :current_state, as: 'currentState'
1095
- hash :custom_metadata, as: 'customMetadata'
1131
+ property :custom_metadata, as: 'customMetadata', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainCustomMetadataData, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainCustomMetadataData::Representation
1132
+
1096
1133
  property :expected_state, as: 'expectedState'
1097
1134
  property :id, as: 'id', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1098
1135
 
@@ -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_v1alpha',
58
60
  client_version: Google::Apis::AlloydbV1alpha::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_v1alpha
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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.5.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1alpha
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 V1alpha