google-apis-compute_beta 0.65.0 → 0.66.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: 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
@@ -8139,6 +8139,16 @@ module Google
|
|
8139
8139
|
# @return [String]
|
8140
8140
|
attr_accessor :ip_address
|
8141
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
|
+
|
8142
8152
|
def initialize(**args)
|
8143
8153
|
update!(**args)
|
8144
8154
|
end
|
@@ -8147,6 +8157,7 @@ module Google
|
|
8147
8157
|
def update!(**args)
|
8148
8158
|
@id = args[:id] if args.key?(:id)
|
8149
8159
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
8160
|
+
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
8150
8161
|
end
|
8151
8162
|
end
|
8152
8163
|
|
@@ -10764,11 +10775,11 @@ module Google
|
|
10764
10775
|
# Regional](/compute/docs/reference/rest/beta/regionHealthChecks) Internal HTTP(
|
10765
10776
|
# S) load balancers must use regional health checks (`compute.v1.
|
10766
10777
|
# regionHealthChecks`). Traffic Director must use global health checks (`compute.
|
10767
|
-
# v1.
|
10778
|
+
# v1.healthChecks`). Internal TCP/UDP load balancers can use either regional or
|
10768
10779
|
# global health checks (`compute.v1.regionHealthChecks` or `compute.v1.
|
10769
|
-
#
|
10780
|
+
# healthChecks`). External HTTP(S), TCP proxy, and SSL proxy load balancers as
|
10770
10781
|
# well as managed instance group auto-healing must use global health checks (`
|
10771
|
-
# compute.v1.
|
10782
|
+
# compute.v1.healthChecks`). Backend service-based network load balancers must
|
10772
10783
|
# use regional health checks (`compute.v1.regionHealthChecks`). Target pool-
|
10773
10784
|
# based network load balancers must use legacy HTTP health checks (`compute.v1.
|
10774
10785
|
# httpHealthChecks`). For more information, see Health checks overview.
|
@@ -32873,6 +32884,20 @@ module Google
|
|
32873
32884
|
# @return [Google::Apis::ComputeBeta::RouterBgpPeerBfd]
|
32874
32885
|
attr_accessor :bfd
|
32875
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
|
+
|
32876
32901
|
# The status of the BGP peer connection. If set to FALSE, any active session
|
32877
32902
|
# with the peer is terminated and all associated routing information is removed.
|
32878
32903
|
# If set to TRUE, the peer connection can be established with routing
|
@@ -32966,6 +32991,8 @@ module Google
|
|
32966
32991
|
@advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
|
32967
32992
|
@advertised_route_priority = args[:advertised_route_priority] if args.key?(:advertised_route_priority)
|
32968
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)
|
32969
32996
|
@enable = args[:enable] if args.key?(:enable)
|
32970
32997
|
@enable_ipv6 = args[:enable_ipv6] if args.key?(:enable_ipv6)
|
32971
32998
|
@interface_name = args[:interface_name] if args.key?(:interface_name)
|
@@ -33032,6 +33059,27 @@ module Google
|
|
33032
33059
|
end
|
33033
33060
|
end
|
33034
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
|
+
|
33035
33083
|
#
|
33036
33084
|
class RouterInterface
|
33037
33085
|
include Google::Apis::Core::Hashable
|
@@ -36189,6 +36237,20 @@ module Google
|
|
36189
36237
|
# @return [Google::Apis::ComputeBeta::Uint128]
|
36190
36238
|
attr_accessor :psc_service_attachment_id
|
36191
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
|
+
|
36192
36254
|
# [Output Only] URL of the region where the service attachment resides. This
|
36193
36255
|
# field applies only to the region resource. You must specify this field as part
|
36194
36256
|
# of the HTTP request URL. It is not settable as a field in the request body.
|
@@ -36228,6 +36290,7 @@ module Google
|
|
36228
36290
|
@nat_subnets = args[:nat_subnets] if args.key?(:nat_subnets)
|
36229
36291
|
@producer_forwarding_rule = args[:producer_forwarding_rule] if args.key?(:producer_forwarding_rule)
|
36230
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)
|
36231
36294
|
@region = args[:region] if args.key?(:region)
|
36232
36295
|
@self_link = args[:self_link] if args.key?(:self_link)
|
36233
36296
|
@target_service = args[:target_service] if args.key?(:target_service)
|
@@ -40278,7 +40341,9 @@ module Google
|
|
40278
40341
|
class TargetHttpsProxiesSetCertificateMapRequest
|
40279
40342
|
include Google::Apis::Core::Hashable
|
40280
40343
|
|
40281
|
-
# 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`.
|
40282
40347
|
# Corresponds to the JSON property `certificateMap`
|
40283
40348
|
# @return [String]
|
40284
40349
|
attr_accessor :certificate_map
|
@@ -40368,7 +40433,9 @@ module Google
|
|
40368
40433
|
|
40369
40434
|
# URL of a certificate map that identifies a certificate map associated with the
|
40370
40435
|
# given target proxy. This field can only be set for global target proxies. If
|
40371
|
-
# 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`.
|
40372
40439
|
# Corresponds to the JSON property `certificateMap`
|
40373
40440
|
# @return [String]
|
40374
40441
|
attr_accessor :certificate_map
|
@@ -41807,7 +41874,9 @@ module Google
|
|
41807
41874
|
class TargetSslProxiesSetCertificateMapRequest
|
41808
41875
|
include Google::Apis::Core::Hashable
|
41809
41876
|
|
41810
|
-
# 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`.
|
41811
41880
|
# Corresponds to the JSON property `certificateMap`
|
41812
41881
|
# @return [String]
|
41813
41882
|
attr_accessor :certificate_map
|
@@ -41872,7 +41941,9 @@ module Google
|
|
41872
41941
|
|
41873
41942
|
# URL of a certificate map that identifies a certificate map associated with the
|
41874
41943
|
# given target proxy. This field can only be set for global target proxies. If
|
41875
|
-
# 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`.
|
41876
41947
|
# Corresponds to the JSON property `certificateMap`
|
41877
41948
|
# @return [String]
|
41878
41949
|
attr_accessor :certificate_map
|
@@ -44440,6 +44511,12 @@ module Google
|
|
44440
44511
|
# @return [String]
|
44441
44512
|
attr_accessor :description
|
44442
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
|
+
|
44443
44520
|
# [Output Only] The unique identifier for the resource. This identifier is
|
44444
44521
|
# defined by the server.
|
44445
44522
|
# Corresponds to the JSON property `id`
|
@@ -44516,6 +44593,7 @@ module Google
|
|
44516
44593
|
def update!(**args)
|
44517
44594
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
44518
44595
|
@description = args[:description] if args.key?(:description)
|
44596
|
+
@gateway_ip_version = args[:gateway_ip_version] if args.key?(:gateway_ip_version)
|
44519
44597
|
@id = args[:id] if args.key?(:id)
|
44520
44598
|
@kind = args[:kind] if args.key?(:kind)
|
44521
44599
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
@@ -44924,6 +45002,13 @@ module Google
|
|
44924
45002
|
# @return [String]
|
44925
45003
|
attr_accessor :ip_address
|
44926
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
|
+
|
44927
45012
|
def initialize(**args)
|
44928
45013
|
update!(**args)
|
44929
45014
|
end
|
@@ -44933,6 +45018,7 @@ module Google
|
|
44933
45018
|
@id = args[:id] if args.key?(:id)
|
44934
45019
|
@interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment)
|
44935
45020
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
45021
|
+
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
44936
45022
|
end
|
44937
45023
|
end
|
44938
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
|
|
@@ -7929,6 +7935,7 @@ module Google
|
|
7929
7935
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7930
7936
|
property :id, as: 'id'
|
7931
7937
|
property :ip_address, as: 'ipAddress'
|
7938
|
+
property :ipv6_address, as: 'ipv6Address'
|
7932
7939
|
end
|
7933
7940
|
end
|
7934
7941
|
|
@@ -14118,6 +14125,9 @@ module Google
|
|
14118
14125
|
property :advertised_route_priority, as: 'advertisedRoutePriority'
|
14119
14126
|
property :bfd, as: 'bfd', class: Google::Apis::ComputeBeta::RouterBgpPeerBfd, decorator: Google::Apis::ComputeBeta::RouterBgpPeerBfd::Representation
|
14120
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'
|
14121
14131
|
property :enable, as: 'enable'
|
14122
14132
|
property :enable_ipv6, as: 'enableIpv6'
|
14123
14133
|
property :interface_name, as: 'interfaceName'
|
@@ -14143,6 +14153,13 @@ module Google
|
|
14143
14153
|
end
|
14144
14154
|
end
|
14145
14155
|
|
14156
|
+
class RouterBgpPeerCustomLearnedIpRange
|
14157
|
+
# @private
|
14158
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14159
|
+
property :range, as: 'range'
|
14160
|
+
end
|
14161
|
+
end
|
14162
|
+
|
14146
14163
|
class RouterInterface
|
14147
14164
|
# @private
|
14148
14165
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14906,6 +14923,7 @@ module Google
|
|
14906
14923
|
property :producer_forwarding_rule, as: 'producerForwardingRule'
|
14907
14924
|
property :psc_service_attachment_id, as: 'pscServiceAttachmentId', class: Google::Apis::ComputeBeta::Uint128, decorator: Google::Apis::ComputeBeta::Uint128::Representation
|
14908
14925
|
|
14926
|
+
property :reconcile_connections, as: 'reconcileConnections'
|
14909
14927
|
property :region, as: 'region'
|
14910
14928
|
property :self_link, as: 'selfLink'
|
14911
14929
|
property :target_service, as: 'targetService'
|
@@ -16975,6 +16993,7 @@ module Google
|
|
16975
16993
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16976
16994
|
property :creation_timestamp, as: 'creationTimestamp'
|
16977
16995
|
property :description, as: 'description'
|
16996
|
+
property :gateway_ip_version, as: 'gatewayIpVersion'
|
16978
16997
|
property :id, :numeric_string => true, as: 'id'
|
16979
16998
|
property :kind, as: 'kind'
|
16980
16999
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
@@ -17097,6 +17116,7 @@ module Google
|
|
17097
17116
|
property :id, as: 'id'
|
17098
17117
|
property :interconnect_attachment, as: 'interconnectAttachment'
|
17099
17118
|
property :ip_address, as: 'ipAddress'
|
17119
|
+
property :ipv6_address, as: 'ipv6Address'
|
17100
17120
|
end
|
17101
17121
|
end
|
17102
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: []
|