google-apis-compute_beta 0.36.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/lib/google/apis/compute_beta/classes.rb +123 -8
- data/lib/google/apis/compute_beta/gem_version.rb +3 -3
- data/lib/google/apis/compute_beta/representations.rb +26 -0
- data/lib/google/apis/compute_beta/service.rb +4298 -2719
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef6924dbef29ee33b978ecab19050ddbc0e65fae8a001bbc78d2df54e7952ccb
|
4
|
+
data.tar.gz: 7a476e44fe780f59cff2ec7eba574d2f267ada86b39eebb7da5a3deae31f557e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6e7fa628a37c390366b632bd30a201c3fb19514710085b77ac8188981916ab4d8c2b6fc8bf1bb77816eff984ce53fb605d1d6e374b89e5a3435bb8543b1f7ad
|
7
|
+
data.tar.gz: 81d83fc0fb1bfe0f4b871a75b61148a9c8b8dc2594c5dfdae01aae5fd924eff5e030550f8152a1eb29651af328ba1e6c84512b708c3b39bbe09d8d1585625de2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,20 @@
|
|
1
1
|
# Release history for google-apis-compute_beta
|
2
2
|
|
3
|
+
### v0.39.0 (2022-06-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220614
|
6
|
+
* Regenerated using generator version 0.7.0
|
7
|
+
|
8
|
+
### v0.38.0 (2022-06-14)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220607
|
11
|
+
* Regenerated using generator version 0.6.0
|
12
|
+
|
13
|
+
### v0.37.0 (2022-06-10)
|
14
|
+
|
15
|
+
* Regenerated from discovery document revision 20220531
|
16
|
+
* Regenerated using generator version 0.5.0
|
17
|
+
|
3
18
|
### v0.36.0 (2022-05-26)
|
4
19
|
|
5
20
|
* Regenerated from discovery document revision 20220517
|
@@ -1225,7 +1225,7 @@ module Google
|
|
1225
1225
|
end
|
1226
1226
|
|
1227
1227
|
# This reservation type allows to pre allocate specific instance configuration.
|
1228
|
-
# Next ID:
|
1228
|
+
# Next ID: 6
|
1229
1229
|
class AllocationSpecificSkuReservation
|
1230
1230
|
include Google::Apis::Core::Hashable
|
1231
1231
|
|
@@ -4227,7 +4227,7 @@ module Google
|
|
4227
4227
|
# service. The value of the field must be in [0, 1]. This configures the
|
4228
4228
|
# sampling rate of requests to the load balancer where 1.0 means all logged
|
4229
4229
|
# requests are reported and 0.0 means no logged requests are reported. The
|
4230
|
-
# default value is
|
4230
|
+
# default value is 0.0.
|
4231
4231
|
# Corresponds to the JSON property `sampleRate`
|
4232
4232
|
# @return [Float]
|
4233
4233
|
attr_accessor :sample_rate
|
@@ -8802,8 +8802,7 @@ module Google
|
|
8802
8802
|
attr_accessor :id
|
8803
8803
|
|
8804
8804
|
# The IP Version that will be used by this forwarding rule. Valid options are
|
8805
|
-
# IPV4 or IPV6.
|
8806
|
-
# rule.
|
8805
|
+
# IPV4 or IPV6.
|
8807
8806
|
# Corresponds to the JSON property `ipVersion`
|
8808
8807
|
# @return [String]
|
8809
8808
|
attr_accessor :ip_version
|
@@ -10116,9 +10115,9 @@ module Google
|
|
10116
10115
|
# @return [Fixnum]
|
10117
10116
|
attr_accessor :timeout_sec
|
10118
10117
|
|
10119
|
-
# Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or
|
10120
|
-
# Exactly one of the protocol-specific health check
|
10121
|
-
# which must match type field.
|
10118
|
+
# Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or
|
10119
|
+
# GRPC. Exactly one of the protocol-specific health check fields must be
|
10120
|
+
# specified, which must match type field.
|
10122
10121
|
# Corresponds to the JSON property `type`
|
10123
10122
|
# @return [String]
|
10124
10123
|
attr_accessor :type
|
@@ -13675,6 +13674,12 @@ module Google
|
|
13675
13674
|
# @return [String]
|
13676
13675
|
attr_accessor :kind
|
13677
13676
|
|
13677
|
+
# Pagination behavior of the listManagedInstances API method for this managed
|
13678
|
+
# instance group.
|
13679
|
+
# Corresponds to the JSON property `listManagedInstancesResults`
|
13680
|
+
# @return [String]
|
13681
|
+
attr_accessor :list_managed_instances_results
|
13682
|
+
|
13678
13683
|
# The name of the managed instance group. The name must be 1-63 characters long,
|
13679
13684
|
# and comply with RFC1035.
|
13680
13685
|
# Corresponds to the JSON property `name`
|
@@ -13772,6 +13777,7 @@ module Google
|
|
13772
13777
|
@instance_group = args[:instance_group] if args.key?(:instance_group)
|
13773
13778
|
@instance_template = args[:instance_template] if args.key?(:instance_template)
|
13774
13779
|
@kind = args[:kind] if args.key?(:kind)
|
13780
|
+
@list_managed_instances_results = args[:list_managed_instances_results] if args.key?(:list_managed_instances_results)
|
13775
13781
|
@name = args[:name] if args.key?(:name)
|
13776
13782
|
@named_ports = args[:named_ports] if args.key?(:named_ports)
|
13777
13783
|
@region = args[:region] if args.key?(:region)
|
@@ -28701,7 +28707,7 @@ module Google
|
|
28701
28707
|
attr_accessor :share_settings
|
28702
28708
|
|
28703
28709
|
# This reservation type allows to pre allocate specific instance configuration.
|
28704
|
-
# Next ID:
|
28710
|
+
# Next ID: 6
|
28705
28711
|
# Corresponds to the JSON property `specificReservation`
|
28706
28712
|
# @return [Google::Apis::ComputeBeta::AllocationSpecificSkuReservation]
|
28707
28713
|
attr_accessor :specific_reservation
|
@@ -41268,21 +41274,68 @@ module Google
|
|
41268
41274
|
class UsableSubnetwork
|
41269
41275
|
include Google::Apis::Core::Hashable
|
41270
41276
|
|
41277
|
+
# [Output Only] The external IPv6 address range that is assigned to this
|
41278
|
+
# subnetwork.
|
41279
|
+
# Corresponds to the JSON property `externalIpv6Prefix`
|
41280
|
+
# @return [String]
|
41281
|
+
attr_accessor :external_ipv6_prefix
|
41282
|
+
|
41283
|
+
# [Output Only] The internal IPv6 address range that is assigned to this
|
41284
|
+
# subnetwork.
|
41285
|
+
# Corresponds to the JSON property `internalIpv6Prefix`
|
41286
|
+
# @return [String]
|
41287
|
+
attr_accessor :internal_ipv6_prefix
|
41288
|
+
|
41271
41289
|
# The range of internal addresses that are owned by this subnetwork.
|
41272
41290
|
# Corresponds to the JSON property `ipCidrRange`
|
41273
41291
|
# @return [String]
|
41274
41292
|
attr_accessor :ip_cidr_range
|
41275
41293
|
|
41294
|
+
# The access type of IPv6 address this subnet holds. It's immutable and can only
|
41295
|
+
# be specified during creation or the first time the subnet is updated into
|
41296
|
+
# IPV4_IPV6 dual stack.
|
41297
|
+
# Corresponds to the JSON property `ipv6AccessType`
|
41298
|
+
# @return [String]
|
41299
|
+
attr_accessor :ipv6_access_type
|
41300
|
+
|
41276
41301
|
# Network URL.
|
41277
41302
|
# Corresponds to the JSON property `network`
|
41278
41303
|
# @return [String]
|
41279
41304
|
attr_accessor :network
|
41280
41305
|
|
41306
|
+
# The purpose of the resource. This field can be either PRIVATE_RFC_1918 or
|
41307
|
+
# INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
|
41308
|
+
# INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
|
41309
|
+
# Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to
|
41310
|
+
# PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose
|
41311
|
+
# field set to INTERNAL_HTTPS_LOAD_BALANCER.
|
41312
|
+
# Corresponds to the JSON property `purpose`
|
41313
|
+
# @return [String]
|
41314
|
+
attr_accessor :purpose
|
41315
|
+
|
41316
|
+
# The role of subnetwork. Currently, this field is only used when purpose =
|
41317
|
+
# INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An
|
41318
|
+
# ACTIVE subnetwork is one that is currently being used for Internal HTTP(S)
|
41319
|
+
# Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to
|
41320
|
+
# ACTIVE or is currently draining. This field can be updated with a patch
|
41321
|
+
# request.
|
41322
|
+
# Corresponds to the JSON property `role`
|
41323
|
+
# @return [String]
|
41324
|
+
attr_accessor :role
|
41325
|
+
|
41281
41326
|
# Secondary IP ranges.
|
41282
41327
|
# Corresponds to the JSON property `secondaryIpRanges`
|
41283
41328
|
# @return [Array<Google::Apis::ComputeBeta::UsableSubnetworkSecondaryRange>]
|
41284
41329
|
attr_accessor :secondary_ip_ranges
|
41285
41330
|
|
41331
|
+
# The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are
|
41332
|
+
# assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can
|
41333
|
+
# be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used.
|
41334
|
+
# This field can be both set at resource creation time and updated using patch.
|
41335
|
+
# Corresponds to the JSON property `stackType`
|
41336
|
+
# @return [String]
|
41337
|
+
attr_accessor :stack_type
|
41338
|
+
|
41286
41339
|
# Subnetwork URL.
|
41287
41340
|
# Corresponds to the JSON property `subnetwork`
|
41288
41341
|
# @return [String]
|
@@ -41294,9 +41347,15 @@ module Google
|
|
41294
41347
|
|
41295
41348
|
# Update properties of this object
|
41296
41349
|
def update!(**args)
|
41350
|
+
@external_ipv6_prefix = args[:external_ipv6_prefix] if args.key?(:external_ipv6_prefix)
|
41351
|
+
@internal_ipv6_prefix = args[:internal_ipv6_prefix] if args.key?(:internal_ipv6_prefix)
|
41297
41352
|
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
41353
|
+
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
41298
41354
|
@network = args[:network] if args.key?(:network)
|
41355
|
+
@purpose = args[:purpose] if args.key?(:purpose)
|
41356
|
+
@role = args[:role] if args.key?(:role)
|
41299
41357
|
@secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
|
41358
|
+
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
41300
41359
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
41301
41360
|
end
|
41302
41361
|
end
|
@@ -41538,6 +41597,11 @@ module Google
|
|
41538
41597
|
# @return [Fixnum]
|
41539
41598
|
attr_accessor :num_total_nat_ports
|
41540
41599
|
|
41600
|
+
# Information about mappings provided by rules in this NAT.
|
41601
|
+
# Corresponds to the JSON property `ruleMappings`
|
41602
|
+
# @return [Array<Google::Apis::ComputeBeta::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>]
|
41603
|
+
attr_accessor :rule_mappings
|
41604
|
+
|
41541
41605
|
# Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP
|
41542
41606
|
# range. Examples: "10.33.4.55/32", or "192.168.5.0/24".
|
41543
41607
|
# Corresponds to the JSON property `sourceAliasIpRange`
|
@@ -41559,11 +41623,62 @@ module Google
|
|
41559
41623
|
@nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
|
41560
41624
|
@num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
|
41561
41625
|
@num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
|
41626
|
+
@rule_mappings = args[:rule_mappings] if args.key?(:rule_mappings)
|
41562
41627
|
@source_alias_ip_range = args[:source_alias_ip_range] if args.key?(:source_alias_ip_range)
|
41563
41628
|
@source_virtual_ip = args[:source_virtual_ip] if args.key?(:source_virtual_ip)
|
41564
41629
|
end
|
41565
41630
|
end
|
41566
41631
|
|
41632
|
+
# Contains information of NAT Mappings provided by a NAT Rule.
|
41633
|
+
class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
|
41634
|
+
include Google::Apis::Core::Hashable
|
41635
|
+
|
41636
|
+
# List of all drain IP:port-range mappings assigned to this interface by this
|
41637
|
+
# rule. These ranges are inclusive, that is, both the first and the last ports
|
41638
|
+
# can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
|
41639
|
+
# Corresponds to the JSON property `drainNatIpPortRanges`
|
41640
|
+
# @return [Array<String>]
|
41641
|
+
attr_accessor :drain_nat_ip_port_ranges
|
41642
|
+
|
41643
|
+
# A list of all IP:port-range mappings assigned to this interface by this rule.
|
41644
|
+
# These ranges are inclusive, that is, both the first and the last ports can be
|
41645
|
+
# used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
|
41646
|
+
# Corresponds to the JSON property `natIpPortRanges`
|
41647
|
+
# @return [Array<String>]
|
41648
|
+
attr_accessor :nat_ip_port_ranges
|
41649
|
+
|
41650
|
+
# Total number of drain ports across all NAT IPs allocated to this interface by
|
41651
|
+
# this rule. It equals the aggregated port number in the field
|
41652
|
+
# drain_nat_ip_port_ranges.
|
41653
|
+
# Corresponds to the JSON property `numTotalDrainNatPorts`
|
41654
|
+
# @return [Fixnum]
|
41655
|
+
attr_accessor :num_total_drain_nat_ports
|
41656
|
+
|
41657
|
+
# Total number of ports across all NAT IPs allocated to this interface by this
|
41658
|
+
# rule. It equals the aggregated port number in the field nat_ip_port_ranges.
|
41659
|
+
# Corresponds to the JSON property `numTotalNatPorts`
|
41660
|
+
# @return [Fixnum]
|
41661
|
+
attr_accessor :num_total_nat_ports
|
41662
|
+
|
41663
|
+
# Rule number of the NAT Rule.
|
41664
|
+
# Corresponds to the JSON property `ruleNumber`
|
41665
|
+
# @return [Fixnum]
|
41666
|
+
attr_accessor :rule_number
|
41667
|
+
|
41668
|
+
def initialize(**args)
|
41669
|
+
update!(**args)
|
41670
|
+
end
|
41671
|
+
|
41672
|
+
# Update properties of this object
|
41673
|
+
def update!(**args)
|
41674
|
+
@drain_nat_ip_port_ranges = args[:drain_nat_ip_port_ranges] if args.key?(:drain_nat_ip_port_ranges)
|
41675
|
+
@nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
|
41676
|
+
@num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
|
41677
|
+
@num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
|
41678
|
+
@rule_number = args[:rule_number] if args.key?(:rule_number)
|
41679
|
+
end
|
41680
|
+
end
|
41681
|
+
|
41567
41682
|
# Contains a list of VmEndpointNatMappings.
|
41568
41683
|
class VmEndpointNatMappingsList
|
41569
41684
|
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.
|
19
|
+
GEM_VERSION = "0.39.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.7.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220614"
|
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
|
|
@@ -8817,6 +8823,7 @@ module Google
|
|
8817
8823
|
property :instance_group, as: 'instanceGroup'
|
8818
8824
|
property :instance_template, as: 'instanceTemplate'
|
8819
8825
|
property :kind, as: 'kind'
|
8826
|
+
property :list_managed_instances_results, as: 'listManagedInstancesResults'
|
8820
8827
|
property :name, as: 'name'
|
8821
8828
|
collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeBeta::NamedPort, decorator: Google::Apis::ComputeBeta::NamedPort::Representation
|
8822
8829
|
|
@@ -15852,10 +15859,16 @@ module Google
|
|
15852
15859
|
class UsableSubnetwork
|
15853
15860
|
# @private
|
15854
15861
|
class Representation < Google::Apis::Core::JsonRepresentation
|
15862
|
+
property :external_ipv6_prefix, as: 'externalIpv6Prefix'
|
15863
|
+
property :internal_ipv6_prefix, as: 'internalIpv6Prefix'
|
15855
15864
|
property :ip_cidr_range, as: 'ipCidrRange'
|
15865
|
+
property :ipv6_access_type, as: 'ipv6AccessType'
|
15856
15866
|
property :network, as: 'network'
|
15867
|
+
property :purpose, as: 'purpose'
|
15868
|
+
property :role, as: 'role'
|
15857
15869
|
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeBeta::UsableSubnetworkSecondaryRange, decorator: Google::Apis::ComputeBeta::UsableSubnetworkSecondaryRange::Representation
|
15858
15870
|
|
15871
|
+
property :stack_type, as: 'stackType'
|
15859
15872
|
property :subnetwork, as: 'subnetwork'
|
15860
15873
|
end
|
15861
15874
|
end
|
@@ -15924,11 +15937,24 @@ module Google
|
|
15924
15937
|
collection :nat_ip_port_ranges, as: 'natIpPortRanges'
|
15925
15938
|
property :num_total_drain_nat_ports, as: 'numTotalDrainNatPorts'
|
15926
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
|
+
|
15927
15942
|
property :source_alias_ip_range, as: 'sourceAliasIpRange'
|
15928
15943
|
property :source_virtual_ip, as: 'sourceVirtualIp'
|
15929
15944
|
end
|
15930
15945
|
end
|
15931
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
|
+
|
15932
15958
|
class VmEndpointNatMappingsList
|
15933
15959
|
# @private
|
15934
15960
|
class Representation < Google::Apis::Core::JsonRepresentation
|