google-apis-compute_beta 0.35.0 → 0.38.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 +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/google/apis/compute_beta/classes.rb +182 -11
- data/lib/google/apis/compute_beta/gem_version.rb +3 -3
- data/lib/google/apis/compute_beta/representations.rb +46 -0
- data/lib/google/apis/compute_beta/service.rb +4294 -2720
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fec9bdde942edadfb5d818e873ccc2fb4d976b2da5b4bb3bad71b84ff834622c
|
|
4
|
+
data.tar.gz: 35cce0a5f9b58d7e7e3bdb3591c1e9282228b486d3c46f69d18c6d336b6fc2bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b9bb9ab9180ec2e3cceba40a48f4b683cff355d8525b37ada807c12cf8015012869ef69ba5164591ea74a473a1218e9ccace9fbed32a983fd4dcff8ab12c707
|
|
7
|
+
data.tar.gz: e99640ccecec64618ab9f2ae35fcf8452b64eb3279d45cd242fca1326f1b2530a59648bf47ed7fa8fbb4ad3765b26db10618f276801c7deabd206195e7bc9044
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
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
|
+
|
|
8
|
+
### v0.37.0 (2022-06-10)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20220531
|
|
11
|
+
* Regenerated using generator version 0.5.0
|
|
12
|
+
|
|
13
|
+
### v0.36.0 (2022-05-26)
|
|
14
|
+
|
|
15
|
+
* Regenerated from discovery document revision 20220517
|
|
16
|
+
|
|
3
17
|
### v0.35.0 (2022-05-18)
|
|
4
18
|
|
|
5
19
|
* Regenerated from discovery document revision 20220510
|
|
@@ -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
|
|
|
@@ -3137,9 +3137,9 @@ module Google
|
|
|
3137
3137
|
# internal HTTP(S) load balancers and Traffic Director and requires
|
|
3138
3138
|
# GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is
|
|
3139
3139
|
# non-persistent and lasts only until the end of the browser session (or
|
|
3140
|
-
# equivalent). The maximum allowed value is
|
|
3141
|
-
# the backend service is referenced by a URL map that is bound to target
|
|
3142
|
-
# proxy that has validateForProxyless field set to true.
|
|
3140
|
+
# equivalent). The maximum allowed value is two weeks (1,209,600). Not supported
|
|
3141
|
+
# when the backend service is referenced by a URL map that is bound to target
|
|
3142
|
+
# gRPC proxy that has validateForProxyless field set to true.
|
|
3143
3143
|
# Corresponds to the JSON property `affinityCookieTtlSec`
|
|
3144
3144
|
# @return [Fixnum]
|
|
3145
3145
|
attr_accessor :affinity_cookie_ttl_sec
|
|
@@ -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
|
|
@@ -10116,9 +10116,9 @@ module Google
|
|
|
10116
10116
|
# @return [Fixnum]
|
|
10117
10117
|
attr_accessor :timeout_sec
|
|
10118
10118
|
|
|
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.
|
|
10119
|
+
# Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or
|
|
10120
|
+
# GRPC. Exactly one of the protocol-specific health check fields must be
|
|
10121
|
+
# specified, which must match type field.
|
|
10122
10122
|
# Corresponds to the JSON property `type`
|
|
10123
10123
|
# @return [String]
|
|
10124
10124
|
attr_accessor :type
|
|
@@ -13675,6 +13675,12 @@ module Google
|
|
|
13675
13675
|
# @return [String]
|
|
13676
13676
|
attr_accessor :kind
|
|
13677
13677
|
|
|
13678
|
+
# Pagination behavior of the listManagedInstances API method for this managed
|
|
13679
|
+
# instance group.
|
|
13680
|
+
# Corresponds to the JSON property `listManagedInstancesResults`
|
|
13681
|
+
# @return [String]
|
|
13682
|
+
attr_accessor :list_managed_instances_results
|
|
13683
|
+
|
|
13678
13684
|
# The name of the managed instance group. The name must be 1-63 characters long,
|
|
13679
13685
|
# and comply with RFC1035.
|
|
13680
13686
|
# Corresponds to the JSON property `name`
|
|
@@ -13772,6 +13778,7 @@ module Google
|
|
|
13772
13778
|
@instance_group = args[:instance_group] if args.key?(:instance_group)
|
|
13773
13779
|
@instance_template = args[:instance_template] if args.key?(:instance_template)
|
|
13774
13780
|
@kind = args[:kind] if args.key?(:kind)
|
|
13781
|
+
@list_managed_instances_results = args[:list_managed_instances_results] if args.key?(:list_managed_instances_results)
|
|
13775
13782
|
@name = args[:name] if args.key?(:name)
|
|
13776
13783
|
@named_ports = args[:named_ports] if args.key?(:named_ports)
|
|
13777
13784
|
@region = args[:region] if args.key?(:region)
|
|
@@ -28701,7 +28708,7 @@ module Google
|
|
|
28701
28708
|
attr_accessor :share_settings
|
|
28702
28709
|
|
|
28703
28710
|
# This reservation type allows to pre allocate specific instance configuration.
|
|
28704
|
-
# Next ID:
|
|
28711
|
+
# Next ID: 6
|
|
28705
28712
|
# Corresponds to the JSON property `specificReservation`
|
|
28706
28713
|
# @return [Google::Apis::ComputeBeta::AllocationSpecificSkuReservation]
|
|
28707
28714
|
attr_accessor :specific_reservation
|
|
@@ -32298,8 +32305,8 @@ module Google
|
|
|
32298
32305
|
|
|
32299
32306
|
# Defines the maintenance behavior for this instance. For standard instances,
|
|
32300
32307
|
# the default behavior is MIGRATE. For preemptible instances, the default and
|
|
32301
|
-
# only possible behavior is TERMINATE. For more information, see Set VM
|
|
32302
|
-
#
|
|
32308
|
+
# only possible behavior is TERMINATE. For more information, see Set VM host
|
|
32309
|
+
# maintenance policy.
|
|
32303
32310
|
# Corresponds to the JSON property `onHostMaintenance`
|
|
32304
32311
|
# @return [String]
|
|
32305
32312
|
attr_accessor :on_host_maintenance
|
|
@@ -32846,6 +32853,11 @@ module Google
|
|
|
32846
32853
|
class SecurityPolicyAdaptiveProtectionConfig
|
|
32847
32854
|
include Google::Apis::Core::Hashable
|
|
32848
32855
|
|
|
32856
|
+
# Configuration options for Adaptive Protection auto-deploy feature.
|
|
32857
|
+
# Corresponds to the JSON property `autoDeployConfig`
|
|
32858
|
+
# @return [Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]
|
|
32859
|
+
attr_accessor :auto_deploy_config
|
|
32860
|
+
|
|
32849
32861
|
# Configuration options for L7 DDoS detection.
|
|
32850
32862
|
# Corresponds to the JSON property `layer7DdosDefenseConfig`
|
|
32851
32863
|
# @return [Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]
|
|
@@ -32857,10 +32869,48 @@ module Google
|
|
|
32857
32869
|
|
|
32858
32870
|
# Update properties of this object
|
|
32859
32871
|
def update!(**args)
|
|
32872
|
+
@auto_deploy_config = args[:auto_deploy_config] if args.key?(:auto_deploy_config)
|
|
32860
32873
|
@layer7_ddos_defense_config = args[:layer7_ddos_defense_config] if args.key?(:layer7_ddos_defense_config)
|
|
32861
32874
|
end
|
|
32862
32875
|
end
|
|
32863
32876
|
|
|
32877
|
+
# Configuration options for Adaptive Protection auto-deploy feature.
|
|
32878
|
+
class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
|
|
32879
|
+
include Google::Apis::Core::Hashable
|
|
32880
|
+
|
|
32881
|
+
#
|
|
32882
|
+
# Corresponds to the JSON property `confidenceThreshold`
|
|
32883
|
+
# @return [Float]
|
|
32884
|
+
attr_accessor :confidence_threshold
|
|
32885
|
+
|
|
32886
|
+
#
|
|
32887
|
+
# Corresponds to the JSON property `expirationSec`
|
|
32888
|
+
# @return [Fixnum]
|
|
32889
|
+
attr_accessor :expiration_sec
|
|
32890
|
+
|
|
32891
|
+
#
|
|
32892
|
+
# Corresponds to the JSON property `impactedBaselineThreshold`
|
|
32893
|
+
# @return [Float]
|
|
32894
|
+
attr_accessor :impacted_baseline_threshold
|
|
32895
|
+
|
|
32896
|
+
#
|
|
32897
|
+
# Corresponds to the JSON property `loadThreshold`
|
|
32898
|
+
# @return [Float]
|
|
32899
|
+
attr_accessor :load_threshold
|
|
32900
|
+
|
|
32901
|
+
def initialize(**args)
|
|
32902
|
+
update!(**args)
|
|
32903
|
+
end
|
|
32904
|
+
|
|
32905
|
+
# Update properties of this object
|
|
32906
|
+
def update!(**args)
|
|
32907
|
+
@confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
|
|
32908
|
+
@expiration_sec = args[:expiration_sec] if args.key?(:expiration_sec)
|
|
32909
|
+
@impacted_baseline_threshold = args[:impacted_baseline_threshold] if args.key?(:impacted_baseline_threshold)
|
|
32910
|
+
@load_threshold = args[:load_threshold] if args.key?(:load_threshold)
|
|
32911
|
+
end
|
|
32912
|
+
end
|
|
32913
|
+
|
|
32864
32914
|
# Configuration options for L7 DDoS detection.
|
|
32865
32915
|
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
|
|
32866
32916
|
include Google::Apis::Core::Hashable
|
|
@@ -34701,6 +34751,16 @@ module Google
|
|
|
34701
34751
|
# @return [String]
|
|
34702
34752
|
attr_accessor :source_disk_id
|
|
34703
34753
|
|
|
34754
|
+
# [Output Only] URL of the resource policy which created this scheduled snapshot.
|
|
34755
|
+
# Corresponds to the JSON property `sourceSnapshotSchedulePolicy`
|
|
34756
|
+
# @return [String]
|
|
34757
|
+
attr_accessor :source_snapshot_schedule_policy
|
|
34758
|
+
|
|
34759
|
+
# [Output Only] ID of the resource policy which created this scheduled snapshot.
|
|
34760
|
+
# Corresponds to the JSON property `sourceSnapshotSchedulePolicyId`
|
|
34761
|
+
# @return [String]
|
|
34762
|
+
attr_accessor :source_snapshot_schedule_policy_id
|
|
34763
|
+
|
|
34704
34764
|
# [Output Only] The status of the snapshot. This can be CREATING, DELETING,
|
|
34705
34765
|
# FAILED, READY, or UPLOADING.
|
|
34706
34766
|
# Corresponds to the JSON property `status`
|
|
@@ -34760,6 +34820,8 @@ module Google
|
|
|
34760
34820
|
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
|
34761
34821
|
@source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
|
|
34762
34822
|
@source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
|
|
34823
|
+
@source_snapshot_schedule_policy = args[:source_snapshot_schedule_policy] if args.key?(:source_snapshot_schedule_policy)
|
|
34824
|
+
@source_snapshot_schedule_policy_id = args[:source_snapshot_schedule_policy_id] if args.key?(:source_snapshot_schedule_policy_id)
|
|
34763
34825
|
@status = args[:status] if args.key?(:status)
|
|
34764
34826
|
@storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
|
|
34765
34827
|
@storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
|
|
@@ -41213,21 +41275,68 @@ module Google
|
|
|
41213
41275
|
class UsableSubnetwork
|
|
41214
41276
|
include Google::Apis::Core::Hashable
|
|
41215
41277
|
|
|
41278
|
+
# [Output Only] The external IPv6 address range that is assigned to this
|
|
41279
|
+
# subnetwork.
|
|
41280
|
+
# Corresponds to the JSON property `externalIpv6Prefix`
|
|
41281
|
+
# @return [String]
|
|
41282
|
+
attr_accessor :external_ipv6_prefix
|
|
41283
|
+
|
|
41284
|
+
# [Output Only] The internal IPv6 address range that is assigned to this
|
|
41285
|
+
# subnetwork.
|
|
41286
|
+
# Corresponds to the JSON property `internalIpv6Prefix`
|
|
41287
|
+
# @return [String]
|
|
41288
|
+
attr_accessor :internal_ipv6_prefix
|
|
41289
|
+
|
|
41216
41290
|
# The range of internal addresses that are owned by this subnetwork.
|
|
41217
41291
|
# Corresponds to the JSON property `ipCidrRange`
|
|
41218
41292
|
# @return [String]
|
|
41219
41293
|
attr_accessor :ip_cidr_range
|
|
41220
41294
|
|
|
41295
|
+
# The access type of IPv6 address this subnet holds. It's immutable and can only
|
|
41296
|
+
# be specified during creation or the first time the subnet is updated into
|
|
41297
|
+
# IPV4_IPV6 dual stack.
|
|
41298
|
+
# Corresponds to the JSON property `ipv6AccessType`
|
|
41299
|
+
# @return [String]
|
|
41300
|
+
attr_accessor :ipv6_access_type
|
|
41301
|
+
|
|
41221
41302
|
# Network URL.
|
|
41222
41303
|
# Corresponds to the JSON property `network`
|
|
41223
41304
|
# @return [String]
|
|
41224
41305
|
attr_accessor :network
|
|
41225
41306
|
|
|
41307
|
+
# The purpose of the resource. This field can be either PRIVATE_RFC_1918 or
|
|
41308
|
+
# INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
|
|
41309
|
+
# INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
|
|
41310
|
+
# Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to
|
|
41311
|
+
# PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose
|
|
41312
|
+
# field set to INTERNAL_HTTPS_LOAD_BALANCER.
|
|
41313
|
+
# Corresponds to the JSON property `purpose`
|
|
41314
|
+
# @return [String]
|
|
41315
|
+
attr_accessor :purpose
|
|
41316
|
+
|
|
41317
|
+
# The role of subnetwork. Currently, this field is only used when purpose =
|
|
41318
|
+
# INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An
|
|
41319
|
+
# ACTIVE subnetwork is one that is currently being used for Internal HTTP(S)
|
|
41320
|
+
# Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to
|
|
41321
|
+
# ACTIVE or is currently draining. This field can be updated with a patch
|
|
41322
|
+
# request.
|
|
41323
|
+
# Corresponds to the JSON property `role`
|
|
41324
|
+
# @return [String]
|
|
41325
|
+
attr_accessor :role
|
|
41326
|
+
|
|
41226
41327
|
# Secondary IP ranges.
|
|
41227
41328
|
# Corresponds to the JSON property `secondaryIpRanges`
|
|
41228
41329
|
# @return [Array<Google::Apis::ComputeBeta::UsableSubnetworkSecondaryRange>]
|
|
41229
41330
|
attr_accessor :secondary_ip_ranges
|
|
41230
41331
|
|
|
41332
|
+
# The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are
|
|
41333
|
+
# assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can
|
|
41334
|
+
# be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used.
|
|
41335
|
+
# This field can be both set at resource creation time and updated using patch.
|
|
41336
|
+
# Corresponds to the JSON property `stackType`
|
|
41337
|
+
# @return [String]
|
|
41338
|
+
attr_accessor :stack_type
|
|
41339
|
+
|
|
41231
41340
|
# Subnetwork URL.
|
|
41232
41341
|
# Corresponds to the JSON property `subnetwork`
|
|
41233
41342
|
# @return [String]
|
|
@@ -41239,9 +41348,15 @@ module Google
|
|
|
41239
41348
|
|
|
41240
41349
|
# Update properties of this object
|
|
41241
41350
|
def update!(**args)
|
|
41351
|
+
@external_ipv6_prefix = args[:external_ipv6_prefix] if args.key?(:external_ipv6_prefix)
|
|
41352
|
+
@internal_ipv6_prefix = args[:internal_ipv6_prefix] if args.key?(:internal_ipv6_prefix)
|
|
41242
41353
|
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
|
41354
|
+
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
|
41243
41355
|
@network = args[:network] if args.key?(:network)
|
|
41356
|
+
@purpose = args[:purpose] if args.key?(:purpose)
|
|
41357
|
+
@role = args[:role] if args.key?(:role)
|
|
41244
41358
|
@secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
|
|
41359
|
+
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
|
41245
41360
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
|
41246
41361
|
end
|
|
41247
41362
|
end
|
|
@@ -41483,6 +41598,11 @@ module Google
|
|
|
41483
41598
|
# @return [Fixnum]
|
|
41484
41599
|
attr_accessor :num_total_nat_ports
|
|
41485
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
|
+
|
|
41486
41606
|
# Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP
|
|
41487
41607
|
# range. Examples: "10.33.4.55/32", or "192.168.5.0/24".
|
|
41488
41608
|
# Corresponds to the JSON property `sourceAliasIpRange`
|
|
@@ -41504,11 +41624,62 @@ module Google
|
|
|
41504
41624
|
@nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
|
|
41505
41625
|
@num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
|
|
41506
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)
|
|
41507
41628
|
@source_alias_ip_range = args[:source_alias_ip_range] if args.key?(:source_alias_ip_range)
|
|
41508
41629
|
@source_virtual_ip = args[:source_virtual_ip] if args.key?(:source_virtual_ip)
|
|
41509
41630
|
end
|
|
41510
41631
|
end
|
|
41511
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
|
+
|
|
41512
41683
|
# Contains a list of VmEndpointNatMappings.
|
|
41513
41684
|
class VmEndpointNatMappingsList
|
|
41514
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.
|
|
19
|
+
GEM_VERSION = "0.38.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.6.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20220607"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -4246,6 +4246,12 @@ module Google
|
|
|
4246
4246
|
include Google::Apis::Core::JsonObjectSupport
|
|
4247
4247
|
end
|
|
4248
4248
|
|
|
4249
|
+
class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
|
|
4250
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4251
|
+
|
|
4252
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4253
|
+
end
|
|
4254
|
+
|
|
4249
4255
|
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
|
|
4250
4256
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4251
4257
|
|
|
@@ -5476,6 +5482,12 @@ module Google
|
|
|
5476
5482
|
include Google::Apis::Core::JsonObjectSupport
|
|
5477
5483
|
end
|
|
5478
5484
|
|
|
5485
|
+
class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
|
|
5486
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5487
|
+
|
|
5488
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
5489
|
+
end
|
|
5490
|
+
|
|
5479
5491
|
class VmEndpointNatMappingsList
|
|
5480
5492
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5481
5493
|
|
|
@@ -8811,6 +8823,7 @@ module Google
|
|
|
8811
8823
|
property :instance_group, as: 'instanceGroup'
|
|
8812
8824
|
property :instance_template, as: 'instanceTemplate'
|
|
8813
8825
|
property :kind, as: 'kind'
|
|
8826
|
+
property :list_managed_instances_results, as: 'listManagedInstancesResults'
|
|
8814
8827
|
property :name, as: 'name'
|
|
8815
8828
|
collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeBeta::NamedPort, decorator: Google::Apis::ComputeBeta::NamedPort::Representation
|
|
8816
8829
|
|
|
@@ -13726,11 +13739,23 @@ module Google
|
|
|
13726
13739
|
class SecurityPolicyAdaptiveProtectionConfig
|
|
13727
13740
|
# @private
|
|
13728
13741
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
13742
|
+
property :auto_deploy_config, as: 'autoDeployConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig::Representation
|
|
13743
|
+
|
|
13729
13744
|
property :layer7_ddos_defense_config, as: 'layer7DdosDefenseConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig::Representation
|
|
13730
13745
|
|
|
13731
13746
|
end
|
|
13732
13747
|
end
|
|
13733
13748
|
|
|
13749
|
+
class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
|
|
13750
|
+
# @private
|
|
13751
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
13752
|
+
property :confidence_threshold, as: 'confidenceThreshold'
|
|
13753
|
+
property :expiration_sec, as: 'expirationSec'
|
|
13754
|
+
property :impacted_baseline_threshold, as: 'impactedBaselineThreshold'
|
|
13755
|
+
property :load_threshold, as: 'loadThreshold'
|
|
13756
|
+
end
|
|
13757
|
+
end
|
|
13758
|
+
|
|
13734
13759
|
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
|
|
13735
13760
|
# @private
|
|
13736
13761
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -14205,6 +14230,8 @@ module Google
|
|
|
14205
14230
|
property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
|
14206
14231
|
|
|
14207
14232
|
property :source_disk_id, as: 'sourceDiskId'
|
|
14233
|
+
property :source_snapshot_schedule_policy, as: 'sourceSnapshotSchedulePolicy'
|
|
14234
|
+
property :source_snapshot_schedule_policy_id, as: 'sourceSnapshotSchedulePolicyId'
|
|
14208
14235
|
property :status, as: 'status'
|
|
14209
14236
|
property :storage_bytes, :numeric_string => true, as: 'storageBytes'
|
|
14210
14237
|
property :storage_bytes_status, as: 'storageBytesStatus'
|
|
@@ -15832,10 +15859,16 @@ module Google
|
|
|
15832
15859
|
class UsableSubnetwork
|
|
15833
15860
|
# @private
|
|
15834
15861
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15862
|
+
property :external_ipv6_prefix, as: 'externalIpv6Prefix'
|
|
15863
|
+
property :internal_ipv6_prefix, as: 'internalIpv6Prefix'
|
|
15835
15864
|
property :ip_cidr_range, as: 'ipCidrRange'
|
|
15865
|
+
property :ipv6_access_type, as: 'ipv6AccessType'
|
|
15836
15866
|
property :network, as: 'network'
|
|
15867
|
+
property :purpose, as: 'purpose'
|
|
15868
|
+
property :role, as: 'role'
|
|
15837
15869
|
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeBeta::UsableSubnetworkSecondaryRange, decorator: Google::Apis::ComputeBeta::UsableSubnetworkSecondaryRange::Representation
|
|
15838
15870
|
|
|
15871
|
+
property :stack_type, as: 'stackType'
|
|
15839
15872
|
property :subnetwork, as: 'subnetwork'
|
|
15840
15873
|
end
|
|
15841
15874
|
end
|
|
@@ -15904,11 +15937,24 @@ module Google
|
|
|
15904
15937
|
collection :nat_ip_port_ranges, as: 'natIpPortRanges'
|
|
15905
15938
|
property :num_total_drain_nat_ports, as: 'numTotalDrainNatPorts'
|
|
15906
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
|
+
|
|
15907
15942
|
property :source_alias_ip_range, as: 'sourceAliasIpRange'
|
|
15908
15943
|
property :source_virtual_ip, as: 'sourceVirtualIp'
|
|
15909
15944
|
end
|
|
15910
15945
|
end
|
|
15911
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
|
+
|
|
15912
15958
|
class VmEndpointNatMappingsList
|
|
15913
15959
|
# @private
|
|
15914
15960
|
class Representation < Google::Apis::Core::JsonRepresentation
|