google-apis-compute_beta 0.34.0 → 0.37.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: f6606d80203f3cc7d49d9ec4d590469ebf17072c49f7bfcb3123e328746daced
4
- data.tar.gz: 0b1f26ed5ee342a45086d1cafd3a2408cf6daa65298e99134e60c957803b2e95
3
+ metadata.gz: e58a9e4cca74c8e73cd4c33138f192e57283bf9775fff23c4e25246ac20af50f
4
+ data.tar.gz: 4cc4756522e7f3f6743d3d93e77ca41a443c2622a46547d2f130df1414c3d4de
5
5
  SHA512:
6
- metadata.gz: df3705c51164ed45769cb5aaff8333f95af63b1f677546b9e03890236424a1898b5c4dc48898659a306d9653ca5b65b76608ddfd43b4f6c818b50b38a4f1e830
7
- data.tar.gz: 5fa8e9c45814f9b0af1c9d5bbcdce063bb428e3d1d61587960c3e208c36f42011524d1039135e4318202b8ec21e40b67d6be35a3dd299633395d934c755d30bf
6
+ metadata.gz: 7fce79e4062169a019bb6c0d05ee88fa839c4a2554b500069e3fb981d0a2f61038f921edf73821c37bbc03a30a722619ef58d5fa588a1d1667013e0ddfb092f1
7
+ data.tar.gz: 6952b1793eeb3dcc211ddfa2bc359913c2164c35c819ee1eef013195893d016769e8df65618123dc4e6472d3a1bd2dec0c508b13f426aff74c60e97a3f506499
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.37.0 (2022-06-10)
4
+
5
+ * Regenerated from discovery document revision 20220531
6
+ * Regenerated using generator version 0.5.0
7
+
8
+ ### v0.36.0 (2022-05-26)
9
+
10
+ * Regenerated from discovery document revision 20220517
11
+
12
+ ### v0.35.0 (2022-05-18)
13
+
14
+ * Regenerated from discovery document revision 20220510
15
+
3
16
  ### v0.34.0 (2022-05-11)
4
17
 
5
18
  * Regenerated from discovery document revision 20220506
@@ -1225,7 +1225,7 @@ module Google
1225
1225
  end
1226
1226
 
1227
1227
  # This reservation type allows to pre allocate specific instance configuration.
1228
- # Next ID: 5
1228
+ # Next ID: 6
1229
1229
  class AllocationSpecificSkuReservation
1230
1230
  include Google::Apis::Core::Hashable
1231
1231
 
@@ -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
@@ -4227,7 +4227,7 @@ module Google
4227
4227
  # service. The value of the field must be in [0, 1]. This configures the
4228
4228
  # sampling rate of requests to the load balancer where 1.0 means all logged
4229
4229
  # requests are reported and 0.0 means no logged requests are reported. The
4230
- # default value is 1.0.
4230
+ # default value is 0.0.
4231
4231
  # Corresponds to the JSON property `sampleRate`
4232
4232
  # @return [Float]
4233
4233
  attr_accessor :sample_rate
@@ -10116,9 +10116,9 @@ module Google
10116
10116
  # @return [Fixnum]
10117
10117
  attr_accessor :timeout_sec
10118
10118
 
10119
- # Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2.
10120
- # Exactly one of the protocol-specific health check field must be specified,
10121
- # which must match type field.
10119
+ # Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or
10120
+ # GRPC. Exactly one of the protocol-specific health check fields must be
10121
+ # specified, which must match type field.
10122
10122
  # Corresponds to the JSON property `type`
10123
10123
  # @return [String]
10124
10124
  attr_accessor :type
@@ -12388,8 +12388,8 @@ module Google
12388
12388
  # @return [String]
12389
12389
  attr_accessor :source_snapshot_id
12390
12390
 
12391
- # The type of the image used to create this disk. The default and only value is
12392
- # RAW
12391
+ # The type of the image used to create this disk. The default and only valid
12392
+ # value is RAW.
12393
12393
  # Corresponds to the JSON property `sourceType`
12394
12394
  # @return [String]
12395
12395
  attr_accessor :source_type
@@ -13675,6 +13675,12 @@ module Google
13675
13675
  # @return [String]
13676
13676
  attr_accessor :kind
13677
13677
 
13678
+ # Pagination behavior of the listManagedInstances API method for this managed
13679
+ # instance group.
13680
+ # Corresponds to the JSON property `listManagedInstancesResults`
13681
+ # @return [String]
13682
+ attr_accessor :list_managed_instances_results
13683
+
13678
13684
  # The name of the managed instance group. The name must be 1-63 characters long,
13679
13685
  # and comply with RFC1035.
13680
13686
  # Corresponds to the JSON property `name`
@@ -13772,6 +13778,7 @@ module Google
13772
13778
  @instance_group = args[:instance_group] if args.key?(:instance_group)
13773
13779
  @instance_template = args[:instance_template] if args.key?(:instance_template)
13774
13780
  @kind = args[:kind] if args.key?(:kind)
13781
+ @list_managed_instances_results = args[:list_managed_instances_results] if args.key?(:list_managed_instances_results)
13775
13782
  @name = args[:name] if args.key?(:name)
13776
13783
  @named_ports = args[:named_ports] if args.key?(:named_ports)
13777
13784
  @region = args[:region] if args.key?(:region)
@@ -28701,7 +28708,7 @@ module Google
28701
28708
  attr_accessor :share_settings
28702
28709
 
28703
28710
  # This reservation type allows to pre allocate specific instance configuration.
28704
- # Next ID: 5
28711
+ # Next ID: 6
28705
28712
  # Corresponds to the JSON property `specificReservation`
28706
28713
  # @return [Google::Apis::ComputeBeta::AllocationSpecificSkuReservation]
28707
28714
  attr_accessor :specific_reservation
@@ -32298,8 +32305,8 @@ module Google
32298
32305
 
32299
32306
  # Defines the maintenance behavior for this instance. For standard instances,
32300
32307
  # 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.
32308
+ # only possible behavior is TERMINATE. For more information, see Set VM host
32309
+ # maintenance policy.
32303
32310
  # Corresponds to the JSON property `onHostMaintenance`
32304
32311
  # @return [String]
32305
32312
  attr_accessor :on_host_maintenance
@@ -32846,6 +32853,11 @@ module Google
32846
32853
  class SecurityPolicyAdaptiveProtectionConfig
32847
32854
  include Google::Apis::Core::Hashable
32848
32855
 
32856
+ # Configuration options for Adaptive Protection auto-deploy feature.
32857
+ # Corresponds to the JSON property `autoDeployConfig`
32858
+ # @return [Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]
32859
+ attr_accessor :auto_deploy_config
32860
+
32849
32861
  # Configuration options for L7 DDoS detection.
32850
32862
  # Corresponds to the JSON property `layer7DdosDefenseConfig`
32851
32863
  # @return [Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]
@@ -32857,10 +32869,48 @@ module Google
32857
32869
 
32858
32870
  # Update properties of this object
32859
32871
  def update!(**args)
32872
+ @auto_deploy_config = args[:auto_deploy_config] if args.key?(:auto_deploy_config)
32860
32873
  @layer7_ddos_defense_config = args[:layer7_ddos_defense_config] if args.key?(:layer7_ddos_defense_config)
32861
32874
  end
32862
32875
  end
32863
32876
 
32877
+ # Configuration options for Adaptive Protection auto-deploy feature.
32878
+ class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
32879
+ include Google::Apis::Core::Hashable
32880
+
32881
+ #
32882
+ # Corresponds to the JSON property `confidenceThreshold`
32883
+ # @return [Float]
32884
+ attr_accessor :confidence_threshold
32885
+
32886
+ #
32887
+ # Corresponds to the JSON property `expirationSec`
32888
+ # @return [Fixnum]
32889
+ attr_accessor :expiration_sec
32890
+
32891
+ #
32892
+ # Corresponds to the JSON property `impactedBaselineThreshold`
32893
+ # @return [Float]
32894
+ attr_accessor :impacted_baseline_threshold
32895
+
32896
+ #
32897
+ # Corresponds to the JSON property `loadThreshold`
32898
+ # @return [Float]
32899
+ attr_accessor :load_threshold
32900
+
32901
+ def initialize(**args)
32902
+ update!(**args)
32903
+ end
32904
+
32905
+ # Update properties of this object
32906
+ def update!(**args)
32907
+ @confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
32908
+ @expiration_sec = args[:expiration_sec] if args.key?(:expiration_sec)
32909
+ @impacted_baseline_threshold = args[:impacted_baseline_threshold] if args.key?(:impacted_baseline_threshold)
32910
+ @load_threshold = args[:load_threshold] if args.key?(:load_threshold)
32911
+ end
32912
+ end
32913
+
32864
32914
  # Configuration options for L7 DDoS detection.
32865
32915
  class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
32866
32916
  include Google::Apis::Core::Hashable
@@ -34701,6 +34751,16 @@ module Google
34701
34751
  # @return [String]
34702
34752
  attr_accessor :source_disk_id
34703
34753
 
34754
+ # [Output Only] URL of the resource policy which created this scheduled snapshot.
34755
+ # Corresponds to the JSON property `sourceSnapshotSchedulePolicy`
34756
+ # @return [String]
34757
+ attr_accessor :source_snapshot_schedule_policy
34758
+
34759
+ # [Output Only] ID of the resource policy which created this scheduled snapshot.
34760
+ # Corresponds to the JSON property `sourceSnapshotSchedulePolicyId`
34761
+ # @return [String]
34762
+ attr_accessor :source_snapshot_schedule_policy_id
34763
+
34704
34764
  # [Output Only] The status of the snapshot. This can be CREATING, DELETING,
34705
34765
  # FAILED, READY, or UPLOADING.
34706
34766
  # Corresponds to the JSON property `status`
@@ -34760,6 +34820,8 @@ module Google
34760
34820
  @source_disk = args[:source_disk] if args.key?(:source_disk)
34761
34821
  @source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
34762
34822
  @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
34823
+ @source_snapshot_schedule_policy = args[:source_snapshot_schedule_policy] if args.key?(:source_snapshot_schedule_policy)
34824
+ @source_snapshot_schedule_policy_id = args[:source_snapshot_schedule_policy_id] if args.key?(:source_snapshot_schedule_policy_id)
34763
34825
  @status = args[:status] if args.key?(:status)
34764
34826
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
34765
34827
  @storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
@@ -41213,21 +41275,68 @@ module Google
41213
41275
  class UsableSubnetwork
41214
41276
  include Google::Apis::Core::Hashable
41215
41277
 
41278
+ # [Output Only] The external IPv6 address range that is assigned to this
41279
+ # subnetwork.
41280
+ # Corresponds to the JSON property `externalIpv6Prefix`
41281
+ # @return [String]
41282
+ attr_accessor :external_ipv6_prefix
41283
+
41284
+ # [Output Only] The internal IPv6 address range that is assigned to this
41285
+ # subnetwork.
41286
+ # Corresponds to the JSON property `internalIpv6Prefix`
41287
+ # @return [String]
41288
+ attr_accessor :internal_ipv6_prefix
41289
+
41216
41290
  # The range of internal addresses that are owned by this subnetwork.
41217
41291
  # Corresponds to the JSON property `ipCidrRange`
41218
41292
  # @return [String]
41219
41293
  attr_accessor :ip_cidr_range
41220
41294
 
41295
+ # The access type of IPv6 address this subnet holds. It's immutable and can only
41296
+ # be specified during creation or the first time the subnet is updated into
41297
+ # IPV4_IPV6 dual stack.
41298
+ # Corresponds to the JSON property `ipv6AccessType`
41299
+ # @return [String]
41300
+ attr_accessor :ipv6_access_type
41301
+
41221
41302
  # Network URL.
41222
41303
  # Corresponds to the JSON property `network`
41223
41304
  # @return [String]
41224
41305
  attr_accessor :network
41225
41306
 
41307
+ # The purpose of the resource. This field can be either PRIVATE_RFC_1918 or
41308
+ # INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
41309
+ # INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
41310
+ # Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to
41311
+ # PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose
41312
+ # field set to INTERNAL_HTTPS_LOAD_BALANCER.
41313
+ # Corresponds to the JSON property `purpose`
41314
+ # @return [String]
41315
+ attr_accessor :purpose
41316
+
41317
+ # The role of subnetwork. Currently, this field is only used when purpose =
41318
+ # INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An
41319
+ # ACTIVE subnetwork is one that is currently being used for Internal HTTP(S)
41320
+ # Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to
41321
+ # ACTIVE or is currently draining. This field can be updated with a patch
41322
+ # request.
41323
+ # Corresponds to the JSON property `role`
41324
+ # @return [String]
41325
+ attr_accessor :role
41326
+
41226
41327
  # Secondary IP ranges.
41227
41328
  # Corresponds to the JSON property `secondaryIpRanges`
41228
41329
  # @return [Array<Google::Apis::ComputeBeta::UsableSubnetworkSecondaryRange>]
41229
41330
  attr_accessor :secondary_ip_ranges
41230
41331
 
41332
+ # The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are
41333
+ # assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can
41334
+ # be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used.
41335
+ # This field can be both set at resource creation time and updated using patch.
41336
+ # Corresponds to the JSON property `stackType`
41337
+ # @return [String]
41338
+ attr_accessor :stack_type
41339
+
41231
41340
  # Subnetwork URL.
41232
41341
  # Corresponds to the JSON property `subnetwork`
41233
41342
  # @return [String]
@@ -41239,9 +41348,15 @@ module Google
41239
41348
 
41240
41349
  # Update properties of this object
41241
41350
  def update!(**args)
41351
+ @external_ipv6_prefix = args[:external_ipv6_prefix] if args.key?(:external_ipv6_prefix)
41352
+ @internal_ipv6_prefix = args[:internal_ipv6_prefix] if args.key?(:internal_ipv6_prefix)
41242
41353
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
41354
+ @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
41243
41355
  @network = args[:network] if args.key?(:network)
41356
+ @purpose = args[:purpose] if args.key?(:purpose)
41357
+ @role = args[:role] if args.key?(:role)
41244
41358
  @secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
41359
+ @stack_type = args[:stack_type] if args.key?(:stack_type)
41245
41360
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
41246
41361
  end
41247
41362
  end
@@ -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.34.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220506"
25
+ REVISION = "20220531"
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
 
@@ -8811,6 +8817,7 @@ module Google
8811
8817
  property :instance_group, as: 'instanceGroup'
8812
8818
  property :instance_template, as: 'instanceTemplate'
8813
8819
  property :kind, as: 'kind'
8820
+ property :list_managed_instances_results, as: 'listManagedInstancesResults'
8814
8821
  property :name, as: 'name'
8815
8822
  collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeBeta::NamedPort, decorator: Google::Apis::ComputeBeta::NamedPort::Representation
8816
8823
 
@@ -13726,11 +13733,23 @@ module Google
13726
13733
  class SecurityPolicyAdaptiveProtectionConfig
13727
13734
  # @private
13728
13735
  class Representation < Google::Apis::Core::JsonRepresentation
13736
+ property :auto_deploy_config, as: 'autoDeployConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig::Representation
13737
+
13729
13738
  property :layer7_ddos_defense_config, as: 'layer7DdosDefenseConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig::Representation
13730
13739
 
13731
13740
  end
13732
13741
  end
13733
13742
 
13743
+ class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
13744
+ # @private
13745
+ class Representation < Google::Apis::Core::JsonRepresentation
13746
+ property :confidence_threshold, as: 'confidenceThreshold'
13747
+ property :expiration_sec, as: 'expirationSec'
13748
+ property :impacted_baseline_threshold, as: 'impactedBaselineThreshold'
13749
+ property :load_threshold, as: 'loadThreshold'
13750
+ end
13751
+ end
13752
+
13734
13753
  class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
13735
13754
  # @private
13736
13755
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14205,6 +14224,8 @@ module Google
14205
14224
  property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
14206
14225
 
14207
14226
  property :source_disk_id, as: 'sourceDiskId'
14227
+ property :source_snapshot_schedule_policy, as: 'sourceSnapshotSchedulePolicy'
14228
+ property :source_snapshot_schedule_policy_id, as: 'sourceSnapshotSchedulePolicyId'
14208
14229
  property :status, as: 'status'
14209
14230
  property :storage_bytes, :numeric_string => true, as: 'storageBytes'
14210
14231
  property :storage_bytes_status, as: 'storageBytesStatus'
@@ -15832,10 +15853,16 @@ module Google
15832
15853
  class UsableSubnetwork
15833
15854
  # @private
15834
15855
  class Representation < Google::Apis::Core::JsonRepresentation
15856
+ property :external_ipv6_prefix, as: 'externalIpv6Prefix'
15857
+ property :internal_ipv6_prefix, as: 'internalIpv6Prefix'
15835
15858
  property :ip_cidr_range, as: 'ipCidrRange'
15859
+ property :ipv6_access_type, as: 'ipv6AccessType'
15836
15860
  property :network, as: 'network'
15861
+ property :purpose, as: 'purpose'
15862
+ property :role, as: 'role'
15837
15863
  collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeBeta::UsableSubnetworkSecondaryRange, decorator: Google::Apis::ComputeBeta::UsableSubnetworkSecondaryRange::Representation
15838
15864
 
15865
+ property :stack_type, as: 'stackType'
15839
15866
  property :subnetwork, as: 'subnetwork'
15840
15867
  end
15841
15868
  end