google-apis-alloydb_v1beta 0.3.0 → 0.4.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: 655ae80f7c8408824e9db597abd1c0502b6a7a9be1056dea78b429f41f914e1d
4
- data.tar.gz: 3bb3855e96a7be36026a16cd40ac8b4f0200254078ec37013531cdd514d7fd3b
3
+ metadata.gz: d94c884e0d06fb51ed552dfa882754556c2348c776b36c997b4881d654c28523
4
+ data.tar.gz: b31f63141c491e14354092c0f041d9a9a6261526d6a4dc16debb027e5b5f96cb
5
5
  SHA512:
6
- metadata.gz: 81e95b05a001cfe4d60473f58b72ac3d932abbffc4077a2a0cd2f111964451bf89d490a91e44c1ee6a8f54ca7ea782ac22fab172ff13a1a3280af6df710be37f
7
- data.tar.gz: 2a47f141d09d3cbeaf0a735c7a9693d52ed46fbfea888e91ca16cd544733bdf8a086e95c6824ab29addb9f948528ef8e19592aed0040d14cc982e828a9d3b878
6
+ metadata.gz: f205043f3c60d2f1886f745cea5dd07737a307af37fe807cc10ae4f731ef96aad104eb6996b668d43cdba9dceb9c47e07e6c7b9a43172fda93cfded7f06636f8
7
+ data.tar.gz: bfc92e4d80773f19e16100a6657b218815e2bfe54a3ba0f158b0329eb971126b4be4f28f219ade1acacb783c682e044ef4bd65612e093c111de9af5521e3ae38
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.3.0 (2023-12-10)
4
8
 
5
9
  * 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,6 +1177,11 @@ 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`
@@ -1230,6 +1262,7 @@ module Google
1230
1262
  @labels = args[:labels] if args.key?(:labels)
1231
1263
  @machine_config = args[:machine_config] if args.key?(:machine_config)
1232
1264
  @name = args[:name] if args.key?(:name)
1265
+ @network_config = args[:network_config] if args.key?(:network_config)
1233
1266
  @nodes = args[:nodes] if args.key?(:nodes)
1234
1267
  @query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
1235
1268
  @read_pool_config = args[:read_pool_config] if args.key?(:read_pool_config)
@@ -1243,6 +1276,32 @@ module Google
1243
1276
  end
1244
1277
  end
1245
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
+
1246
1305
  # Restrictions on INTEGER type values.
1247
1306
  class IntegerRestrictions
1248
1307
  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.3.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 = "20231128"
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
@@ -526,6 +545,7 @@ module Google
526
545
  property :ip_address, as: 'ipAddress'
527
546
  property :name, as: 'name'
528
547
  collection :pem_certificate_chain, as: 'pemCertificateChain'
548
+ property :public_ip_address, as: 'publicIpAddress'
529
549
  end
530
550
  end
531
551
 
@@ -665,6 +685,8 @@ module Google
665
685
  property :machine_config, as: 'machineConfig', class: Google::Apis::AlloydbV1beta::MachineConfig, decorator: Google::Apis::AlloydbV1beta::MachineConfig::Representation
666
686
 
667
687
  property :name, as: 'name'
688
+ property :network_config, as: 'networkConfig', class: Google::Apis::AlloydbV1beta::InstanceNetworkConfig, decorator: Google::Apis::AlloydbV1beta::InstanceNetworkConfig::Representation
689
+
668
690
  collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1beta::Node, decorator: Google::Apis::AlloydbV1beta::Node::Representation
669
691
 
670
692
  property :query_insights_config, as: 'queryInsightsConfig', class: Google::Apis::AlloydbV1beta::QueryInsightsInstanceConfig, decorator: Google::Apis::AlloydbV1beta::QueryInsightsInstanceConfig::Representation
@@ -683,6 +705,15 @@ module Google
683
705
  end
684
706
  end
685
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
+
686
717
  class IntegerRestrictions
687
718
  # @private
688
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.3.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-12-10 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.3.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: []