google-apis-compute_v1 0.83.0 → 0.84.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: 57b5e7fc815fa7e5c11829829e337d7b11e96d59a049dee76ad2e7c3a5b1656c
4
- data.tar.gz: e6e2ed5480718ea02f81c4ae4f4103d1c805c97146dd08253665b0b523361cd5
3
+ metadata.gz: 0f2ca91de7ff581705cba221500f0f4ccb5d09e195f2b5b74c11070c8764f96e
4
+ data.tar.gz: c6885ad01de8e4c80276f45a3a0964bfc4e3e6db1c8ad39d021833581a79171b
5
5
  SHA512:
6
- metadata.gz: 3e72c220ebade6c5c9bf580a77f30a8df397223a2e3816cc64293ac27a8d6b7ccd1d3bbf5a0bcaec130880c0f76d260b6046b557d6ea2ccd54c0437d6a15e277
7
- data.tar.gz: b9fb39b590a008f55435ce6259b6c8eeb888441275f5e6e08c88c78276ae0b6fa60f3b8c0d955cfd0917732d8beda92600915f51847c908f51e1e8eb7dd3023b
6
+ metadata.gz: e84ce1d03db974f8769092adb7f679408e29c2ccdbb7de478923aabb30f962bb8d775ae947f9965233b0a7d794cdce4b93e9100334d18257df5b409f2de3e231
7
+ data.tar.gz: 29a1129ca826f9b98bbc14f1008e58fa453d91f9fd1c9481625a62f4a81a104f7066a7380f3ad50be0990fd6108a88b8edaea4414512f64b721b4a66bd855cdb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.84.0 (2023-11-12)
4
+
5
+ * Regenerated from discovery document revision 20231031
6
+
3
7
  ### v0.83.0 (2023-10-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20231017
@@ -9327,13 +9327,17 @@ module Google
9327
9327
  # @return [String]
9328
9328
  attr_accessor :ip_protocol
9329
9329
 
9330
- # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
9331
- # internal TCP/UDP load balancers, backend service-based network load balancers,
9332
- # and internal and external protocol forwarding. Set this field to true to allow
9333
- # packets addressed to any port or packets lacking destination port information (
9334
- # for example, UDP fragments after the first fragment) to be forwarded to the
9335
- # backends configured with this forwarding rule. The ports, port_range, and
9336
- # allPorts fields are mutually exclusive.
9330
+ # The ports, portRange, and allPorts fields are mutually exclusive. Only packets
9331
+ # addressed to ports in the specified range will be forwarded to the backends
9332
+ # configured with this forwarding rule. The allPorts field has the following
9333
+ # limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP,
9334
+ # SCTP, or L3_DEFAULT. - It's applicable only to the following products:
9335
+ # internal passthrough Network Load Balancers, backend service-based external
9336
+ # passthrough Network Load Balancers, and internal and external protocol
9337
+ # forwarding. - Set this field to true to allow packets addressed to any port or
9338
+ # packets lacking destination port information (for example, UDP fragments after
9339
+ # the first fragment) to be forwarded to the backends configured with this
9340
+ # forwarding rule. The L3_DEFAULT protocol requires allPorts be set to true.
9337
9341
  # Corresponds to the JSON property `allPorts`
9338
9342
  # @return [Boolean]
9339
9343
  attr_accessor :all_ports
@@ -9510,35 +9514,38 @@ module Google
9510
9514
  attr_accessor :no_automate_dns_zone
9511
9515
  alias_method :no_automate_dns_zone?, :no_automate_dns_zone
9512
9516
 
9513
- # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
9514
- # backend service-based network load balancers, target pool-based network load
9515
- # balancers, internal proxy load balancers, external proxy load balancers,
9516
- # Traffic Director, external protocol forwarding, and Classic VPN. Some products
9517
- # have restrictions on what ports can be used. See port specifications for
9518
- # details. Only packets addressed to ports in the specified range will be
9519
- # forwarded to the backends configured with this forwarding rule. The ports,
9520
- # port_range, and allPorts fields are mutually exclusive. For external
9521
- # forwarding rules, two or more forwarding rules cannot use the same [IPAddress,
9522
- # IPProtocol] pair, and cannot have overlapping portRanges. For internal
9523
- # forwarding rules within the same VPC network, two or more forwarding rules
9524
- # cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping
9525
- # portRanges. @pattern: \\d+(?:-\\d+)?
9517
+ # The ports, portRange, and allPorts fields are mutually exclusive. Only packets
9518
+ # addressed to ports in the specified range will be forwarded to the backends
9519
+ # configured with this forwarding rule. The portRange field has the following
9520
+ # limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, or
9521
+ # SCTP, and - It's applicable only to the following products: external
9522
+ # passthrough Network Load Balancers, internal and external proxy Network Load
9523
+ # Balancers, internal and external Application Load Balancers, external protocol
9524
+ # forwarding, and Classic VPN. - Some products have restrictions on what ports
9525
+ # can be used. See port specifications for details. For external forwarding
9526
+ # rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol]
9527
+ # pair, and cannot have overlapping portRanges. For internal forwarding rules
9528
+ # within the same VPC network, two or more forwarding rules cannot use the same [
9529
+ # IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. @pattern:
9530
+ # \\d+(?:-\\d+)?
9526
9531
  # Corresponds to the JSON property `portRange`
9527
9532
  # @return [String]
9528
9533
  attr_accessor :port_range
9529
9534
 
9530
- # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
9531
- # internal TCP/UDP load balancers, backend service-based network load balancers,
9532
- # and internal protocol forwarding. You can specify a list of up to five ports
9533
- # by number, separated by commas. The ports can be contiguous or discontiguous.
9534
- # Only packets addressed to these ports will be forwarded to the backends
9535
- # configured with this forwarding rule. For external forwarding rules, two or
9536
- # more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and
9537
- # cannot share any values defined in ports. For internal forwarding rules within
9538
- # the same VPC network, two or more forwarding rules cannot use the same [
9539
- # IPAddress, IPProtocol] pair, and cannot share any values defined in ports. The
9540
- # ports, port_range, and allPorts fields are mutually exclusive. @pattern: \\d+(?
9541
- # :-\\d+)?
9535
+ # The ports, portRange, and allPorts fields are mutually exclusive. Only packets
9536
+ # addressed to ports in the specified range will be forwarded to the backends
9537
+ # configured with this forwarding rule. The ports field has the following
9538
+ # limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, or
9539
+ # SCTP, and - It's applicable only to the following products: internal
9540
+ # passthrough Network Load Balancers, backend service-based external passthrough
9541
+ # Network Load Balancers, and internal protocol forwarding. - You can specify a
9542
+ # list of up to five ports by number, separated by commas. The ports can be
9543
+ # contiguous or discontiguous. For external forwarding rules, two or more
9544
+ # forwarding rules cannot use the same [IPAddress, IPProtocol] pair if they
9545
+ # share at least one port number. For internal forwarding rules within the same
9546
+ # VPC network, two or more forwarding rules cannot use the same [IPAddress,
9547
+ # IPProtocol] pair if they share at least one port number. @pattern: \\d+(?:-\\d+
9548
+ # )?
9542
9549
  # Corresponds to the JSON property `ports`
9543
9550
  # @return [Array<String>]
9544
9551
  attr_accessor :ports
@@ -32269,6 +32276,11 @@ module Google
32269
32276
  # @return [String]
32270
32277
  attr_accessor :physical_host
32271
32278
 
32279
+ # Upcoming Maintenance notification information.
32280
+ # Corresponds to the JSON property `upcomingMaintenance`
32281
+ # @return [Google::Apis::ComputeV1::UpcomingMaintenance]
32282
+ attr_accessor :upcoming_maintenance
32283
+
32272
32284
  def initialize(**args)
32273
32285
  update!(**args)
32274
32286
  end
@@ -32276,6 +32288,7 @@ module Google
32276
32288
  # Update properties of this object
32277
32289
  def update!(**args)
32278
32290
  @physical_host = args[:physical_host] if args.key?(:physical_host)
32291
+ @upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance)
32279
32292
  end
32280
32293
  end
32281
32294
 
@@ -33605,6 +33618,12 @@ module Google
33605
33618
  # @return [Fixnum]
33606
33619
  attr_accessor :tcp_transitory_idle_timeout_sec
33607
33620
 
33621
+ # Indicates whether this NAT is used for public or private IP translation. If
33622
+ # unspecified, it defaults to PUBLIC.
33623
+ # Corresponds to the JSON property `type`
33624
+ # @return [String]
33625
+ attr_accessor :type
33626
+
33608
33627
  # Timeout (in seconds) for UDP connections. Defaults to 30s if not set.
33609
33628
  # Corresponds to the JSON property `udpIdleTimeoutSec`
33610
33629
  # @return [Fixnum]
@@ -33634,6 +33653,7 @@ module Google
33634
33653
  @tcp_established_idle_timeout_sec = args[:tcp_established_idle_timeout_sec] if args.key?(:tcp_established_idle_timeout_sec)
33635
33654
  @tcp_time_wait_timeout_sec = args[:tcp_time_wait_timeout_sec] if args.key?(:tcp_time_wait_timeout_sec)
33636
33655
  @tcp_transitory_idle_timeout_sec = args[:tcp_transitory_idle_timeout_sec] if args.key?(:tcp_transitory_idle_timeout_sec)
33656
+ @type = args[:type] if args.key?(:type)
33637
33657
  @udp_idle_timeout_sec = args[:udp_idle_timeout_sec] if args.key?(:udp_idle_timeout_sec)
33638
33658
  end
33639
33659
  end
@@ -33725,6 +33745,13 @@ module Google
33725
33745
  # @return [Array<String>]
33726
33746
  attr_accessor :source_nat_active_ips
33727
33747
 
33748
+ # A list of URLs of the subnetworks used as source ranges for this NAT Rule.
33749
+ # These subnetworks must have purpose set to PRIVATE_NAT. This field is used for
33750
+ # private NAT.
33751
+ # Corresponds to the JSON property `sourceNatActiveRanges`
33752
+ # @return [Array<String>]
33753
+ attr_accessor :source_nat_active_ranges
33754
+
33728
33755
  # A list of URLs of the IP resources to be drained. These IPs must be valid
33729
33756
  # static external IPs that have been assigned to the NAT. These IPs should be
33730
33757
  # used for updating/patching a NAT rule only. This field is used for public NAT.
@@ -33732,6 +33759,14 @@ module Google
33732
33759
  # @return [Array<String>]
33733
33760
  attr_accessor :source_nat_drain_ips
33734
33761
 
33762
+ # A list of URLs of subnetworks representing source ranges to be drained. This
33763
+ # is only supported on patch/update, and these subnetworks must have previously
33764
+ # been used as active ranges in this NAT Rule. This field is used for private
33765
+ # NAT.
33766
+ # Corresponds to the JSON property `sourceNatDrainRanges`
33767
+ # @return [Array<String>]
33768
+ attr_accessor :source_nat_drain_ranges
33769
+
33735
33770
  def initialize(**args)
33736
33771
  update!(**args)
33737
33772
  end
@@ -33739,7 +33774,9 @@ module Google
33739
33774
  # Update properties of this object
33740
33775
  def update!(**args)
33741
33776
  @source_nat_active_ips = args[:source_nat_active_ips] if args.key?(:source_nat_active_ips)
33777
+ @source_nat_active_ranges = args[:source_nat_active_ranges] if args.key?(:source_nat_active_ranges)
33742
33778
  @source_nat_drain_ips = args[:source_nat_drain_ips] if args.key?(:source_nat_drain_ips)
33779
+ @source_nat_drain_ranges = args[:source_nat_drain_ranges] if args.key?(:source_nat_drain_ranges)
33743
33780
  end
33744
33781
  end
33745
33782
 
@@ -35220,6 +35257,12 @@ module Google
35220
35257
  # @return [String]
35221
35258
  attr_accessor :log_level
35222
35259
 
35260
+ # An optional list of case-insensitive request header names to use for resolving
35261
+ # the callers client IP address.
35262
+ # Corresponds to the JSON property `userIpRequestHeaders`
35263
+ # @return [Array<String>]
35264
+ attr_accessor :user_ip_request_headers
35265
+
35223
35266
  def initialize(**args)
35224
35267
  update!(**args)
35225
35268
  end
@@ -35229,6 +35272,7 @@ module Google
35229
35272
  @json_custom_config = args[:json_custom_config] if args.key?(:json_custom_config)
35230
35273
  @json_parsing = args[:json_parsing] if args.key?(:json_parsing)
35231
35274
  @log_level = args[:log_level] if args.key?(:log_level)
35275
+ @user_ip_request_headers = args[:user_ip_request_headers] if args.key?(:user_ip_request_headers)
35232
35276
  end
35233
35277
  end
35234
35278
 
@@ -37112,6 +37156,13 @@ module Google
37112
37156
  # @return [Fixnum]
37113
37157
  attr_accessor :download_bytes
37114
37158
 
37159
+ # [Output Only] A list of features to enable on the guest operating system.
37160
+ # Applicable only for bootable images. Read Enabling guest operating system
37161
+ # features to see a list of available options.
37162
+ # Corresponds to the JSON property `guestOsFeatures`
37163
+ # @return [Array<Google::Apis::ComputeV1::GuestOsFeature>]
37164
+ attr_accessor :guest_os_features
37165
+
37115
37166
  # [Output Only] The unique identifier for the resource. This identifier is
37116
37167
  # defined by the server.
37117
37168
  # Corresponds to the JSON property `id`
@@ -37272,6 +37323,7 @@ module Google
37272
37323
  @description = args[:description] if args.key?(:description)
37273
37324
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
37274
37325
  @download_bytes = args[:download_bytes] if args.key?(:download_bytes)
37326
+ @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
37275
37327
  @id = args[:id] if args.key?(:id)
37276
37328
  @kind = args[:kind] if args.key?(:kind)
37277
37329
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@@ -43234,6 +43286,59 @@ module Google
43234
43286
  end
43235
43287
  end
43236
43288
 
43289
+ # Upcoming Maintenance notification information.
43290
+ class UpcomingMaintenance
43291
+ include Google::Apis::Core::Hashable
43292
+
43293
+ # Indicates if the maintenance can be customer triggered.
43294
+ # Corresponds to the JSON property `canReschedule`
43295
+ # @return [Boolean]
43296
+ attr_accessor :can_reschedule
43297
+ alias_method :can_reschedule?, :can_reschedule
43298
+
43299
+ # The latest time for the planned maintenance window to start. This timestamp
43300
+ # value is in RFC3339 text format.
43301
+ # Corresponds to the JSON property `latestWindowStartTime`
43302
+ # @return [String]
43303
+ attr_accessor :latest_window_start_time
43304
+
43305
+ #
43306
+ # Corresponds to the JSON property `maintenanceStatus`
43307
+ # @return [String]
43308
+ attr_accessor :maintenance_status
43309
+
43310
+ # Defines the type of maintenance.
43311
+ # Corresponds to the JSON property `type`
43312
+ # @return [String]
43313
+ attr_accessor :type
43314
+
43315
+ # The time by which the maintenance disruption will be completed. This timestamp
43316
+ # value is in RFC3339 text format.
43317
+ # Corresponds to the JSON property `windowEndTime`
43318
+ # @return [String]
43319
+ attr_accessor :window_end_time
43320
+
43321
+ # The current start time of the maintenance window. This timestamp value is in
43322
+ # RFC3339 text format.
43323
+ # Corresponds to the JSON property `windowStartTime`
43324
+ # @return [String]
43325
+ attr_accessor :window_start_time
43326
+
43327
+ def initialize(**args)
43328
+ update!(**args)
43329
+ end
43330
+
43331
+ # Update properties of this object
43332
+ def update!(**args)
43333
+ @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
43334
+ @latest_window_start_time = args[:latest_window_start_time] if args.key?(:latest_window_start_time)
43335
+ @maintenance_status = args[:maintenance_status] if args.key?(:maintenance_status)
43336
+ @type = args[:type] if args.key?(:type)
43337
+ @window_end_time = args[:window_end_time] if args.key?(:window_end_time)
43338
+ @window_start_time = args[:window_start_time] if args.key?(:window_start_time)
43339
+ end
43340
+ end
43341
+
43237
43342
  # Represents a URL Map resource. Compute Engine has two URL Map resources: * [
43238
43343
  # Global](/compute/docs/reference/rest/v1/urlMaps) * [Regional](/compute/docs/
43239
43344
  # reference/rest/v1/regionUrlMaps) A URL map resource is a component of certain
@@ -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.83.0"
19
+ GEM_VERSION = "0.84.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231017"
25
+ REVISION = "20231031"
26
26
  end
27
27
  end
28
28
  end
@@ -5722,6 +5722,12 @@ module Google
5722
5722
  include Google::Apis::Core::JsonObjectSupport
5723
5723
  end
5724
5724
 
5725
+ class UpcomingMaintenance
5726
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5727
+
5728
+ include Google::Apis::Core::JsonObjectSupport
5729
+ end
5730
+
5725
5731
  class UrlMap
5726
5732
  class Representation < Google::Apis::Core::JsonRepresentation; end
5727
5733
 
@@ -14020,6 +14026,8 @@ module Google
14020
14026
  # @private
14021
14027
  class Representation < Google::Apis::Core::JsonRepresentation
14022
14028
  property :physical_host, as: 'physicalHost'
14029
+ property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::ComputeV1::UpcomingMaintenance, decorator: Google::Apis::ComputeV1::UpcomingMaintenance::Representation
14030
+
14023
14031
  end
14024
14032
  end
14025
14033
 
@@ -14312,6 +14320,7 @@ module Google
14312
14320
  property :tcp_established_idle_timeout_sec, as: 'tcpEstablishedIdleTimeoutSec'
14313
14321
  property :tcp_time_wait_timeout_sec, as: 'tcpTimeWaitTimeoutSec'
14314
14322
  property :tcp_transitory_idle_timeout_sec, as: 'tcpTransitoryIdleTimeoutSec'
14323
+ property :type, as: 'type'
14315
14324
  property :udp_idle_timeout_sec, as: 'udpIdleTimeoutSec'
14316
14325
  end
14317
14326
  end
@@ -14339,7 +14348,9 @@ module Google
14339
14348
  # @private
14340
14349
  class Representation < Google::Apis::Core::JsonRepresentation
14341
14350
  collection :source_nat_active_ips, as: 'sourceNatActiveIps'
14351
+ collection :source_nat_active_ranges, as: 'sourceNatActiveRanges'
14342
14352
  collection :source_nat_drain_ips, as: 'sourceNatDrainIps'
14353
+ collection :source_nat_drain_ranges, as: 'sourceNatDrainRanges'
14343
14354
  end
14344
14355
  end
14345
14356
 
@@ -14712,6 +14723,7 @@ module Google
14712
14723
 
14713
14724
  property :json_parsing, as: 'jsonParsing'
14714
14725
  property :log_level, as: 'logLevel'
14726
+ collection :user_ip_request_headers, as: 'userIpRequestHeaders'
14715
14727
  end
14716
14728
  end
14717
14729
 
@@ -15204,6 +15216,8 @@ module Google
15204
15216
  property :description, as: 'description'
15205
15217
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
15206
15218
  property :download_bytes, :numeric_string => true, as: 'downloadBytes'
15219
+ collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation
15220
+
15207
15221
  property :id, :numeric_string => true, as: 'id'
15208
15222
  property :kind, as: 'kind'
15209
15223
  property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
@@ -16733,6 +16747,18 @@ module Google
16733
16747
  end
16734
16748
  end
16735
16749
 
16750
+ class UpcomingMaintenance
16751
+ # @private
16752
+ class Representation < Google::Apis::Core::JsonRepresentation
16753
+ property :can_reschedule, as: 'canReschedule'
16754
+ property :latest_window_start_time, as: 'latestWindowStartTime'
16755
+ property :maintenance_status, as: 'maintenanceStatus'
16756
+ property :type, as: 'type'
16757
+ property :window_end_time, as: 'windowEndTime'
16758
+ property :window_start_time, as: 'windowStartTime'
16759
+ end
16760
+ end
16761
+
16736
16762
  class UrlMap
16737
16763
  # @private
16738
16764
  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.83.0
4
+ version: 0.84.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: 2023-10-29 00:00:00.000000000 Z
11
+ date: 2023-11-12 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.83.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.84.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: []