google-apis-compute_beta 0.37.0 → 0.38.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: e58a9e4cca74c8e73cd4c33138f192e57283bf9775fff23c4e25246ac20af50f
4
- data.tar.gz: 4cc4756522e7f3f6743d3d93e77ca41a443c2622a46547d2f130df1414c3d4de
3
+ metadata.gz: fec9bdde942edadfb5d818e873ccc2fb4d976b2da5b4bb3bad71b84ff834622c
4
+ data.tar.gz: 35cce0a5f9b58d7e7e3bdb3591c1e9282228b486d3c46f69d18c6d336b6fc2bc
5
5
  SHA512:
6
- metadata.gz: 7fce79e4062169a019bb6c0d05ee88fa839c4a2554b500069e3fb981d0a2f61038f921edf73821c37bbc03a30a722619ef58d5fa588a1d1667013e0ddfb092f1
7
- data.tar.gz: 6952b1793eeb3dcc211ddfa2bc359913c2164c35c819ee1eef013195893d016769e8df65618123dc4e6472d3a1bd2dec0c508b13f426aff74c60e97a3f506499
6
+ metadata.gz: 7b9bb9ab9180ec2e3cceba40a48f4b683cff355d8525b37ada807c12cf8015012869ef69ba5164591ea74a473a1218e9ccace9fbed32a983fd4dcff8ab12c707
7
+ data.tar.gz: e99640ccecec64618ab9f2ae35fcf8452b64eb3279d45cd242fca1326f1b2530a59648bf47ed7fa8fbb4ad3765b26db10618f276801c7deabd206195e7bc9044
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.38.0 (2022-06-14)
4
+
5
+ * Regenerated from discovery document revision 20220607
6
+ * Regenerated using generator version 0.6.0
7
+
3
8
  ### v0.37.0 (2022-06-10)
4
9
 
5
10
  * Regenerated from discovery document revision 20220531
@@ -41598,6 +41598,11 @@ module Google
41598
41598
  # @return [Fixnum]
41599
41599
  attr_accessor :num_total_nat_ports
41600
41600
 
41601
+ # Information about mappings provided by rules in this NAT.
41602
+ # Corresponds to the JSON property `ruleMappings`
41603
+ # @return [Array<Google::Apis::ComputeBeta::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>]
41604
+ attr_accessor :rule_mappings
41605
+
41601
41606
  # Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP
41602
41607
  # range. Examples: "10.33.4.55/32", or "192.168.5.0/24".
41603
41608
  # Corresponds to the JSON property `sourceAliasIpRange`
@@ -41619,11 +41624,62 @@ module Google
41619
41624
  @nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
41620
41625
  @num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
41621
41626
  @num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
41627
+ @rule_mappings = args[:rule_mappings] if args.key?(:rule_mappings)
41622
41628
  @source_alias_ip_range = args[:source_alias_ip_range] if args.key?(:source_alias_ip_range)
41623
41629
  @source_virtual_ip = args[:source_virtual_ip] if args.key?(:source_virtual_ip)
41624
41630
  end
41625
41631
  end
41626
41632
 
41633
+ # Contains information of NAT Mappings provided by a NAT Rule.
41634
+ class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
41635
+ include Google::Apis::Core::Hashable
41636
+
41637
+ # List of all drain IP:port-range mappings assigned to this interface by this
41638
+ # rule. These ranges are inclusive, that is, both the first and the last ports
41639
+ # can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
41640
+ # Corresponds to the JSON property `drainNatIpPortRanges`
41641
+ # @return [Array<String>]
41642
+ attr_accessor :drain_nat_ip_port_ranges
41643
+
41644
+ # A list of all IP:port-range mappings assigned to this interface by this rule.
41645
+ # These ranges are inclusive, that is, both the first and the last ports can be
41646
+ # used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
41647
+ # Corresponds to the JSON property `natIpPortRanges`
41648
+ # @return [Array<String>]
41649
+ attr_accessor :nat_ip_port_ranges
41650
+
41651
+ # Total number of drain ports across all NAT IPs allocated to this interface by
41652
+ # this rule. It equals the aggregated port number in the field
41653
+ # drain_nat_ip_port_ranges.
41654
+ # Corresponds to the JSON property `numTotalDrainNatPorts`
41655
+ # @return [Fixnum]
41656
+ attr_accessor :num_total_drain_nat_ports
41657
+
41658
+ # Total number of ports across all NAT IPs allocated to this interface by this
41659
+ # rule. It equals the aggregated port number in the field nat_ip_port_ranges.
41660
+ # Corresponds to the JSON property `numTotalNatPorts`
41661
+ # @return [Fixnum]
41662
+ attr_accessor :num_total_nat_ports
41663
+
41664
+ # Rule number of the NAT Rule.
41665
+ # Corresponds to the JSON property `ruleNumber`
41666
+ # @return [Fixnum]
41667
+ attr_accessor :rule_number
41668
+
41669
+ def initialize(**args)
41670
+ update!(**args)
41671
+ end
41672
+
41673
+ # Update properties of this object
41674
+ def update!(**args)
41675
+ @drain_nat_ip_port_ranges = args[:drain_nat_ip_port_ranges] if args.key?(:drain_nat_ip_port_ranges)
41676
+ @nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
41677
+ @num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
41678
+ @num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
41679
+ @rule_number = args[:rule_number] if args.key?(:rule_number)
41680
+ end
41681
+ end
41682
+
41627
41683
  # Contains a list of VmEndpointNatMappings.
41628
41684
  class VmEndpointNatMappingsList
41629
41685
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.5.0"
22
+ GENERATOR_VERSION = "0.6.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220531"
25
+ REVISION = "20220607"
26
26
  end
27
27
  end
28
28
  end
@@ -5482,6 +5482,12 @@ module Google
5482
5482
  include Google::Apis::Core::JsonObjectSupport
5483
5483
  end
5484
5484
 
5485
+ class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
5486
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5487
+
5488
+ include Google::Apis::Core::JsonObjectSupport
5489
+ end
5490
+
5485
5491
  class VmEndpointNatMappingsList
5486
5492
  class Representation < Google::Apis::Core::JsonRepresentation; end
5487
5493
 
@@ -15931,11 +15937,24 @@ module Google
15931
15937
  collection :nat_ip_port_ranges, as: 'natIpPortRanges'
15932
15938
  property :num_total_drain_nat_ports, as: 'numTotalDrainNatPorts'
15933
15939
  property :num_total_nat_ports, as: 'numTotalNatPorts'
15940
+ collection :rule_mappings, as: 'ruleMappings', class: Google::Apis::ComputeBeta::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings, decorator: Google::Apis::ComputeBeta::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings::Representation
15941
+
15934
15942
  property :source_alias_ip_range, as: 'sourceAliasIpRange'
15935
15943
  property :source_virtual_ip, as: 'sourceVirtualIp'
15936
15944
  end
15937
15945
  end
15938
15946
 
15947
+ class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
15948
+ # @private
15949
+ class Representation < Google::Apis::Core::JsonRepresentation
15950
+ collection :drain_nat_ip_port_ranges, as: 'drainNatIpPortRanges'
15951
+ collection :nat_ip_port_ranges, as: 'natIpPortRanges'
15952
+ property :num_total_drain_nat_ports, as: 'numTotalDrainNatPorts'
15953
+ property :num_total_nat_ports, as: 'numTotalNatPorts'
15954
+ property :rule_number, as: 'ruleNumber'
15955
+ end
15956
+ end
15957
+
15939
15958
  class VmEndpointNatMappingsList
15940
15959
  # @private
15941
15960
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.38.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: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2022-06-20 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-compute_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
63
63
  post_install_message:
64
64
  rdoc_options: []