google-apis-compute_beta 0.35.0 → 0.36.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: 9b0eb85ff277aceb4f3af7752dcb23a9c1e7a9fd1105a6f0678ea9651cc5df10
4
- data.tar.gz: 95aba688cd10d957d1c994e63a0650ff44d03819b12ffaff8f754d0d58a7ee07
3
+ metadata.gz: cee365d4dc1bfdb867b0b6fe7a58a1fc022e833744b60e70a1e850f6f123e2fd
4
+ data.tar.gz: 9d04c5813d6b0573d850b9fb0d90616bd9156370b055d37582d1d4e1dba9033b
5
5
  SHA512:
6
- metadata.gz: ef6f08669147137fb0c2e0251758a2c42c692c84b88b621b45be02f5928e6ac419a6cda9c8f943372fc0f3316a80a7f792645f3acad1c9a27af311b305a39378
7
- data.tar.gz: 9690795a191f128456c64541e157385916de371beb7e79b83c5ba51c33e72ca5e13bb33d7c4fed15f7aad059506bfb9adfb62cb0cbd1c167ba7f38d3d56927cf
6
+ metadata.gz: efdfab648471af063c4929d1f6631df611b73b5d3e732f451a582e1cbf5e0e041cdbc87dbc9563e449502c661e33300f889ebd10303800fcee39496f439c9437
7
+ data.tar.gz: c01c16b31c1f855641a68e7cb836607df3d6cb83ab3c2c1ff5535ab26513455a2dd9867442293eeb9364225d624c195e28bfb5fe1bcc074cf242f1267be01cda
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.36.0 (2022-05-26)
4
+
5
+ * Regenerated from discovery document revision 20220517
6
+
3
7
  ### v0.35.0 (2022-05-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20220510
@@ -3137,9 +3137,9 @@ module Google
3137
3137
  # internal HTTP(S) load balancers and Traffic Director and requires
3138
3138
  # GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is
3139
3139
  # non-persistent and lasts only until the end of the browser session (or
3140
- # equivalent). The maximum allowed value is one day (86,400). Not supported when
3141
- # the backend service is referenced by a URL map that is bound to target gRPC
3142
- # proxy that has validateForProxyless field set to true.
3140
+ # equivalent). The maximum allowed value is two weeks (1,209,600). Not supported
3141
+ # when the backend service is referenced by a URL map that is bound to target
3142
+ # gRPC proxy that has validateForProxyless field set to true.
3143
3143
  # Corresponds to the JSON property `affinityCookieTtlSec`
3144
3144
  # @return [Fixnum]
3145
3145
  attr_accessor :affinity_cookie_ttl_sec
@@ -32298,8 +32298,8 @@ module Google
32298
32298
 
32299
32299
  # Defines the maintenance behavior for this instance. For standard instances,
32300
32300
  # the default behavior is MIGRATE. For preemptible instances, the default and
32301
- # only possible behavior is TERMINATE. For more information, see Set VM
32302
- # availability policies.
32301
+ # only possible behavior is TERMINATE. For more information, see Set VM host
32302
+ # maintenance policy.
32303
32303
  # Corresponds to the JSON property `onHostMaintenance`
32304
32304
  # @return [String]
32305
32305
  attr_accessor :on_host_maintenance
@@ -32846,6 +32846,11 @@ module Google
32846
32846
  class SecurityPolicyAdaptiveProtectionConfig
32847
32847
  include Google::Apis::Core::Hashable
32848
32848
 
32849
+ # Configuration options for Adaptive Protection auto-deploy feature.
32850
+ # Corresponds to the JSON property `autoDeployConfig`
32851
+ # @return [Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]
32852
+ attr_accessor :auto_deploy_config
32853
+
32849
32854
  # Configuration options for L7 DDoS detection.
32850
32855
  # Corresponds to the JSON property `layer7DdosDefenseConfig`
32851
32856
  # @return [Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]
@@ -32857,10 +32862,48 @@ module Google
32857
32862
 
32858
32863
  # Update properties of this object
32859
32864
  def update!(**args)
32865
+ @auto_deploy_config = args[:auto_deploy_config] if args.key?(:auto_deploy_config)
32860
32866
  @layer7_ddos_defense_config = args[:layer7_ddos_defense_config] if args.key?(:layer7_ddos_defense_config)
32861
32867
  end
32862
32868
  end
32863
32869
 
32870
+ # Configuration options for Adaptive Protection auto-deploy feature.
32871
+ class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
32872
+ include Google::Apis::Core::Hashable
32873
+
32874
+ #
32875
+ # Corresponds to the JSON property `confidenceThreshold`
32876
+ # @return [Float]
32877
+ attr_accessor :confidence_threshold
32878
+
32879
+ #
32880
+ # Corresponds to the JSON property `expirationSec`
32881
+ # @return [Fixnum]
32882
+ attr_accessor :expiration_sec
32883
+
32884
+ #
32885
+ # Corresponds to the JSON property `impactedBaselineThreshold`
32886
+ # @return [Float]
32887
+ attr_accessor :impacted_baseline_threshold
32888
+
32889
+ #
32890
+ # Corresponds to the JSON property `loadThreshold`
32891
+ # @return [Float]
32892
+ attr_accessor :load_threshold
32893
+
32894
+ def initialize(**args)
32895
+ update!(**args)
32896
+ end
32897
+
32898
+ # Update properties of this object
32899
+ def update!(**args)
32900
+ @confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
32901
+ @expiration_sec = args[:expiration_sec] if args.key?(:expiration_sec)
32902
+ @impacted_baseline_threshold = args[:impacted_baseline_threshold] if args.key?(:impacted_baseline_threshold)
32903
+ @load_threshold = args[:load_threshold] if args.key?(:load_threshold)
32904
+ end
32905
+ end
32906
+
32864
32907
  # Configuration options for L7 DDoS detection.
32865
32908
  class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
32866
32909
  include Google::Apis::Core::Hashable
@@ -34701,6 +34744,16 @@ module Google
34701
34744
  # @return [String]
34702
34745
  attr_accessor :source_disk_id
34703
34746
 
34747
+ # [Output Only] URL of the resource policy which created this scheduled snapshot.
34748
+ # Corresponds to the JSON property `sourceSnapshotSchedulePolicy`
34749
+ # @return [String]
34750
+ attr_accessor :source_snapshot_schedule_policy
34751
+
34752
+ # [Output Only] ID of the resource policy which created this scheduled snapshot.
34753
+ # Corresponds to the JSON property `sourceSnapshotSchedulePolicyId`
34754
+ # @return [String]
34755
+ attr_accessor :source_snapshot_schedule_policy_id
34756
+
34704
34757
  # [Output Only] The status of the snapshot. This can be CREATING, DELETING,
34705
34758
  # FAILED, READY, or UPLOADING.
34706
34759
  # Corresponds to the JSON property `status`
@@ -34760,6 +34813,8 @@ module Google
34760
34813
  @source_disk = args[:source_disk] if args.key?(:source_disk)
34761
34814
  @source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
34762
34815
  @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
34816
+ @source_snapshot_schedule_policy = args[:source_snapshot_schedule_policy] if args.key?(:source_snapshot_schedule_policy)
34817
+ @source_snapshot_schedule_policy_id = args[:source_snapshot_schedule_policy_id] if args.key?(:source_snapshot_schedule_policy_id)
34763
34818
  @status = args[:status] if args.key?(:status)
34764
34819
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
34765
34820
  @storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta 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
@@ -4246,6 +4246,12 @@ module Google
4246
4246
  include Google::Apis::Core::JsonObjectSupport
4247
4247
  end
4248
4248
 
4249
+ class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
4250
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4251
+
4252
+ include Google::Apis::Core::JsonObjectSupport
4253
+ end
4254
+
4249
4255
  class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
4250
4256
  class Representation < Google::Apis::Core::JsonRepresentation; end
4251
4257
 
@@ -13726,11 +13732,23 @@ module Google
13726
13732
  class SecurityPolicyAdaptiveProtectionConfig
13727
13733
  # @private
13728
13734
  class Representation < Google::Apis::Core::JsonRepresentation
13735
+ property :auto_deploy_config, as: 'autoDeployConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig::Representation
13736
+
13729
13737
  property :layer7_ddos_defense_config, as: 'layer7DdosDefenseConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig::Representation
13730
13738
 
13731
13739
  end
13732
13740
  end
13733
13741
 
13742
+ class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
13743
+ # @private
13744
+ class Representation < Google::Apis::Core::JsonRepresentation
13745
+ property :confidence_threshold, as: 'confidenceThreshold'
13746
+ property :expiration_sec, as: 'expirationSec'
13747
+ property :impacted_baseline_threshold, as: 'impactedBaselineThreshold'
13748
+ property :load_threshold, as: 'loadThreshold'
13749
+ end
13750
+ end
13751
+
13734
13752
  class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
13735
13753
  # @private
13736
13754
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14205,6 +14223,8 @@ module Google
14205
14223
  property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
14206
14224
 
14207
14225
  property :source_disk_id, as: 'sourceDiskId'
14226
+ property :source_snapshot_schedule_policy, as: 'sourceSnapshotSchedulePolicy'
14227
+ property :source_snapshot_schedule_policy_id, as: 'sourceSnapshotSchedulePolicyId'
14208
14228
  property :status, as: 'status'
14209
14229
  property :storage_bytes, :numeric_string => true, as: 'storageBytes'
14210
14230
  property :storage_bytes_status, as: 'storageBytesStatus'
@@ -13000,8 +13000,8 @@ module Google
13000
13000
  # Sets an instance's scheduling options. You can only call this method on a
13001
13001
  # stopped instance, that is, a VM instance that is in a `TERMINATED` state. See
13002
13002
  # Instance Life Cycle for more information on the possible instance states. For
13003
- # more information about setting scheduling options for a VM, see Set VM
13004
- # availability policies.
13003
+ # more information about setting scheduling options for a VM, see Set VM host
13004
+ # maintenance policy.
13005
13005
  # @param [String] project
13006
13006
  # Project ID for this request.
13007
13007
  # @param [String] zone
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
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_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.36.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
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 Beta