google-apis-compute_v1 0.38.0 → 0.40.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: dfa7b2d16f639e4032c643ea4b538645881a54434d05474305846f518e27a9ac
4
- data.tar.gz: 3c1781e6f94b96289b89b3d3dbb6ebc658783443dc38a3b466dd10c59cfa00c3
3
+ metadata.gz: b5d13a1500728573fde54ae34dad428386f06c46e56edbfda2bf74f614e4702f
4
+ data.tar.gz: 4454293fa65f52e8d0713936ad3e88cd608ca73876e701ee01b00bf193cc4633
5
5
  SHA512:
6
- metadata.gz: 11e8c2feceda95cdb288e8d559c21438e38887232cd709a63935f7f23784c694c2bd3674dce4c3749383a985cfe2fd5895401973c543f506a49c1ccb3c5ae916
7
- data.tar.gz: 1ff0d1b6c5739f0ef56f0e68a0d8b6b0f04f36dda3b214bd5ecc3503213dd8949bcd8aa0537ac58f6b6843c6847e634706d2f1b3e52214d0479b2deeda55d9d2
6
+ metadata.gz: a8a3ad1e3d4ec5c7414909955279f56bc8f4b54dc0178af95993a1532009131e20df77655ad7b0ec4e870d63e14aeb78dc4372e8dfdd6232ce3d9787455520e8
7
+ data.tar.gz: 3863a670f463b79bae8af597eb5fbf8aca963113ac064676b15012102b3155abb7dd641d92f2c9296bb64b381e1e90842c138e31005a81cffeb63a58132c0136
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.40.0 (2022-06-23)
4
+
5
+ * Regenerated from discovery document revision 20220614
6
+
7
+ ### v0.39.0 (2022-06-18)
8
+
9
+ * Regenerated using generator version 0.7.0
10
+ * Regenerated from discovery document revision 20220607
11
+
3
12
  ### v0.38.0 (2022-06-03)
4
13
 
5
14
  * Regenerated from discovery document revision 20220526
@@ -8546,8 +8546,7 @@ module Google
8546
8546
  attr_accessor :id
8547
8547
 
8548
8548
  # The IP Version that will be used by this forwarding rule. Valid options are
8549
- # IPV4 or IPV6. This can only be specified for an external global forwarding
8550
- # rule.
8549
+ # IPV4 or IPV6.
8551
8550
  # Corresponds to the JSON property `ipVersion`
8552
8551
  # @return [String]
8553
8552
  attr_accessor :ip_version
@@ -12393,6 +12392,12 @@ module Google
12393
12392
  # @return [Fixnum]
12394
12393
  attr_accessor :id
12395
12394
 
12395
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
12396
+ # NONE". The default value is "NONE" if it is not specified.
12397
+ # Corresponds to the JSON property `keyRevocationActionType`
12398
+ # @return [String]
12399
+ attr_accessor :key_revocation_action_type
12400
+
12396
12401
  # [Output Only] Type of the resource. Always compute#instance for instances.
12397
12402
  # Corresponds to the JSON property `kind`
12398
12403
  # @return [String]
@@ -12599,6 +12604,7 @@ module Google
12599
12604
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
12600
12605
  @hostname = args[:hostname] if args.key?(:hostname)
12601
12606
  @id = args[:id] if args.key?(:id)
12607
+ @key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
12602
12608
  @kind = args[:kind] if args.key?(:kind)
12603
12609
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
12604
12610
  @labels = args[:labels] if args.key?(:labels)
@@ -15159,6 +15165,12 @@ module Google
15159
15165
  # @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
15160
15166
  attr_accessor :guest_accelerators
15161
15167
 
15168
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
15169
+ # NONE". The default value is "NONE" if it is not specified.
15170
+ # Corresponds to the JSON property `keyRevocationActionType`
15171
+ # @return [String]
15172
+ attr_accessor :key_revocation_action_type
15173
+
15162
15174
  # Labels to apply to instances that are created from these properties.
15163
15175
  # Corresponds to the JSON property `labels`
15164
15176
  # @return [Hash<String,String>]
@@ -15254,6 +15266,7 @@ module Google
15254
15266
  @description = args[:description] if args.key?(:description)
15255
15267
  @disks = args[:disks] if args.key?(:disks)
15256
15268
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
15269
+ @key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
15257
15270
  @labels = args[:labels] if args.key?(:labels)
15258
15271
  @machine_type = args[:machine_type] if args.key?(:machine_type)
15259
15272
  @metadata = args[:metadata] if args.key?(:metadata)
@@ -17924,6 +17937,11 @@ module Google
17924
17937
  class LocationPolicyLocation
17925
17938
  include Google::Apis::Core::Hashable
17926
17939
 
17940
+ # Per-zone constraints on location policy for this zone.
17941
+ # Corresponds to the JSON property `constraints`
17942
+ # @return [Google::Apis::ComputeV1::LocationPolicyLocationConstraints]
17943
+ attr_accessor :constraints
17944
+
17927
17945
  # Preference for a given location.
17928
17946
  # Corresponds to the JSON property `preference`
17929
17947
  # @return [String]
@@ -17935,10 +17953,31 @@ module Google
17935
17953
 
17936
17954
  # Update properties of this object
17937
17955
  def update!(**args)
17956
+ @constraints = args[:constraints] if args.key?(:constraints)
17938
17957
  @preference = args[:preference] if args.key?(:preference)
17939
17958
  end
17940
17959
  end
17941
17960
 
17961
+ # Per-zone constraints on location policy for this zone.
17962
+ class LocationPolicyLocationConstraints
17963
+ include Google::Apis::Core::Hashable
17964
+
17965
+ # Maximum number of items that are allowed to be placed in this zone. The value
17966
+ # must be non-negative.
17967
+ # Corresponds to the JSON property `maxCount`
17968
+ # @return [Fixnum]
17969
+ attr_accessor :max_count
17970
+
17971
+ def initialize(**args)
17972
+ update!(**args)
17973
+ end
17974
+
17975
+ # Update properties of this object
17976
+ def update!(**args)
17977
+ @max_count = args[:max_count] if args.key?(:max_count)
17978
+ end
17979
+ end
17980
+
17942
17981
  # This is deprecated and has no effect. Do not use.
17943
17982
  class LogConfig
17944
17983
  include Google::Apis::Core::Hashable
@@ -33343,6 +33382,12 @@ module Google
33343
33382
  # @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
33344
33383
  attr_accessor :guest_accelerators
33345
33384
 
33385
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
33386
+ # NONE". The default value is "NONE" if it is not specified.
33387
+ # Corresponds to the JSON property `keyRevocationActionType`
33388
+ # @return [String]
33389
+ attr_accessor :key_revocation_action_type
33390
+
33346
33391
  # Labels to apply to instances that are created from this machine image.
33347
33392
  # Corresponds to the JSON property `labels`
33348
33393
  # @return [Hash<String,String>]
@@ -33401,6 +33446,7 @@ module Google
33401
33446
  @description = args[:description] if args.key?(:description)
33402
33447
  @disks = args[:disks] if args.key?(:disks)
33403
33448
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
33449
+ @key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
33404
33450
  @labels = args[:labels] if args.key?(:labels)
33405
33451
  @machine_type = args[:machine_type] if args.key?(:machine_type)
33406
33452
  @metadata = args[:metadata] if args.key?(:metadata)
@@ -39446,6 +39492,11 @@ module Google
39446
39492
  # @return [Fixnum]
39447
39493
  attr_accessor :num_total_nat_ports
39448
39494
 
39495
+ # Information about mappings provided by rules in this NAT.
39496
+ # Corresponds to the JSON property `ruleMappings`
39497
+ # @return [Array<Google::Apis::ComputeV1::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>]
39498
+ attr_accessor :rule_mappings
39499
+
39449
39500
  # Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP
39450
39501
  # range. Examples: "10.33.4.55/32", or "192.168.5.0/24".
39451
39502
  # Corresponds to the JSON property `sourceAliasIpRange`
@@ -39467,11 +39518,62 @@ module Google
39467
39518
  @nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
39468
39519
  @num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
39469
39520
  @num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
39521
+ @rule_mappings = args[:rule_mappings] if args.key?(:rule_mappings)
39470
39522
  @source_alias_ip_range = args[:source_alias_ip_range] if args.key?(:source_alias_ip_range)
39471
39523
  @source_virtual_ip = args[:source_virtual_ip] if args.key?(:source_virtual_ip)
39472
39524
  end
39473
39525
  end
39474
39526
 
39527
+ # Contains information of NAT Mappings provided by a NAT Rule.
39528
+ class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
39529
+ include Google::Apis::Core::Hashable
39530
+
39531
+ # List of all drain IP:port-range mappings assigned to this interface by this
39532
+ # rule. These ranges are inclusive, that is, both the first and the last ports
39533
+ # can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
39534
+ # Corresponds to the JSON property `drainNatIpPortRanges`
39535
+ # @return [Array<String>]
39536
+ attr_accessor :drain_nat_ip_port_ranges
39537
+
39538
+ # A list of all IP:port-range mappings assigned to this interface by this rule.
39539
+ # These ranges are inclusive, that is, both the first and the last ports can be
39540
+ # used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
39541
+ # Corresponds to the JSON property `natIpPortRanges`
39542
+ # @return [Array<String>]
39543
+ attr_accessor :nat_ip_port_ranges
39544
+
39545
+ # Total number of drain ports across all NAT IPs allocated to this interface by
39546
+ # this rule. It equals the aggregated port number in the field
39547
+ # drain_nat_ip_port_ranges.
39548
+ # Corresponds to the JSON property `numTotalDrainNatPorts`
39549
+ # @return [Fixnum]
39550
+ attr_accessor :num_total_drain_nat_ports
39551
+
39552
+ # Total number of ports across all NAT IPs allocated to this interface by this
39553
+ # rule. It equals the aggregated port number in the field nat_ip_port_ranges.
39554
+ # Corresponds to the JSON property `numTotalNatPorts`
39555
+ # @return [Fixnum]
39556
+ attr_accessor :num_total_nat_ports
39557
+
39558
+ # Rule number of the NAT Rule.
39559
+ # Corresponds to the JSON property `ruleNumber`
39560
+ # @return [Fixnum]
39561
+ attr_accessor :rule_number
39562
+
39563
+ def initialize(**args)
39564
+ update!(**args)
39565
+ end
39566
+
39567
+ # Update properties of this object
39568
+ def update!(**args)
39569
+ @drain_nat_ip_port_ranges = args[:drain_nat_ip_port_ranges] if args.key?(:drain_nat_ip_port_ranges)
39570
+ @nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
39571
+ @num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
39572
+ @num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
39573
+ @rule_number = args[:rule_number] if args.key?(:rule_number)
39574
+ end
39575
+ end
39576
+
39475
39577
  # Contains a list of VmEndpointNatMappings.
39476
39578
  class VmEndpointNatMappingsList
39477
39579
  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.38.0"
19
+ GEM_VERSION = "0.40.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.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220526"
25
+ REVISION = "20220614"
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
@@ -9159,7 +9159,9 @@ module Google
9159
9159
  # group is performing on the instance. For example, if the group is still
9160
9160
  # creating an instance, the currentAction is CREATING. If a previous action
9161
9161
  # failed, the list displays the errors for that failed action. The orderBy query
9162
- # parameter is not supported.
9162
+ # parameter is not supported. The `pageToken` query parameter is supported only
9163
+ # in the alpha and beta API and only if the group's `listManagedInstancesResults`
9164
+ # field is set to `PAGINATED`.
9163
9165
  # @param [String] project
9164
9166
  # Project ID for this request.
9165
9167
  # @param [String] zone
@@ -23548,6 +23550,9 @@ module Google
23548
23550
  # Lists the instances in the managed instance group and instances that are
23549
23551
  # scheduled to be created. The list includes any current actions that the group
23550
23552
  # has scheduled for its instances. The orderBy query parameter is not supported.
23553
+ # The `pageToken` query parameter is supported only in the alpha and beta API
23554
+ # and only if the group's `listManagedInstancesResults` field is set to `
23555
+ # PAGINATED`.
23551
23556
  # @param [String] project
23552
23557
  # Project ID for this request.
23553
23558
  # @param [String] region
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.38.0
4
+ version: 0.40.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-27 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.5'
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.5'
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.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.40.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: []