google-apis-compute_v1 0.53.0 → 0.54.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: d3e95dddd48e87c4d418425888a8638af3d5ea8669957269b51d257c6bbb143d
4
- data.tar.gz: d4fac0643012ad6e7aca2ae2a4f85eb57e6c8c7c9f16675e4adcb08d3565c98b
3
+ metadata.gz: abc081b310b12e04f5e89afe2cd4e7e4e5e029e6a0813bc64435e3e4e96c0ecf
4
+ data.tar.gz: 9858cb4bd96c6b8ba92d39ee87a43761bc3fc98089e55ed02698e8f02a5cfbff
5
5
  SHA512:
6
- metadata.gz: c28e220507ac22457de640b0b7c5c6939291e24e78fcded5f4aeb8799b22bc32d82ec2d69bf9f8997b198a6e1029d22a50837c01d524ea0eaa0c9c3893af6479
7
- data.tar.gz: 2cf7955ef292a8276f0c416253128440ae1e8ea56e8a67b6690f55d19fc8f2d7fe665a808a9a46681d2a76f2be97094dd560da97ffb12c4370e1091404c3514b
6
+ metadata.gz: d9e6381e17a9b9a682742f813df59fe3e4b835790a0d29e3bf53b86450aa2d8f506a6a3492c3f35f83300c1021c5eb2ff21234b8e38c353b9d5262872313c4d9
7
+ data.tar.gz: a3581c98a79b81d9fd18e768370965e8ea266de0bd7fec6449cbdc967adf8386a68dce99b76a01a7300926e823ce1aa52fb1fef536311dca01ce222500109d09
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.54.0 (2022-10-30)
4
+
5
+ * Regenerated from discovery document revision 20221018
6
+ * Regenerated using generator version 0.11.0
7
+
3
8
  ### v0.53.0 (2022-09-30)
4
9
 
5
10
  * Regenerated from discovery document revision 20220918
@@ -5543,7 +5543,8 @@ module Google
5543
5543
  # Specifies a regular expression that matches allowed origins. For more
5544
5544
  # information about the regular expression syntax, see Syntax. An origin is
5545
5545
  # allowed if it matches either an item in allowOrigins or an item in
5546
- # allowOriginRegexes.
5546
+ # allowOriginRegexes. Regular expressions can only be used when the
5547
+ # loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
5547
5548
  # Corresponds to the JSON property `allowOriginRegexes`
5548
5549
  # @return [Array<String>]
5549
5550
  attr_accessor :allow_origin_regexes
@@ -11149,8 +11150,8 @@ module Google
11149
11150
  # For matching against a port specified in the HTTP request, use a headerMatch
11150
11151
  # with headerName set to PORT and a regular expression that satisfies the
11151
11152
  # RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch,
11152
- # suffixMatch, regexMatch, presentMatch or rangeMatch must be set. regexMatch
11153
- # only applies to load balancers that have loadBalancingScheme set to
11153
+ # suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular
11154
+ # expressions can only be used when the loadBalancingScheme is set to
11154
11155
  # INTERNAL_SELF_MANAGED.
11155
11156
  # Corresponds to the JSON property `regexMatch`
11156
11157
  # @return [String]
@@ -11469,8 +11470,8 @@ module Google
11469
11470
  # The queryParameterMatch matches if the value of the parameter matches the
11470
11471
  # regular expression specified by regexMatch. For more information about regular
11471
11472
  # expression syntax, see Syntax. Only one of presentMatch, exactMatch, or
11472
- # regexMatch must be set. regexMatch only applies when the loadBalancingScheme
11473
- # is set to INTERNAL_SELF_MANAGED.
11473
+ # regexMatch must be set. Regular expressions can only be used when the
11474
+ # loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
11474
11475
  # Corresponds to the JSON property `regexMatch`
11475
11476
  # @return [String]
11476
11477
  attr_accessor :regex_match
@@ -11851,8 +11852,8 @@ module Google
11851
11852
  # the regular expression specified in regexMatch after removing any query
11852
11853
  # parameters and anchor supplied with the original URL. For more information
11853
11854
  # about regular expression syntax, see Syntax. Only one of prefixMatch,
11854
- # fullPathMatch or regexMatch must be specified. regexMatch only applies to load
11855
- # balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.
11855
+ # fullPathMatch or regexMatch must be specified. Regular expressions can only be
11856
+ # used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
11856
11857
  # Corresponds to the JSON property `regexMatch`
11857
11858
  # @return [String]
11858
11859
  attr_accessor :regex_match
@@ -13547,6 +13548,12 @@ module Google
13547
13548
  # @return [String]
13548
13549
  attr_accessor :kind
13549
13550
 
13551
+ # Pagination behavior of the listManagedInstances API method for this managed
13552
+ # instance group.
13553
+ # Corresponds to the JSON property `listManagedInstancesResults`
13554
+ # @return [String]
13555
+ attr_accessor :list_managed_instances_results
13556
+
13550
13557
  # The name of the managed instance group. The name must be 1-63 characters long,
13551
13558
  # and comply with RFC1035.
13552
13559
  # Corresponds to the JSON property `name`
@@ -13634,6 +13641,7 @@ module Google
13634
13641
  @instance_group = args[:instance_group] if args.key?(:instance_group)
13635
13642
  @instance_template = args[:instance_template] if args.key?(:instance_template)
13636
13643
  @kind = args[:kind] if args.key?(:kind)
13644
+ @list_managed_instances_results = args[:list_managed_instances_results] if args.key?(:list_managed_instances_results)
13637
13645
  @name = args[:name] if args.key?(:name)
13638
13646
  @named_ports = args[:named_ports] if args.key?(:named_ports)
13639
13647
  @region = args[:region] if args.key?(:region)
@@ -19465,6 +19473,11 @@ module Google
19465
19473
  # @return [Google::Apis::ComputeV1::LocalizedMessage]
19466
19474
  attr_accessor :localized_message
19467
19475
 
19476
+ # Additional details for quota exceeded error for resource quota.
19477
+ # Corresponds to the JSON property `quotaInfo`
19478
+ # @return [Google::Apis::ComputeV1::QuotaExceededInfo]
19479
+ attr_accessor :quota_info
19480
+
19468
19481
  def initialize(**args)
19469
19482
  update!(**args)
19470
19483
  end
@@ -19474,6 +19487,7 @@ module Google
19474
19487
  @error_info = args[:error_info] if args.key?(:error_info)
19475
19488
  @help = args[:help] if args.key?(:help)
19476
19489
  @localized_message = args[:localized_message] if args.key?(:localized_message)
19490
+ @quota_info = args[:quota_info] if args.key?(:quota_info)
19477
19491
  end
19478
19492
  end
19479
19493
  end
@@ -23841,6 +23855,11 @@ module Google
23841
23855
  # @return [Google::Apis::ComputeV1::LocalizedMessage]
23842
23856
  attr_accessor :localized_message
23843
23857
 
23858
+ # Additional details for quota exceeded error for resource quota.
23859
+ # Corresponds to the JSON property `quotaInfo`
23860
+ # @return [Google::Apis::ComputeV1::QuotaExceededInfo]
23861
+ attr_accessor :quota_info
23862
+
23844
23863
  def initialize(**args)
23845
23864
  update!(**args)
23846
23865
  end
@@ -23850,6 +23869,7 @@ module Google
23850
23869
  @error_info = args[:error_info] if args.key?(:error_info)
23851
23870
  @help = args[:help] if args.key?(:help)
23852
23871
  @localized_message = args[:localized_message] if args.key?(:localized_message)
23872
+ @quota_info = args[:quota_info] if args.key?(:quota_info)
23853
23873
  end
23854
23874
  end
23855
23875
  end
@@ -24270,28 +24290,36 @@ module Google
24270
24290
 
24271
24291
  # Number of errors before a host is ejected from the connection pool. When the
24272
24292
  # backend host is accessed over HTTP, a 5xx return code qualifies as an error.
24273
- # Defaults to 5.
24293
+ # Defaults to 5. Not supported when the backend service is referenced by a URL
24294
+ # map that is bound to target gRPC proxy that has validateForProxyless field set
24295
+ # to true.
24274
24296
  # Corresponds to the JSON property `consecutiveErrors`
24275
24297
  # @return [Fixnum]
24276
24298
  attr_accessor :consecutive_errors
24277
24299
 
24278
24300
  # The number of consecutive gateway failures (502, 503, 504 status or connection
24279
24301
  # errors that are mapped to one of those status codes) before a consecutive
24280
- # gateway failure ejection occurs. Defaults to 3.
24302
+ # gateway failure ejection occurs. Defaults to 3. Not supported when the backend
24303
+ # service is referenced by a URL map that is bound to target gRPC proxy that has
24304
+ # validateForProxyless field set to true.
24281
24305
  # Corresponds to the JSON property `consecutiveGatewayFailure`
24282
24306
  # @return [Fixnum]
24283
24307
  attr_accessor :consecutive_gateway_failure
24284
24308
 
24285
24309
  # The percentage chance that a host will be actually ejected when an outlier
24286
24310
  # status is detected through consecutive 5xx. This setting can be used to
24287
- # disable ejection or to ramp it up slowly. Defaults to 0.
24311
+ # disable ejection or to ramp it up slowly. Defaults to 0. Not supported when
24312
+ # the backend service is referenced by a URL map that is bound to target gRPC
24313
+ # proxy that has validateForProxyless field set to true.
24288
24314
  # Corresponds to the JSON property `enforcingConsecutiveErrors`
24289
24315
  # @return [Fixnum]
24290
24316
  attr_accessor :enforcing_consecutive_errors
24291
24317
 
24292
24318
  # The percentage chance that a host will be actually ejected when an outlier
24293
24319
  # status is detected through consecutive gateway failures. This setting can be
24294
- # used to disable ejection or to ramp it up slowly. Defaults to 100.
24320
+ # used to disable ejection or to ramp it up slowly. Defaults to 100. Not
24321
+ # supported when the backend service is referenced by a URL map that is bound to
24322
+ # target gRPC proxy that has validateForProxyless field set to true.
24295
24323
  # Corresponds to the JSON property `enforcingConsecutiveGatewayFailure`
24296
24324
  # @return [Fixnum]
24297
24325
  attr_accessor :enforcing_consecutive_gateway_failure
@@ -26457,6 +26485,44 @@ module Google
26457
26485
  end
26458
26486
  end
26459
26487
 
26488
+ # Additional details for quota exceeded error for resource quota.
26489
+ class QuotaExceededInfo
26490
+ include Google::Apis::Core::Hashable
26491
+
26492
+ # The map holding related quota dimensions.
26493
+ # Corresponds to the JSON property `dimensions`
26494
+ # @return [Hash<String,String>]
26495
+ attr_accessor :dimensions
26496
+
26497
+ # Current effective quota limit. The limit's unit depends on the quota type or
26498
+ # metric.
26499
+ # Corresponds to the JSON property `limit`
26500
+ # @return [Float]
26501
+ attr_accessor :limit
26502
+
26503
+ # The name of the quota limit.
26504
+ # Corresponds to the JSON property `limitName`
26505
+ # @return [String]
26506
+ attr_accessor :limit_name
26507
+
26508
+ # The Compute Engine quota metric name.
26509
+ # Corresponds to the JSON property `metricName`
26510
+ # @return [String]
26511
+ attr_accessor :metric_name
26512
+
26513
+ def initialize(**args)
26514
+ update!(**args)
26515
+ end
26516
+
26517
+ # Update properties of this object
26518
+ def update!(**args)
26519
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
26520
+ @limit = args[:limit] if args.key?(:limit)
26521
+ @limit_name = args[:limit_name] if args.key?(:limit_name)
26522
+ @metric_name = args[:metric_name] if args.key?(:metric_name)
26523
+ end
26524
+ end
26525
+
26460
26526
  # Represents a reference to a resource.
26461
26527
  class Reference
26462
26528
  include Google::Apis::Core::Hashable
@@ -32134,9 +32200,11 @@ module Google
32134
32200
  attr_accessor :region
32135
32201
 
32136
32202
  # A list of rules that belong to this policy. There must always be a default
32137
- # rule (rule with priority 2147483647 and match "*"). If no rules are provided
32138
- # when creating a security policy, a default rule with action "allow" will be
32139
- # added.
32203
+ # rule which is a rule with priority 2147483647 and match all condition (for the
32204
+ # match condition this means match "*" for srcIpRanges and for the networkMatch
32205
+ # condition every field must be either match "*" or not set). If no rules are
32206
+ # provided when creating a security policy, a default rule with action "allow"
32207
+ # will be added.
32140
32208
  # Corresponds to the JSON property `rules`
32141
32209
  # @return [Array<Google::Apis::ComputeV1::SecurityPolicyRule>]
32142
32210
  attr_accessor :rules
@@ -32698,7 +32766,11 @@ module Google
32698
32766
  # e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is
32699
32767
  # configured under "enforce_on_key_name". The key value is truncated to the
32700
32768
  # first 128 bytes of the cookie value. If no such cookie is present in the
32701
- # request, the key type defaults to ALL.
32769
+ # request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP
32770
+ # request. The key value is truncated to the first 128 bytes. - SNI: Server name
32771
+ # indication in the TLS session of the HTTPS request. The key value is truncated
32772
+ # to the first 128 bytes. The key type defaults to ALL on a HTTP session. -
32773
+ # REGION_CODE: The country/region from which the request originates.
32702
32774
  # Corresponds to the JSON property `enforceOnKey`
32703
32775
  # @return [String]
32704
32776
  attr_accessor :enforce_on_key
@@ -40741,7 +40813,8 @@ module Google
40741
40813
  attr_accessor :self_link
40742
40814
 
40743
40815
  # The stack type for this VPN gateway to identify the IP protocols that are
40744
- # enabled. If not specified, IPV4_ONLY will be used.
40816
+ # enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified,
40817
+ # IPV4_ONLY will be used.
40745
40818
  # Corresponds to the JSON property `stackType`
40746
40819
  # @return [String]
40747
40820
  attr_accessor :stack_type
@@ -41352,7 +41425,9 @@ module Google
41352
41425
  attr_accessor :peer_external_gateway
41353
41426
 
41354
41427
  # The interface ID of the external VPN gateway to which this VPN tunnel is
41355
- # connected. Provided by the client when the VPN tunnel is created.
41428
+ # connected. Provided by the client when the VPN tunnel is created. Possible
41429
+ # values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the
41430
+ # external VPN gateway redundancy type.
41356
41431
  # Corresponds to the JSON property `peerExternalGatewayInterface`
41357
41432
  # @return [Fixnum]
41358
41433
  attr_accessor :peer_external_gateway_interface
@@ -41443,6 +41518,7 @@ module Google
41443
41518
  attr_accessor :vpn_gateway
41444
41519
 
41445
41520
  # The interface ID of the VPN gateway with which this VPN tunnel is associated.
41521
+ # Possible values are: `0`, `1`.
41446
41522
  # Corresponds to the JSON property `vpnGatewayInterface`
41447
41523
  # @return [Fixnum]
41448
41524
  attr_accessor :vpn_gateway_interface
@@ -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.53.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220918"
25
+ REVISION = "20221018"
26
26
  end
27
27
  end
28
28
  end
@@ -3352,6 +3352,12 @@ module Google
3352
3352
  include Google::Apis::Core::JsonObjectSupport
3353
3353
  end
3354
3354
 
3355
+ class QuotaExceededInfo
3356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3357
+
3358
+ include Google::Apis::Core::JsonObjectSupport
3359
+ end
3360
+
3355
3361
  class Reference
3356
3362
  class Representation < Google::Apis::Core::JsonRepresentation; end
3357
3363
 
@@ -8677,6 +8683,7 @@ module Google
8677
8683
  property :instance_group, as: 'instanceGroup'
8678
8684
  property :instance_template, as: 'instanceTemplate'
8679
8685
  property :kind, as: 'kind'
8686
+ property :list_managed_instances_results, as: 'listManagedInstancesResults'
8680
8687
  property :name, as: 'name'
8681
8688
  collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeV1::NamedPort, decorator: Google::Apis::ComputeV1::NamedPort::Representation
8682
8689
 
@@ -10217,6 +10224,8 @@ module Google
10217
10224
 
10218
10225
  property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeV1::LocalizedMessage, decorator: Google::Apis::ComputeV1::LocalizedMessage::Representation
10219
10226
 
10227
+ property :quota_info, as: 'quotaInfo', class: Google::Apis::ComputeV1::QuotaExceededInfo, decorator: Google::Apis::ComputeV1::QuotaExceededInfo::Representation
10228
+
10220
10229
  end
10221
10230
  end
10222
10231
  end
@@ -11316,6 +11325,8 @@ module Google
11316
11325
 
11317
11326
  property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeV1::LocalizedMessage, decorator: Google::Apis::ComputeV1::LocalizedMessage::Representation
11318
11327
 
11328
+ property :quota_info, as: 'quotaInfo', class: Google::Apis::ComputeV1::QuotaExceededInfo, decorator: Google::Apis::ComputeV1::QuotaExceededInfo::Representation
11329
+
11319
11330
  end
11320
11331
  end
11321
11332
  end
@@ -11974,6 +11985,16 @@ module Google
11974
11985
  end
11975
11986
  end
11976
11987
 
11988
+ class QuotaExceededInfo
11989
+ # @private
11990
+ class Representation < Google::Apis::Core::JsonRepresentation
11991
+ hash :dimensions, as: 'dimensions'
11992
+ property :limit, as: 'limit'
11993
+ property :limit_name, as: 'limitName'
11994
+ property :metric_name, as: 'metricName'
11995
+ end
11996
+ end
11997
+
11977
11998
  class Reference
11978
11999
  # @private
11979
12000
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26623,7 +26623,10 @@ module Google
26623
26623
  execute_or_queue_command(command, &block)
26624
26624
  end
26625
26625
 
26626
- # Patches the specified policy with the data included in the request.
26626
+ # Patches the specified policy with the data included in the request. To clear
26627
+ # fields in the rule, leave the fields empty and specify them in the updateMask.
26628
+ # This cannot be used to be update the rules in the policy. Please use the per
26629
+ # rule methods like addRule, patchRule, and removeRule instead.
26627
26630
  # @param [String] project
26628
26631
  # Project ID for this request.
26629
26632
  # @param [String] region
@@ -31040,9 +31043,10 @@ module Google
31040
31043
  execute_or_queue_command(command, &block)
31041
31044
  end
31042
31045
 
31043
- # Patches the specified policy with the data included in the request. This
31044
- # cannot be used to be update the rules in the policy. Please use the per rule
31045
- # methods like addRule, patchRule, and removeRule instead.
31046
+ # Patches the specified policy with the data included in the request. To clear
31047
+ # fields in the rule, leave the fields empty and specify them in the updateMask.
31048
+ # This cannot be used to be update the rules in the policy. Please use the per
31049
+ # rule methods like addRule, patchRule, and removeRule instead.
31046
31050
  # @param [String] project
31047
31051
  # Project ID for this request.
31048
31052
  # @param [String] security_policy
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.53.0
4
+ version: 0.54.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-10-03 00:00:00.000000000 Z
11
+ date: 2022-10-31 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.9.0
19
+ version: 0.9.1
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.9.0
29
+ version: 0.9.1
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.53.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.54.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: []