google-apis-compute_beta 0.64.0 → 0.65.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: 59ac8cda89676c813905ed916485851b1470817e1191d3c1e136d0f1ff2a4414
4
- data.tar.gz: 7a8ddd1e678f3a6c1e2b02bf64c1aad58a0e8c6447803e0ea1be424eb292858c
3
+ metadata.gz: 62cca85c1a90e407e82fc1ec617dc9315e85831a7605c403584696037b72535c
4
+ data.tar.gz: 8dfaf042e56380ff0dbc6a4c4405c1d1b7dbb9b4da3d1aa5307622ad65cd7302
5
5
  SHA512:
6
- metadata.gz: 52b2009c5697c14f58120f480c7cc74c5d69fd55bc565113612573c90f724627ee03ff0a35fc209d5d1c95222c33528d6a55ac162552cccf89e7c860c455a461
7
- data.tar.gz: 959664627daab4939c58f4f2712b6fbadd4e47dab6b8223373a0316486d5ee141de1f4adf92705689d3ea9a5bc6221aa2cafd3b7a397af823dadd833c5c15609
6
+ metadata.gz: 0bde1e85c650fb39618c1cd09b1a99bc0b6aa950b9fbf0e23ead1d33c170dcd35431e378b3d5099f0772d1ea1867f1ed6bcde06dae57b0357cab355c6bcddd1c
7
+ data.tar.gz: ba99af8bc46f8c22d67af50dc74ed0f1d29aa7765cca30272b4b5d872949d0c0397a6300ce9eda45950bfac3a39e3492ab136100c33934fa94818d0e4e671b61
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.65.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230403
6
+
3
7
  ### v0.64.0 (2023-04-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20230322
@@ -1649,6 +1649,14 @@ module Google
1649
1649
  # @return [Fixnum]
1650
1650
  attr_accessor :provisioned_throughput
1651
1651
 
1652
+ # Required for each regional disk associated with the instance. Specify the URLs
1653
+ # of the zones where the disk should be replicated to. You must provide exactly
1654
+ # two replica zones, and one zone must be the same as the instance zone. You can'
1655
+ # t use this option with boot disks.
1656
+ # Corresponds to the JSON property `replicaZones`
1657
+ # @return [Array<String>]
1658
+ attr_accessor :replica_zones
1659
+
1652
1660
  # Resource manager tags to be bound to the disk. Tag keys and values have the
1653
1661
  # same definition as resource manager tags. Keys must be in the format `tagKeys/`
1654
1662
  # tag_key_id``, and values are in the format `tagValues/456`. The field is
@@ -1723,6 +1731,7 @@ module Google
1723
1731
  @on_update_action = args[:on_update_action] if args.key?(:on_update_action)
1724
1732
  @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
1725
1733
  @provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
1734
+ @replica_zones = args[:replica_zones] if args.key?(:replica_zones)
1726
1735
  @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
1727
1736
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
1728
1737
  @source_image = args[:source_image] if args.key?(:source_image)
@@ -6692,6 +6701,18 @@ module Google
6692
6701
  class DiskAsyncReplication
6693
6702
  include Google::Apis::Core::Hashable
6694
6703
 
6704
+ # [Output Only] URL of the DiskConsistencyGroupPolicy if replication was started
6705
+ # on the disk as a member of a group.
6706
+ # Corresponds to the JSON property `consistencyGroupPolicy`
6707
+ # @return [String]
6708
+ attr_accessor :consistency_group_policy
6709
+
6710
+ # [Output Only] ID of the DiskConsistencyGroupPolicy if replication was started
6711
+ # on the disk as a member of a group.
6712
+ # Corresponds to the JSON property `consistencyGroupPolicyId`
6713
+ # @return [String]
6714
+ attr_accessor :consistency_group_policy_id
6715
+
6695
6716
  # The other disk asynchronously replicated to or from the current disk. You can
6696
6717
  # provide this as a partial or full URL to the resource. For example, the
6697
6718
  # following are valid values: - https://www.googleapis.com/compute/v1/projects/
@@ -6717,6 +6738,8 @@ module Google
6717
6738
 
6718
6739
  # Update properties of this object
6719
6740
  def update!(**args)
6741
+ @consistency_group_policy = args[:consistency_group_policy] if args.key?(:consistency_group_policy)
6742
+ @consistency_group_policy_id = args[:consistency_group_policy_id] if args.key?(:consistency_group_policy_id)
6720
6743
  @disk = args[:disk] if args.key?(:disk)
6721
6744
  @disk_id = args[:disk_id] if args.key?(:disk_id)
6722
6745
  end
@@ -9514,9 +9537,11 @@ module Google
9514
9537
 
9515
9538
  # This field is not used for external load balancing. For Internal TCP/UDP Load
9516
9539
  # Balancing, this field identifies the network that the load balanced IP should
9517
- # belong to for this Forwarding Rule. If this field is not specified, the
9518
- # default network will be used. For Private Service Connect forwarding rules
9519
- # that forward traffic to Google APIs, a network must be provided.
9540
+ # belong to for this Forwarding Rule. If the subnetwork is specified, the
9541
+ # network of the subnetwork will be used. If neither subnetwork nor this field
9542
+ # is specified, the default network will be used. For Private Service Connect
9543
+ # forwarding rules that forward traffic to Google APIs, a network must be
9544
+ # provided.
9520
9545
  # Corresponds to the JSON property `network`
9521
9546
  # @return [String]
9522
9547
  attr_accessor :network
@@ -21632,7 +21657,7 @@ module Google
21632
21657
  # @return [String]
21633
21658
  attr_accessor :project_id_or_num
21634
21659
 
21635
- # Alias IP ranges from the same subnetwork
21660
+ # Alias IP ranges from the same subnetwork.
21636
21661
  # Corresponds to the JSON property `secondaryIpCidrRanges`
21637
21662
  # @return [Array<String>]
21638
21663
  attr_accessor :secondary_ip_cidr_ranges
@@ -33253,6 +33278,12 @@ module Google
33253
33278
  class RouterNat
33254
33279
  include Google::Apis::Core::Hashable
33255
33280
 
33281
+ # The network tier to use when automatically reserving IP addresses. Must be one
33282
+ # of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used.
33283
+ # Corresponds to the JSON property `autoNetworkTier`
33284
+ # @return [String]
33285
+ attr_accessor :auto_network_tier
33286
+
33256
33287
  # A list of URLs of the IP resources to be drained. These IPs must be valid
33257
33288
  # static external IPs that have been assigned to the NAT. These IPs should be
33258
33289
  # used for updating/patching a NAT only.
@@ -33387,6 +33418,7 @@ module Google
33387
33418
 
33388
33419
  # Update properties of this object
33389
33420
  def update!(**args)
33421
+ @auto_network_tier = args[:auto_network_tier] if args.key?(:auto_network_tier)
33390
33422
  @drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
33391
33423
  @enable_dynamic_port_allocation = args[:enable_dynamic_port_allocation] if args.key?(:enable_dynamic_port_allocation)
33392
33424
  @enable_endpoint_independent_mapping = args[:enable_endpoint_independent_mapping] if args.key?(:enable_endpoint_independent_mapping)
@@ -34935,7 +34967,8 @@ module Google
34935
34967
  # @return [Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]
34936
34968
  attr_accessor :auto_deploy_config
34937
34969
 
34938
- # Configuration options for L7 DDoS detection.
34970
+ # Configuration options for L7 DDoS detection. This field is only supported in
34971
+ # Global Security Policies of type CLOUD_ARMOR.
34939
34972
  # Corresponds to the JSON property `layer7DdosDefenseConfig`
34940
34973
  # @return [Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]
34941
34974
  attr_accessor :layer7_ddos_defense_config
@@ -34988,18 +35021,21 @@ module Google
34988
35021
  end
34989
35022
  end
34990
35023
 
34991
- # Configuration options for L7 DDoS detection.
35024
+ # Configuration options for L7 DDoS detection. This field is only supported in
35025
+ # Global Security Policies of type CLOUD_ARMOR.
34992
35026
  class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
34993
35027
  include Google::Apis::Core::Hashable
34994
35028
 
34995
- # If set to true, enables CAAP for L7 DDoS detection.
35029
+ # If set to true, enables CAAP for L7 DDoS detection. This field is only
35030
+ # supported in Global Security Policies of type CLOUD_ARMOR.
34996
35031
  # Corresponds to the JSON property `enable`
34997
35032
  # @return [Boolean]
34998
35033
  attr_accessor :enable
34999
35034
  alias_method :enable?, :enable
35000
35035
 
35001
35036
  # Rule visibility can be one of the following: STANDARD - opaque rules. (default)
35002
- # PREMIUM - transparent rules.
35037
+ # PREMIUM - transparent rules. This field is only supported in Global Security
35038
+ # Policies of type CLOUD_ARMOR.
35003
35039
  # Corresponds to the JSON property `ruleVisibility`
35004
35040
  # @return [String]
35005
35041
  attr_accessor :rule_visibility
@@ -35253,7 +35289,8 @@ module Google
35253
35289
  # using the redirect action with the type of GOOGLE_RECAPTCHA under the security
35254
35290
  # policy. The specified site key needs to be created from the reCAPTCHA API. The
35255
35291
  # user is responsible for the validity of the specified site key. If not
35256
- # specified, a Google-managed site key is used.
35292
+ # specified, a Google-managed site key is used. This field is only supported in
35293
+ # Global Security Policies of type CLOUD_ARMOR.
35257
35294
  # Corresponds to the JSON property `redirectSiteKey`
35258
35295
  # @return [String]
35259
35296
  attr_accessor :redirect_site_key
@@ -35301,7 +35338,8 @@ module Google
35301
35338
  # rate_limit_options to be set. - redirect: redirect to a different target. This
35302
35339
  # can either be an internal reCAPTCHA redirect, or an external URL-based
35303
35340
  # redirect via a 302 response. Parameters for this action can be configured via
35304
- # redirectOptions. - throttle: limit client traffic to the configured threshold.
35341
+ # redirectOptions. This action is only supported in Global Security Policies of
35342
+ # type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold.
35305
35343
  # Configure parameters for this action in rateLimitOptions. Requires
35306
35344
  # rate_limit_options to be set for this.
35307
35345
  # Corresponds to the JSON property `action`
@@ -35330,7 +35368,8 @@ module Google
35330
35368
  attr_accessor :enable_logging
35331
35369
  alias_method :enable_logging?, :enable_logging
35332
35370
 
35333
- # Optional, additional actions that are performed on headers.
35371
+ # Optional, additional actions that are performed on headers. This field is only
35372
+ # supported in Global Security Policies of type CLOUD_ARMOR.
35334
35373
  # Corresponds to the JSON property `headerAction`
35335
35374
  # @return [Google::Apis::ComputeBeta::SecurityPolicyRuleHttpHeaderAction]
35336
35375
  attr_accessor :header_action
@@ -35375,7 +35414,8 @@ module Google
35375
35414
  attr_accessor :rate_limit_options
35376
35415
 
35377
35416
  # Parameters defining the redirect action. Cannot be specified for any other
35378
- # actions.
35417
+ # actions. This field is only supported in Global Security Policies of type
35418
+ # CLOUD_ARMOR.
35379
35419
  # Corresponds to the JSON property `redirectOptions`
35380
35420
  # @return [Google::Apis::ComputeBeta::SecurityPolicyRuleRedirectOptions]
35381
35421
  attr_accessor :redirect_options
@@ -35760,13 +35800,15 @@ module Google
35760
35800
  # to either deny with a specified HTTP response code, or redirect to a
35761
35801
  # different endpoint. Valid options are `deny(STATUS)`, where valid values for `
35762
35802
  # STATUS` are 403, 404, 429, and 502, and `redirect`, where the redirect
35763
- # parameters come from `exceedRedirectOptions` below.
35803
+ # parameters come from `exceedRedirectOptions` below. The `redirect` action is
35804
+ # only supported in Global Security Policies of type CLOUD_ARMOR.
35764
35805
  # Corresponds to the JSON property `exceedAction`
35765
35806
  # @return [String]
35766
35807
  attr_accessor :exceed_action
35767
35808
 
35768
35809
  # Parameters defining the redirect action that is used as the exceed action.
35769
- # Cannot be specified if the exceed action is not redirect.
35810
+ # Cannot be specified if the exceed action is not redirect. This field is only
35811
+ # supported in Global Security Policies of type CLOUD_ARMOR.
35770
35812
  # Corresponds to the JSON property `exceedRedirectOptions`
35771
35813
  # @return [Google::Apis::ComputeBeta::SecurityPolicyRuleRedirectOptions]
35772
35814
  attr_accessor :exceed_redirect_options
@@ -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.64.0"
19
+ GEM_VERSION = "0.65.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230322"
25
+ REVISION = "20230403"
26
26
  end
27
27
  end
28
28
  end
@@ -6462,6 +6462,7 @@ module Google
6462
6462
  property :on_update_action, as: 'onUpdateAction'
6463
6463
  property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
6464
6464
  property :provisioned_throughput, :numeric_string => true, as: 'provisionedThroughput'
6465
+ collection :replica_zones, as: 'replicaZones'
6465
6466
  hash :resource_manager_tags, as: 'resourceManagerTags'
6466
6467
  collection :resource_policies, as: 'resourcePolicies'
6467
6468
  property :source_image, as: 'sourceImage'
@@ -7550,6 +7551,8 @@ module Google
7550
7551
  class DiskAsyncReplication
7551
7552
  # @private
7552
7553
  class Representation < Google::Apis::Core::JsonRepresentation
7554
+ property :consistency_group_policy, as: 'consistencyGroupPolicy'
7555
+ property :consistency_group_policy_id, as: 'consistencyGroupPolicyId'
7553
7556
  property :disk, as: 'disk'
7554
7557
  property :disk_id, as: 'diskId'
7555
7558
  end
@@ -14197,6 +14200,7 @@ module Google
14197
14200
  class RouterNat
14198
14201
  # @private
14199
14202
  class Representation < Google::Apis::Core::JsonRepresentation
14203
+ property :auto_network_tier, as: 'autoNetworkTier'
14200
14204
  collection :drain_nat_ips, as: 'drainNatIps'
14201
14205
  property :enable_dynamic_port_allocation, as: 'enableDynamicPortAllocation'
14202
14206
  property :enable_endpoint_independent_mapping, as: 'enableEndpointIndependentMapping'
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.64.0
4
+ version: 0.65.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-04-02 00:00:00.000000000 Z
11
+ date: 2023-04-23 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.64.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.65.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: []