google-apis-alloydb_v1beta 0.3.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: 655ae80f7c8408824e9db597abd1c0502b6a7a9be1056dea78b429f41f914e1d
4
- data.tar.gz: 3bb3855e96a7be36026a16cd40ac8b4f0200254078ec37013531cdd514d7fd3b
3
+ metadata.gz: 7b8c0ddf0f12a1b66aea15560badc7a4666f409c15233f7007da9ac98b77455c
4
+ data.tar.gz: f0955f5f612af3c90f20da55b5d25c2ad3eb386c86705a827c3117c74e34951c
5
5
  SHA512:
6
- metadata.gz: 81e95b05a001cfe4d60473f58b72ac3d932abbffc4077a2a0cd2f111964451bf89d490a91e44c1ee6a8f54ca7ea782ac22fab172ff13a1a3280af6df710be37f
7
- data.tar.gz: 2a47f141d09d3cbeaf0a735c7a9693d52ed46fbfea888e91ca16cd544733bdf8a086e95c6824ab29addb9f948528ef8e19592aed0040d14cc982e828a9d3b878
6
+ metadata.gz: dbf38d0521042880c1c88f77db696e13e7b859b80461ea837b9c7e8bb965c7125bc0463c1da6c92d225e91532b5745059da67680bc6b4bee44c8f80f36edfd54
7
+ data.tar.gz: aed09dc7e224886541962bec26551e80e10f7ff557733f1c5fa00d5c20fcf5e2317150b558149cb12eaa6c72b6e2b7a04da676d4c1b2ac0d8d5473093b63a5b0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.4.0 (2023-12-17)
9
+
10
+ * Regenerated from discovery document revision 20231206
11
+
3
12
  ### v0.3.0 (2023-12-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20231128
@@ -22,6 +22,25 @@ module Google
22
22
  module Apis
23
23
  module AlloydbV1beta
24
24
 
25
+ # AuthorizedNetwork contains metadata for an authorized network.
26
+ class AuthorizedNetwork
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # CIDR range for one authorzied network of the instance.
30
+ # Corresponds to the JSON property `cidrRange`
31
+ # @return [String]
32
+ attr_accessor :cidr_range
33
+
34
+ def initialize(**args)
35
+ update!(**args)
36
+ end
37
+
38
+ # Update properties of this object
39
+ def update!(**args)
40
+ @cidr_range = args[:cidr_range] if args.key?(:cidr_range)
41
+ end
42
+ end
43
+
25
44
  # Message describing the user-specified automated backup policy. All fields in
26
45
  # the automated backup policy are optional. Defaults for each field are provided
27
46
  # if they are not set.
@@ -587,6 +606,13 @@ module Google
587
606
  # @return [Array<String>]
588
607
  attr_accessor :pem_certificate_chain
589
608
 
609
+ # Output only. The public IP addresses for the Instance. This is available ONLY
610
+ # when enable_public_ip is set. This is the connection endpoint for an end-user
611
+ # application.
612
+ # Corresponds to the JSON property `publicIpAddress`
613
+ # @return [String]
614
+ attr_accessor :public_ip_address
615
+
590
616
  def initialize(**args)
591
617
  update!(**args)
592
618
  end
@@ -597,6 +623,7 @@ module Google
597
623
  @ip_address = args[:ip_address] if args.key?(:ip_address)
598
624
  @name = args[:name] if args.key?(:name)
599
625
  @pem_certificate_chain = args[:pem_certificate_chain] if args.key?(:pem_certificate_chain)
626
+ @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
600
627
  end
601
628
  end
602
629
 
@@ -1150,12 +1177,24 @@ module Google
1150
1177
  # @return [String]
1151
1178
  attr_accessor :name
1152
1179
 
1180
+ # Metadata related to instance level network configuration.
1181
+ # Corresponds to the JSON property `networkConfig`
1182
+ # @return [Google::Apis::AlloydbV1beta::InstanceNetworkConfig]
1183
+ attr_accessor :network_config
1184
+
1153
1185
  # Output only. List of available read-only VMs in this instance, including the
1154
1186
  # standby for a PRIMARY instance.
1155
1187
  # Corresponds to the JSON property `nodes`
1156
1188
  # @return [Array<Google::Apis::AlloydbV1beta::Node>]
1157
1189
  attr_accessor :nodes
1158
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
+
1159
1198
  # QueryInsights Instance specific configuration.
1160
1199
  # Corresponds to the JSON property `queryInsightsConfig`
1161
1200
  # @return [Google::Apis::AlloydbV1beta::QueryInsightsInstanceConfig]
@@ -1230,7 +1269,9 @@ module Google
1230
1269
  @labels = args[:labels] if args.key?(:labels)
1231
1270
  @machine_config = args[:machine_config] if args.key?(:machine_config)
1232
1271
  @name = args[:name] if args.key?(:name)
1272
+ @network_config = args[:network_config] if args.key?(:network_config)
1233
1273
  @nodes = args[:nodes] if args.key?(:nodes)
1274
+ @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
1234
1275
  @query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
1235
1276
  @read_pool_config = args[:read_pool_config] if args.key?(:read_pool_config)
1236
1277
  @reconciling = args[:reconciling] if args.key?(:reconciling)
@@ -1243,6 +1284,32 @@ module Google
1243
1284
  end
1244
1285
  end
1245
1286
 
1287
+ # Metadata related to instance level network configuration.
1288
+ class InstanceNetworkConfig
1289
+ include Google::Apis::Core::Hashable
1290
+
1291
+ # Optional. A list of external network authorized to access this instance.
1292
+ # Corresponds to the JSON property `authorizedExternalNetworks`
1293
+ # @return [Array<Google::Apis::AlloydbV1beta::AuthorizedNetwork>]
1294
+ attr_accessor :authorized_external_networks
1295
+
1296
+ # Optional. Enabling public ip for the instance.
1297
+ # Corresponds to the JSON property `enablePublicIp`
1298
+ # @return [Boolean]
1299
+ attr_accessor :enable_public_ip
1300
+ alias_method :enable_public_ip?, :enable_public_ip
1301
+
1302
+ def initialize(**args)
1303
+ update!(**args)
1304
+ end
1305
+
1306
+ # Update properties of this object
1307
+ def update!(**args)
1308
+ @authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
1309
+ @enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
1310
+ end
1311
+ end
1312
+
1246
1313
  # Restrictions on INTEGER type values.
1247
1314
  class IntegerRestrictions
1248
1315
  include Google::Apis::Core::Hashable
@@ -2191,6 +2258,72 @@ module Google
2191
2258
  end
2192
2259
  end
2193
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
+
2194
2327
  # DatabaseResourceFeed is the top level proto to be used to ingest different
2195
2328
  # database resource level events into Condor platform.
2196
2329
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
@@ -2410,9 +2543,11 @@ module Google
2410
2543
  # @return [String]
2411
2544
  attr_accessor :current_state
2412
2545
 
2413
- # 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
2414
2549
  # Corresponds to the JSON property `customMetadata`
2415
- # @return [Hash<String,Object>]
2550
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainCustomMetadataData]
2416
2551
  attr_accessor :custom_metadata
2417
2552
 
2418
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.3.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 = "20231128"
25
+ REVISION = "20240103"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module AlloydbV1beta
24
24
 
25
+ class AuthorizedNetwork
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AutomatedBackupPolicy
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -148,6 +154,12 @@ module Google
148
154
  include Google::Apis::Core::JsonObjectSupport
149
155
  end
150
156
 
157
+ class InstanceNetworkConfig
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
151
163
  class IntegerRestrictions
152
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
165
 
@@ -316,6 +328,18 @@ module Google
316
328
  include Google::Apis::Core::JsonObjectSupport
317
329
  end
318
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
+
319
343
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
320
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
345
 
@@ -400,6 +424,13 @@ module Google
400
424
  include Google::Apis::Core::JsonObjectSupport
401
425
  end
402
426
 
427
+ class AuthorizedNetwork
428
+ # @private
429
+ class Representation < Google::Apis::Core::JsonRepresentation
430
+ property :cidr_range, as: 'cidrRange'
431
+ end
432
+ end
433
+
403
434
  class AutomatedBackupPolicy
404
435
  # @private
405
436
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -526,6 +557,7 @@ module Google
526
557
  property :ip_address, as: 'ipAddress'
527
558
  property :name, as: 'name'
528
559
  collection :pem_certificate_chain, as: 'pemCertificateChain'
560
+ property :public_ip_address, as: 'publicIpAddress'
529
561
  end
530
562
  end
531
563
 
@@ -665,8 +697,11 @@ module Google
665
697
  property :machine_config, as: 'machineConfig', class: Google::Apis::AlloydbV1beta::MachineConfig, decorator: Google::Apis::AlloydbV1beta::MachineConfig::Representation
666
698
 
667
699
  property :name, as: 'name'
700
+ property :network_config, as: 'networkConfig', class: Google::Apis::AlloydbV1beta::InstanceNetworkConfig, decorator: Google::Apis::AlloydbV1beta::InstanceNetworkConfig::Representation
701
+
668
702
  collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1beta::Node, decorator: Google::Apis::AlloydbV1beta::Node::Representation
669
703
 
704
+ property :public_ip_address, as: 'publicIpAddress'
670
705
  property :query_insights_config, as: 'queryInsightsConfig', class: Google::Apis::AlloydbV1beta::QueryInsightsInstanceConfig, decorator: Google::Apis::AlloydbV1beta::QueryInsightsInstanceConfig::Representation
671
706
 
672
707
  property :read_pool_config, as: 'readPoolConfig', class: Google::Apis::AlloydbV1beta::ReadPoolConfig, decorator: Google::Apis::AlloydbV1beta::ReadPoolConfig::Representation
@@ -683,6 +718,15 @@ module Google
683
718
  end
684
719
  end
685
720
 
721
+ class InstanceNetworkConfig
722
+ # @private
723
+ class Representation < Google::Apis::Core::JsonRepresentation
724
+ collection :authorized_external_networks, as: 'authorizedExternalNetworks', class: Google::Apis::AlloydbV1beta::AuthorizedNetwork, decorator: Google::Apis::AlloydbV1beta::AuthorizedNetwork::Representation
725
+
726
+ property :enable_public_ip, as: 'enablePublicIp'
727
+ end
728
+ end
729
+
686
730
  class IntegerRestrictions
687
731
  # @private
688
732
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -941,6 +985,29 @@ module Google
941
985
  end
942
986
  end
943
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
+
944
1011
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
945
1012
  # @private
946
1013
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -996,7 +1063,8 @@ module Google
996
1063
 
997
1064
  property :creation_time, as: 'creationTime'
998
1065
  property :current_state, as: 'currentState'
999
- hash :custom_metadata, as: 'customMetadata'
1066
+ property :custom_metadata, as: 'customMetadata', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainCustomMetadataData, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainCustomMetadataData::Representation
1067
+
1000
1068
  property :expected_state, as: 'expectedState'
1001
1069
  property :id, as: 'id', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1002
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.3.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-10 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.3.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