google-apis-alloydb_v1 0.10.0 → 0.11.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: 9697d2a25973ab79e771e11dbec42d89b45bbc5f6be2bb52b1f2a205840dbe70
4
- data.tar.gz: 42becc265f6baa58c5b25573f9531fe094d69e59665eae21933847f36856bf08
3
+ metadata.gz: 751ccff99ccdc76e2b8de869bf45eb93cc7b257f843fb8a620f1fb468679a0ab
4
+ data.tar.gz: effd07900ddc8674a0f8be4f04d60002872ee7a4163c33355d5ae9381bd50d49
5
5
  SHA512:
6
- metadata.gz: 235f4f7a54086822366e448550ba2664442bed2059e5d4e0b04e868d4ef2e7be1eeb35d4796d3f37ac4968d5c5eeca65fb448d0c51bf6aaee95f79f99a48cb9c
7
- data.tar.gz: f6adea68cad22bb126ade2c1813c0adce622049d75ef64349c623a065526b0e7f4abf19a08ff2d074f9c3820cbce3900903bfafb0acf6c230b7cfc0fdece5617
6
+ metadata.gz: b2be350769c4e249fb9777d2e9a9865c14fd923e08f369e988e28a4ddbf3ff49d2331a05a250c81749dcbef28e7c13ee64f2b3e99f6c3618978578ea5aad2246
7
+ data.tar.gz: 37ca9984da6ff0528f191e6600fe5a08a890f8b525b198f2cdb889a3245fcd298791c7910227c75e2d09563900aa9c871f9b1b3e7680a358f4e04ff22d895a75
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.11.0 (2024-03-24)
4
+
5
+ * Regenerated from discovery document revision 20240315
6
+
3
7
  ### v0.10.0 (2024-03-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20240306
@@ -22,6 +22,25 @@ module Google
22
22
  module Apis
23
23
  module AlloydbV1
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.
@@ -594,6 +613,13 @@ module Google
594
613
  # @return [String]
595
614
  attr_accessor :name
596
615
 
616
+ # Output only. The public IP addresses for the Instance. This is available ONLY
617
+ # when enable_public_ip is set. This is the connection endpoint for an end-user
618
+ # application.
619
+ # Corresponds to the JSON property `publicIpAddress`
620
+ # @return [String]
621
+ attr_accessor :public_ip_address
622
+
597
623
  def initialize(**args)
598
624
  update!(**args)
599
625
  end
@@ -603,6 +629,7 @@ module Google
603
629
  @instance_uid = args[:instance_uid] if args.key?(:instance_uid)
604
630
  @ip_address = args[:ip_address] if args.key?(:ip_address)
605
631
  @name = args[:name] if args.key?(:name)
632
+ @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
606
633
  end
607
634
  end
608
635
 
@@ -1065,12 +1092,24 @@ module Google
1065
1092
  # @return [String]
1066
1093
  attr_accessor :name
1067
1094
 
1095
+ # Metadata related to instance level network configuration.
1096
+ # Corresponds to the JSON property `networkConfig`
1097
+ # @return [Google::Apis::AlloydbV1::InstanceNetworkConfig]
1098
+ attr_accessor :network_config
1099
+
1068
1100
  # Output only. List of available read-only VMs in this instance, including the
1069
1101
  # standby for a PRIMARY instance.
1070
1102
  # Corresponds to the JSON property `nodes`
1071
1103
  # @return [Array<Google::Apis::AlloydbV1::Node>]
1072
1104
  attr_accessor :nodes
1073
1105
 
1106
+ # Output only. The public IP addresses for the Instance. This is available ONLY
1107
+ # when enable_public_ip is set. This is the connection endpoint for an end-user
1108
+ # application.
1109
+ # Corresponds to the JSON property `publicIpAddress`
1110
+ # @return [String]
1111
+ attr_accessor :public_ip_address
1112
+
1074
1113
  # QueryInsights Instance specific configuration.
1075
1114
  # Corresponds to the JSON property `queryInsightsConfig`
1076
1115
  # @return [Google::Apis::AlloydbV1::QueryInsightsInstanceConfig]
@@ -1140,7 +1179,9 @@ module Google
1140
1179
  @labels = args[:labels] if args.key?(:labels)
1141
1180
  @machine_config = args[:machine_config] if args.key?(:machine_config)
1142
1181
  @name = args[:name] if args.key?(:name)
1182
+ @network_config = args[:network_config] if args.key?(:network_config)
1143
1183
  @nodes = args[:nodes] if args.key?(:nodes)
1184
+ @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
1144
1185
  @query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
1145
1186
  @read_pool_config = args[:read_pool_config] if args.key?(:read_pool_config)
1146
1187
  @reconciling = args[:reconciling] if args.key?(:reconciling)
@@ -1152,6 +1193,32 @@ module Google
1152
1193
  end
1153
1194
  end
1154
1195
 
1196
+ # Metadata related to instance level network configuration.
1197
+ class InstanceNetworkConfig
1198
+ include Google::Apis::Core::Hashable
1199
+
1200
+ # Optional. A list of external network authorized to access this instance.
1201
+ # Corresponds to the JSON property `authorizedExternalNetworks`
1202
+ # @return [Array<Google::Apis::AlloydbV1::AuthorizedNetwork>]
1203
+ attr_accessor :authorized_external_networks
1204
+
1205
+ # Optional. Enabling public ip for the instance.
1206
+ # Corresponds to the JSON property `enablePublicIp`
1207
+ # @return [Boolean]
1208
+ attr_accessor :enable_public_ip
1209
+ alias_method :enable_public_ip?, :enable_public_ip
1210
+
1211
+ def initialize(**args)
1212
+ update!(**args)
1213
+ end
1214
+
1215
+ # Update properties of this object
1216
+ def update!(**args)
1217
+ @authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
1218
+ @enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
1219
+ end
1220
+ end
1221
+
1155
1222
  # Restrictions on INTEGER type values.
1156
1223
  class IntegerRestrictions
1157
1224
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1
18
18
  # Version of the google-apis-alloydb_v1 gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240306"
25
+ REVISION = "20240315"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module AlloydbV1
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
 
@@ -142,6 +148,12 @@ module Google
142
148
  include Google::Apis::Core::JsonObjectSupport
143
149
  end
144
150
 
151
+ class InstanceNetworkConfig
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
145
157
  class IntegerRestrictions
146
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
159
 
@@ -418,6 +430,13 @@ module Google
418
430
  include Google::Apis::Core::JsonObjectSupport
419
431
  end
420
432
 
433
+ class AuthorizedNetwork
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :cidr_range, as: 'cidrRange'
437
+ end
438
+ end
439
+
421
440
  class AutomatedBackupPolicy
422
441
  # @private
423
442
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -549,6 +568,7 @@ module Google
549
568
  property :instance_uid, as: 'instanceUid'
550
569
  property :ip_address, as: 'ipAddress'
551
570
  property :name, as: 'name'
571
+ property :public_ip_address, as: 'publicIpAddress'
552
572
  end
553
573
  end
554
574
 
@@ -668,8 +688,11 @@ module Google
668
688
  property :machine_config, as: 'machineConfig', class: Google::Apis::AlloydbV1::MachineConfig, decorator: Google::Apis::AlloydbV1::MachineConfig::Representation
669
689
 
670
690
  property :name, as: 'name'
691
+ property :network_config, as: 'networkConfig', class: Google::Apis::AlloydbV1::InstanceNetworkConfig, decorator: Google::Apis::AlloydbV1::InstanceNetworkConfig::Representation
692
+
671
693
  collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1::Node, decorator: Google::Apis::AlloydbV1::Node::Representation
672
694
 
695
+ property :public_ip_address, as: 'publicIpAddress'
673
696
  property :query_insights_config, as: 'queryInsightsConfig', class: Google::Apis::AlloydbV1::QueryInsightsInstanceConfig, decorator: Google::Apis::AlloydbV1::QueryInsightsInstanceConfig::Representation
674
697
 
675
698
  property :read_pool_config, as: 'readPoolConfig', class: Google::Apis::AlloydbV1::ReadPoolConfig, decorator: Google::Apis::AlloydbV1::ReadPoolConfig::Representation
@@ -684,6 +707,15 @@ module Google
684
707
  end
685
708
  end
686
709
 
710
+ class InstanceNetworkConfig
711
+ # @private
712
+ class Representation < Google::Apis::Core::JsonRepresentation
713
+ collection :authorized_external_networks, as: 'authorizedExternalNetworks', class: Google::Apis::AlloydbV1::AuthorizedNetwork, decorator: Google::Apis::AlloydbV1::AuthorizedNetwork::Representation
714
+
715
+ property :enable_public_ip, as: 'enablePublicIp'
716
+ end
717
+ end
718
+
687
719
  class IntegerRestrictions
688
720
  # @private
689
721
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.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: 2024-03-17 00:00:00.000000000 Z
11
+ date: 2024-03-24 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
63
63
  post_install_message:
64
64
  rdoc_options: []