google-apis-compute_alpha 0.35.0 → 0.36.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: bb6ae43ff79e2dd2871ef8b5adb9f57c1a2a753a3f2f6ba42ec3c89425052084
4
- data.tar.gz: aa437dc2bb6765bc11302032850543d92713c48fd2c9b3cad734f2d2083362c0
3
+ metadata.gz: 7e83b220a31860cb869f0897b403f05aed787798e6aab1e7943133bb08d3f4f9
4
+ data.tar.gz: 0bc2de067861220d70d10bd73be5c27a0a51886702c4ac38239480eafc521b9c
5
5
  SHA512:
6
- metadata.gz: 69f03cb2f679edf8aa79daa0b79666cd4f8960e4db491597538bf2046e1e85348ca10d6be138723852102f3e870cd0fdc59f04095c8095f4a29105bd457df986
7
- data.tar.gz: e3312f2c75c7c6eb5d286e37bf87e4e75081be3573736bb391654f6ebfb07a874958e2090ebbabec6214a36bd689306282e4df0ab01c024a8f9d4102a8596ec9
6
+ metadata.gz: fd44cc36176791c3748979ca88a0cf2e67f9b58cedb0bb0cf92b3535548eb687d98a4940acbb01eb80e01eda30c07108350994cdd9b9386c586c15716820b2e7
7
+ data.tar.gz: a7102c11d200624a43d851f2e354472abeb57b8b4f1847481f9e4f41110c48b5da476e3e9ea579869d2c0432639a83659f75d7762b3eec5411eec55d44d97b75
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.36.0 (2022-05-25)
4
+
5
+ * Regenerated from discovery document revision 20220517
6
+
3
7
  ### v0.35.0 (2022-05-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20220510
@@ -3325,9 +3325,9 @@ module Google
3325
3325
  # internal HTTP(S) load balancers and Traffic Director and requires
3326
3326
  # GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is
3327
3327
  # non-persistent and lasts only until the end of the browser session (or
3328
- # equivalent). The maximum allowed value is one day (86,400). Not supported when
3329
- # the backend service is referenced by a URL map that is bound to target gRPC
3330
- # proxy that has validateForProxyless field set to true.
3328
+ # equivalent). The maximum allowed value is two weeks (1,209,600). Not supported
3329
+ # when the backend service is referenced by a URL map that is bound to target
3330
+ # gRPC proxy that has validateForProxyless field set to true.
3331
3331
  # Corresponds to the JSON property `affinityCookieTtlSec`
3332
3332
  # @return [Fixnum]
3333
3333
  attr_accessor :affinity_cookie_ttl_sec
@@ -36771,8 +36771,8 @@ module Google
36771
36771
 
36772
36772
  # Defines the maintenance behavior for this instance. For standard instances,
36773
36773
  # the default behavior is MIGRATE. For preemptible instances, the default and
36774
- # only possible behavior is TERMINATE. For more information, see Set VM
36775
- # availability policies.
36774
+ # only possible behavior is TERMINATE. For more information, see Set VM host
36775
+ # maintenance policy.
36776
36776
  # Corresponds to the JSON property `onHostMaintenance`
36777
36777
  # @return [String]
36778
36778
  attr_accessor :on_host_maintenance
@@ -37359,6 +37359,11 @@ module Google
37359
37359
  class SecurityPolicyAdaptiveProtectionConfig
37360
37360
  include Google::Apis::Core::Hashable
37361
37361
 
37362
+ # Configuration options for Adaptive Protection auto-deploy feature.
37363
+ # Corresponds to the JSON property `autoDeployConfig`
37364
+ # @return [Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]
37365
+ attr_accessor :auto_deploy_config
37366
+
37362
37367
  # Configuration options for L7 DDoS detection.
37363
37368
  # Corresponds to the JSON property `layer7DdosDefenseConfig`
37364
37369
  # @return [Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]
@@ -37370,10 +37375,48 @@ module Google
37370
37375
 
37371
37376
  # Update properties of this object
37372
37377
  def update!(**args)
37378
+ @auto_deploy_config = args[:auto_deploy_config] if args.key?(:auto_deploy_config)
37373
37379
  @layer7_ddos_defense_config = args[:layer7_ddos_defense_config] if args.key?(:layer7_ddos_defense_config)
37374
37380
  end
37375
37381
  end
37376
37382
 
37383
+ # Configuration options for Adaptive Protection auto-deploy feature.
37384
+ class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
37385
+ include Google::Apis::Core::Hashable
37386
+
37387
+ #
37388
+ # Corresponds to the JSON property `confidenceThreshold`
37389
+ # @return [Float]
37390
+ attr_accessor :confidence_threshold
37391
+
37392
+ #
37393
+ # Corresponds to the JSON property `expirationSec`
37394
+ # @return [Fixnum]
37395
+ attr_accessor :expiration_sec
37396
+
37397
+ #
37398
+ # Corresponds to the JSON property `impactedBaselineThreshold`
37399
+ # @return [Float]
37400
+ attr_accessor :impacted_baseline_threshold
37401
+
37402
+ #
37403
+ # Corresponds to the JSON property `loadThreshold`
37404
+ # @return [Float]
37405
+ attr_accessor :load_threshold
37406
+
37407
+ def initialize(**args)
37408
+ update!(**args)
37409
+ end
37410
+
37411
+ # Update properties of this object
37412
+ def update!(**args)
37413
+ @confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
37414
+ @expiration_sec = args[:expiration_sec] if args.key?(:expiration_sec)
37415
+ @impacted_baseline_threshold = args[:impacted_baseline_threshold] if args.key?(:impacted_baseline_threshold)
37416
+ @load_threshold = args[:load_threshold] if args.key?(:load_threshold)
37417
+ end
37418
+ end
37419
+
37377
37420
  # Configuration options for L7 DDoS detection.
37378
37421
  class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
37379
37422
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.35.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220510"
25
+ REVISION = "20220517"
26
26
  end
27
27
  end
28
28
  end
@@ -4858,6 +4858,12 @@ module Google
4858
4858
  include Google::Apis::Core::JsonObjectSupport
4859
4859
  end
4860
4860
 
4861
+ class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
4862
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4863
+
4864
+ include Google::Apis::Core::JsonObjectSupport
4865
+ end
4866
+
4861
4867
  class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
4862
4868
  class Representation < Google::Apis::Core::JsonRepresentation; end
4863
4869
 
@@ -15554,11 +15560,23 @@ module Google
15554
15560
  class SecurityPolicyAdaptiveProtectionConfig
15555
15561
  # @private
15556
15562
  class Representation < Google::Apis::Core::JsonRepresentation
15563
+ property :auto_deploy_config, as: 'autoDeployConfig', class: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig, decorator: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig::Representation
15564
+
15557
15565
  property :layer7_ddos_defense_config, as: 'layer7DdosDefenseConfig', class: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig, decorator: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig::Representation
15558
15566
 
15559
15567
  end
15560
15568
  end
15561
15569
 
15570
+ class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
15571
+ # @private
15572
+ class Representation < Google::Apis::Core::JsonRepresentation
15573
+ property :confidence_threshold, as: 'confidenceThreshold'
15574
+ property :expiration_sec, as: 'expirationSec'
15575
+ property :impacted_baseline_threshold, as: 'impactedBaselineThreshold'
15576
+ property :load_threshold, as: 'loadThreshold'
15577
+ end
15578
+ end
15579
+
15562
15580
  class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
15563
15581
  # @private
15564
15582
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13930,8 +13930,8 @@ module Google
13930
13930
  # Sets an instance's scheduling options. You can only call this method on a
13931
13931
  # stopped instance, that is, a VM instance that is in a `TERMINATED` state. See
13932
13932
  # Instance Life Cycle for more information on the possible instance states. For
13933
- # more information about setting scheduling options for a VM, see Set VM
13934
- # availability policies.
13933
+ # more information about setting scheduling options for a VM, see Set VM host
13934
+ # maintenance policy.
13935
13935
  # @param [String] project
13936
13936
  # Project ID for this request.
13937
13937
  # @param [String] zone
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.36.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-05-23 00:00:00.000000000 Z
11
+ date: 2022-05-30 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_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.36.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Compute Engine API Alpha