google-apis-compute_beta 0.64.0 → 0.66.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee7b8ce2a57a1bf517fc655e3ccc8118aa3a42cb307cb3996644c9c1a0e56d96
|
4
|
+
data.tar.gz: f1f8f9371f79a9bafe81124a607af5213e0e2b99ef554cfe2e2abef16a868bc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d0c767438cdb360cb599a31136d5062ede41bd2844760b711befb2877445a9e50aad0be3ea9bec975803b3bb99fb90c3b2fe89b3c7814180e2960f3ca108ecd
|
7
|
+
data.tar.gz: 57bd3c1e624b9fc00d6b9eeb442cd69171777c01bc8fc23c35a3fc340b18ef2a9478317ee2451967da8d639052d4b2adfa75fa89bcc81fa7647e7c6d065f38dc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_beta
|
2
2
|
|
3
|
+
### v0.66.0 (2023-04-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230418
|
6
|
+
|
7
|
+
### v0.65.0 (2023-04-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230403
|
10
|
+
|
3
11
|
### v0.64.0 (2023-04-02)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230322
|
@@ -1649,6 +1649,14 @@ module Google
|
|
1649
1649
|
# @return [Fixnum]
|
1650
1650
|
attr_accessor :provisioned_throughput
|
1651
1651
|
|
1652
|
+
# Required for each regional disk associated with the instance. Specify the URLs
|
1653
|
+
# of the zones where the disk should be replicated to. You must provide exactly
|
1654
|
+
# two replica zones, and one zone must be the same as the instance zone. You can'
|
1655
|
+
# t use this option with boot disks.
|
1656
|
+
# Corresponds to the JSON property `replicaZones`
|
1657
|
+
# @return [Array<String>]
|
1658
|
+
attr_accessor :replica_zones
|
1659
|
+
|
1652
1660
|
# Resource manager tags to be bound to the disk. Tag keys and values have the
|
1653
1661
|
# same definition as resource manager tags. Keys must be in the format `tagKeys/`
|
1654
1662
|
# tag_key_id``, and values are in the format `tagValues/456`. The field is
|
@@ -1723,6 +1731,7 @@ module Google
|
|
1723
1731
|
@on_update_action = args[:on_update_action] if args.key?(:on_update_action)
|
1724
1732
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
1725
1733
|
@provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
|
1734
|
+
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
1726
1735
|
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
1727
1736
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
1728
1737
|
@source_image = args[:source_image] if args.key?(:source_image)
|
@@ -6692,6 +6701,18 @@ module Google
|
|
6692
6701
|
class DiskAsyncReplication
|
6693
6702
|
include Google::Apis::Core::Hashable
|
6694
6703
|
|
6704
|
+
# [Output Only] URL of the DiskConsistencyGroupPolicy if replication was started
|
6705
|
+
# on the disk as a member of a group.
|
6706
|
+
# Corresponds to the JSON property `consistencyGroupPolicy`
|
6707
|
+
# @return [String]
|
6708
|
+
attr_accessor :consistency_group_policy
|
6709
|
+
|
6710
|
+
# [Output Only] ID of the DiskConsistencyGroupPolicy if replication was started
|
6711
|
+
# on the disk as a member of a group.
|
6712
|
+
# Corresponds to the JSON property `consistencyGroupPolicyId`
|
6713
|
+
# @return [String]
|
6714
|
+
attr_accessor :consistency_group_policy_id
|
6715
|
+
|
6695
6716
|
# The other disk asynchronously replicated to or from the current disk. You can
|
6696
6717
|
# provide this as a partial or full URL to the resource. For example, the
|
6697
6718
|
# following are valid values: - https://www.googleapis.com/compute/v1/projects/
|
@@ -6717,6 +6738,8 @@ module Google
|
|
6717
6738
|
|
6718
6739
|
# Update properties of this object
|
6719
6740
|
def update!(**args)
|
6741
|
+
@consistency_group_policy = args[:consistency_group_policy] if args.key?(:consistency_group_policy)
|
6742
|
+
@consistency_group_policy_id = args[:consistency_group_policy_id] if args.key?(:consistency_group_policy_id)
|
6720
6743
|
@disk = args[:disk] if args.key?(:disk)
|
6721
6744
|
@disk_id = args[:disk_id] if args.key?(:disk_id)
|
6722
6745
|
end
|
@@ -8116,6 +8139,16 @@ module Google
|
|
8116
8139
|
# @return [String]
|
8117
8140
|
attr_accessor :ip_address
|
8118
8141
|
|
8142
|
+
# IPv6 address of the interface in the external VPN gateway. This IPv6 address
|
8143
|
+
# can be either from your on-premise gateway or another Cloud provider's VPN
|
8144
|
+
# gateway, it cannot be an IP address from Google Compute Engine. Must specify
|
8145
|
+
# an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g.
|
8146
|
+
# 2001:db8:0:0:2d9:51:0:0). The output format is RFC 5952 format (e.g. 2001:db8::
|
8147
|
+
# 2d9:51:0:0).
|
8148
|
+
# Corresponds to the JSON property `ipv6Address`
|
8149
|
+
# @return [String]
|
8150
|
+
attr_accessor :ipv6_address
|
8151
|
+
|
8119
8152
|
def initialize(**args)
|
8120
8153
|
update!(**args)
|
8121
8154
|
end
|
@@ -8124,6 +8157,7 @@ module Google
|
|
8124
8157
|
def update!(**args)
|
8125
8158
|
@id = args[:id] if args.key?(:id)
|
8126
8159
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
8160
|
+
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
8127
8161
|
end
|
8128
8162
|
end
|
8129
8163
|
|
@@ -9514,9 +9548,11 @@ module Google
|
|
9514
9548
|
|
9515
9549
|
# This field is not used for external load balancing. For Internal TCP/UDP Load
|
9516
9550
|
# Balancing, this field identifies the network that the load balanced IP should
|
9517
|
-
# belong to for this Forwarding Rule. If
|
9518
|
-
#
|
9519
|
-
#
|
9551
|
+
# belong to for this Forwarding Rule. If the subnetwork is specified, the
|
9552
|
+
# network of the subnetwork will be used. If neither subnetwork nor this field
|
9553
|
+
# is specified, the default network will be used. For Private Service Connect
|
9554
|
+
# forwarding rules that forward traffic to Google APIs, a network must be
|
9555
|
+
# provided.
|
9520
9556
|
# Corresponds to the JSON property `network`
|
9521
9557
|
# @return [String]
|
9522
9558
|
attr_accessor :network
|
@@ -10739,11 +10775,11 @@ module Google
|
|
10739
10775
|
# Regional](/compute/docs/reference/rest/beta/regionHealthChecks) Internal HTTP(
|
10740
10776
|
# S) load balancers must use regional health checks (`compute.v1.
|
10741
10777
|
# regionHealthChecks`). Traffic Director must use global health checks (`compute.
|
10742
|
-
# v1.
|
10778
|
+
# v1.healthChecks`). Internal TCP/UDP load balancers can use either regional or
|
10743
10779
|
# global health checks (`compute.v1.regionHealthChecks` or `compute.v1.
|
10744
|
-
#
|
10780
|
+
# healthChecks`). External HTTP(S), TCP proxy, and SSL proxy load balancers as
|
10745
10781
|
# well as managed instance group auto-healing must use global health checks (`
|
10746
|
-
# compute.v1.
|
10782
|
+
# compute.v1.healthChecks`). Backend service-based network load balancers must
|
10747
10783
|
# use regional health checks (`compute.v1.regionHealthChecks`). Target pool-
|
10748
10784
|
# based network load balancers must use legacy HTTP health checks (`compute.v1.
|
10749
10785
|
# httpHealthChecks`). For more information, see Health checks overview.
|
@@ -21632,7 +21668,7 @@ module Google
|
|
21632
21668
|
# @return [String]
|
21633
21669
|
attr_accessor :project_id_or_num
|
21634
21670
|
|
21635
|
-
# Alias IP ranges from the same subnetwork
|
21671
|
+
# Alias IP ranges from the same subnetwork.
|
21636
21672
|
# Corresponds to the JSON property `secondaryIpCidrRanges`
|
21637
21673
|
# @return [Array<String>]
|
21638
21674
|
attr_accessor :secondary_ip_cidr_ranges
|
@@ -32848,6 +32884,20 @@ module Google
|
|
32848
32884
|
# @return [Google::Apis::ComputeBeta::RouterBgpPeerBfd]
|
32849
32885
|
attr_accessor :bfd
|
32850
32886
|
|
32887
|
+
# A list of user-defined custom learned route IP address ranges for a BGP
|
32888
|
+
# session.
|
32889
|
+
# Corresponds to the JSON property `customLearnedIpRanges`
|
32890
|
+
# @return [Array<Google::Apis::ComputeBeta::RouterBgpPeerCustomLearnedIpRange>]
|
32891
|
+
attr_accessor :custom_learned_ip_ranges
|
32892
|
+
|
32893
|
+
# The user-defined custom learned route priority for a BGP session. This value
|
32894
|
+
# is applied to all custom learned route ranges for the session. You can choose
|
32895
|
+
# a value from `0` to `65335`. If you don't provide a value, Google Cloud
|
32896
|
+
# assigns a priority of `100` to the ranges.
|
32897
|
+
# Corresponds to the JSON property `customLearnedRoutePriority`
|
32898
|
+
# @return [Fixnum]
|
32899
|
+
attr_accessor :custom_learned_route_priority
|
32900
|
+
|
32851
32901
|
# The status of the BGP peer connection. If set to FALSE, any active session
|
32852
32902
|
# with the peer is terminated and all associated routing information is removed.
|
32853
32903
|
# If set to TRUE, the peer connection can be established with routing
|
@@ -32941,6 +32991,8 @@ module Google
|
|
32941
32991
|
@advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
|
32942
32992
|
@advertised_route_priority = args[:advertised_route_priority] if args.key?(:advertised_route_priority)
|
32943
32993
|
@bfd = args[:bfd] if args.key?(:bfd)
|
32994
|
+
@custom_learned_ip_ranges = args[:custom_learned_ip_ranges] if args.key?(:custom_learned_ip_ranges)
|
32995
|
+
@custom_learned_route_priority = args[:custom_learned_route_priority] if args.key?(:custom_learned_route_priority)
|
32944
32996
|
@enable = args[:enable] if args.key?(:enable)
|
32945
32997
|
@enable_ipv6 = args[:enable_ipv6] if args.key?(:enable_ipv6)
|
32946
32998
|
@interface_name = args[:interface_name] if args.key?(:interface_name)
|
@@ -33007,6 +33059,27 @@ module Google
|
|
33007
33059
|
end
|
33008
33060
|
end
|
33009
33061
|
|
33062
|
+
#
|
33063
|
+
class RouterBgpPeerCustomLearnedIpRange
|
33064
|
+
include Google::Apis::Core::Hashable
|
33065
|
+
|
33066
|
+
# The custom learned route IP address range. Must be a valid CIDR-formatted
|
33067
|
+
# prefix. If an IP address is provided without a subnet mask, it is interpreted
|
33068
|
+
# as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`.
|
33069
|
+
# Corresponds to the JSON property `range`
|
33070
|
+
# @return [String]
|
33071
|
+
attr_accessor :range
|
33072
|
+
|
33073
|
+
def initialize(**args)
|
33074
|
+
update!(**args)
|
33075
|
+
end
|
33076
|
+
|
33077
|
+
# Update properties of this object
|
33078
|
+
def update!(**args)
|
33079
|
+
@range = args[:range] if args.key?(:range)
|
33080
|
+
end
|
33081
|
+
end
|
33082
|
+
|
33010
33083
|
#
|
33011
33084
|
class RouterInterface
|
33012
33085
|
include Google::Apis::Core::Hashable
|
@@ -33253,6 +33326,12 @@ module Google
|
|
33253
33326
|
class RouterNat
|
33254
33327
|
include Google::Apis::Core::Hashable
|
33255
33328
|
|
33329
|
+
# The network tier to use when automatically reserving IP addresses. Must be one
|
33330
|
+
# of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used.
|
33331
|
+
# Corresponds to the JSON property `autoNetworkTier`
|
33332
|
+
# @return [String]
|
33333
|
+
attr_accessor :auto_network_tier
|
33334
|
+
|
33256
33335
|
# A list of URLs of the IP resources to be drained. These IPs must be valid
|
33257
33336
|
# static external IPs that have been assigned to the NAT. These IPs should be
|
33258
33337
|
# used for updating/patching a NAT only.
|
@@ -33387,6 +33466,7 @@ module Google
|
|
33387
33466
|
|
33388
33467
|
# Update properties of this object
|
33389
33468
|
def update!(**args)
|
33469
|
+
@auto_network_tier = args[:auto_network_tier] if args.key?(:auto_network_tier)
|
33390
33470
|
@drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
|
33391
33471
|
@enable_dynamic_port_allocation = args[:enable_dynamic_port_allocation] if args.key?(:enable_dynamic_port_allocation)
|
33392
33472
|
@enable_endpoint_independent_mapping = args[:enable_endpoint_independent_mapping] if args.key?(:enable_endpoint_independent_mapping)
|
@@ -34935,7 +35015,8 @@ module Google
|
|
34935
35015
|
# @return [Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]
|
34936
35016
|
attr_accessor :auto_deploy_config
|
34937
35017
|
|
34938
|
-
# Configuration options for L7 DDoS detection.
|
35018
|
+
# Configuration options for L7 DDoS detection. This field is only supported in
|
35019
|
+
# Global Security Policies of type CLOUD_ARMOR.
|
34939
35020
|
# Corresponds to the JSON property `layer7DdosDefenseConfig`
|
34940
35021
|
# @return [Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]
|
34941
35022
|
attr_accessor :layer7_ddos_defense_config
|
@@ -34988,18 +35069,21 @@ module Google
|
|
34988
35069
|
end
|
34989
35070
|
end
|
34990
35071
|
|
34991
|
-
# Configuration options for L7 DDoS detection.
|
35072
|
+
# Configuration options for L7 DDoS detection. This field is only supported in
|
35073
|
+
# Global Security Policies of type CLOUD_ARMOR.
|
34992
35074
|
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
|
34993
35075
|
include Google::Apis::Core::Hashable
|
34994
35076
|
|
34995
|
-
# If set to true, enables CAAP for L7 DDoS detection.
|
35077
|
+
# If set to true, enables CAAP for L7 DDoS detection. This field is only
|
35078
|
+
# supported in Global Security Policies of type CLOUD_ARMOR.
|
34996
35079
|
# Corresponds to the JSON property `enable`
|
34997
35080
|
# @return [Boolean]
|
34998
35081
|
attr_accessor :enable
|
34999
35082
|
alias_method :enable?, :enable
|
35000
35083
|
|
35001
35084
|
# Rule visibility can be one of the following: STANDARD - opaque rules. (default)
|
35002
|
-
# PREMIUM - transparent rules.
|
35085
|
+
# PREMIUM - transparent rules. This field is only supported in Global Security
|
35086
|
+
# Policies of type CLOUD_ARMOR.
|
35003
35087
|
# Corresponds to the JSON property `ruleVisibility`
|
35004
35088
|
# @return [String]
|
35005
35089
|
attr_accessor :rule_visibility
|
@@ -35253,7 +35337,8 @@ module Google
|
|
35253
35337
|
# using the redirect action with the type of GOOGLE_RECAPTCHA under the security
|
35254
35338
|
# policy. The specified site key needs to be created from the reCAPTCHA API. The
|
35255
35339
|
# user is responsible for the validity of the specified site key. If not
|
35256
|
-
# specified, a Google-managed site key is used.
|
35340
|
+
# specified, a Google-managed site key is used. This field is only supported in
|
35341
|
+
# Global Security Policies of type CLOUD_ARMOR.
|
35257
35342
|
# Corresponds to the JSON property `redirectSiteKey`
|
35258
35343
|
# @return [String]
|
35259
35344
|
attr_accessor :redirect_site_key
|
@@ -35301,7 +35386,8 @@ module Google
|
|
35301
35386
|
# rate_limit_options to be set. - redirect: redirect to a different target. This
|
35302
35387
|
# can either be an internal reCAPTCHA redirect, or an external URL-based
|
35303
35388
|
# redirect via a 302 response. Parameters for this action can be configured via
|
35304
|
-
# redirectOptions.
|
35389
|
+
# redirectOptions. This action is only supported in Global Security Policies of
|
35390
|
+
# type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold.
|
35305
35391
|
# Configure parameters for this action in rateLimitOptions. Requires
|
35306
35392
|
# rate_limit_options to be set for this.
|
35307
35393
|
# Corresponds to the JSON property `action`
|
@@ -35330,7 +35416,8 @@ module Google
|
|
35330
35416
|
attr_accessor :enable_logging
|
35331
35417
|
alias_method :enable_logging?, :enable_logging
|
35332
35418
|
|
35333
|
-
# Optional, additional actions that are performed on headers.
|
35419
|
+
# Optional, additional actions that are performed on headers. This field is only
|
35420
|
+
# supported in Global Security Policies of type CLOUD_ARMOR.
|
35334
35421
|
# Corresponds to the JSON property `headerAction`
|
35335
35422
|
# @return [Google::Apis::ComputeBeta::SecurityPolicyRuleHttpHeaderAction]
|
35336
35423
|
attr_accessor :header_action
|
@@ -35375,7 +35462,8 @@ module Google
|
|
35375
35462
|
attr_accessor :rate_limit_options
|
35376
35463
|
|
35377
35464
|
# Parameters defining the redirect action. Cannot be specified for any other
|
35378
|
-
# actions.
|
35465
|
+
# actions. This field is only supported in Global Security Policies of type
|
35466
|
+
# CLOUD_ARMOR.
|
35379
35467
|
# Corresponds to the JSON property `redirectOptions`
|
35380
35468
|
# @return [Google::Apis::ComputeBeta::SecurityPolicyRuleRedirectOptions]
|
35381
35469
|
attr_accessor :redirect_options
|
@@ -35760,13 +35848,15 @@ module Google
|
|
35760
35848
|
# to either deny with a specified HTTP response code, or redirect to a
|
35761
35849
|
# different endpoint. Valid options are `deny(STATUS)`, where valid values for `
|
35762
35850
|
# STATUS` are 403, 404, 429, and 502, and `redirect`, where the redirect
|
35763
|
-
# parameters come from `exceedRedirectOptions` below.
|
35851
|
+
# parameters come from `exceedRedirectOptions` below. The `redirect` action is
|
35852
|
+
# only supported in Global Security Policies of type CLOUD_ARMOR.
|
35764
35853
|
# Corresponds to the JSON property `exceedAction`
|
35765
35854
|
# @return [String]
|
35766
35855
|
attr_accessor :exceed_action
|
35767
35856
|
|
35768
35857
|
# Parameters defining the redirect action that is used as the exceed action.
|
35769
|
-
# Cannot be specified if the exceed action is not redirect.
|
35858
|
+
# Cannot be specified if the exceed action is not redirect. This field is only
|
35859
|
+
# supported in Global Security Policies of type CLOUD_ARMOR.
|
35770
35860
|
# Corresponds to the JSON property `exceedRedirectOptions`
|
35771
35861
|
# @return [Google::Apis::ComputeBeta::SecurityPolicyRuleRedirectOptions]
|
35772
35862
|
attr_accessor :exceed_redirect_options
|
@@ -36147,6 +36237,20 @@ module Google
|
|
36147
36237
|
# @return [Google::Apis::ComputeBeta::Uint128]
|
36148
36238
|
attr_accessor :psc_service_attachment_id
|
36149
36239
|
|
36240
|
+
# This flag determines whether a consumer accept/reject list change can
|
36241
|
+
# reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints. - If
|
36242
|
+
# false, connection policy update will only affect existing PENDING PSC
|
36243
|
+
# endpoints. Existing ACCEPTED/REJECTED endpoints will remain untouched
|
36244
|
+
# regardless how the connection policy is modified . - If true, update will
|
36245
|
+
# affect both PENDING and ACCEPTED/REJECTED PSC endpoints. For example, an
|
36246
|
+
# ACCEPTED PSC endpoint will be moved to REJECTED if its project is added to the
|
36247
|
+
# reject list. For newly created service attachment, this boolean defaults to
|
36248
|
+
# true.
|
36249
|
+
# Corresponds to the JSON property `reconcileConnections`
|
36250
|
+
# @return [Boolean]
|
36251
|
+
attr_accessor :reconcile_connections
|
36252
|
+
alias_method :reconcile_connections?, :reconcile_connections
|
36253
|
+
|
36150
36254
|
# [Output Only] URL of the region where the service attachment resides. This
|
36151
36255
|
# field applies only to the region resource. You must specify this field as part
|
36152
36256
|
# of the HTTP request URL. It is not settable as a field in the request body.
|
@@ -36186,6 +36290,7 @@ module Google
|
|
36186
36290
|
@nat_subnets = args[:nat_subnets] if args.key?(:nat_subnets)
|
36187
36291
|
@producer_forwarding_rule = args[:producer_forwarding_rule] if args.key?(:producer_forwarding_rule)
|
36188
36292
|
@psc_service_attachment_id = args[:psc_service_attachment_id] if args.key?(:psc_service_attachment_id)
|
36293
|
+
@reconcile_connections = args[:reconcile_connections] if args.key?(:reconcile_connections)
|
36189
36294
|
@region = args[:region] if args.key?(:region)
|
36190
36295
|
@self_link = args[:self_link] if args.key?(:self_link)
|
36191
36296
|
@target_service = args[:target_service] if args.key?(:target_service)
|
@@ -40236,7 +40341,9 @@ module Google
|
|
40236
40341
|
class TargetHttpsProxiesSetCertificateMapRequest
|
40237
40342
|
include Google::Apis::Core::Hashable
|
40238
40343
|
|
40239
|
-
# URL of the Certificate Map to associate with this TargetHttpsProxy.
|
40344
|
+
# URL of the Certificate Map to associate with this TargetHttpsProxy. Accepted
|
40345
|
+
# format is //certificatemanager.googleapis.com/projects/`project `/locations/`
|
40346
|
+
# location`/certificateMaps/`resourceName`.
|
40240
40347
|
# Corresponds to the JSON property `certificateMap`
|
40241
40348
|
# @return [String]
|
40242
40349
|
attr_accessor :certificate_map
|
@@ -40326,7 +40433,9 @@ module Google
|
|
40326
40433
|
|
40327
40434
|
# URL of a certificate map that identifies a certificate map associated with the
|
40328
40435
|
# given target proxy. This field can only be set for global target proxies. If
|
40329
|
-
# set, sslCertificates will be ignored.
|
40436
|
+
# set, sslCertificates will be ignored. Accepted format is //certificatemanager.
|
40437
|
+
# googleapis.com/projects/`project `/locations/`location`/certificateMaps/`
|
40438
|
+
# resourceName`.
|
40330
40439
|
# Corresponds to the JSON property `certificateMap`
|
40331
40440
|
# @return [String]
|
40332
40441
|
attr_accessor :certificate_map
|
@@ -41765,7 +41874,9 @@ module Google
|
|
41765
41874
|
class TargetSslProxiesSetCertificateMapRequest
|
41766
41875
|
include Google::Apis::Core::Hashable
|
41767
41876
|
|
41768
|
-
# URL of the Certificate Map to associate with this TargetSslProxy.
|
41877
|
+
# URL of the Certificate Map to associate with this TargetSslProxy. Accepted
|
41878
|
+
# format is //certificatemanager.googleapis.com/projects/`project `/locations/`
|
41879
|
+
# location`/certificateMaps/`resourceName`.
|
41769
41880
|
# Corresponds to the JSON property `certificateMap`
|
41770
41881
|
# @return [String]
|
41771
41882
|
attr_accessor :certificate_map
|
@@ -41830,7 +41941,9 @@ module Google
|
|
41830
41941
|
|
41831
41942
|
# URL of a certificate map that identifies a certificate map associated with the
|
41832
41943
|
# given target proxy. This field can only be set for global target proxies. If
|
41833
|
-
# set, sslCertificates will be ignored.
|
41944
|
+
# set, sslCertificates will be ignored. Accepted format is //certificatemanager.
|
41945
|
+
# googleapis.com/projects/`project `/locations/`location`/certificateMaps/`
|
41946
|
+
# resourceName`.
|
41834
41947
|
# Corresponds to the JSON property `certificateMap`
|
41835
41948
|
# @return [String]
|
41836
41949
|
attr_accessor :certificate_map
|
@@ -44398,6 +44511,12 @@ module Google
|
|
44398
44511
|
# @return [String]
|
44399
44512
|
attr_accessor :description
|
44400
44513
|
|
44514
|
+
# The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not
|
44515
|
+
# specified, IPV4 will be used.
|
44516
|
+
# Corresponds to the JSON property `gatewayIpVersion`
|
44517
|
+
# @return [String]
|
44518
|
+
attr_accessor :gateway_ip_version
|
44519
|
+
|
44401
44520
|
# [Output Only] The unique identifier for the resource. This identifier is
|
44402
44521
|
# defined by the server.
|
44403
44522
|
# Corresponds to the JSON property `id`
|
@@ -44474,6 +44593,7 @@ module Google
|
|
44474
44593
|
def update!(**args)
|
44475
44594
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
44476
44595
|
@description = args[:description] if args.key?(:description)
|
44596
|
+
@gateway_ip_version = args[:gateway_ip_version] if args.key?(:gateway_ip_version)
|
44477
44597
|
@id = args[:id] if args.key?(:id)
|
44478
44598
|
@kind = args[:kind] if args.key?(:kind)
|
44479
44599
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
@@ -44882,6 +45002,13 @@ module Google
|
|
44882
45002
|
# @return [String]
|
44883
45003
|
attr_accessor :ip_address
|
44884
45004
|
|
45005
|
+
# [Output Only] IPv6 address for this VPN interface associated with the VPN
|
45006
|
+
# gateway. The IPv6 address must be a regional external IPv6 address. The format
|
45007
|
+
# is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
|
45008
|
+
# Corresponds to the JSON property `ipv6Address`
|
45009
|
+
# @return [String]
|
45010
|
+
attr_accessor :ipv6_address
|
45011
|
+
|
44885
45012
|
def initialize(**args)
|
44886
45013
|
update!(**args)
|
44887
45014
|
end
|
@@ -44891,6 +45018,7 @@ module Google
|
|
44891
45018
|
@id = args[:id] if args.key?(:id)
|
44892
45019
|
@interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment)
|
44893
45020
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
45021
|
+
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
44894
45022
|
end
|
44895
45023
|
end
|
44896
45024
|
|
@@ -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.66.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230418"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -4306,6 +4306,12 @@ module Google
|
|
4306
4306
|
include Google::Apis::Core::JsonObjectSupport
|
4307
4307
|
end
|
4308
4308
|
|
4309
|
+
class RouterBgpPeerCustomLearnedIpRange
|
4310
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4311
|
+
|
4312
|
+
include Google::Apis::Core::JsonObjectSupport
|
4313
|
+
end
|
4314
|
+
|
4309
4315
|
class RouterInterface
|
4310
4316
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4311
4317
|
|
@@ -6462,6 +6468,7 @@ module Google
|
|
6462
6468
|
property :on_update_action, as: 'onUpdateAction'
|
6463
6469
|
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
|
6464
6470
|
property :provisioned_throughput, :numeric_string => true, as: 'provisionedThroughput'
|
6471
|
+
collection :replica_zones, as: 'replicaZones'
|
6465
6472
|
hash :resource_manager_tags, as: 'resourceManagerTags'
|
6466
6473
|
collection :resource_policies, as: 'resourcePolicies'
|
6467
6474
|
property :source_image, as: 'sourceImage'
|
@@ -7550,6 +7557,8 @@ module Google
|
|
7550
7557
|
class DiskAsyncReplication
|
7551
7558
|
# @private
|
7552
7559
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7560
|
+
property :consistency_group_policy, as: 'consistencyGroupPolicy'
|
7561
|
+
property :consistency_group_policy_id, as: 'consistencyGroupPolicyId'
|
7553
7562
|
property :disk, as: 'disk'
|
7554
7563
|
property :disk_id, as: 'diskId'
|
7555
7564
|
end
|
@@ -7926,6 +7935,7 @@ module Google
|
|
7926
7935
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7927
7936
|
property :id, as: 'id'
|
7928
7937
|
property :ip_address, as: 'ipAddress'
|
7938
|
+
property :ipv6_address, as: 'ipv6Address'
|
7929
7939
|
end
|
7930
7940
|
end
|
7931
7941
|
|
@@ -14115,6 +14125,9 @@ module Google
|
|
14115
14125
|
property :advertised_route_priority, as: 'advertisedRoutePriority'
|
14116
14126
|
property :bfd, as: 'bfd', class: Google::Apis::ComputeBeta::RouterBgpPeerBfd, decorator: Google::Apis::ComputeBeta::RouterBgpPeerBfd::Representation
|
14117
14127
|
|
14128
|
+
collection :custom_learned_ip_ranges, as: 'customLearnedIpRanges', class: Google::Apis::ComputeBeta::RouterBgpPeerCustomLearnedIpRange, decorator: Google::Apis::ComputeBeta::RouterBgpPeerCustomLearnedIpRange::Representation
|
14129
|
+
|
14130
|
+
property :custom_learned_route_priority, as: 'customLearnedRoutePriority'
|
14118
14131
|
property :enable, as: 'enable'
|
14119
14132
|
property :enable_ipv6, as: 'enableIpv6'
|
14120
14133
|
property :interface_name, as: 'interfaceName'
|
@@ -14140,6 +14153,13 @@ module Google
|
|
14140
14153
|
end
|
14141
14154
|
end
|
14142
14155
|
|
14156
|
+
class RouterBgpPeerCustomLearnedIpRange
|
14157
|
+
# @private
|
14158
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14159
|
+
property :range, as: 'range'
|
14160
|
+
end
|
14161
|
+
end
|
14162
|
+
|
14143
14163
|
class RouterInterface
|
14144
14164
|
# @private
|
14145
14165
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14197,6 +14217,7 @@ module Google
|
|
14197
14217
|
class RouterNat
|
14198
14218
|
# @private
|
14199
14219
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14220
|
+
property :auto_network_tier, as: 'autoNetworkTier'
|
14200
14221
|
collection :drain_nat_ips, as: 'drainNatIps'
|
14201
14222
|
property :enable_dynamic_port_allocation, as: 'enableDynamicPortAllocation'
|
14202
14223
|
property :enable_endpoint_independent_mapping, as: 'enableEndpointIndependentMapping'
|
@@ -14902,6 +14923,7 @@ module Google
|
|
14902
14923
|
property :producer_forwarding_rule, as: 'producerForwardingRule'
|
14903
14924
|
property :psc_service_attachment_id, as: 'pscServiceAttachmentId', class: Google::Apis::ComputeBeta::Uint128, decorator: Google::Apis::ComputeBeta::Uint128::Representation
|
14904
14925
|
|
14926
|
+
property :reconcile_connections, as: 'reconcileConnections'
|
14905
14927
|
property :region, as: 'region'
|
14906
14928
|
property :self_link, as: 'selfLink'
|
14907
14929
|
property :target_service, as: 'targetService'
|
@@ -16971,6 +16993,7 @@ module Google
|
|
16971
16993
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16972
16994
|
property :creation_timestamp, as: 'creationTimestamp'
|
16973
16995
|
property :description, as: 'description'
|
16996
|
+
property :gateway_ip_version, as: 'gatewayIpVersion'
|
16974
16997
|
property :id, :numeric_string => true, as: 'id'
|
16975
16998
|
property :kind, as: 'kind'
|
16976
16999
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
@@ -17093,6 +17116,7 @@ module Google
|
|
17093
17116
|
property :id, as: 'id'
|
17094
17117
|
property :interconnect_attachment, as: 'interconnectAttachment'
|
17095
17118
|
property :ip_address, as: 'ipAddress'
|
17119
|
+
property :ipv6_address, as: 'ipv6Address'
|
17096
17120
|
end
|
17097
17121
|
end
|
17098
17122
|
|
@@ -14156,6 +14156,16 @@ module Google
|
|
14156
14156
|
# The name of the zone for this request.
|
14157
14157
|
# @param [String] instance
|
14158
14158
|
# Name of the instance scoping this request.
|
14159
|
+
# @param [String] request_id
|
14160
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
14161
|
+
# that if you must retry your request, the server will know to ignore the
|
14162
|
+
# request if it has already been completed. For example, consider a situation
|
14163
|
+
# where you make an initial request and the request times out. If you make the
|
14164
|
+
# request again with the same request ID, the server can check if original
|
14165
|
+
# operation with the same request ID was received, and if so, will ignore the
|
14166
|
+
# second request. This prevents clients from accidentally creating duplicate
|
14167
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
14168
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
14159
14169
|
# @param [String] fields
|
14160
14170
|
# Selector specifying which fields to include in a partial response.
|
14161
14171
|
# @param [String] quota_user
|
@@ -14175,13 +14185,14 @@ module Google
|
|
14175
14185
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14176
14186
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14177
14187
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14178
|
-
def simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
14188
|
+
def simulate_instance_maintenance_event(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
14179
14189
|
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options)
|
14180
14190
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
14181
14191
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
14182
14192
|
command.params['project'] = project unless project.nil?
|
14183
14193
|
command.params['zone'] = zone unless zone.nil?
|
14184
14194
|
command.params['instance'] = instance unless instance.nil?
|
14195
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
14185
14196
|
command.query['fields'] = fields unless fields.nil?
|
14186
14197
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14187
14198
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -30237,6 +30248,51 @@ module Google
|
|
30237
30248
|
execute_or_queue_command(command, &block)
|
30238
30249
|
end
|
30239
30250
|
|
30251
|
+
# Inserts a rule into a security policy.
|
30252
|
+
# @param [String] project
|
30253
|
+
# Project ID for this request.
|
30254
|
+
# @param [String] region
|
30255
|
+
# Name of the region scoping this request.
|
30256
|
+
# @param [String] security_policy
|
30257
|
+
# Name of the security policy to update.
|
30258
|
+
# @param [Google::Apis::ComputeBeta::SecurityPolicyRule] security_policy_rule_object
|
30259
|
+
# @param [Boolean] validate_only
|
30260
|
+
# If true, the request will not be committed.
|
30261
|
+
# @param [String] fields
|
30262
|
+
# Selector specifying which fields to include in a partial response.
|
30263
|
+
# @param [String] quota_user
|
30264
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30265
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30266
|
+
# @param [String] user_ip
|
30267
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
30268
|
+
# @param [Google::Apis::RequestOptions] options
|
30269
|
+
# Request-specific options
|
30270
|
+
#
|
30271
|
+
# @yield [result, err] Result & error if block supplied
|
30272
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
30273
|
+
# @yieldparam err [StandardError] error object if request failed
|
30274
|
+
#
|
30275
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
30276
|
+
#
|
30277
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30278
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30279
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30280
|
+
def add_region_security_policy_rule(project, region, security_policy, security_policy_rule_object = nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30281
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule', options)
|
30282
|
+
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation
|
30283
|
+
command.request_object = security_policy_rule_object
|
30284
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
30285
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
30286
|
+
command.params['project'] = project unless project.nil?
|
30287
|
+
command.params['region'] = region unless region.nil?
|
30288
|
+
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
30289
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
30290
|
+
command.query['fields'] = fields unless fields.nil?
|
30291
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30292
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
30293
|
+
execute_or_queue_command(command, &block)
|
30294
|
+
end
|
30295
|
+
|
30240
30296
|
# Deletes the specified policy.
|
30241
30297
|
# @param [String] project
|
30242
30298
|
# Project ID for this request.
|
@@ -30326,6 +30382,48 @@ module Google
|
|
30326
30382
|
execute_or_queue_command(command, &block)
|
30327
30383
|
end
|
30328
30384
|
|
30385
|
+
# Gets a rule at the specified priority.
|
30386
|
+
# @param [String] project
|
30387
|
+
# Project ID for this request.
|
30388
|
+
# @param [String] region
|
30389
|
+
# Name of the region scoping this request.
|
30390
|
+
# @param [String] security_policy
|
30391
|
+
# Name of the security policy to which the queried rule belongs.
|
30392
|
+
# @param [Fixnum] priority
|
30393
|
+
# The priority of the rule to get from the security policy.
|
30394
|
+
# @param [String] fields
|
30395
|
+
# Selector specifying which fields to include in a partial response.
|
30396
|
+
# @param [String] quota_user
|
30397
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30398
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30399
|
+
# @param [String] user_ip
|
30400
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
30401
|
+
# @param [Google::Apis::RequestOptions] options
|
30402
|
+
# Request-specific options
|
30403
|
+
#
|
30404
|
+
# @yield [result, err] Result & error if block supplied
|
30405
|
+
# @yieldparam result [Google::Apis::ComputeBeta::SecurityPolicyRule] parsed result object
|
30406
|
+
# @yieldparam err [StandardError] error object if request failed
|
30407
|
+
#
|
30408
|
+
# @return [Google::Apis::ComputeBeta::SecurityPolicyRule]
|
30409
|
+
#
|
30410
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30411
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30412
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30413
|
+
def get_region_security_policy_rule(project, region, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30414
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule', options)
|
30415
|
+
command.response_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation
|
30416
|
+
command.response_class = Google::Apis::ComputeBeta::SecurityPolicyRule
|
30417
|
+
command.params['project'] = project unless project.nil?
|
30418
|
+
command.params['region'] = region unless region.nil?
|
30419
|
+
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
30420
|
+
command.query['priority'] = priority unless priority.nil?
|
30421
|
+
command.query['fields'] = fields unless fields.nil?
|
30422
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30423
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
30424
|
+
execute_or_queue_command(command, &block)
|
30425
|
+
end
|
30426
|
+
|
30329
30427
|
# Creates a new policy in the specified project using the data included in the
|
30330
30428
|
# request.
|
30331
30429
|
# @param [String] project
|
@@ -30528,6 +30626,97 @@ module Google
|
|
30528
30626
|
execute_or_queue_command(command, &block)
|
30529
30627
|
end
|
30530
30628
|
|
30629
|
+
# Patches a rule at the specified priority. To clear fields in the rule, leave
|
30630
|
+
# the fields empty and specify them in the updateMask.
|
30631
|
+
# @param [String] project
|
30632
|
+
# Project ID for this request.
|
30633
|
+
# @param [String] region
|
30634
|
+
# Name of the region scoping this request.
|
30635
|
+
# @param [String] security_policy
|
30636
|
+
# Name of the security policy to update.
|
30637
|
+
# @param [Google::Apis::ComputeBeta::SecurityPolicyRule] security_policy_rule_object
|
30638
|
+
# @param [Fixnum] priority
|
30639
|
+
# The priority of the rule to patch.
|
30640
|
+
# @param [Boolean] validate_only
|
30641
|
+
# If true, the request will not be committed.
|
30642
|
+
# @param [String] fields
|
30643
|
+
# Selector specifying which fields to include in a partial response.
|
30644
|
+
# @param [String] quota_user
|
30645
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30646
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30647
|
+
# @param [String] user_ip
|
30648
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
30649
|
+
# @param [Google::Apis::RequestOptions] options
|
30650
|
+
# Request-specific options
|
30651
|
+
#
|
30652
|
+
# @yield [result, err] Result & error if block supplied
|
30653
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
30654
|
+
# @yieldparam err [StandardError] error object if request failed
|
30655
|
+
#
|
30656
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
30657
|
+
#
|
30658
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30659
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30660
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30661
|
+
def patch_region_security_policy_rule(project, region, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30662
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule', options)
|
30663
|
+
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation
|
30664
|
+
command.request_object = security_policy_rule_object
|
30665
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
30666
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
30667
|
+
command.params['project'] = project unless project.nil?
|
30668
|
+
command.params['region'] = region unless region.nil?
|
30669
|
+
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
30670
|
+
command.query['priority'] = priority unless priority.nil?
|
30671
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
30672
|
+
command.query['fields'] = fields unless fields.nil?
|
30673
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30674
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
30675
|
+
execute_or_queue_command(command, &block)
|
30676
|
+
end
|
30677
|
+
|
30678
|
+
# Deletes a rule at the specified priority.
|
30679
|
+
# @param [String] project
|
30680
|
+
# Project ID for this request.
|
30681
|
+
# @param [String] region
|
30682
|
+
# Name of the region scoping this request.
|
30683
|
+
# @param [String] security_policy
|
30684
|
+
# Name of the security policy to update.
|
30685
|
+
# @param [Fixnum] priority
|
30686
|
+
# The priority of the rule to remove from the security policy.
|
30687
|
+
# @param [String] fields
|
30688
|
+
# Selector specifying which fields to include in a partial response.
|
30689
|
+
# @param [String] quota_user
|
30690
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30691
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30692
|
+
# @param [String] user_ip
|
30693
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
30694
|
+
# @param [Google::Apis::RequestOptions] options
|
30695
|
+
# Request-specific options
|
30696
|
+
#
|
30697
|
+
# @yield [result, err] Result & error if block supplied
|
30698
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
30699
|
+
# @yieldparam err [StandardError] error object if request failed
|
30700
|
+
#
|
30701
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
30702
|
+
#
|
30703
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30704
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30705
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30706
|
+
def remove_region_security_policy_rule(project, region, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30707
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule', options)
|
30708
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
30709
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
30710
|
+
command.params['project'] = project unless project.nil?
|
30711
|
+
command.params['region'] = region unless region.nil?
|
30712
|
+
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
30713
|
+
command.query['priority'] = priority unless priority.nil?
|
30714
|
+
command.query['fields'] = fields unless fields.nil?
|
30715
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30716
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
30717
|
+
execute_or_queue_command(command, &block)
|
30718
|
+
end
|
30719
|
+
|
30531
30720
|
# Deletes the specified SslCertificate resource in the region.
|
30532
30721
|
# @param [String] project
|
30533
30722
|
# Project ID for this request.
|
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.66.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.66.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: []
|