google-apis-compute_alpha 0.95.0 → 0.97.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: a238f940627373a11859c46e678073c112e5c53dd18a3e131969cc20b50ff077
4
- data.tar.gz: 2cee3521a4d7a0cc451b24a7c3f0fa564ab8e3f809bee470f386db418db0d2ed
3
+ metadata.gz: 92ab0f38616388665f15716880d532ba38a5f581e8aa4018d34bd3837d35b3d0
4
+ data.tar.gz: 0772f01cdd93ebe94ce98e8cf38b77c1e258e140be2c3f78ac8ff08c5b91b55b
5
5
  SHA512:
6
- metadata.gz: 0ff76c4ca7e9b518ce10f9e789c14b83ac1159f6bc13562c4daa77220e07a31f76a014dfc39be2fffa0a43e0ab2412a3336b05124441bebef022be6637689565
7
- data.tar.gz: 42d6b334257a0cf19dbbf261a8b1cc9f04875930fc8996ab68bf75d05116cec6164afcca86f0fd252ff10b202aa51accb274fdf2961af300e928d9a63cebcf95
6
+ metadata.gz: 7dc971328bb2bb5413c6fde122bcd4d019e13683dcb038bcc50bd4e0c74ba485033cfe4df54639be873928bfe9ce82349a0566688f803c791ea3275db91c2825
7
+ data.tar.gz: 8787a85a3899632cbcdb5bad2ffa5b03bf33c9432a33064a1a5836cc9c0ea7d14667b0a02cd38a7c2fb292119c3395216dfd2aab995cb0c8ea233d7d5e67d4b0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.97.0 (2024-04-07)
4
+
5
+ * Regenerated from discovery document revision 20240326
6
+
7
+ ### v0.96.0 (2024-03-31)
8
+
9
+ * Regenerated from discovery document revision 20240324
10
+
3
11
  ### v0.95.0 (2024-03-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20240312
@@ -3667,6 +3667,30 @@ module Google
3667
3667
  attr_accessor :enable_cdn
3668
3668
  alias_method :enable_cdn?, :enable_cdn
3669
3669
 
3670
+ # Specifies the canary migration state. Possible values are PREPARE, TEST, and
3671
+ # FINALIZE. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state
3672
+ # must be changed to PREPARE. The state must be changed to FINALIZE before the
3673
+ # loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST
3674
+ # state can be used to migrate traffic by percentage using
3675
+ # externalManagedMigrationTestingPercentage. Rolling back a migration requires
3676
+ # the states to be set in reverse order. So changing the scheme from
3677
+ # EXTERNAL_MANAGED to EXTERNAL requires the state to be set to FINALIZE at the
3678
+ # same time. Optionally, the TEST state can be used to migrate some traffic back
3679
+ # to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
3680
+ # Corresponds to the JSON property `externalManagedMigrationState`
3681
+ # @return [String]
3682
+ attr_accessor :external_managed_migration_state
3683
+
3684
+ # Determines the fraction of requests that should be processed by the Global
3685
+ # external Application Load Balancer. The value of this field must be in the
3686
+ # range [0, 100]. Session affinity options will slightly affect this routing
3687
+ # behavior, for more details, see: Session Affinity. This value is only used if
3688
+ # the loadBalancingScheme in the BackendService is set to EXTERNAL when using
3689
+ # the classic Application Load Balancer.
3690
+ # Corresponds to the JSON property `externalManagedMigrationTestingPercentage`
3691
+ # @return [Float]
3692
+ attr_accessor :external_managed_migration_testing_percentage
3693
+
3670
3694
  # For load balancers that have configurable failover: [Internal passthrough
3671
3695
  # Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/
3672
3696
  # failover-overview) and [external passthrough Network Load Balancers](https://
@@ -3969,6 +3993,8 @@ module Google
3969
3993
  @description = args[:description] if args.key?(:description)
3970
3994
  @edge_security_policy = args[:edge_security_policy] if args.key?(:edge_security_policy)
3971
3995
  @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
3996
+ @external_managed_migration_state = args[:external_managed_migration_state] if args.key?(:external_managed_migration_state)
3997
+ @external_managed_migration_testing_percentage = args[:external_managed_migration_testing_percentage] if args.key?(:external_managed_migration_testing_percentage)
3972
3998
  @failover_policy = args[:failover_policy] if args.key?(:failover_policy)
3973
3999
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
3974
4000
  @ha_policy = args[:ha_policy] if args.key?(:ha_policy)
@@ -8963,12 +8989,13 @@ module Google
8963
8989
  # @return [String]
8964
8990
  attr_accessor :domain
8965
8991
 
8966
- # Additional structured details about this error. Keys should match /[a-zA-Z0-9-
8967
- # _]/ and be limited to 64 characters in length. When identifying the current
8968
- # value of an exceeded limit, the units should be contained in the key, not the
8969
- # value. For example, rather than `"instanceLimit": "100/request"`, should be
8970
- # returned as, `"instanceLimitPerRequest": "100"`, if the client exceeds the
8971
- # number of instances that can be created in a single (batch) request.
8992
+ # Additional structured details about this error. Keys must match /a-z+/ but
8993
+ # should ideally be lowerCamelCase. Also they must be limited to 64 characters
8994
+ # in length. When identifying the current value of an exceeded limit, the units
8995
+ # should be contained in the key, not the value. For example, rather than `"
8996
+ # instanceLimit": "100/request"`, should be returned as, `"
8997
+ # instanceLimitPerRequest": "100"`, if the client exceeds the number of
8998
+ # instances that can be created in a single (batch) request.
8972
8999
  # Corresponds to the JSON property `metadatas`
8973
9000
  # @return [Hash<String,String>]
8974
9001
  attr_accessor :metadatas
@@ -10006,6 +10033,11 @@ module Google
10006
10033
  # @return [String]
10007
10034
  attr_accessor :name
10008
10035
 
10036
+ # A list of packet mirroring rules that belong to this policy.
10037
+ # Corresponds to the JSON property `packetMirroringRules`
10038
+ # @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRule>]
10039
+ attr_accessor :packet_mirroring_rules
10040
+
10009
10041
  # [Output Only] The parent of the firewall policy. This field is not applicable
10010
10042
  # to network firewall policies.
10011
10043
  # Corresponds to the JSON property `parent`
@@ -10082,6 +10114,7 @@ module Google
10082
10114
  @id = args[:id] if args.key?(:id)
10083
10115
  @kind = args[:kind] if args.key?(:kind)
10084
10116
  @name = args[:name] if args.key?(:name)
10117
+ @packet_mirroring_rules = args[:packet_mirroring_rules] if args.key?(:packet_mirroring_rules)
10085
10118
  @parent = args[:parent] if args.key?(:parent)
10086
10119
  @region = args[:region] if args.key?(:region)
10087
10120
  @rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
@@ -10705,6 +10738,30 @@ module Google
10705
10738
  # @return [String]
10706
10739
  attr_accessor :description
10707
10740
 
10741
+ # Specifies the canary migration state for the backend buckets attached to this
10742
+ # forwarding rule. Possible values are PREPARE, TEST, and FINALIZE. To begin the
10743
+ # migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to
10744
+ # PREPARE. The state must be changed to FINALIZE before the loadBalancingScheme
10745
+ # can be changed to EXTERNAL_MANAGED. Optionally, the TEST state can be used to
10746
+ # migrate traffic to backend buckets attached to this forwarding rule by
10747
+ # percentage using externalManagedBackendBucketMigrationTestingPercentage.
10748
+ # Rolling back a migration requires the states to be set in reverse order. So
10749
+ # changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be
10750
+ # set to FINALIZE at the same time. Optionally, the TEST state can be used to
10751
+ # migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all
10752
+ # traffic back to EXTERNAL.
10753
+ # Corresponds to the JSON property `externalManagedBackendBucketMigrationState`
10754
+ # @return [String]
10755
+ attr_accessor :external_managed_backend_bucket_migration_state
10756
+
10757
+ # Determines the fraction of requests to backend buckets that should be
10758
+ # processed by the Global external Application Load Balancer. The value of this
10759
+ # field must be in the range [0, 100]. This value is only used if the
10760
+ # loadBalancingScheme is set to EXTERNAL (when using the Classic ALB).
10761
+ # Corresponds to the JSON property `externalManagedBackendBucketMigrationTestingPercentage`
10762
+ # @return [Float]
10763
+ attr_accessor :external_managed_backend_bucket_migration_testing_percentage
10764
+
10708
10765
  # Fingerprint of this resource. A hash of the contents stored in this object.
10709
10766
  # This field is used in optimistic locking. This field will be ignored when
10710
10767
  # inserting a ForwardingRule. Include the fingerprint in patch request to ensure
@@ -10981,6 +11038,8 @@ module Google
10981
11038
  @base_forwarding_rule = args[:base_forwarding_rule] if args.key?(:base_forwarding_rule)
10982
11039
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
10983
11040
  @description = args[:description] if args.key?(:description)
11041
+ @external_managed_backend_bucket_migration_state = args[:external_managed_backend_bucket_migration_state] if args.key?(:external_managed_backend_bucket_migration_state)
11042
+ @external_managed_backend_bucket_migration_testing_percentage = args[:external_managed_backend_bucket_migration_testing_percentage] if args.key?(:external_managed_backend_bucket_migration_testing_percentage)
10984
11043
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
10985
11044
  @id = args[:id] if args.key?(:id)
10986
11045
  @ip_collection = args[:ip_collection] if args.key?(:ip_collection)
@@ -18490,7 +18549,7 @@ module Google
18490
18549
  attr_accessor :is_stateful
18491
18550
  alias_method :is_stateful?, :is_stateful
18492
18551
 
18493
- # [Output Only] Status of per-instance configurations on the instance.
18552
+ # [Output Only] Status of per-instance configurations on the instances.
18494
18553
  # Corresponds to the JSON property `perInstanceConfigs`
18495
18554
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStatefulPerInstanceConfigs]
18496
18555
  attr_accessor :per_instance_configs
@@ -21878,6 +21937,12 @@ module Google
21878
21937
  attr_accessor :admin_enabled
21879
21938
  alias_method :admin_enabled?, :admin_enabled
21880
21939
 
21940
+ # Configuration information for enabling Application Aware Interconnect (AAI) on
21941
+ # this Cloud Interconnect connection between Google and your on-premises router.
21942
+ # Corresponds to the JSON property `applicationAwareInterconnect`
21943
+ # @return [Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnect]
21944
+ attr_accessor :application_aware_interconnect
21945
+
21881
21946
  # [Output only] List of features available for this Interconnect connection,
21882
21947
  # which can take one of the following values: - MACSEC If present then the
21883
21948
  # Interconnect connection is provisioned on MACsec capable hardware ports. If
@@ -22099,6 +22164,7 @@ module Google
22099
22164
  # Update properties of this object
22100
22165
  def update!(**args)
22101
22166
  @admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled)
22167
+ @application_aware_interconnect = args[:application_aware_interconnect] if args.key?(:application_aware_interconnect)
22102
22168
  @available_features = args[:available_features] if args.key?(:available_features)
22103
22169
  @circuit_infos = args[:circuit_infos] if args.key?(:circuit_infos)
22104
22170
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@@ -22132,6 +22198,106 @@ module Google
22132
22198
  end
22133
22199
  end
22134
22200
 
22201
+ # Configuration information for enabling Application Aware Interconnect (AAI) on
22202
+ # this Cloud Interconnect connection between Google and your on-premises router.
22203
+ class InterconnectApplicationAwareInterconnect
22204
+ include Google::Apis::Core::Hashable
22205
+
22206
+ #
22207
+ # Corresponds to the JSON property `bandwidthPercentagePolicy`
22208
+ # @return [Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy]
22209
+ attr_accessor :bandwidth_percentage_policy
22210
+
22211
+ # Enable or disable the AAI feature on this interconnect.
22212
+ # Corresponds to the JSON property `enabled`
22213
+ # @return [Boolean]
22214
+ attr_accessor :enabled
22215
+ alias_method :enabled?, :enabled
22216
+
22217
+ # A description for the AAI profile on this interconnect.
22218
+ # Corresponds to the JSON property `profileDescription`
22219
+ # @return [String]
22220
+ attr_accessor :profile_description
22221
+
22222
+ # Specify configuration for StrictPriorityPolicy.
22223
+ # Corresponds to the JSON property `strictPriorityPolicy`
22224
+ # @return [Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectStrictPriorityPolicy]
22225
+ attr_accessor :strict_priority_policy
22226
+
22227
+ def initialize(**args)
22228
+ update!(**args)
22229
+ end
22230
+
22231
+ # Update properties of this object
22232
+ def update!(**args)
22233
+ @bandwidth_percentage_policy = args[:bandwidth_percentage_policy] if args.key?(:bandwidth_percentage_policy)
22234
+ @enabled = args[:enabled] if args.key?(:enabled)
22235
+ @profile_description = args[:profile_description] if args.key?(:profile_description)
22236
+ @strict_priority_policy = args[:strict_priority_policy] if args.key?(:strict_priority_policy)
22237
+ end
22238
+ end
22239
+
22240
+ # Specify bandwidth percentages (0-100) for various traffic classes in
22241
+ # BandwidthPercentagePolicy. The sum of all percentages must equal 100. It is
22242
+ # valid to specify percentages for some classes and not for others. The others
22243
+ # will be implicitly marked as 0.
22244
+ class InterconnectApplicationAwareInterconnectBandwidthPercentage
22245
+ include Google::Apis::Core::Hashable
22246
+
22247
+ # Bandwidth percentage for a specific traffic class.
22248
+ # Corresponds to the JSON property `percentage`
22249
+ # @return [Fixnum]
22250
+ attr_accessor :percentage
22251
+
22252
+ # TrafficClass whose bandwidth percentage is being specified.
22253
+ # Corresponds to the JSON property `trafficClass`
22254
+ # @return [String]
22255
+ attr_accessor :traffic_class
22256
+
22257
+ def initialize(**args)
22258
+ update!(**args)
22259
+ end
22260
+
22261
+ # Update properties of this object
22262
+ def update!(**args)
22263
+ @percentage = args[:percentage] if args.key?(:percentage)
22264
+ @traffic_class = args[:traffic_class] if args.key?(:traffic_class)
22265
+ end
22266
+ end
22267
+
22268
+ #
22269
+ class InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy
22270
+ include Google::Apis::Core::Hashable
22271
+
22272
+ # Specify bandwidth percentages for various traffic classes for queuing type
22273
+ # Bandwidth Percent.
22274
+ # Corresponds to the JSON property `bandwidthPercentages`
22275
+ # @return [Array<Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectBandwidthPercentage>]
22276
+ attr_accessor :bandwidth_percentages
22277
+
22278
+ def initialize(**args)
22279
+ update!(**args)
22280
+ end
22281
+
22282
+ # Update properties of this object
22283
+ def update!(**args)
22284
+ @bandwidth_percentages = args[:bandwidth_percentages] if args.key?(:bandwidth_percentages)
22285
+ end
22286
+ end
22287
+
22288
+ # Specify configuration for StrictPriorityPolicy.
22289
+ class InterconnectApplicationAwareInterconnectStrictPriorityPolicy
22290
+ include Google::Apis::Core::Hashable
22291
+
22292
+ def initialize(**args)
22293
+ update!(**args)
22294
+ end
22295
+
22296
+ # Update properties of this object
22297
+ def update!(**args)
22298
+ end
22299
+ end
22300
+
22135
22301
  # Represents an Interconnect Attachment (VLAN) resource. You can use
22136
22302
  # Interconnect attachments (VLANS) to connect your Virtual Private Cloud
22137
22303
  # networks to your on-premises networks through an Interconnect. For more
@@ -33847,8 +34013,9 @@ module Google
33847
34013
  # header transformations, before forwarding the request to the selected backend.
33848
34014
  # If defaultRouteAction specifies any weightedBackendServices, defaultService
33849
34015
  # must not be set. Conversely if defaultService is set, defaultRouteAction
33850
- # cannot contain any weightedBackendServices. Only one of defaultRouteAction or
33851
- # defaultUrlRedirect must be set. URL maps for classic Application Load
34016
+ # cannot contain any weightedBackendServices. If defaultRouteAction is specified,
34017
+ # don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices
34018
+ # is specified, don't set defaultService. URL maps for classic Application Load
33852
34019
  # Balancers only support the urlRewrite action within a path matcher's
33853
34020
  # defaultRouteAction.
33854
34021
  # Corresponds to the JSON property `defaultRouteAction`
@@ -33865,11 +34032,11 @@ module Google
33865
34032
  # before sending the request to the backend. However, if defaultService is
33866
34033
  # specified, defaultRouteAction cannot contain any weightedBackendServices.
33867
34034
  # Conversely, if defaultRouteAction specifies any weightedBackendServices,
33868
- # defaultService must not be specified. Only one of defaultService,
33869
- # defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set.
33870
- # Authorization requires one or more of the following Google IAM permissions on
33871
- # the specified resource default_service: - compute.backendBuckets.use - compute.
33872
- # backendServices.use
34035
+ # defaultService must not be specified. If defaultService is specified, then set
34036
+ # either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't
34037
+ # set both. Authorization requires one or more of the following Google IAM
34038
+ # permissions on the specified resource default_service: - compute.
34039
+ # backendBuckets.use - compute.backendServices.use
33873
34040
  # Corresponds to the JSON property `defaultService`
33874
34041
  # @return [String]
33875
34042
  attr_accessor :default_service
@@ -38127,6 +38294,12 @@ module Google
38127
38294
  # @return [String]
38128
38295
  attr_accessor :name
38129
38296
 
38297
+ # [Output only] Priority of firewall policy association. Not applicable for type=
38298
+ # HIERARCHY.
38299
+ # Corresponds to the JSON property `priority`
38300
+ # @return [Fixnum]
38301
+ attr_accessor :priority
38302
+
38130
38303
  # The rules that apply to the network.
38131
38304
  # Corresponds to the JSON property `rules`
38132
38305
  # @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRule>]
@@ -38146,6 +38319,7 @@ module Google
38146
38319
  def update!(**args)
38147
38320
  @display_name = args[:display_name] if args.key?(:display_name)
38148
38321
  @name = args[:name] if args.key?(:name)
38322
+ @priority = args[:priority] if args.key?(:priority)
38149
38323
  @rules = args[:rules] if args.key?(:rules)
38150
38324
  @type = args[:type] if args.key?(:type)
38151
38325
  end
@@ -45620,10 +45794,10 @@ module Google
45620
45794
  # @return [String]
45621
45795
  attr_accessor :producer_forwarding_rule
45622
45796
 
45623
- # The number of consumer Network Connectivity Center spokes that connected
45624
- # Private Service Connect endpoints can be propagated to. This limit lets a
45625
- # service producer indirectly limit how many propagated Private Service Connect
45626
- # connections can be established to the producer's service attachment. If the
45797
+ # The number of consumer spokes that connected Private Service Connect endpoints
45798
+ # can be propagated to through Network Connectivity Center. This limit lets the
45799
+ # service producer limit how many propagated Private Service Connect connections
45800
+ # can be established to this service attachment from a single consumer. If the
45627
45801
  # connection preference of the service attachment is ACCEPT_MANUAL, the limit
45628
45802
  # applies to each project or network that is listed in the consumer accept list.
45629
45803
  # If the connection preference of the service attachment is ACCEPT_AUTOMATIC,
@@ -55158,9 +55332,9 @@ module Google
55158
55332
  # sending the request to the backend. However, if defaultService is specified,
55159
55333
  # defaultRouteAction cannot contain any weightedBackendServices. Conversely, if
55160
55334
  # routeAction specifies any weightedBackendServices, service must not be
55161
- # specified. Only one of defaultService, defaultUrlRedirect , or
55162
- # defaultRouteAction.weightedBackendService must be set. defaultService has no
55163
- # effect when the URL map is bound to a target gRPC proxy that has the
55335
+ # specified. If defaultService is specified, then set either defaultUrlRedirect ,
55336
+ # or defaultRouteAction.weightedBackendService Don't set both. defaultService
55337
+ # has no effect when the URL map is bound to a target gRPC proxy that has the
55164
55338
  # validateForProxyless field set to true.
55165
55339
  # Corresponds to the JSON property `defaultService`
55166
55340
  # @return [String]
@@ -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.95.0"
19
+ GEM_VERSION = "0.97.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240312"
25
+ REVISION = "20240326"
26
26
  end
27
27
  end
28
28
  end
@@ -2728,6 +2728,30 @@ module Google
2728
2728
  include Google::Apis::Core::JsonObjectSupport
2729
2729
  end
2730
2730
 
2731
+ class InterconnectApplicationAwareInterconnect
2732
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2733
+
2734
+ include Google::Apis::Core::JsonObjectSupport
2735
+ end
2736
+
2737
+ class InterconnectApplicationAwareInterconnectBandwidthPercentage
2738
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2739
+
2740
+ include Google::Apis::Core::JsonObjectSupport
2741
+ end
2742
+
2743
+ class InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy
2744
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2745
+
2746
+ include Google::Apis::Core::JsonObjectSupport
2747
+ end
2748
+
2749
+ class InterconnectApplicationAwareInterconnectStrictPriorityPolicy
2750
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2751
+
2752
+ include Google::Apis::Core::JsonObjectSupport
2753
+ end
2754
+
2731
2755
  class InterconnectAttachment
2732
2756
  class Representation < Google::Apis::Core::JsonRepresentation; end
2733
2757
 
@@ -8464,6 +8488,8 @@ module Google
8464
8488
  property :description, as: 'description'
8465
8489
  property :edge_security_policy, as: 'edgeSecurityPolicy'
8466
8490
  property :enable_cdn, as: 'enableCDN'
8491
+ property :external_managed_migration_state, as: 'externalManagedMigrationState'
8492
+ property :external_managed_migration_testing_percentage, as: 'externalManagedMigrationTestingPercentage'
8467
8493
  property :failover_policy, as: 'failoverPolicy', class: Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy::Representation
8468
8494
 
8469
8495
  property :fingerprint, :base64 => true, as: 'fingerprint'
@@ -9937,6 +9963,8 @@ module Google
9937
9963
  property :id, :numeric_string => true, as: 'id'
9938
9964
  property :kind, as: 'kind'
9939
9965
  property :name, as: 'name'
9966
+ collection :packet_mirroring_rules, as: 'packetMirroringRules', class: Google::Apis::ComputeAlpha::FirewallPolicyRule, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
9967
+
9940
9968
  property :parent, as: 'parent'
9941
9969
  property :region, as: 'region'
9942
9970
  property :rule_tuple_count, as: 'ruleTupleCount'
@@ -10073,6 +10101,8 @@ module Google
10073
10101
  property :base_forwarding_rule, as: 'baseForwardingRule'
10074
10102
  property :creation_timestamp, as: 'creationTimestamp'
10075
10103
  property :description, as: 'description'
10104
+ property :external_managed_backend_bucket_migration_state, as: 'externalManagedBackendBucketMigrationState'
10105
+ property :external_managed_backend_bucket_migration_testing_percentage, as: 'externalManagedBackendBucketMigrationTestingPercentage'
10076
10106
  property :fingerprint, :base64 => true, as: 'fingerprint'
10077
10107
  property :id, :numeric_string => true, as: 'id'
10078
10108
  property :ip_collection, as: 'ipCollection'
@@ -12849,6 +12879,8 @@ module Google
12849
12879
  # @private
12850
12880
  class Representation < Google::Apis::Core::JsonRepresentation
12851
12881
  property :admin_enabled, as: 'adminEnabled'
12882
+ property :application_aware_interconnect, as: 'applicationAwareInterconnect', class: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnect, decorator: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnect::Representation
12883
+
12852
12884
  collection :available_features, as: 'availableFeatures'
12853
12885
  collection :circuit_infos, as: 'circuitInfos', class: Google::Apis::ComputeAlpha::InterconnectCircuitInfo, decorator: Google::Apis::ComputeAlpha::InterconnectCircuitInfo::Representation
12854
12886
 
@@ -12885,6 +12917,40 @@ module Google
12885
12917
  end
12886
12918
  end
12887
12919
 
12920
+ class InterconnectApplicationAwareInterconnect
12921
+ # @private
12922
+ class Representation < Google::Apis::Core::JsonRepresentation
12923
+ property :bandwidth_percentage_policy, as: 'bandwidthPercentagePolicy', class: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy, decorator: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy::Representation
12924
+
12925
+ property :enabled, as: 'enabled'
12926
+ property :profile_description, as: 'profileDescription'
12927
+ property :strict_priority_policy, as: 'strictPriorityPolicy', class: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectStrictPriorityPolicy, decorator: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectStrictPriorityPolicy::Representation
12928
+
12929
+ end
12930
+ end
12931
+
12932
+ class InterconnectApplicationAwareInterconnectBandwidthPercentage
12933
+ # @private
12934
+ class Representation < Google::Apis::Core::JsonRepresentation
12935
+ property :percentage, as: 'percentage'
12936
+ property :traffic_class, as: 'trafficClass'
12937
+ end
12938
+ end
12939
+
12940
+ class InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy
12941
+ # @private
12942
+ class Representation < Google::Apis::Core::JsonRepresentation
12943
+ collection :bandwidth_percentages, as: 'bandwidthPercentages', class: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectBandwidthPercentage, decorator: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectBandwidthPercentage::Representation
12944
+
12945
+ end
12946
+ end
12947
+
12948
+ class InterconnectApplicationAwareInterconnectStrictPriorityPolicy
12949
+ # @private
12950
+ class Representation < Google::Apis::Core::JsonRepresentation
12951
+ end
12952
+ end
12953
+
12888
12954
  class InterconnectAttachment
12889
12955
  # @private
12890
12956
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -16982,6 +17048,7 @@ module Google
16982
17048
  class Representation < Google::Apis::Core::JsonRepresentation
16983
17049
  property :display_name, as: 'displayName'
16984
17050
  property :name, as: 'name'
17051
+ property :priority, as: 'priority'
16985
17052
  collection :rules, as: 'rules', class: Google::Apis::ComputeAlpha::FirewallPolicyRule, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
16986
17053
 
16987
17054
  property :type, as: 'type'
@@ -4451,6 +4451,53 @@ module Google
4451
4451
  execute_or_queue_command(command, &block)
4452
4452
  end
4453
4453
 
4454
+ # Inserts a packet mirroring rule into a firewall policy.
4455
+ # @param [String] firewall_policy
4456
+ # Name of the firewall policy to update.
4457
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
4458
+ # @param [String] request_id
4459
+ # An optional request ID to identify requests. Specify a unique request ID so
4460
+ # that if you must retry your request, the server will know to ignore the
4461
+ # request if it has already been completed. For example, consider a situation
4462
+ # where you make an initial request and the request times out. If you make the
4463
+ # request again with the same request ID, the server can check if original
4464
+ # operation with the same request ID was received, and if so, will ignore the
4465
+ # second request. This prevents clients from accidentally creating duplicate
4466
+ # commitments. The request ID must be a valid UUID with the exception that zero
4467
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
4468
+ # @param [String] fields
4469
+ # Selector specifying which fields to include in a partial response.
4470
+ # @param [String] quota_user
4471
+ # Available to use for quota purposes for server-side applications. Can be any
4472
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4473
+ # @param [String] user_ip
4474
+ # Legacy name for parameter that has been superseded by `quotaUser`.
4475
+ # @param [Google::Apis::RequestOptions] options
4476
+ # Request-specific options
4477
+ #
4478
+ # @yield [result, err] Result & error if block supplied
4479
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
4480
+ # @yieldparam err [StandardError] error object if request failed
4481
+ #
4482
+ # @return [Google::Apis::ComputeAlpha::Operation]
4483
+ #
4484
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4485
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4486
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4487
+ def add_firewall_policy_packet_mirroring_rule(firewall_policy, firewall_policy_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4488
+ command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule', options)
4489
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
4490
+ command.request_object = firewall_policy_rule_object
4491
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
4492
+ command.response_class = Google::Apis::ComputeAlpha::Operation
4493
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
4494
+ command.query['requestId'] = request_id unless request_id.nil?
4495
+ command.query['fields'] = fields unless fields.nil?
4496
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4497
+ command.query['userIp'] = user_ip unless user_ip.nil?
4498
+ execute_or_queue_command(command, &block)
4499
+ end
4500
+
4454
4501
  # Inserts a rule into a firewall policy.
4455
4502
  # @param [String] firewall_policy
4456
4503
  # Name of the firewall policy to update.
@@ -4695,6 +4742,42 @@ module Google
4695
4742
  execute_or_queue_command(command, &block)
4696
4743
  end
4697
4744
 
4745
+ # Gets a packet mirroring rule of the specified priority.
4746
+ # @param [String] firewall_policy
4747
+ # Name of the firewall policy to which the queried rule belongs.
4748
+ # @param [Fixnum] priority
4749
+ # The priority of the rule to get from the firewall policy.
4750
+ # @param [String] fields
4751
+ # Selector specifying which fields to include in a partial response.
4752
+ # @param [String] quota_user
4753
+ # Available to use for quota purposes for server-side applications. Can be any
4754
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4755
+ # @param [String] user_ip
4756
+ # Legacy name for parameter that has been superseded by `quotaUser`.
4757
+ # @param [Google::Apis::RequestOptions] options
4758
+ # Request-specific options
4759
+ #
4760
+ # @yield [result, err] Result & error if block supplied
4761
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyRule] parsed result object
4762
+ # @yieldparam err [StandardError] error object if request failed
4763
+ #
4764
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicyRule]
4765
+ #
4766
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4767
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4768
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4769
+ def get_firewall_policy_packet_mirroring_rule(firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4770
+ command = make_simple_command(:get, 'locations/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule', options)
4771
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
4772
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyRule
4773
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
4774
+ command.query['priority'] = priority unless priority.nil?
4775
+ command.query['fields'] = fields unless fields.nil?
4776
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4777
+ command.query['userIp'] = user_ip unless user_ip.nil?
4778
+ execute_or_queue_command(command, &block)
4779
+ end
4780
+
4698
4781
  # Gets a rule of the specified priority.
4699
4782
  # @param [String] firewall_policy
4700
4783
  # Name of the firewall policy to which the queried rule belongs.
@@ -5004,6 +5087,56 @@ module Google
5004
5087
  execute_or_queue_command(command, &block)
5005
5088
  end
5006
5089
 
5090
+ # Patches a packet mirroring rule of the specified priority.
5091
+ # @param [String] firewall_policy
5092
+ # Name of the firewall policy to update.
5093
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
5094
+ # @param [Fixnum] priority
5095
+ # The priority of the rule to patch.
5096
+ # @param [String] request_id
5097
+ # An optional request ID to identify requests. Specify a unique request ID so
5098
+ # that if you must retry your request, the server will know to ignore the
5099
+ # request if it has already been completed. For example, consider a situation
5100
+ # where you make an initial request and the request times out. If you make the
5101
+ # request again with the same request ID, the server can check if original
5102
+ # operation with the same request ID was received, and if so, will ignore the
5103
+ # second request. This prevents clients from accidentally creating duplicate
5104
+ # commitments. The request ID must be a valid UUID with the exception that zero
5105
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
5106
+ # @param [String] fields
5107
+ # Selector specifying which fields to include in a partial response.
5108
+ # @param [String] quota_user
5109
+ # Available to use for quota purposes for server-side applications. Can be any
5110
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5111
+ # @param [String] user_ip
5112
+ # Legacy name for parameter that has been superseded by `quotaUser`.
5113
+ # @param [Google::Apis::RequestOptions] options
5114
+ # Request-specific options
5115
+ #
5116
+ # @yield [result, err] Result & error if block supplied
5117
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
5118
+ # @yieldparam err [StandardError] error object if request failed
5119
+ #
5120
+ # @return [Google::Apis::ComputeAlpha::Operation]
5121
+ #
5122
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5123
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5124
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5125
+ def patch_firewall_policy_packet_mirroring_rule(firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
5126
+ command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule', options)
5127
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
5128
+ command.request_object = firewall_policy_rule_object
5129
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
5130
+ command.response_class = Google::Apis::ComputeAlpha::Operation
5131
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
5132
+ command.query['priority'] = priority unless priority.nil?
5133
+ command.query['requestId'] = request_id unless request_id.nil?
5134
+ command.query['fields'] = fields unless fields.nil?
5135
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5136
+ command.query['userIp'] = user_ip unless user_ip.nil?
5137
+ execute_or_queue_command(command, &block)
5138
+ end
5139
+
5007
5140
  # Patches a rule of the specified priority.
5008
5141
  # @param [String] firewall_policy
5009
5142
  # Name of the firewall policy to update.
@@ -5101,6 +5234,53 @@ module Google
5101
5234
  execute_or_queue_command(command, &block)
5102
5235
  end
5103
5236
 
5237
+ # Deletes a packet mirroring rule of the specified priority.
5238
+ # @param [String] firewall_policy
5239
+ # Name of the firewall policy to update.
5240
+ # @param [Fixnum] priority
5241
+ # The priority of the rule to remove from the firewall policy.
5242
+ # @param [String] request_id
5243
+ # An optional request ID to identify requests. Specify a unique request ID so
5244
+ # that if you must retry your request, the server will know to ignore the
5245
+ # request if it has already been completed. For example, consider a situation
5246
+ # where you make an initial request and the request times out. If you make the
5247
+ # request again with the same request ID, the server can check if original
5248
+ # operation with the same request ID was received, and if so, will ignore the
5249
+ # second request. This prevents clients from accidentally creating duplicate
5250
+ # commitments. The request ID must be a valid UUID with the exception that zero
5251
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
5252
+ # @param [String] fields
5253
+ # Selector specifying which fields to include in a partial response.
5254
+ # @param [String] quota_user
5255
+ # Available to use for quota purposes for server-side applications. Can be any
5256
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5257
+ # @param [String] user_ip
5258
+ # Legacy name for parameter that has been superseded by `quotaUser`.
5259
+ # @param [Google::Apis::RequestOptions] options
5260
+ # Request-specific options
5261
+ #
5262
+ # @yield [result, err] Result & error if block supplied
5263
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
5264
+ # @yieldparam err [StandardError] error object if request failed
5265
+ #
5266
+ # @return [Google::Apis::ComputeAlpha::Operation]
5267
+ #
5268
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5269
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5270
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5271
+ def remove_firewall_policy_packet_mirroring_rule(firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
5272
+ command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule', options)
5273
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
5274
+ command.response_class = Google::Apis::ComputeAlpha::Operation
5275
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
5276
+ command.query['priority'] = priority unless priority.nil?
5277
+ command.query['requestId'] = request_id unless request_id.nil?
5278
+ command.query['fields'] = fields unless fields.nil?
5279
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5280
+ command.query['userIp'] = user_ip unless user_ip.nil?
5281
+ execute_or_queue_command(command, &block)
5282
+ end
5283
+
5104
5284
  # Deletes a rule of the specified priority.
5105
5285
  # @param [String] firewall_policy
5106
5286
  # Name of the firewall policy to update.
@@ -21239,6 +21419,64 @@ module Google
21239
21419
  execute_or_queue_command(command, &block)
21240
21420
  end
21241
21421
 
21422
+ # Inserts a packet mirroring rule into a firewall policy.
21423
+ # @param [String] project
21424
+ # Project ID for this request.
21425
+ # @param [String] firewall_policy
21426
+ # Name of the firewall policy to update.
21427
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
21428
+ # @param [Fixnum] max_priority
21429
+ # When rule.priority is not specified, auto choose a unused priority between
21430
+ # minPriority and maxPriority>. This field is exclusive with rule.priority.
21431
+ # @param [Fixnum] min_priority
21432
+ # When rule.priority is not specified, auto choose a unused priority between
21433
+ # minPriority and maxPriority>. This field is exclusive with rule.priority.
21434
+ # @param [String] request_id
21435
+ # An optional request ID to identify requests. Specify a unique request ID so
21436
+ # that if you must retry your request, the server will know to ignore the
21437
+ # request if it has already been completed. For example, consider a situation
21438
+ # where you make an initial request and the request times out. If you make the
21439
+ # request again with the same request ID, the server can check if original
21440
+ # operation with the same request ID was received, and if so, will ignore the
21441
+ # second request. This prevents clients from accidentally creating duplicate
21442
+ # commitments. The request ID must be a valid UUID with the exception that zero
21443
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
21444
+ # @param [String] fields
21445
+ # Selector specifying which fields to include in a partial response.
21446
+ # @param [String] quota_user
21447
+ # Available to use for quota purposes for server-side applications. Can be any
21448
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21449
+ # @param [String] user_ip
21450
+ # Legacy name for parameter that has been superseded by `quotaUser`.
21451
+ # @param [Google::Apis::RequestOptions] options
21452
+ # Request-specific options
21453
+ #
21454
+ # @yield [result, err] Result & error if block supplied
21455
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
21456
+ # @yieldparam err [StandardError] error object if request failed
21457
+ #
21458
+ # @return [Google::Apis::ComputeAlpha::Operation]
21459
+ #
21460
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21461
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21462
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21463
+ def add_network_firewall_policy_packet_mirroring_rule(project, firewall_policy, firewall_policy_rule_object = nil, max_priority: nil, min_priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21464
+ command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule', options)
21465
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
21466
+ command.request_object = firewall_policy_rule_object
21467
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
21468
+ command.response_class = Google::Apis::ComputeAlpha::Operation
21469
+ command.params['project'] = project unless project.nil?
21470
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
21471
+ command.query['maxPriority'] = max_priority unless max_priority.nil?
21472
+ command.query['minPriority'] = min_priority unless min_priority.nil?
21473
+ command.query['requestId'] = request_id unless request_id.nil?
21474
+ command.query['fields'] = fields unless fields.nil?
21475
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21476
+ command.query['userIp'] = user_ip unless user_ip.nil?
21477
+ execute_or_queue_command(command, &block)
21478
+ end
21479
+
21242
21480
  # Inserts a rule into a firewall policy.
21243
21481
  # @param [String] project
21244
21482
  # Project ID for this request.
@@ -21509,6 +21747,45 @@ module Google
21509
21747
  execute_or_queue_command(command, &block)
21510
21748
  end
21511
21749
 
21750
+ # Gets a packet mirroring rule of the specified priority.
21751
+ # @param [String] project
21752
+ # Project ID for this request.
21753
+ # @param [String] firewall_policy
21754
+ # Name of the firewall policy to which the queried rule belongs.
21755
+ # @param [Fixnum] priority
21756
+ # The priority of the rule to get from the firewall policy.
21757
+ # @param [String] fields
21758
+ # Selector specifying which fields to include in a partial response.
21759
+ # @param [String] quota_user
21760
+ # Available to use for quota purposes for server-side applications. Can be any
21761
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21762
+ # @param [String] user_ip
21763
+ # Legacy name for parameter that has been superseded by `quotaUser`.
21764
+ # @param [Google::Apis::RequestOptions] options
21765
+ # Request-specific options
21766
+ #
21767
+ # @yield [result, err] Result & error if block supplied
21768
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyRule] parsed result object
21769
+ # @yieldparam err [StandardError] error object if request failed
21770
+ #
21771
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicyRule]
21772
+ #
21773
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21774
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21775
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21776
+ def get_network_firewall_policy_packet_mirroring_rule(project, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21777
+ command = make_simple_command(:get, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule', options)
21778
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
21779
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyRule
21780
+ command.params['project'] = project unless project.nil?
21781
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
21782
+ command.query['priority'] = priority unless priority.nil?
21783
+ command.query['fields'] = fields unless fields.nil?
21784
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21785
+ command.query['userIp'] = user_ip unless user_ip.nil?
21786
+ execute_or_queue_command(command, &block)
21787
+ end
21788
+
21512
21789
  # Gets a rule of the specified priority.
21513
21790
  # @param [String] project
21514
21791
  # Project ID for this request.
@@ -21787,6 +22064,59 @@ module Google
21787
22064
  execute_or_queue_command(command, &block)
21788
22065
  end
21789
22066
 
22067
+ # Patches a packet mirroring rule of the specified priority.
22068
+ # @param [String] project
22069
+ # Project ID for this request.
22070
+ # @param [String] firewall_policy
22071
+ # Name of the firewall policy to update.
22072
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
22073
+ # @param [Fixnum] priority
22074
+ # The priority of the rule to patch.
22075
+ # @param [String] request_id
22076
+ # An optional request ID to identify requests. Specify a unique request ID so
22077
+ # that if you must retry your request, the server will know to ignore the
22078
+ # request if it has already been completed. For example, consider a situation
22079
+ # where you make an initial request and the request times out. If you make the
22080
+ # request again with the same request ID, the server can check if original
22081
+ # operation with the same request ID was received, and if so, will ignore the
22082
+ # second request. This prevents clients from accidentally creating duplicate
22083
+ # commitments. The request ID must be a valid UUID with the exception that zero
22084
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
22085
+ # @param [String] fields
22086
+ # Selector specifying which fields to include in a partial response.
22087
+ # @param [String] quota_user
22088
+ # Available to use for quota purposes for server-side applications. Can be any
22089
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22090
+ # @param [String] user_ip
22091
+ # Legacy name for parameter that has been superseded by `quotaUser`.
22092
+ # @param [Google::Apis::RequestOptions] options
22093
+ # Request-specific options
22094
+ #
22095
+ # @yield [result, err] Result & error if block supplied
22096
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
22097
+ # @yieldparam err [StandardError] error object if request failed
22098
+ #
22099
+ # @return [Google::Apis::ComputeAlpha::Operation]
22100
+ #
22101
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22102
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22103
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22104
+ def patch_network_firewall_policy_packet_mirroring_rule(project, firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22105
+ command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule', options)
22106
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
22107
+ command.request_object = firewall_policy_rule_object
22108
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
22109
+ command.response_class = Google::Apis::ComputeAlpha::Operation
22110
+ command.params['project'] = project unless project.nil?
22111
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
22112
+ command.query['priority'] = priority unless priority.nil?
22113
+ command.query['requestId'] = request_id unless request_id.nil?
22114
+ command.query['fields'] = fields unless fields.nil?
22115
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22116
+ command.query['userIp'] = user_ip unless user_ip.nil?
22117
+ execute_or_queue_command(command, &block)
22118
+ end
22119
+
21790
22120
  # Patches a rule of the specified priority.
21791
22121
  # @param [String] project
21792
22122
  # Project ID for this request.
@@ -21890,6 +22220,56 @@ module Google
21890
22220
  execute_or_queue_command(command, &block)
21891
22221
  end
21892
22222
 
22223
+ # Deletes a packet mirroring rule of the specified priority.
22224
+ # @param [String] project
22225
+ # Project ID for this request.
22226
+ # @param [String] firewall_policy
22227
+ # Name of the firewall policy to update.
22228
+ # @param [Fixnum] priority
22229
+ # The priority of the rule to remove from the firewall policy.
22230
+ # @param [String] request_id
22231
+ # An optional request ID to identify requests. Specify a unique request ID so
22232
+ # that if you must retry your request, the server will know to ignore the
22233
+ # request if it has already been completed. For example, consider a situation
22234
+ # where you make an initial request and the request times out. If you make the
22235
+ # request again with the same request ID, the server can check if original
22236
+ # operation with the same request ID was received, and if so, will ignore the
22237
+ # second request. This prevents clients from accidentally creating duplicate
22238
+ # commitments. The request ID must be a valid UUID with the exception that zero
22239
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
22240
+ # @param [String] fields
22241
+ # Selector specifying which fields to include in a partial response.
22242
+ # @param [String] quota_user
22243
+ # Available to use for quota purposes for server-side applications. Can be any
22244
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22245
+ # @param [String] user_ip
22246
+ # Legacy name for parameter that has been superseded by `quotaUser`.
22247
+ # @param [Google::Apis::RequestOptions] options
22248
+ # Request-specific options
22249
+ #
22250
+ # @yield [result, err] Result & error if block supplied
22251
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
22252
+ # @yieldparam err [StandardError] error object if request failed
22253
+ #
22254
+ # @return [Google::Apis::ComputeAlpha::Operation]
22255
+ #
22256
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22257
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22258
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22259
+ def remove_network_firewall_policy_packet_mirroring_rule(project, firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22260
+ command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule', options)
22261
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
22262
+ command.response_class = Google::Apis::ComputeAlpha::Operation
22263
+ command.params['project'] = project unless project.nil?
22264
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
22265
+ command.query['priority'] = priority unless priority.nil?
22266
+ command.query['requestId'] = request_id unless request_id.nil?
22267
+ command.query['fields'] = fields unless fields.nil?
22268
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22269
+ command.query['userIp'] = user_ip unless user_ip.nil?
22270
+ execute_or_queue_command(command, &block)
22271
+ end
22272
+
21893
22273
  # Deletes a rule of the specified priority.
21894
22274
  # @param [String] project
21895
22275
  # Project ID for this request.
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.95.0
4
+ version: 0.97.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: 2024-03-24 00:00:00.000000000 Z
11
+ date: 2024-04-07 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.95.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.97.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: []