google-apis-compute_beta 0.104.0 → 0.106.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e422f80e68ddb933ad74464d6b661a8a9461a479e62df374bfdd2e7bc2f6abf
|
4
|
+
data.tar.gz: c1d1d00d61d2de1c01ea9ddc0006ecdc07455d7fde1fc1cbee27faa43071d7aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f05a63751217fd7d511bcd9ec9263e60d6a223e6332a51b17ac3abf724c9ed975038a999590603eea5dd66feed806ab83cd5abc64ca9c5c0e8c104dc557311b
|
7
|
+
data.tar.gz: 590fb785f9134b66fefe3bd2f7a6f4e690b6636daa7c6d9a6a192c322d56f7dc42af30d351dcdacde2534a5c172b4725033cf586a97472ae4e997a0b20b417ab
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_beta
|
2
2
|
|
3
|
+
### v0.106.0 (2024-07-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240702
|
6
|
+
|
7
|
+
### v0.105.0 (2024-06-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240618
|
10
|
+
|
3
11
|
### v0.104.0 (2024-06-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240604
|
@@ -3746,6 +3746,11 @@ module Google
|
|
3746
3746
|
# @return [String]
|
3747
3747
|
attr_accessor :session_affinity
|
3748
3748
|
|
3749
|
+
# The HTTP cookie used for stateful session affinity.
|
3750
|
+
# Corresponds to the JSON property `strongSessionAffinityCookie`
|
3751
|
+
# @return [Google::Apis::ComputeBeta::BackendServiceHttpCookie]
|
3752
|
+
attr_accessor :strong_session_affinity_cookie
|
3753
|
+
|
3749
3754
|
# Subsetting configuration for this BackendService. Currently this is applicable
|
3750
3755
|
# only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and
|
3751
3756
|
# Traffic Director.
|
@@ -3765,7 +3770,7 @@ module Google
|
|
3765
3770
|
# @return [Fixnum]
|
3766
3771
|
attr_accessor :timeout_sec
|
3767
3772
|
|
3768
|
-
#
|
3773
|
+
# [Output Only] List of resources referencing given backend service.
|
3769
3774
|
# Corresponds to the JSON property `usedBy`
|
3770
3775
|
# @return [Array<Google::Apis::ComputeBeta::BackendServiceUsedBy>]
|
3771
3776
|
attr_accessor :used_by
|
@@ -3816,6 +3821,7 @@ module Google
|
|
3816
3821
|
@service_bindings = args[:service_bindings] if args.key?(:service_bindings)
|
3817
3822
|
@service_lb_policy = args[:service_lb_policy] if args.key?(:service_lb_policy)
|
3818
3823
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
3824
|
+
@strong_session_affinity_cookie = args[:strong_session_affinity_cookie] if args.key?(:strong_session_affinity_cookie)
|
3819
3825
|
@subsetting = args[:subsetting] if args.key?(:subsetting)
|
3820
3826
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
3821
3827
|
@used_by = args[:used_by] if args.key?(:used_by)
|
@@ -4308,6 +4314,40 @@ module Google
|
|
4308
4314
|
end
|
4309
4315
|
end
|
4310
4316
|
|
4317
|
+
# The HTTP cookie used for stateful session affinity.
|
4318
|
+
class BackendServiceHttpCookie
|
4319
|
+
include Google::Apis::Core::Hashable
|
4320
|
+
|
4321
|
+
# Name of the cookie.
|
4322
|
+
# Corresponds to the JSON property `name`
|
4323
|
+
# @return [String]
|
4324
|
+
attr_accessor :name
|
4325
|
+
|
4326
|
+
# Path to set for the cookie.
|
4327
|
+
# Corresponds to the JSON property `path`
|
4328
|
+
# @return [String]
|
4329
|
+
attr_accessor :path
|
4330
|
+
|
4331
|
+
# A Duration represents a fixed-length span of time represented as a count of
|
4332
|
+
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
4333
|
+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
4334
|
+
# 000 years.
|
4335
|
+
# Corresponds to the JSON property `ttl`
|
4336
|
+
# @return [Google::Apis::ComputeBeta::Duration]
|
4337
|
+
attr_accessor :ttl
|
4338
|
+
|
4339
|
+
def initialize(**args)
|
4340
|
+
update!(**args)
|
4341
|
+
end
|
4342
|
+
|
4343
|
+
# Update properties of this object
|
4344
|
+
def update!(**args)
|
4345
|
+
@name = args[:name] if args.key?(:name)
|
4346
|
+
@path = args[:path] if args.key?(:path)
|
4347
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
4348
|
+
end
|
4349
|
+
end
|
4350
|
+
|
4311
4351
|
# Identity-Aware Proxy
|
4312
4352
|
class BackendServiceIap
|
4313
4353
|
include Google::Apis::Core::Hashable
|
@@ -4740,7 +4780,9 @@ module Google
|
|
4740
4780
|
class BackendServiceUsedBy
|
4741
4781
|
include Google::Apis::Core::Hashable
|
4742
4782
|
|
4743
|
-
#
|
4783
|
+
# [Output Only] Server-defined URL for resources referencing given
|
4784
|
+
# BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and
|
4785
|
+
# ForwardingRule.
|
4744
4786
|
# Corresponds to the JSON property `reference`
|
4745
4787
|
# @return [String]
|
4746
4788
|
attr_accessor :reference
|
@@ -9365,6 +9407,11 @@ module Google
|
|
9365
9407
|
# @return [String]
|
9366
9408
|
attr_accessor :name
|
9367
9409
|
|
9410
|
+
# A list of packet mirroring rules that belong to this policy.
|
9411
|
+
# Corresponds to the JSON property `packetMirroringRules`
|
9412
|
+
# @return [Array<Google::Apis::ComputeBeta::FirewallPolicyRule>]
|
9413
|
+
attr_accessor :packet_mirroring_rules
|
9414
|
+
|
9368
9415
|
# [Output Only] The parent of the firewall policy. This field is not applicable
|
9369
9416
|
# to network firewall policies.
|
9370
9417
|
# Corresponds to the JSON property `parent`
|
@@ -9430,6 +9477,7 @@ module Google
|
|
9430
9477
|
@id = args[:id] if args.key?(:id)
|
9431
9478
|
@kind = args[:kind] if args.key?(:kind)
|
9432
9479
|
@name = args[:name] if args.key?(:name)
|
9480
|
+
@packet_mirroring_rules = args[:packet_mirroring_rules] if args.key?(:packet_mirroring_rules)
|
9433
9481
|
@parent = args[:parent] if args.key?(:parent)
|
9434
9482
|
@region = args[:region] if args.key?(:region)
|
9435
9483
|
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
@@ -15865,10 +15913,15 @@ module Google
|
|
15865
15913
|
# @return [Array<Google::Apis::ComputeBeta::InstanceGroupManagerAutoHealingPolicy>]
|
15866
15914
|
attr_accessor :auto_healing_policies
|
15867
15915
|
|
15868
|
-
# The base instance name
|
15869
|
-
#
|
15870
|
-
#
|
15871
|
-
#
|
15916
|
+
# The base instance name is a prefix that you want to attach to the names of all
|
15917
|
+
# VMs in a MIG. The maximum character length is 58 and the name must comply with
|
15918
|
+
# RFC1035 format. When a VM is created in the group, the MIG appends a hyphen
|
15919
|
+
# and a random four-character string to the base instance name. If you want the
|
15920
|
+
# MIG to assign sequential numbers instead of a random string, then end the base
|
15921
|
+
# instance name with a hyphen followed by one or more hash symbols. The hash
|
15922
|
+
# symbols indicate the number of digits. For example, a base instance name of "
|
15923
|
+
# vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]`0,57`)|([-
|
15924
|
+
# a-z0-9]`0,52`-#`1,10`(\\[[0-9]`1,10`\\])?))
|
15872
15925
|
# Corresponds to the JSON property `baseInstanceName`
|
15873
15926
|
# @return [String]
|
15874
15927
|
attr_accessor :base_instance_name
|
@@ -18896,9 +18949,10 @@ module Google
|
|
18896
18949
|
attr_accessor :labels
|
18897
18950
|
|
18898
18951
|
# The machine type to use for instances that are created from these properties.
|
18899
|
-
# This field only
|
18900
|
-
#
|
18901
|
-
# us-central1-a/machineTypes/n2-standard-4
|
18952
|
+
# This field only accepts a machine type name, for example `n2-standard-4`. If
|
18953
|
+
# you use the machine type full or partial URL, for example `projects/my-l7ilb-
|
18954
|
+
# project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will
|
18955
|
+
# result in an `INTERNAL_ERROR`.
|
18902
18956
|
# Corresponds to the JSON property `machineType`
|
18903
18957
|
# @return [String]
|
18904
18958
|
attr_accessor :machine_type
|
@@ -19686,6 +19740,12 @@ module Google
|
|
19686
19740
|
# @return [String]
|
19687
19741
|
attr_accessor :name
|
19688
19742
|
|
19743
|
+
# [Output only] Priority of firewall policy association. Not applicable for type=
|
19744
|
+
# HIERARCHY.
|
19745
|
+
# Corresponds to the JSON property `priority`
|
19746
|
+
# @return [Fixnum]
|
19747
|
+
attr_accessor :priority
|
19748
|
+
|
19689
19749
|
# The rules that apply to the network.
|
19690
19750
|
# Corresponds to the JSON property `rules`
|
19691
19751
|
# @return [Array<Google::Apis::ComputeBeta::FirewallPolicyRule>]
|
@@ -19710,6 +19770,7 @@ module Google
|
|
19710
19770
|
def update!(**args)
|
19711
19771
|
@display_name = args[:display_name] if args.key?(:display_name)
|
19712
19772
|
@name = args[:name] if args.key?(:name)
|
19773
|
+
@priority = args[:priority] if args.key?(:priority)
|
19713
19774
|
@rules = args[:rules] if args.key?(:rules)
|
19714
19775
|
@short_name = args[:short_name] if args.key?(:short_name)
|
19715
19776
|
@type = args[:type] if args.key?(:type)
|
@@ -25951,12 +26012,6 @@ module Google
|
|
25951
26012
|
# @return [Fixnum]
|
25952
26013
|
attr_accessor :client_destination_port
|
25953
26014
|
|
25954
|
-
# Represents the port number to which PSC consumer sends packets. Only valid for
|
25955
|
-
# network endpoint groups created with CLIENT_PORT_PER_ENDPOINT mapping mode.
|
25956
|
-
# Corresponds to the JSON property `clientPort`
|
25957
|
-
# @return [Fixnum]
|
25958
|
-
attr_accessor :client_port
|
25959
|
-
|
25960
26015
|
# Optional fully qualified domain name of network endpoint. This can only be
|
25961
26016
|
# specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
|
25962
26017
|
# Corresponds to the JSON property `fqdn`
|
@@ -26007,7 +26062,6 @@ module Google
|
|
26007
26062
|
def update!(**args)
|
26008
26063
|
@annotations = args[:annotations] if args.key?(:annotations)
|
26009
26064
|
@client_destination_port = args[:client_destination_port] if args.key?(:client_destination_port)
|
26010
|
-
@client_port = args[:client_port] if args.key?(:client_port)
|
26011
26065
|
@fqdn = args[:fqdn] if args.key?(:fqdn)
|
26012
26066
|
@instance = args[:instance] if args.key?(:instance)
|
26013
26067
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
@@ -26037,11 +26091,6 @@ module Google
|
|
26037
26091
|
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupAppEngine]
|
26038
26092
|
attr_accessor :app_engine
|
26039
26093
|
|
26040
|
-
# Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional.
|
26041
|
-
# Corresponds to the JSON property `clientPortMappingMode`
|
26042
|
-
# @return [String]
|
26043
|
-
attr_accessor :client_port_mapping_mode
|
26044
|
-
|
26045
26094
|
# Configuration for a Cloud Function network endpoint group (NEG). The function
|
26046
26095
|
# must be provided explicitly or in the URL mask. Note: Cloud Function must be
|
26047
26096
|
# in the same project and located in the same region as the Serverless NEG.
|
@@ -26170,7 +26219,6 @@ module Google
|
|
26170
26219
|
def update!(**args)
|
26171
26220
|
@annotations = args[:annotations] if args.key?(:annotations)
|
26172
26221
|
@app_engine = args[:app_engine] if args.key?(:app_engine)
|
26173
|
-
@client_port_mapping_mode = args[:client_port_mapping_mode] if args.key?(:client_port_mapping_mode)
|
26174
26222
|
@cloud_function = args[:cloud_function] if args.key?(:cloud_function)
|
26175
26223
|
@cloud_run = args[:cloud_run] if args.key?(:cloud_run)
|
26176
26224
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
@@ -34586,6 +34634,12 @@ module Google
|
|
34586
34634
|
# @return [String]
|
34587
34635
|
attr_accessor :name
|
34588
34636
|
|
34637
|
+
# [Output only] Priority of firewall policy association. Not applicable for type=
|
34638
|
+
# HIERARCHY.
|
34639
|
+
# Corresponds to the JSON property `priority`
|
34640
|
+
# @return [Fixnum]
|
34641
|
+
attr_accessor :priority
|
34642
|
+
|
34589
34643
|
# The rules that apply to the network.
|
34590
34644
|
# Corresponds to the JSON property `rules`
|
34591
34645
|
# @return [Array<Google::Apis::ComputeBeta::FirewallPolicyRule>]
|
@@ -34605,6 +34659,7 @@ module Google
|
|
34605
34659
|
def update!(**args)
|
34606
34660
|
@display_name = args[:display_name] if args.key?(:display_name)
|
34607
34661
|
@name = args[:name] if args.key?(:name)
|
34662
|
+
@priority = args[:priority] if args.key?(:priority)
|
34608
34663
|
@rules = args[:rules] if args.key?(:rules)
|
34609
34664
|
@type = args[:type] if args.key?(:type)
|
34610
34665
|
end
|
@@ -36299,6 +36354,13 @@ module Google
|
|
36299
36354
|
class ResourceStatusScheduling
|
36300
36355
|
include Google::Apis::Core::Hashable
|
36301
36356
|
|
36357
|
+
# Specifies the availability domain to place the instance in. The value must be
|
36358
|
+
# a number between 1 and the number of availability domains specified in the
|
36359
|
+
# spread placement policy attached to the instance.
|
36360
|
+
# Corresponds to the JSON property `availabilityDomain`
|
36361
|
+
# @return [Fixnum]
|
36362
|
+
attr_accessor :availability_domain
|
36363
|
+
|
36302
36364
|
# Time in future when the instance will be terminated in RFC3339 text format.
|
36303
36365
|
# Corresponds to the JSON property `terminationTimestamp`
|
36304
36366
|
# @return [String]
|
@@ -36310,6 +36372,7 @@ module Google
|
|
36310
36372
|
|
36311
36373
|
# Update properties of this object
|
36312
36374
|
def update!(**args)
|
36375
|
+
@availability_domain = args[:availability_domain] if args.key?(:availability_domain)
|
36313
36376
|
@termination_timestamp = args[:termination_timestamp] if args.key?(:termination_timestamp)
|
36314
36377
|
end
|
36315
36378
|
end
|
@@ -36414,9 +36477,14 @@ module Google
|
|
36414
36477
|
|
36415
36478
|
# The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should
|
36416
36479
|
# handle matching packets or the IP address of the forwarding Rule. For example,
|
36417
|
-
# the following are all valid URLs: -
|
36418
|
-
#
|
36419
|
-
#
|
36480
|
+
# the following are all valid URLs: - https://www.googleapis.com/compute/v1/
|
36481
|
+
# projects/project/regions/region /forwardingRules/forwardingRule - regions/
|
36482
|
+
# region/forwardingRules/forwardingRule If an IP address is provided, must
|
36483
|
+
# specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291
|
36484
|
+
# format. For example, the following are all valid IP addresses: - 10.128.0.56 -
|
36485
|
+
# 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be
|
36486
|
+
# displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should
|
36487
|
+
# never be an IPv4-mapped IPv6 address.
|
36420
36488
|
# Corresponds to the JSON property `nextHopIlb`
|
36421
36489
|
# @return [String]
|
36422
36490
|
attr_accessor :next_hop_ilb
|
@@ -37913,11 +37981,11 @@ module Google
|
|
37913
37981
|
# CEL expression that specifies the match condition that egress traffic from a
|
37914
37982
|
# VM is evaluated against. If it evaluates to true, the corresponding `action`
|
37915
37983
|
# is enforced. The following examples are valid match expressions for public NAT:
|
37916
|
-
#
|
37917
|
-
# 0/16')
|
37918
|
-
# following example is a valid match expression for private NAT:
|
37984
|
+
# `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.
|
37985
|
+
# 0/16')` `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'` The
|
37986
|
+
# following example is a valid match expression for private NAT: `nexthop.hub ==
|
37919
37987
|
# '//networkconnectivity.googleapis.com/projects/my-project/locations/global/
|
37920
|
-
# hubs/hub-1'
|
37988
|
+
# hubs/hub-1'`
|
37921
37989
|
# Corresponds to the JSON property `match`
|
37922
37990
|
# @return [String]
|
37923
37991
|
attr_accessor :match
|
@@ -38028,12 +38096,19 @@ module Google
|
|
38028
38096
|
class RouterStatus
|
38029
38097
|
include Google::Apis::Core::Hashable
|
38030
38098
|
|
38031
|
-
#
|
38099
|
+
# A list of the best dynamic routes for this Cloud Router's Virtual Private
|
38100
|
+
# Cloud (VPC) network in the same region as this Cloud Router. Lists all of the
|
38101
|
+
# best routes per prefix that are programmed into this region's VPC data plane.
|
38102
|
+
# When global dynamic routing mode is turned on in the VPC network, this list
|
38103
|
+
# can include cross-region dynamic routes from Cloud Routers in other regions.
|
38032
38104
|
# Corresponds to the JSON property `bestRoutes`
|
38033
38105
|
# @return [Array<Google::Apis::ComputeBeta::Route>]
|
38034
38106
|
attr_accessor :best_routes
|
38035
38107
|
|
38036
|
-
#
|
38108
|
+
# A list of the best BGP routes learned by this Cloud Router. It is possible
|
38109
|
+
# that routes listed might not be programmed into the data plane, if the Google
|
38110
|
+
# Cloud control plane finds a more optimal route for a prefix than a route
|
38111
|
+
# learned by this Cloud Router.
|
38037
38112
|
# Corresponds to the JSON property `bestRoutesForRouter`
|
38038
38113
|
# @return [Array<Google::Apis::ComputeBeta::Route>]
|
38039
38114
|
attr_accessor :best_routes_for_router
|
@@ -39092,6 +39167,13 @@ module Google
|
|
39092
39167
|
attr_accessor :automatic_restart
|
39093
39168
|
alias_method :automatic_restart?, :automatic_restart
|
39094
39169
|
|
39170
|
+
# Specifies the availability domain to place the instance in. The value must be
|
39171
|
+
# a number between 1 and the number of availability domains specified in the
|
39172
|
+
# spread placement policy attached to the instance.
|
39173
|
+
# Corresponds to the JSON property `availabilityDomain`
|
39174
|
+
# @return [Fixnum]
|
39175
|
+
attr_accessor :availability_domain
|
39176
|
+
|
39095
39177
|
# Specify the time in seconds for host error detection, the value must be within
|
39096
39178
|
# the range of [90, 330] with the increment of 30, if unset, the default
|
39097
39179
|
# behavior of host error recovery will be used.
|
@@ -39191,6 +39273,7 @@ module Google
|
|
39191
39273
|
# Update properties of this object
|
39192
39274
|
def update!(**args)
|
39193
39275
|
@automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
|
39276
|
+
@availability_domain = args[:availability_domain] if args.key?(:availability_domain)
|
39194
39277
|
@host_error_timeout_seconds = args[:host_error_timeout_seconds] if args.key?(:host_error_timeout_seconds)
|
39195
39278
|
@instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
|
39196
39279
|
@local_ssd_recovery_timeout = args[:local_ssd_recovery_timeout] if args.key?(:local_ssd_recovery_timeout)
|
@@ -44191,7 +44274,8 @@ module Google
|
|
44191
44274
|
# @return [String]
|
44192
44275
|
attr_accessor :performance_provisioning_type
|
44193
44276
|
|
44194
|
-
# Size, in GiB, of the storage pool.
|
44277
|
+
# Size, in GiB, of the storage pool. For more information about the size limits,
|
44278
|
+
# see https://cloud.google.com/compute/docs/disks/storage-pools.
|
44195
44279
|
# Corresponds to the JSON property `poolProvisionedCapacityGb`
|
44196
44280
|
# @return [Fixnum]
|
44197
44281
|
attr_accessor :pool_provisioned_capacity_gb
|
@@ -44773,8 +44857,9 @@ module Google
|
|
44773
44857
|
# @return [Fixnum]
|
44774
44858
|
attr_accessor :pool_used_capacity_bytes
|
44775
44859
|
|
44776
|
-
# Sum of all the disks' provisioned IOPS, minus some amount that
|
44777
|
-
# disk that is not counted towards pool's IOPS capacity.
|
44860
|
+
# [Output Only] Sum of all the disks' provisioned IOPS, minus some amount that
|
44861
|
+
# is allowed per disk that is not counted towards pool's IOPS capacity. For more
|
44862
|
+
# information, see https://cloud.google.com/compute/docs/disks/storage-pools.
|
44778
44863
|
# Corresponds to the JSON property `poolUsedIops`
|
44779
44864
|
# @return [Fixnum]
|
44780
44865
|
attr_accessor :pool_used_iops
|
@@ -51366,8 +51451,9 @@ module Google
|
|
51366
51451
|
attr_accessor :self_link
|
51367
51452
|
|
51368
51453
|
# The stack type for this VPN gateway to identify the IP protocols that are
|
51369
|
-
# enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not
|
51370
|
-
# IPV4_ONLY
|
51454
|
+
# enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not
|
51455
|
+
# specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6
|
51456
|
+
# if the gateway IP version is IPV6.
|
51371
51457
|
# Corresponds to the JSON property `stackType`
|
51372
51458
|
# @return [String]
|
51373
51459
|
attr_accessor :stack_type
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.106.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240702"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -466,6 +466,12 @@ module Google
|
|
466
466
|
include Google::Apis::Core::JsonObjectSupport
|
467
467
|
end
|
468
468
|
|
469
|
+
class BackendServiceHttpCookie
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
469
475
|
class BackendServiceIap
|
470
476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
477
|
|
@@ -7775,6 +7781,8 @@ module Google
|
|
7775
7781
|
collection :service_bindings, as: 'serviceBindings'
|
7776
7782
|
property :service_lb_policy, as: 'serviceLbPolicy'
|
7777
7783
|
property :session_affinity, as: 'sessionAffinity'
|
7784
|
+
property :strong_session_affinity_cookie, as: 'strongSessionAffinityCookie', class: Google::Apis::ComputeBeta::BackendServiceHttpCookie, decorator: Google::Apis::ComputeBeta::BackendServiceHttpCookie::Representation
|
7785
|
+
|
7778
7786
|
property :subsetting, as: 'subsetting', class: Google::Apis::ComputeBeta::Subsetting, decorator: Google::Apis::ComputeBeta::Subsetting::Representation
|
7779
7787
|
|
7780
7788
|
property :timeout_sec, as: 'timeoutSec'
|
@@ -7881,6 +7889,16 @@ module Google
|
|
7881
7889
|
end
|
7882
7890
|
end
|
7883
7891
|
|
7892
|
+
class BackendServiceHttpCookie
|
7893
|
+
# @private
|
7894
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7895
|
+
property :name, as: 'name'
|
7896
|
+
property :path, as: 'path'
|
7897
|
+
property :ttl, as: 'ttl', class: Google::Apis::ComputeBeta::Duration, decorator: Google::Apis::ComputeBeta::Duration::Representation
|
7898
|
+
|
7899
|
+
end
|
7900
|
+
end
|
7901
|
+
|
7884
7902
|
class BackendServiceIap
|
7885
7903
|
# @private
|
7886
7904
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9077,6 +9095,8 @@ module Google
|
|
9077
9095
|
property :id, :numeric_string => true, as: 'id'
|
9078
9096
|
property :kind, as: 'kind'
|
9079
9097
|
property :name, as: 'name'
|
9098
|
+
collection :packet_mirroring_rules, as: 'packetMirroringRules', class: Google::Apis::ComputeBeta::FirewallPolicyRule, decorator: Google::Apis::ComputeBeta::FirewallPolicyRule::Representation
|
9099
|
+
|
9080
9100
|
property :parent, as: 'parent'
|
9081
9101
|
property :region, as: 'region'
|
9082
9102
|
property :rule_tuple_count, as: 'ruleTupleCount'
|
@@ -11579,6 +11599,7 @@ module Google
|
|
11579
11599
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11580
11600
|
property :display_name, as: 'displayName'
|
11581
11601
|
property :name, as: 'name'
|
11602
|
+
property :priority, as: 'priority'
|
11582
11603
|
collection :rules, as: 'rules', class: Google::Apis::ComputeBeta::FirewallPolicyRule, decorator: Google::Apis::ComputeBeta::FirewallPolicyRule::Representation
|
11583
11604
|
|
11584
11605
|
property :short_name, as: 'shortName'
|
@@ -13147,7 +13168,6 @@ module Google
|
|
13147
13168
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13148
13169
|
hash :annotations, as: 'annotations'
|
13149
13170
|
property :client_destination_port, as: 'clientDestinationPort'
|
13150
|
-
property :client_port, as: 'clientPort'
|
13151
13171
|
property :fqdn, as: 'fqdn'
|
13152
13172
|
property :instance, as: 'instance'
|
13153
13173
|
property :ip_address, as: 'ipAddress'
|
@@ -13162,7 +13182,6 @@ module Google
|
|
13162
13182
|
hash :annotations, as: 'annotations'
|
13163
13183
|
property :app_engine, as: 'appEngine', class: Google::Apis::ComputeBeta::NetworkEndpointGroupAppEngine, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupAppEngine::Representation
|
13164
13184
|
|
13165
|
-
property :client_port_mapping_mode, as: 'clientPortMappingMode'
|
13166
13185
|
property :cloud_function, as: 'cloudFunction', class: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudFunction, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudFunction::Representation
|
13167
13186
|
|
13168
13187
|
property :cloud_run, as: 'cloudRun', class: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudRun, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudRun::Representation
|
@@ -15395,6 +15414,7 @@ module Google
|
|
15395
15414
|
class Representation < Google::Apis::Core::JsonRepresentation
|
15396
15415
|
property :display_name, as: 'displayName'
|
15397
15416
|
property :name, as: 'name'
|
15417
|
+
property :priority, as: 'priority'
|
15398
15418
|
collection :rules, as: 'rules', class: Google::Apis::ComputeBeta::FirewallPolicyRule, decorator: Google::Apis::ComputeBeta::FirewallPolicyRule::Representation
|
15399
15419
|
|
15400
15420
|
property :type, as: 'type'
|
@@ -15860,6 +15880,7 @@ module Google
|
|
15860
15880
|
class ResourceStatusScheduling
|
15861
15881
|
# @private
|
15862
15882
|
class Representation < Google::Apis::Core::JsonRepresentation
|
15883
|
+
property :availability_domain, as: 'availabilityDomain'
|
15863
15884
|
property :termination_timestamp, as: 'terminationTimestamp'
|
15864
15885
|
end
|
15865
15886
|
end
|
@@ -16500,6 +16521,7 @@ module Google
|
|
16500
16521
|
# @private
|
16501
16522
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16502
16523
|
property :automatic_restart, as: 'automaticRestart'
|
16524
|
+
property :availability_domain, as: 'availabilityDomain'
|
16503
16525
|
property :host_error_timeout_seconds, as: 'hostErrorTimeoutSeconds'
|
16504
16526
|
property :instance_termination_action, as: 'instanceTerminationAction'
|
16505
16527
|
property :local_ssd_recovery_timeout, as: 'localSsdRecoveryTimeout', class: Google::Apis::ComputeBeta::Duration, decorator: Google::Apis::ComputeBeta::Duration::Representation
|
@@ -4362,6 +4362,53 @@ module Google
|
|
4362
4362
|
execute_or_queue_command(command, &block)
|
4363
4363
|
end
|
4364
4364
|
|
4365
|
+
# Inserts a packet mirroring rule into a firewall policy.
|
4366
|
+
# @param [String] firewall_policy
|
4367
|
+
# Name of the firewall policy to update.
|
4368
|
+
# @param [Google::Apis::ComputeBeta::FirewallPolicyRule] firewall_policy_rule_object
|
4369
|
+
# @param [String] request_id
|
4370
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
4371
|
+
# that if you must retry your request, the server will know to ignore the
|
4372
|
+
# request if it has already been completed. For example, consider a situation
|
4373
|
+
# where you make an initial request and the request times out. If you make the
|
4374
|
+
# request again with the same request ID, the server can check if original
|
4375
|
+
# operation with the same request ID was received, and if so, will ignore the
|
4376
|
+
# second request. This prevents clients from accidentally creating duplicate
|
4377
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
4378
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
4379
|
+
# @param [String] fields
|
4380
|
+
# Selector specifying which fields to include in a partial response.
|
4381
|
+
# @param [String] quota_user
|
4382
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4383
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4384
|
+
# @param [String] user_ip
|
4385
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
4386
|
+
# @param [Google::Apis::RequestOptions] options
|
4387
|
+
# Request-specific options
|
4388
|
+
#
|
4389
|
+
# @yield [result, err] Result & error if block supplied
|
4390
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
4391
|
+
# @yieldparam err [StandardError] error object if request failed
|
4392
|
+
#
|
4393
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
4394
|
+
#
|
4395
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4396
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4397
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4398
|
+
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)
|
4399
|
+
command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule', options)
|
4400
|
+
command.request_representation = Google::Apis::ComputeBeta::FirewallPolicyRule::Representation
|
4401
|
+
command.request_object = firewall_policy_rule_object
|
4402
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
4403
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
4404
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
4405
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
4406
|
+
command.query['fields'] = fields unless fields.nil?
|
4407
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4408
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
4409
|
+
execute_or_queue_command(command, &block)
|
4410
|
+
end
|
4411
|
+
|
4365
4412
|
# Inserts a rule into a firewall policy.
|
4366
4413
|
# @param [String] firewall_policy
|
4367
4414
|
# Name of the firewall policy to update.
|
@@ -4606,6 +4653,42 @@ module Google
|
|
4606
4653
|
execute_or_queue_command(command, &block)
|
4607
4654
|
end
|
4608
4655
|
|
4656
|
+
# Gets a packet mirroring rule of the specified priority.
|
4657
|
+
# @param [String] firewall_policy
|
4658
|
+
# Name of the firewall policy to which the queried rule belongs.
|
4659
|
+
# @param [Fixnum] priority
|
4660
|
+
# The priority of the rule to get from the firewall policy.
|
4661
|
+
# @param [String] fields
|
4662
|
+
# Selector specifying which fields to include in a partial response.
|
4663
|
+
# @param [String] quota_user
|
4664
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4665
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4666
|
+
# @param [String] user_ip
|
4667
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
4668
|
+
# @param [Google::Apis::RequestOptions] options
|
4669
|
+
# Request-specific options
|
4670
|
+
#
|
4671
|
+
# @yield [result, err] Result & error if block supplied
|
4672
|
+
# @yieldparam result [Google::Apis::ComputeBeta::FirewallPolicyRule] parsed result object
|
4673
|
+
# @yieldparam err [StandardError] error object if request failed
|
4674
|
+
#
|
4675
|
+
# @return [Google::Apis::ComputeBeta::FirewallPolicyRule]
|
4676
|
+
#
|
4677
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4678
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4679
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4680
|
+
def get_firewall_policy_packet_mirroring_rule(firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4681
|
+
command = make_simple_command(:get, 'locations/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule', options)
|
4682
|
+
command.response_representation = Google::Apis::ComputeBeta::FirewallPolicyRule::Representation
|
4683
|
+
command.response_class = Google::Apis::ComputeBeta::FirewallPolicyRule
|
4684
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
4685
|
+
command.query['priority'] = priority unless priority.nil?
|
4686
|
+
command.query['fields'] = fields unless fields.nil?
|
4687
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4688
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
4689
|
+
execute_or_queue_command(command, &block)
|
4690
|
+
end
|
4691
|
+
|
4609
4692
|
# Gets a rule of the specified priority.
|
4610
4693
|
# @param [String] firewall_policy
|
4611
4694
|
# Name of the firewall policy to which the queried rule belongs.
|
@@ -4915,6 +4998,56 @@ module Google
|
|
4915
4998
|
execute_or_queue_command(command, &block)
|
4916
4999
|
end
|
4917
5000
|
|
5001
|
+
# Patches a packet mirroring rule of the specified priority.
|
5002
|
+
# @param [String] firewall_policy
|
5003
|
+
# Name of the firewall policy to update.
|
5004
|
+
# @param [Google::Apis::ComputeBeta::FirewallPolicyRule] firewall_policy_rule_object
|
5005
|
+
# @param [Fixnum] priority
|
5006
|
+
# The priority of the rule to patch.
|
5007
|
+
# @param [String] request_id
|
5008
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
5009
|
+
# that if you must retry your request, the server will know to ignore the
|
5010
|
+
# request if it has already been completed. For example, consider a situation
|
5011
|
+
# where you make an initial request and the request times out. If you make the
|
5012
|
+
# request again with the same request ID, the server can check if original
|
5013
|
+
# operation with the same request ID was received, and if so, will ignore the
|
5014
|
+
# second request. This prevents clients from accidentally creating duplicate
|
5015
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
5016
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
5017
|
+
# @param [String] fields
|
5018
|
+
# Selector specifying which fields to include in a partial response.
|
5019
|
+
# @param [String] quota_user
|
5020
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5021
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5022
|
+
# @param [String] user_ip
|
5023
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
5024
|
+
# @param [Google::Apis::RequestOptions] options
|
5025
|
+
# Request-specific options
|
5026
|
+
#
|
5027
|
+
# @yield [result, err] Result & error if block supplied
|
5028
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
5029
|
+
# @yieldparam err [StandardError] error object if request failed
|
5030
|
+
#
|
5031
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
5032
|
+
#
|
5033
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5034
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5035
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5036
|
+
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)
|
5037
|
+
command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule', options)
|
5038
|
+
command.request_representation = Google::Apis::ComputeBeta::FirewallPolicyRule::Representation
|
5039
|
+
command.request_object = firewall_policy_rule_object
|
5040
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
5041
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
5042
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
5043
|
+
command.query['priority'] = priority unless priority.nil?
|
5044
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
5045
|
+
command.query['fields'] = fields unless fields.nil?
|
5046
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5047
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
5048
|
+
execute_or_queue_command(command, &block)
|
5049
|
+
end
|
5050
|
+
|
4918
5051
|
# Patches a rule of the specified priority.
|
4919
5052
|
# @param [String] firewall_policy
|
4920
5053
|
# Name of the firewall policy to update.
|
@@ -5012,6 +5145,53 @@ module Google
|
|
5012
5145
|
execute_or_queue_command(command, &block)
|
5013
5146
|
end
|
5014
5147
|
|
5148
|
+
# Deletes a packet mirroring rule of the specified priority.
|
5149
|
+
# @param [String] firewall_policy
|
5150
|
+
# Name of the firewall policy to update.
|
5151
|
+
# @param [Fixnum] priority
|
5152
|
+
# The priority of the rule to remove from the firewall policy.
|
5153
|
+
# @param [String] request_id
|
5154
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
5155
|
+
# that if you must retry your request, the server will know to ignore the
|
5156
|
+
# request if it has already been completed. For example, consider a situation
|
5157
|
+
# where you make an initial request and the request times out. If you make the
|
5158
|
+
# request again with the same request ID, the server can check if original
|
5159
|
+
# operation with the same request ID was received, and if so, will ignore the
|
5160
|
+
# second request. This prevents clients from accidentally creating duplicate
|
5161
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
5162
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
5163
|
+
# @param [String] fields
|
5164
|
+
# Selector specifying which fields to include in a partial response.
|
5165
|
+
# @param [String] quota_user
|
5166
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5167
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5168
|
+
# @param [String] user_ip
|
5169
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
5170
|
+
# @param [Google::Apis::RequestOptions] options
|
5171
|
+
# Request-specific options
|
5172
|
+
#
|
5173
|
+
# @yield [result, err] Result & error if block supplied
|
5174
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
5175
|
+
# @yieldparam err [StandardError] error object if request failed
|
5176
|
+
#
|
5177
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
5178
|
+
#
|
5179
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5180
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5181
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5182
|
+
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)
|
5183
|
+
command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule', options)
|
5184
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
5185
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
5186
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
5187
|
+
command.query['priority'] = priority unless priority.nil?
|
5188
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
5189
|
+
command.query['fields'] = fields unless fields.nil?
|
5190
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5191
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
5192
|
+
execute_or_queue_command(command, &block)
|
5193
|
+
end
|
5194
|
+
|
5015
5195
|
# Deletes a rule of the specified priority.
|
5016
5196
|
# @param [String] firewall_policy
|
5017
5197
|
# Name of the firewall policy to update.
|
@@ -20658,6 +20838,64 @@ module Google
|
|
20658
20838
|
execute_or_queue_command(command, &block)
|
20659
20839
|
end
|
20660
20840
|
|
20841
|
+
# Inserts a packet mirroring rule into a firewall policy.
|
20842
|
+
# @param [String] project
|
20843
|
+
# Project ID for this request.
|
20844
|
+
# @param [String] firewall_policy
|
20845
|
+
# Name of the firewall policy to update.
|
20846
|
+
# @param [Google::Apis::ComputeBeta::FirewallPolicyRule] firewall_policy_rule_object
|
20847
|
+
# @param [Fixnum] max_priority
|
20848
|
+
# When rule.priority is not specified, auto choose a unused priority between
|
20849
|
+
# minPriority and maxPriority>. This field is exclusive with rule.priority.
|
20850
|
+
# @param [Fixnum] min_priority
|
20851
|
+
# When rule.priority is not specified, auto choose a unused priority between
|
20852
|
+
# minPriority and maxPriority>. This field is exclusive with rule.priority.
|
20853
|
+
# @param [String] request_id
|
20854
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
20855
|
+
# that if you must retry your request, the server will know to ignore the
|
20856
|
+
# request if it has already been completed. For example, consider a situation
|
20857
|
+
# where you make an initial request and the request times out. If you make the
|
20858
|
+
# request again with the same request ID, the server can check if original
|
20859
|
+
# operation with the same request ID was received, and if so, will ignore the
|
20860
|
+
# second request. This prevents clients from accidentally creating duplicate
|
20861
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
20862
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
20863
|
+
# @param [String] fields
|
20864
|
+
# Selector specifying which fields to include in a partial response.
|
20865
|
+
# @param [String] quota_user
|
20866
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
20867
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
20868
|
+
# @param [String] user_ip
|
20869
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
20870
|
+
# @param [Google::Apis::RequestOptions] options
|
20871
|
+
# Request-specific options
|
20872
|
+
#
|
20873
|
+
# @yield [result, err] Result & error if block supplied
|
20874
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
20875
|
+
# @yieldparam err [StandardError] error object if request failed
|
20876
|
+
#
|
20877
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
20878
|
+
#
|
20879
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
20880
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
20881
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
20882
|
+
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)
|
20883
|
+
command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule', options)
|
20884
|
+
command.request_representation = Google::Apis::ComputeBeta::FirewallPolicyRule::Representation
|
20885
|
+
command.request_object = firewall_policy_rule_object
|
20886
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
20887
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
20888
|
+
command.params['project'] = project unless project.nil?
|
20889
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
20890
|
+
command.query['maxPriority'] = max_priority unless max_priority.nil?
|
20891
|
+
command.query['minPriority'] = min_priority unless min_priority.nil?
|
20892
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
20893
|
+
command.query['fields'] = fields unless fields.nil?
|
20894
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
20895
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
20896
|
+
execute_or_queue_command(command, &block)
|
20897
|
+
end
|
20898
|
+
|
20661
20899
|
# Inserts a rule into a firewall policy.
|
20662
20900
|
# @param [String] project
|
20663
20901
|
# Project ID for this request.
|
@@ -20928,6 +21166,45 @@ module Google
|
|
20928
21166
|
execute_or_queue_command(command, &block)
|
20929
21167
|
end
|
20930
21168
|
|
21169
|
+
# Gets a packet mirroring rule of the specified priority.
|
21170
|
+
# @param [String] project
|
21171
|
+
# Project ID for this request.
|
21172
|
+
# @param [String] firewall_policy
|
21173
|
+
# Name of the firewall policy to which the queried rule belongs.
|
21174
|
+
# @param [Fixnum] priority
|
21175
|
+
# The priority of the rule to get from the firewall policy.
|
21176
|
+
# @param [String] fields
|
21177
|
+
# Selector specifying which fields to include in a partial response.
|
21178
|
+
# @param [String] quota_user
|
21179
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
21180
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
21181
|
+
# @param [String] user_ip
|
21182
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
21183
|
+
# @param [Google::Apis::RequestOptions] options
|
21184
|
+
# Request-specific options
|
21185
|
+
#
|
21186
|
+
# @yield [result, err] Result & error if block supplied
|
21187
|
+
# @yieldparam result [Google::Apis::ComputeBeta::FirewallPolicyRule] parsed result object
|
21188
|
+
# @yieldparam err [StandardError] error object if request failed
|
21189
|
+
#
|
21190
|
+
# @return [Google::Apis::ComputeBeta::FirewallPolicyRule]
|
21191
|
+
#
|
21192
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
21193
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
21194
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
21195
|
+
def get_network_firewall_policy_packet_mirroring_rule(project, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
21196
|
+
command = make_simple_command(:get, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule', options)
|
21197
|
+
command.response_representation = Google::Apis::ComputeBeta::FirewallPolicyRule::Representation
|
21198
|
+
command.response_class = Google::Apis::ComputeBeta::FirewallPolicyRule
|
21199
|
+
command.params['project'] = project unless project.nil?
|
21200
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
21201
|
+
command.query['priority'] = priority unless priority.nil?
|
21202
|
+
command.query['fields'] = fields unless fields.nil?
|
21203
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
21204
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
21205
|
+
execute_or_queue_command(command, &block)
|
21206
|
+
end
|
21207
|
+
|
20931
21208
|
# Gets a rule of the specified priority.
|
20932
21209
|
# @param [String] project
|
20933
21210
|
# Project ID for this request.
|
@@ -21156,6 +21433,59 @@ module Google
|
|
21156
21433
|
execute_or_queue_command(command, &block)
|
21157
21434
|
end
|
21158
21435
|
|
21436
|
+
# Patches a packet mirroring rule of the specified priority.
|
21437
|
+
# @param [String] project
|
21438
|
+
# Project ID for this request.
|
21439
|
+
# @param [String] firewall_policy
|
21440
|
+
# Name of the firewall policy to update.
|
21441
|
+
# @param [Google::Apis::ComputeBeta::FirewallPolicyRule] firewall_policy_rule_object
|
21442
|
+
# @param [Fixnum] priority
|
21443
|
+
# The priority of the rule to patch.
|
21444
|
+
# @param [String] request_id
|
21445
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
21446
|
+
# that if you must retry your request, the server will know to ignore the
|
21447
|
+
# request if it has already been completed. For example, consider a situation
|
21448
|
+
# where you make an initial request and the request times out. If you make the
|
21449
|
+
# request again with the same request ID, the server can check if original
|
21450
|
+
# operation with the same request ID was received, and if so, will ignore the
|
21451
|
+
# second request. This prevents clients from accidentally creating duplicate
|
21452
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
21453
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
21454
|
+
# @param [String] fields
|
21455
|
+
# Selector specifying which fields to include in a partial response.
|
21456
|
+
# @param [String] quota_user
|
21457
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
21458
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
21459
|
+
# @param [String] user_ip
|
21460
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
21461
|
+
# @param [Google::Apis::RequestOptions] options
|
21462
|
+
# Request-specific options
|
21463
|
+
#
|
21464
|
+
# @yield [result, err] Result & error if block supplied
|
21465
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
21466
|
+
# @yieldparam err [StandardError] error object if request failed
|
21467
|
+
#
|
21468
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
21469
|
+
#
|
21470
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
21471
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
21472
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
21473
|
+
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)
|
21474
|
+
command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule', options)
|
21475
|
+
command.request_representation = Google::Apis::ComputeBeta::FirewallPolicyRule::Representation
|
21476
|
+
command.request_object = firewall_policy_rule_object
|
21477
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
21478
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
21479
|
+
command.params['project'] = project unless project.nil?
|
21480
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
21481
|
+
command.query['priority'] = priority unless priority.nil?
|
21482
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
21483
|
+
command.query['fields'] = fields unless fields.nil?
|
21484
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
21485
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
21486
|
+
execute_or_queue_command(command, &block)
|
21487
|
+
end
|
21488
|
+
|
21159
21489
|
# Patches a rule of the specified priority.
|
21160
21490
|
# @param [String] project
|
21161
21491
|
# Project ID for this request.
|
@@ -21259,6 +21589,56 @@ module Google
|
|
21259
21589
|
execute_or_queue_command(command, &block)
|
21260
21590
|
end
|
21261
21591
|
|
21592
|
+
# Deletes a packet mirroring rule of the specified priority.
|
21593
|
+
# @param [String] project
|
21594
|
+
# Project ID for this request.
|
21595
|
+
# @param [String] firewall_policy
|
21596
|
+
# Name of the firewall policy to update.
|
21597
|
+
# @param [Fixnum] priority
|
21598
|
+
# The priority of the rule to remove from the firewall policy.
|
21599
|
+
# @param [String] request_id
|
21600
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
21601
|
+
# that if you must retry your request, the server will know to ignore the
|
21602
|
+
# request if it has already been completed. For example, consider a situation
|
21603
|
+
# where you make an initial request and the request times out. If you make the
|
21604
|
+
# request again with the same request ID, the server can check if original
|
21605
|
+
# operation with the same request ID was received, and if so, will ignore the
|
21606
|
+
# second request. This prevents clients from accidentally creating duplicate
|
21607
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
21608
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
21609
|
+
# @param [String] fields
|
21610
|
+
# Selector specifying which fields to include in a partial response.
|
21611
|
+
# @param [String] quota_user
|
21612
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
21613
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
21614
|
+
# @param [String] user_ip
|
21615
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
21616
|
+
# @param [Google::Apis::RequestOptions] options
|
21617
|
+
# Request-specific options
|
21618
|
+
#
|
21619
|
+
# @yield [result, err] Result & error if block supplied
|
21620
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
21621
|
+
# @yieldparam err [StandardError] error object if request failed
|
21622
|
+
#
|
21623
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
21624
|
+
#
|
21625
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
21626
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
21627
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
21628
|
+
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)
|
21629
|
+
command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule', options)
|
21630
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
21631
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
21632
|
+
command.params['project'] = project unless project.nil?
|
21633
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
21634
|
+
command.query['priority'] = priority unless priority.nil?
|
21635
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
21636
|
+
command.query['fields'] = fields unless fields.nil?
|
21637
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
21638
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
21639
|
+
execute_or_queue_command(command, &block)
|
21640
|
+
end
|
21641
|
+
|
21262
21642
|
# Deletes a rule of the specified priority.
|
21263
21643
|
# @param [String] project
|
21264
21644
|
# Project ID for this request.
|
@@ -37016,7 +37396,13 @@ module Google
|
|
37016
37396
|
# information (the `quotas` field). To exclude one or more fields, set your
|
37017
37397
|
# request's `fields` query parameter to only include the fields you need. For
|
37018
37398
|
# example, to only include the `id` and `selfLink` fields, add the query
|
37019
|
-
# parameter `?fields=id,selfLink` to your request.
|
37399
|
+
# parameter `?fields=id,selfLink` to your request. This method fails if the
|
37400
|
+
# quota information is unavailable for the region and if the organization policy
|
37401
|
+
# constraint compute.requireBasicQuotaInResponse is enforced. This constraint,
|
37402
|
+
# when enforced, disables the fail-open behaviour when quota information (the `
|
37403
|
+
# items.quotas` field) is unavailable for the region. It is recommended to use
|
37404
|
+
# the default setting for the constraint unless your application requires the
|
37405
|
+
# fail-closed behaviour for this method.
|
37020
37406
|
# @param [String] project
|
37021
37407
|
# Project ID for this request.
|
37022
37408
|
# @param [String] region
|
@@ -43002,7 +43388,8 @@ module Google
|
|
43002
43388
|
|
43003
43389
|
# Updates the specified storagePool with the data included in the request. The
|
43004
43390
|
# update is performed only on selected fields included as part of update-mask.
|
43005
|
-
# Only the following fields can be modified:
|
43391
|
+
# Only the following fields can be modified: pool_provisioned_capacity_gb,
|
43392
|
+
# pool_provisioned_iops and pool_provisioned_throughput.
|
43006
43393
|
# @param [String] project
|
43007
43394
|
# Project ID for this request.
|
43008
43395
|
# @param [String] zone
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.106.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-
|
11
|
+
date: 2024-07-25 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.106.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: []
|