google-apis-alloydb_v1beta 0.2.0 → 0.4.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: 3ff0d4f5525f774cf4433b246c89be86bb08b2ea672be6b1b3bf246939b44d80
4
- data.tar.gz: b0a1988db02e4fbf630dcc16982aee71086e00f65ed2e620fb4576b668d4c8e1
3
+ metadata.gz: d94c884e0d06fb51ed552dfa882754556c2348c776b36c997b4881d654c28523
4
+ data.tar.gz: b31f63141c491e14354092c0f041d9a9a6261526d6a4dc16debb027e5b5f96cb
5
5
  SHA512:
6
- metadata.gz: e28f7b53f9b8eda34d94af5ddc3e9171ea13d1a8a5bb1d40b88219810aa3bc6efca30969740ec88517ebd2e6cd087141dc87574122e9bcfc555d0af1d228c601
7
- data.tar.gz: ee80c5997ff42e0eb74721750d66cfe97669ccbeed5587f23d9159e540669d877aa2c94537279e831b940ff3cd7e8103e340fe5bbcf6a9c474f3b0cdc9d1958f
6
+ metadata.gz: f205043f3c60d2f1886f745cea5dd07737a307af37fe807cc10ae4f731ef96aad104eb6996b668d43cdba9dceb9c47e07e6c7b9a43172fda93cfded7f06636f8
7
+ data.tar.gz: bfc92e4d80773f19e16100a6657b218815e2bfe54a3ba0f158b0329eb971126b4be4f28f219ade1acacb783c682e044ef4bd65612e093c111de9af5521e3ae38
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alloydb_v1beta
2
2
 
3
+ ### v0.4.0 (2023-12-17)
4
+
5
+ * Regenerated from discovery document revision 20231206
6
+
7
+ ### v0.3.0 (2023-12-10)
8
+
9
+ * Regenerated from discovery document revision 20231128
10
+
3
11
  ### v0.2.0 (2023-11-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20231109
@@ -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.
@@ -206,6 +225,12 @@ module Google
206
225
  attr_accessor :reconciling
207
226
  alias_method :reconciling?, :reconciling
208
227
 
228
+ # Output only. Reserved for future use.
229
+ # Corresponds to the JSON property `satisfiesPzs`
230
+ # @return [Boolean]
231
+ attr_accessor :satisfies_pzs
232
+ alias_method :satisfies_pzs?, :satisfies_pzs
233
+
209
234
  # Output only. The size of the backup in bytes.
210
235
  # Corresponds to the JSON property `sizeBytes`
211
236
  # @return [Fixnum]
@@ -254,6 +279,7 @@ module Google
254
279
  @labels = args[:labels] if args.key?(:labels)
255
280
  @name = args[:name] if args.key?(:name)
256
281
  @reconciling = args[:reconciling] if args.key?(:reconciling)
282
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
257
283
  @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
258
284
  @state = args[:state] if args.key?(:state)
259
285
  @type = args[:type] if args.key?(:type)
@@ -482,6 +508,12 @@ module Google
482
508
  attr_accessor :reconciling
483
509
  alias_method :reconciling?, :reconciling
484
510
 
511
+ # Output only. Reserved for future use.
512
+ # Corresponds to the JSON property `satisfiesPzs`
513
+ # @return [Boolean]
514
+ attr_accessor :satisfies_pzs
515
+ alias_method :satisfies_pzs?, :satisfies_pzs
516
+
485
517
  # Configuration information for the secondary cluster. This should be set if and
486
518
  # only if the cluster is of type SECONDARY.
487
519
  # Corresponds to the JSON property `secondaryConfig`
@@ -536,6 +568,7 @@ module Google
536
568
  @network_config = args[:network_config] if args.key?(:network_config)
537
569
  @primary_config = args[:primary_config] if args.key?(:primary_config)
538
570
  @reconciling = args[:reconciling] if args.key?(:reconciling)
571
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
539
572
  @secondary_config = args[:secondary_config] if args.key?(:secondary_config)
540
573
  @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
541
574
  @state = args[:state] if args.key?(:state)
@@ -573,6 +606,13 @@ module Google
573
606
  # @return [Array<String>]
574
607
  attr_accessor :pem_certificate_chain
575
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
+
576
616
  def initialize(**args)
577
617
  update!(**args)
578
618
  end
@@ -583,6 +623,7 @@ module Google
583
623
  @ip_address = args[:ip_address] if args.key?(:ip_address)
584
624
  @name = args[:name] if args.key?(:name)
585
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)
586
627
  end
587
628
  end
588
629
 
@@ -1136,6 +1177,11 @@ module Google
1136
1177
  # @return [String]
1137
1178
  attr_accessor :name
1138
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
+
1139
1185
  # Output only. List of available read-only VMs in this instance, including the
1140
1186
  # standby for a PRIMARY instance.
1141
1187
  # Corresponds to the JSON property `nodes`
@@ -1162,6 +1208,12 @@ module Google
1162
1208
  attr_accessor :reconciling
1163
1209
  alias_method :reconciling?, :reconciling
1164
1210
 
1211
+ # Output only. Reserved for future use.
1212
+ # Corresponds to the JSON property `satisfiesPzs`
1213
+ # @return [Boolean]
1214
+ attr_accessor :satisfies_pzs
1215
+ alias_method :satisfies_pzs?, :satisfies_pzs
1216
+
1165
1217
  # Output only. The current serving state of the instance.
1166
1218
  # Corresponds to the JSON property `state`
1167
1219
  # @return [String]
@@ -1210,10 +1262,12 @@ module Google
1210
1262
  @labels = args[:labels] if args.key?(:labels)
1211
1263
  @machine_config = args[:machine_config] if args.key?(:machine_config)
1212
1264
  @name = args[:name] if args.key?(:name)
1265
+ @network_config = args[:network_config] if args.key?(:network_config)
1213
1266
  @nodes = args[:nodes] if args.key?(:nodes)
1214
1267
  @query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
1215
1268
  @read_pool_config = args[:read_pool_config] if args.key?(:read_pool_config)
1216
1269
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1270
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1217
1271
  @state = args[:state] if args.key?(:state)
1218
1272
  @uid = args[:uid] if args.key?(:uid)
1219
1273
  @update_policy = args[:update_policy] if args.key?(:update_policy)
@@ -1222,6 +1276,32 @@ module Google
1222
1276
  end
1223
1277
  end
1224
1278
 
1279
+ # Metadata related to instance level network configuration.
1280
+ class InstanceNetworkConfig
1281
+ include Google::Apis::Core::Hashable
1282
+
1283
+ # Optional. A list of external network authorized to access this instance.
1284
+ # Corresponds to the JSON property `authorizedExternalNetworks`
1285
+ # @return [Array<Google::Apis::AlloydbV1beta::AuthorizedNetwork>]
1286
+ attr_accessor :authorized_external_networks
1287
+
1288
+ # Optional. Enabling public ip for the instance.
1289
+ # Corresponds to the JSON property `enablePublicIp`
1290
+ # @return [Boolean]
1291
+ attr_accessor :enable_public_ip
1292
+ alias_method :enable_public_ip?, :enable_public_ip
1293
+
1294
+ def initialize(**args)
1295
+ update!(**args)
1296
+ end
1297
+
1298
+ # Update properties of this object
1299
+ def update!(**args)
1300
+ @authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
1301
+ @enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
1302
+ end
1303
+ end
1304
+
1225
1305
  # Restrictions on INTEGER type values.
1226
1306
  class IntegerRestrictions
1227
1307
  include Google::Apis::Core::Hashable
@@ -2263,8 +2343,8 @@ module Google
2263
2343
 
2264
2344
  # Closest parent container of this resource. In GCP, 'container' refers to a
2265
2345
  # Cloud Resource Manager project. It must be resource name of a Cloud Resource
2266
- # Manager project with the format of "provider//", such as "gcp/projects/123".
2267
- # For GCP provided resources, number should be project number.
2346
+ # Manager project with the format of "provider//", such as "projects/123". For
2347
+ # GCP provided resources, number should be project number.
2268
2348
  # Corresponds to the JSON property `resourceContainer`
2269
2349
  # @return [String]
2270
2350
  attr_accessor :resource_container
@@ -2427,9 +2507,8 @@ module Google
2427
2507
  attr_accessor :product
2428
2508
 
2429
2509
  # Closest parent Cloud Resource Manager container of this resource. It must be
2430
- # resource name of a Cloud Resource Manager project with the format of "provider/
2431
- # /", such as "gcp/projects/123". For GCP provided resources, number should be
2432
- # project number.
2510
+ # resource name of a Cloud Resource Manager project with the format of "/", such
2511
+ # as "projects/123". For GCP provided resources, number should be project number.
2433
2512
  # Corresponds to the JSON property `resourceContainer`
2434
2513
  # @return [String]
2435
2514
  attr_accessor :resource_container
@@ -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.2.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231109"
25
+ REVISION = "20231206"
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
 
@@ -400,6 +412,13 @@ module Google
400
412
  include Google::Apis::Core::JsonObjectSupport
401
413
  end
402
414
 
415
+ class AuthorizedNetwork
416
+ # @private
417
+ class Representation < Google::Apis::Core::JsonRepresentation
418
+ property :cidr_range, as: 'cidrRange'
419
+ end
420
+ end
421
+
403
422
  class AutomatedBackupPolicy
404
423
  # @private
405
424
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -440,6 +459,7 @@ module Google
440
459
  hash :labels, as: 'labels'
441
460
  property :name, as: 'name'
442
461
  property :reconciling, as: 'reconciling'
462
+ property :satisfies_pzs, as: 'satisfiesPzs'
443
463
  property :size_bytes, :numeric_string => true, as: 'sizeBytes'
444
464
  property :state, as: 'state'
445
465
  property :type, as: 'type'
@@ -507,6 +527,7 @@ module Google
507
527
  property :primary_config, as: 'primaryConfig', class: Google::Apis::AlloydbV1beta::PrimaryConfig, decorator: Google::Apis::AlloydbV1beta::PrimaryConfig::Representation
508
528
 
509
529
  property :reconciling, as: 'reconciling'
530
+ property :satisfies_pzs, as: 'satisfiesPzs'
510
531
  property :secondary_config, as: 'secondaryConfig', class: Google::Apis::AlloydbV1beta::SecondaryConfig, decorator: Google::Apis::AlloydbV1beta::SecondaryConfig::Representation
511
532
 
512
533
  property :ssl_config, as: 'sslConfig', class: Google::Apis::AlloydbV1beta::SslConfig, decorator: Google::Apis::AlloydbV1beta::SslConfig::Representation
@@ -524,6 +545,7 @@ module Google
524
545
  property :ip_address, as: 'ipAddress'
525
546
  property :name, as: 'name'
526
547
  collection :pem_certificate_chain, as: 'pemCertificateChain'
548
+ property :public_ip_address, as: 'publicIpAddress'
527
549
  end
528
550
  end
529
551
 
@@ -663,6 +685,8 @@ module Google
663
685
  property :machine_config, as: 'machineConfig', class: Google::Apis::AlloydbV1beta::MachineConfig, decorator: Google::Apis::AlloydbV1beta::MachineConfig::Representation
664
686
 
665
687
  property :name, as: 'name'
688
+ property :network_config, as: 'networkConfig', class: Google::Apis::AlloydbV1beta::InstanceNetworkConfig, decorator: Google::Apis::AlloydbV1beta::InstanceNetworkConfig::Representation
689
+
666
690
  collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1beta::Node, decorator: Google::Apis::AlloydbV1beta::Node::Representation
667
691
 
668
692
  property :query_insights_config, as: 'queryInsightsConfig', class: Google::Apis::AlloydbV1beta::QueryInsightsInstanceConfig, decorator: Google::Apis::AlloydbV1beta::QueryInsightsInstanceConfig::Representation
@@ -670,6 +694,7 @@ module Google
670
694
  property :read_pool_config, as: 'readPoolConfig', class: Google::Apis::AlloydbV1beta::ReadPoolConfig, decorator: Google::Apis::AlloydbV1beta::ReadPoolConfig::Representation
671
695
 
672
696
  property :reconciling, as: 'reconciling'
697
+ property :satisfies_pzs, as: 'satisfiesPzs'
673
698
  property :state, as: 'state'
674
699
  property :uid, as: 'uid'
675
700
  property :update_policy, as: 'updatePolicy', class: Google::Apis::AlloydbV1beta::UpdatePolicy, decorator: Google::Apis::AlloydbV1beta::UpdatePolicy::Representation
@@ -680,6 +705,15 @@ module Google
680
705
  end
681
706
  end
682
707
 
708
+ class InstanceNetworkConfig
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ collection :authorized_external_networks, as: 'authorizedExternalNetworks', class: Google::Apis::AlloydbV1beta::AuthorizedNetwork, decorator: Google::Apis::AlloydbV1beta::AuthorizedNetwork::Representation
712
+
713
+ property :enable_public_ip, as: 'enablePublicIp'
714
+ end
715
+ end
716
+
683
717
  class IntegerRestrictions
684
718
  # @private
685
719
  class Representation < Google::Apis::Core::JsonRepresentation
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.2.0
4
+ version: 0.4.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: 2023-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.4.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: []