google-apis-compute_v1 0.58.0 → 0.60.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: 0fa63cd3912c63ceff56a50826675ab0a69c66b1cd345fa51f871fb92f5e8224
4
- data.tar.gz: '068e7a5249121fed8260b9845b27b69cce6960b6ab674b1f62b4f9295c14ae9b'
3
+ metadata.gz: e89ab66d19be500a44392d9c33371a8e94e51abde0773b814c733a2528d68713
4
+ data.tar.gz: 7d553bec3703f265011255a59b11c2f434a3d0b3051605a55f857e1aecd5735b
5
5
  SHA512:
6
- metadata.gz: b60e10640358b71ddfcb99ddc9e15610b9c1fcf781cbc15f2b0fb4f09ad67898fbd8b5403d274d2a9e43861904f83d84ff3993750d62478b1916a3bca0238a28
7
- data.tar.gz: 2cef21e23a667f1060c47260c3d7d27d128b2ea672080020a42439c7040b6a4b531a353d34930a2e4bf8a2832299a1534f796618e02628b0c6a045295ab11ab9
6
+ metadata.gz: abd427a0d8cb5ce61d63639df0d7187ac1882e66465180e1ae533a586a591d1350a25a487821b526d4eed0bfb41789fb4b86152dfec08f30f571676ea8799d48
7
+ data.tar.gz: bf3b7a165e78ba460175a611ab9dcb44212b80adbd42698c2bebb3967fccf52678fedbf7ce5151349bdf2ce7ca45355212da824382f2585905dc4d798e735740
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.60.0 (2023-01-29)
4
+
5
+ * Regenerated from discovery document revision 20230119
6
+
7
+ ### v0.59.0 (2023-01-22)
8
+
9
+ * Regenerated from discovery document revision 20230103
10
+
3
11
  ### v0.58.0 (2023-01-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20221224
@@ -3260,11 +3260,14 @@ module Google
3260
3260
  # @return [String]
3261
3261
  attr_accessor :load_balancing_scheme
3262
3262
 
3263
- # A list of locality load balancing policies to be used in order of preference.
3264
- # Either the policy or the customPolicy field should be set. Overrides any value
3265
- # set in the localityLbPolicy field. localityLbPolicies is only supported when
3266
- # the BackendService is referenced by a URL Map that is referenced by a target
3267
- # gRPC proxy that has the validateForProxyless field set to true.
3263
+ # A list of locality load-balancing policies to be used in order of preference.
3264
+ # When you use localityLbPolicies, you must set at least one value for either
3265
+ # the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field.
3266
+ # localityLbPolicies overrides any value set in the localityLbPolicy field. For
3267
+ # an example of how to use this field, see Define a list of preferred policies.
3268
+ # Caution: This field and its children are intended for use in a service mesh
3269
+ # that includes gRPC clients only. Envoy proxies can't use backend services that
3270
+ # have this configuration.
3268
3271
  # Corresponds to the JSON property `localityLbPolicies`
3269
3272
  # @return [Array<Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfig>]
3270
3273
  attr_accessor :locality_lb_policies
@@ -4150,12 +4153,13 @@ module Google
4150
4153
  # @return [String]
4151
4154
  attr_accessor :data
4152
4155
 
4153
- # Identifies the custom policy. The value should match the type the custom
4154
- # implementation is registered with on the gRPC clients. It should follow
4155
- # protocol buffer message naming conventions and include the full path (e.g.
4156
- # myorg.CustomLbPolicy). The maximum length is 256 characters. Note that
4157
- # specifying the same custom policy more than once for a backend is not a valid
4158
- # configuration and will be rejected.
4156
+ # Identifies the custom policy. The value should match the name of a custom
4157
+ # implementation registered on the gRPC clients. It should follow protocol
4158
+ # buffer message naming conventions and include the full path (for example,
4159
+ # myorg.CustomLbPolicy). The maximum length is 256 characters. Do not specify
4160
+ # the same custom policy more than once for a backend. If you do, the
4161
+ # configuration is rejected. For an example of how to use this field, see Use a
4162
+ # custom policy.
4159
4163
  # Corresponds to the JSON property `name`
4160
4164
  # @return [String]
4161
4165
  attr_accessor :name
@@ -4175,11 +4179,10 @@ module Google
4175
4179
  class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
4176
4180
  include Google::Apis::Core::Hashable
4177
4181
 
4178
- # The name of a locality load balancer policy to be used. The value should be
4179
- # one of the predefined ones as supported by localityLbPolicy, although at the
4180
- # moment only ROUND_ROBIN is supported. This field should only be populated when
4181
- # the customPolicy field is not used. Note that specifying the same policy more
4182
- # than once for a backend is not a valid configuration and will be rejected.
4182
+ # The name of a locality load-balancing policy. Valid values include ROUND_ROBIN
4183
+ # and, for Java clients, LEAST_REQUEST. For information about these values, see
4184
+ # the description of localityLbPolicy. Do not specify the same policy more than
4185
+ # once for a backend. If you do, the configuration is rejected.
4183
4186
  # Corresponds to the JSON property `name`
4184
4187
  # @return [String]
4185
4188
  attr_accessor :name
@@ -4206,6 +4209,22 @@ module Google
4206
4209
  attr_accessor :enable
4207
4210
  alias_method :enable?, :enable
4208
4211
 
4212
+ # This field can only be specified if logging is enabled for this backend
4213
+ # service and "logConfig.optionalMode" was set to CUSTOM. Contains a list of
4214
+ # optional fields you want to include in the logs. For example: serverInstance,
4215
+ # serverGkeDetails.cluster, serverGkeDetails.pod.podNamespace
4216
+ # Corresponds to the JSON property `optionalFields`
4217
+ # @return [Array<String>]
4218
+ attr_accessor :optional_fields
4219
+
4220
+ # This field can only be specified if logging is enabled for this backend
4221
+ # service. Configures whether all, none or a subset of optional fields should be
4222
+ # added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL,
4223
+ # CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.
4224
+ # Corresponds to the JSON property `optionalMode`
4225
+ # @return [String]
4226
+ attr_accessor :optional_mode
4227
+
4209
4228
  # This field can only be specified if logging is enabled for this backend
4210
4229
  # service. The value of the field must be in [0, 1]. This configures the
4211
4230
  # sampling rate of requests to the load balancer where 1.0 means all logged
@@ -4222,6 +4241,8 @@ module Google
4222
4241
  # Update properties of this object
4223
4242
  def update!(**args)
4224
4243
  @enable = args[:enable] if args.key?(:enable)
4244
+ @optional_fields = args[:optional_fields] if args.key?(:optional_fields)
4245
+ @optional_mode = args[:optional_mode] if args.key?(:optional_mode)
4225
4246
  @sample_rate = args[:sample_rate] if args.key?(:sample_rate)
4226
4247
  end
4227
4248
  end
@@ -16798,7 +16819,7 @@ module Google
16798
16819
  # @return [String]
16799
16820
  attr_accessor :type
16800
16821
 
16801
- # The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only
16822
+ # The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4093. Only
16802
16823
  # specified at creation time.
16803
16824
  # Corresponds to the JSON property `vlanTag8021q`
16804
16825
  # @return [Fixnum]
@@ -33132,16 +33153,17 @@ module Google
33132
33153
  include Google::Apis::Core::Hashable
33133
33154
 
33134
33155
  # The Action to perform when the rule is matched. The following are the valid
33135
- # actions: - allow: allow access to target. - deny(): deny access to target,
33136
- # returns the HTTP response code specified (valid values are 403, 404, and 502).
33137
- # - rate_based_ban: limit client traffic to the configured threshold and ban the
33138
- # client if the traffic exceeds the threshold. Configure parameters for this
33139
- # action in RateLimitOptions. Requires rate_limit_options to be set. - redirect:
33140
- # redirect to a different target. This can either be an internal reCAPTCHA
33141
- # redirect, or an external URL-based redirect via a 302 response. Parameters for
33142
- # this action can be configured via redirectOptions. - throttle: limit client
33143
- # traffic to the configured threshold. Configure parameters for this action in
33144
- # rateLimitOptions. Requires rate_limit_options to be set for this.
33156
+ # actions: - allow: allow access to target. - deny(STATUS): deny access to
33157
+ # target, returns the HTTP response code specified. Valid values for `STATUS`
33158
+ # are 403, 404, and 502. - rate_based_ban: limit client traffic to the
33159
+ # configured threshold and ban the client if the traffic exceeds the threshold.
33160
+ # Configure parameters for this action in RateLimitOptions. Requires
33161
+ # rate_limit_options to be set. - redirect: redirect to a different target. This
33162
+ # can either be an internal reCAPTCHA redirect, or an external URL-based
33163
+ # redirect via a 302 response. Parameters for this action can be configured via
33164
+ # redirectOptions. - throttle: limit client traffic to the configured threshold.
33165
+ # Configure parameters for this action in rateLimitOptions. Requires
33166
+ # rate_limit_options to be set for this.
33145
33167
  # Corresponds to the JSON property `action`
33146
33168
  # @return [String]
33147
33169
  attr_accessor :action
@@ -33384,9 +33406,9 @@ module Google
33384
33406
 
33385
33407
  # Action to take for requests that are above the configured rate limit threshold,
33386
33408
  # to either deny with a specified HTTP response code, or redirect to a
33387
- # different endpoint. Valid options are "deny(status)", where valid values for
33388
- # status are 403, 404, 429, and 502, and "redirect" where the redirect
33389
- # parameters come from exceedRedirectOptions below.
33409
+ # different endpoint. Valid options are `deny(STATUS)`, where valid values for `
33410
+ # STATUS` are 403, 404, 429, and 502, and `redirect`, where the redirect
33411
+ # parameters come from `exceedRedirectOptions` below.
33390
33412
  # Corresponds to the JSON property `exceedAction`
33391
33413
  # @return [String]
33392
33414
  attr_accessor :exceed_action
@@ -34728,7 +34750,7 @@ module Google
34728
34750
  include Google::Apis::Core::Hashable
34729
34751
 
34730
34752
  # Attached disks configuration. If not provided, defaults are applied: For boot
34731
- # disk and any other R/W disks, new custom images will be created from each disk.
34753
+ # disk and any other R/W disks, the source images for each disk will be used.
34732
34754
  # For read-only disks, they will be attached in read-only mode. Local SSD disks
34733
34755
  # will be created as blank volumes.
34734
34756
  # Corresponds to the JSON property `diskConfigs`
@@ -42753,6 +42775,13 @@ module Google
42753
42775
  # @return [String]
42754
42776
  attr_accessor :id
42755
42777
 
42778
+ # The sensitivity value associated with the WAF rule ID. This corresponds to the
42779
+ # ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only
42780
+ # rules.
42781
+ # Corresponds to the JSON property `sensitivity`
42782
+ # @return [Fixnum]
42783
+ attr_accessor :sensitivity
42784
+
42756
42785
  def initialize(**args)
42757
42786
  update!(**args)
42758
42787
  end
@@ -42760,6 +42789,7 @@ module Google
42760
42789
  # Update properties of this object
42761
42790
  def update!(**args)
42762
42791
  @id = args[:id] if args.key?(:id)
42792
+ @sensitivity = args[:sensitivity] if args.key?(:sensitivity)
42763
42793
  end
42764
42794
  end
42765
42795
 
@@ -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.58.0"
19
+ GEM_VERSION = "0.60.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221224"
25
+ REVISION = "20230119"
26
26
  end
27
27
  end
28
28
  end
@@ -6657,6 +6657,8 @@ module Google
6657
6657
  # @private
6658
6658
  class Representation < Google::Apis::Core::JsonRepresentation
6659
6659
  property :enable, as: 'enable'
6660
+ collection :optional_fields, as: 'optionalFields'
6661
+ property :optional_mode, as: 'optionalMode'
6660
6662
  property :sample_rate, as: 'sampleRate'
6661
6663
  end
6662
6664
  end
@@ -16238,6 +16240,7 @@ module Google
16238
16240
  # @private
16239
16241
  class Representation < Google::Apis::Core::JsonRepresentation
16240
16242
  property :id, as: 'id'
16243
+ property :sensitivity, as: 'sensitivity'
16241
16244
  end
16242
16245
  end
16243
16246
 
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.58.0
4
+ version: 0.60.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-01-15 00:00:00.000000000 Z
11
+ date: 2023-01-29 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.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.60.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: []