google-apis-compute_v1 0.38.0 → 0.39.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50b4a8f14a5d9cc06d317407e466b0befae8d80d88c98940311d58c8f2fa4c80
|
4
|
+
data.tar.gz: 7db7957682caf8de2ef392766497b2348dbed4b85a3fb0bac7dcb3874da54863
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a887ca03096da9169c1dd80170ccbd10a496ff2448fa9824b6921c038c0641344fcfdaba48bac551a903158274eab07aa74c6505cc6105d193caa9d13fae99b
|
7
|
+
data.tar.gz: 70bc3b932c1689bfa9b61b6c5adbbb049a4e352b21e162e3f4ab7040b77b0cdc8c180093a48902bf7deae4959c2f0a9589ea7f5541186ec9c5e2d45eb3b6486b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.39.0 (2022-06-18)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.7.0
|
6
|
+
* Regenerated from discovery document revision 20220607
|
7
|
+
|
3
8
|
### v0.38.0 (2022-06-03)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220526
|
@@ -12393,6 +12393,12 @@ module Google
|
|
12393
12393
|
# @return [Fixnum]
|
12394
12394
|
attr_accessor :id
|
12395
12395
|
|
12396
|
+
# KeyRevocationActionType of the instance. Supported options are "STOP" and "
|
12397
|
+
# NONE". The default value is "NONE" if it is not specified.
|
12398
|
+
# Corresponds to the JSON property `keyRevocationActionType`
|
12399
|
+
# @return [String]
|
12400
|
+
attr_accessor :key_revocation_action_type
|
12401
|
+
|
12396
12402
|
# [Output Only] Type of the resource. Always compute#instance for instances.
|
12397
12403
|
# Corresponds to the JSON property `kind`
|
12398
12404
|
# @return [String]
|
@@ -12599,6 +12605,7 @@ module Google
|
|
12599
12605
|
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
12600
12606
|
@hostname = args[:hostname] if args.key?(:hostname)
|
12601
12607
|
@id = args[:id] if args.key?(:id)
|
12608
|
+
@key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
|
12602
12609
|
@kind = args[:kind] if args.key?(:kind)
|
12603
12610
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
12604
12611
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -15159,6 +15166,12 @@ module Google
|
|
15159
15166
|
# @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
|
15160
15167
|
attr_accessor :guest_accelerators
|
15161
15168
|
|
15169
|
+
# KeyRevocationActionType of the instance. Supported options are "STOP" and "
|
15170
|
+
# NONE". The default value is "NONE" if it is not specified.
|
15171
|
+
# Corresponds to the JSON property `keyRevocationActionType`
|
15172
|
+
# @return [String]
|
15173
|
+
attr_accessor :key_revocation_action_type
|
15174
|
+
|
15162
15175
|
# Labels to apply to instances that are created from these properties.
|
15163
15176
|
# Corresponds to the JSON property `labels`
|
15164
15177
|
# @return [Hash<String,String>]
|
@@ -15254,6 +15267,7 @@ module Google
|
|
15254
15267
|
@description = args[:description] if args.key?(:description)
|
15255
15268
|
@disks = args[:disks] if args.key?(:disks)
|
15256
15269
|
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
15270
|
+
@key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
|
15257
15271
|
@labels = args[:labels] if args.key?(:labels)
|
15258
15272
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
15259
15273
|
@metadata = args[:metadata] if args.key?(:metadata)
|
@@ -17924,6 +17938,11 @@ module Google
|
|
17924
17938
|
class LocationPolicyLocation
|
17925
17939
|
include Google::Apis::Core::Hashable
|
17926
17940
|
|
17941
|
+
# Per-zone constraints on location policy for this zone.
|
17942
|
+
# Corresponds to the JSON property `constraints`
|
17943
|
+
# @return [Google::Apis::ComputeV1::LocationPolicyLocationConstraints]
|
17944
|
+
attr_accessor :constraints
|
17945
|
+
|
17927
17946
|
# Preference for a given location.
|
17928
17947
|
# Corresponds to the JSON property `preference`
|
17929
17948
|
# @return [String]
|
@@ -17935,10 +17954,31 @@ module Google
|
|
17935
17954
|
|
17936
17955
|
# Update properties of this object
|
17937
17956
|
def update!(**args)
|
17957
|
+
@constraints = args[:constraints] if args.key?(:constraints)
|
17938
17958
|
@preference = args[:preference] if args.key?(:preference)
|
17939
17959
|
end
|
17940
17960
|
end
|
17941
17961
|
|
17962
|
+
# Per-zone constraints on location policy for this zone.
|
17963
|
+
class LocationPolicyLocationConstraints
|
17964
|
+
include Google::Apis::Core::Hashable
|
17965
|
+
|
17966
|
+
# Maximum number of items that are allowed to be placed in this zone. The value
|
17967
|
+
# must be non-negative.
|
17968
|
+
# Corresponds to the JSON property `maxCount`
|
17969
|
+
# @return [Fixnum]
|
17970
|
+
attr_accessor :max_count
|
17971
|
+
|
17972
|
+
def initialize(**args)
|
17973
|
+
update!(**args)
|
17974
|
+
end
|
17975
|
+
|
17976
|
+
# Update properties of this object
|
17977
|
+
def update!(**args)
|
17978
|
+
@max_count = args[:max_count] if args.key?(:max_count)
|
17979
|
+
end
|
17980
|
+
end
|
17981
|
+
|
17942
17982
|
# This is deprecated and has no effect. Do not use.
|
17943
17983
|
class LogConfig
|
17944
17984
|
include Google::Apis::Core::Hashable
|
@@ -33343,6 +33383,12 @@ module Google
|
|
33343
33383
|
# @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
|
33344
33384
|
attr_accessor :guest_accelerators
|
33345
33385
|
|
33386
|
+
# KeyRevocationActionType of the instance. Supported options are "STOP" and "
|
33387
|
+
# NONE". The default value is "NONE" if it is not specified.
|
33388
|
+
# Corresponds to the JSON property `keyRevocationActionType`
|
33389
|
+
# @return [String]
|
33390
|
+
attr_accessor :key_revocation_action_type
|
33391
|
+
|
33346
33392
|
# Labels to apply to instances that are created from this machine image.
|
33347
33393
|
# Corresponds to the JSON property `labels`
|
33348
33394
|
# @return [Hash<String,String>]
|
@@ -33401,6 +33447,7 @@ module Google
|
|
33401
33447
|
@description = args[:description] if args.key?(:description)
|
33402
33448
|
@disks = args[:disks] if args.key?(:disks)
|
33403
33449
|
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
33450
|
+
@key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
|
33404
33451
|
@labels = args[:labels] if args.key?(:labels)
|
33405
33452
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
33406
33453
|
@metadata = args[:metadata] if args.key?(:metadata)
|
@@ -39446,6 +39493,11 @@ module Google
|
|
39446
39493
|
# @return [Fixnum]
|
39447
39494
|
attr_accessor :num_total_nat_ports
|
39448
39495
|
|
39496
|
+
# Information about mappings provided by rules in this NAT.
|
39497
|
+
# Corresponds to the JSON property `ruleMappings`
|
39498
|
+
# @return [Array<Google::Apis::ComputeV1::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>]
|
39499
|
+
attr_accessor :rule_mappings
|
39500
|
+
|
39449
39501
|
# Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP
|
39450
39502
|
# range. Examples: "10.33.4.55/32", or "192.168.5.0/24".
|
39451
39503
|
# Corresponds to the JSON property `sourceAliasIpRange`
|
@@ -39467,11 +39519,62 @@ module Google
|
|
39467
39519
|
@nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
|
39468
39520
|
@num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
|
39469
39521
|
@num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
|
39522
|
+
@rule_mappings = args[:rule_mappings] if args.key?(:rule_mappings)
|
39470
39523
|
@source_alias_ip_range = args[:source_alias_ip_range] if args.key?(:source_alias_ip_range)
|
39471
39524
|
@source_virtual_ip = args[:source_virtual_ip] if args.key?(:source_virtual_ip)
|
39472
39525
|
end
|
39473
39526
|
end
|
39474
39527
|
|
39528
|
+
# Contains information of NAT Mappings provided by a NAT Rule.
|
39529
|
+
class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
|
39530
|
+
include Google::Apis::Core::Hashable
|
39531
|
+
|
39532
|
+
# List of all drain IP:port-range mappings assigned to this interface by this
|
39533
|
+
# rule. These ranges are inclusive, that is, both the first and the last ports
|
39534
|
+
# can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
|
39535
|
+
# Corresponds to the JSON property `drainNatIpPortRanges`
|
39536
|
+
# @return [Array<String>]
|
39537
|
+
attr_accessor :drain_nat_ip_port_ranges
|
39538
|
+
|
39539
|
+
# A list of all IP:port-range mappings assigned to this interface by this rule.
|
39540
|
+
# These ranges are inclusive, that is, both the first and the last ports can be
|
39541
|
+
# used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
|
39542
|
+
# Corresponds to the JSON property `natIpPortRanges`
|
39543
|
+
# @return [Array<String>]
|
39544
|
+
attr_accessor :nat_ip_port_ranges
|
39545
|
+
|
39546
|
+
# Total number of drain ports across all NAT IPs allocated to this interface by
|
39547
|
+
# this rule. It equals the aggregated port number in the field
|
39548
|
+
# drain_nat_ip_port_ranges.
|
39549
|
+
# Corresponds to the JSON property `numTotalDrainNatPorts`
|
39550
|
+
# @return [Fixnum]
|
39551
|
+
attr_accessor :num_total_drain_nat_ports
|
39552
|
+
|
39553
|
+
# Total number of ports across all NAT IPs allocated to this interface by this
|
39554
|
+
# rule. It equals the aggregated port number in the field nat_ip_port_ranges.
|
39555
|
+
# Corresponds to the JSON property `numTotalNatPorts`
|
39556
|
+
# @return [Fixnum]
|
39557
|
+
attr_accessor :num_total_nat_ports
|
39558
|
+
|
39559
|
+
# Rule number of the NAT Rule.
|
39560
|
+
# Corresponds to the JSON property `ruleNumber`
|
39561
|
+
# @return [Fixnum]
|
39562
|
+
attr_accessor :rule_number
|
39563
|
+
|
39564
|
+
def initialize(**args)
|
39565
|
+
update!(**args)
|
39566
|
+
end
|
39567
|
+
|
39568
|
+
# Update properties of this object
|
39569
|
+
def update!(**args)
|
39570
|
+
@drain_nat_ip_port_ranges = args[:drain_nat_ip_port_ranges] if args.key?(:drain_nat_ip_port_ranges)
|
39571
|
+
@nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
|
39572
|
+
@num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
|
39573
|
+
@num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
|
39574
|
+
@rule_number = args[:rule_number] if args.key?(:rule_number)
|
39575
|
+
end
|
39576
|
+
end
|
39577
|
+
|
39475
39578
|
# Contains a list of VmEndpointNatMappings.
|
39476
39579
|
class VmEndpointNatMappingsList
|
39477
39580
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeV1
|
18
18
|
# Version of the google-apis-compute_v1 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 = "20220607"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2206,6 +2206,12 @@ module Google
|
|
2206
2206
|
include Google::Apis::Core::JsonObjectSupport
|
2207
2207
|
end
|
2208
2208
|
|
2209
|
+
class LocationPolicyLocationConstraints
|
2210
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2211
|
+
|
2212
|
+
include Google::Apis::Core::JsonObjectSupport
|
2213
|
+
end
|
2214
|
+
|
2209
2215
|
class LogConfig
|
2210
2216
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2211
2217
|
|
@@ -5236,6 +5242,12 @@ module Google
|
|
5236
5242
|
include Google::Apis::Core::JsonObjectSupport
|
5237
5243
|
end
|
5238
5244
|
|
5245
|
+
class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
|
5246
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5247
|
+
|
5248
|
+
include Google::Apis::Core::JsonObjectSupport
|
5249
|
+
end
|
5250
|
+
|
5239
5251
|
class VmEndpointNatMappingsList
|
5240
5252
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5241
5253
|
|
@@ -8305,6 +8317,7 @@ module Google
|
|
8305
8317
|
|
8306
8318
|
property :hostname, as: 'hostname'
|
8307
8319
|
property :id, :numeric_string => true, as: 'id'
|
8320
|
+
property :key_revocation_action_type, as: 'keyRevocationActionType'
|
8308
8321
|
property :kind, as: 'kind'
|
8309
8322
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
8310
8323
|
hash :labels, as: 'labels'
|
@@ -9020,6 +9033,7 @@ module Google
|
|
9020
9033
|
|
9021
9034
|
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
|
9022
9035
|
|
9036
|
+
property :key_revocation_action_type, as: 'keyRevocationActionType'
|
9023
9037
|
hash :labels, as: 'labels'
|
9024
9038
|
property :machine_type, as: 'machineType'
|
9025
9039
|
property :metadata, as: 'metadata', class: Google::Apis::ComputeV1::Metadata, decorator: Google::Apis::ComputeV1::Metadata::Representation
|
@@ -9701,10 +9715,19 @@ module Google
|
|
9701
9715
|
class LocationPolicyLocation
|
9702
9716
|
# @private
|
9703
9717
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9718
|
+
property :constraints, as: 'constraints', class: Google::Apis::ComputeV1::LocationPolicyLocationConstraints, decorator: Google::Apis::ComputeV1::LocationPolicyLocationConstraints::Representation
|
9719
|
+
|
9704
9720
|
property :preference, as: 'preference'
|
9705
9721
|
end
|
9706
9722
|
end
|
9707
9723
|
|
9724
|
+
class LocationPolicyLocationConstraints
|
9725
|
+
# @private
|
9726
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9727
|
+
property :max_count, as: 'maxCount'
|
9728
|
+
end
|
9729
|
+
end
|
9730
|
+
|
9708
9731
|
class LogConfig
|
9709
9732
|
# @private
|
9710
9733
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13646,6 +13669,7 @@ module Google
|
|
13646
13669
|
|
13647
13670
|
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
|
13648
13671
|
|
13672
|
+
property :key_revocation_action_type, as: 'keyRevocationActionType'
|
13649
13673
|
hash :labels, as: 'labels'
|
13650
13674
|
property :machine_type, as: 'machineType'
|
13651
13675
|
property :metadata, as: 'metadata', class: Google::Apis::ComputeV1::Metadata, decorator: Google::Apis::ComputeV1::Metadata::Representation
|
@@ -15179,11 +15203,24 @@ module Google
|
|
15179
15203
|
collection :nat_ip_port_ranges, as: 'natIpPortRanges'
|
15180
15204
|
property :num_total_drain_nat_ports, as: 'numTotalDrainNatPorts'
|
15181
15205
|
property :num_total_nat_ports, as: 'numTotalNatPorts'
|
15206
|
+
collection :rule_mappings, as: 'ruleMappings', class: Google::Apis::ComputeV1::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings, decorator: Google::Apis::ComputeV1::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings::Representation
|
15207
|
+
|
15182
15208
|
property :source_alias_ip_range, as: 'sourceAliasIpRange'
|
15183
15209
|
property :source_virtual_ip, as: 'sourceVirtualIp'
|
15184
15210
|
end
|
15185
15211
|
end
|
15186
15212
|
|
15213
|
+
class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
|
15214
|
+
# @private
|
15215
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15216
|
+
collection :drain_nat_ip_port_ranges, as: 'drainNatIpPortRanges'
|
15217
|
+
collection :nat_ip_port_ranges, as: 'natIpPortRanges'
|
15218
|
+
property :num_total_drain_nat_ports, as: 'numTotalDrainNatPorts'
|
15219
|
+
property :num_total_nat_ports, as: 'numTotalNatPorts'
|
15220
|
+
property :rule_number, as: 'ruleNumber'
|
15221
|
+
end
|
15222
|
+
end
|
15223
|
+
|
15187
15224
|
class VmEndpointNatMappingsList
|
15188
15225
|
# @private
|
15189
15226
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.39.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-
|
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
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.6'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.6'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.39.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|