google-apis-compute_alpha 0.33.0 → 0.36.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: 7e83b220a31860cb869f0897b403f05aed787798e6aab1e7943133bb08d3f4f9
|
|
4
|
+
data.tar.gz: 0bc2de067861220d70d10bd73be5c27a0a51886702c4ac38239480eafc521b9c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fd44cc36176791c3748979ca88a0cf2e67f9b58cedb0bb0cf92b3535548eb687d98a4940acbb01eb80e01eda30c07108350994cdd9b9386c586c15716820b2e7
|
|
7
|
+
data.tar.gz: a7102c11d200624a43d851f2e354472abeb57b8b4f1847481f9e4f41110c48b5da476e3e9ea579869d2c0432639a83659f75d7762b3eec5411eec55d44d97b75
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Release history for google-apis-compute_alpha
|
|
2
2
|
|
|
3
|
+
### v0.36.0 (2022-05-25)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20220517
|
|
6
|
+
|
|
7
|
+
### v0.35.0 (2022-05-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20220510
|
|
10
|
+
|
|
11
|
+
### v0.34.0 (2022-05-11)
|
|
12
|
+
|
|
13
|
+
* Regenerated from discovery document revision 20220506
|
|
14
|
+
|
|
3
15
|
### v0.33.0 (2022-04-29)
|
|
4
16
|
|
|
5
17
|
* Regenerated from discovery document revision 20220426
|
|
@@ -3325,9 +3325,9 @@ module Google
|
|
|
3325
3325
|
# internal HTTP(S) load balancers and Traffic Director and requires
|
|
3326
3326
|
# GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is
|
|
3327
3327
|
# non-persistent and lasts only until the end of the browser session (or
|
|
3328
|
-
# equivalent). The maximum allowed value is
|
|
3329
|
-
# the backend service is referenced by a URL map that is bound to target
|
|
3330
|
-
# proxy that has validateForProxyless field set to true.
|
|
3328
|
+
# equivalent). The maximum allowed value is two weeks (1,209,600). Not supported
|
|
3329
|
+
# when the backend service is referenced by a URL map that is bound to target
|
|
3330
|
+
# gRPC proxy that has validateForProxyless field set to true.
|
|
3331
3331
|
# Corresponds to the JSON property `affinityCookieTtlSec`
|
|
3332
3332
|
# @return [Fixnum]
|
|
3333
3333
|
attr_accessor :affinity_cookie_ttl_sec
|
|
@@ -9392,21 +9392,26 @@ module Google
|
|
|
9392
9392
|
class ForwardingRule
|
|
9393
9393
|
include Google::Apis::Core::Hashable
|
|
9394
9394
|
|
|
9395
|
-
# IP address
|
|
9396
|
-
# this IP address, the forwarding rule directs the traffic to the
|
|
9397
|
-
#
|
|
9398
|
-
# an
|
|
9399
|
-
#
|
|
9400
|
-
#
|
|
9401
|
-
#
|
|
9402
|
-
#
|
|
9403
|
-
#
|
|
9404
|
-
#
|
|
9405
|
-
#
|
|
9406
|
-
# com/
|
|
9407
|
-
#
|
|
9408
|
-
#
|
|
9409
|
-
#
|
|
9395
|
+
# IP address for which this forwarding rule accepts traffic. When a client sends
|
|
9396
|
+
# traffic to this IP address, the forwarding rule directs the traffic to the
|
|
9397
|
+
# referenced target or backendService. While creating a forwarding rule,
|
|
9398
|
+
# specifying an IPAddress is required under the following circumstances: - When
|
|
9399
|
+
# the target is set to targetGrpcProxy and validateForProxyless is set to true,
|
|
9400
|
+
# the IPAddress should be set to 0.0.0.0. - When the target is a Private Service
|
|
9401
|
+
# Connect Google APIs bundle, you must specify an IPAddress. Otherwise, you can
|
|
9402
|
+
# optionally specify an IP address that references an existing static (reserved)
|
|
9403
|
+
# IP address resource. When omitted, Google Cloud assigns an ephemeral IP
|
|
9404
|
+
# address. Use one of the following formats to specify an IP address while
|
|
9405
|
+
# creating a forwarding rule: * IP address number, as in `100.1.2.3` * Full
|
|
9406
|
+
# resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/
|
|
9407
|
+
# regions/region /addresses/address-name * Partial URL or by name, as in: -
|
|
9408
|
+
# projects/project_id/regions/region/addresses/address-name - regions/region/
|
|
9409
|
+
# addresses/address-name - global/addresses/address-name - address-name The
|
|
9410
|
+
# forwarding rule's target or backendService, and in most cases, also the
|
|
9411
|
+
# loadBalancingScheme, determine the type of IP address that you can use. For
|
|
9412
|
+
# detailed information, see [IP address specifications](https://cloud.google.com/
|
|
9413
|
+
# load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When
|
|
9414
|
+
# reading an IPAddress, the API always returns the IP address number.
|
|
9410
9415
|
# Corresponds to the JSON property `IPAddress`
|
|
9411
9416
|
# @return [String]
|
|
9412
9417
|
attr_accessor :ip_address
|
|
@@ -12491,10 +12496,10 @@ module Google
|
|
|
12491
12496
|
|
|
12492
12497
|
# The list of host patterns to match. They must be valid hostnames with optional
|
|
12493
12498
|
# port numbers in the format host:port. * matches any string of ([a-z0-9-.]*).
|
|
12494
|
-
# In that case, * must be the first character and
|
|
12495
|
-
#
|
|
12496
|
-
# is bound to a target gRPC proxy that has the
|
|
12497
|
-
# true.
|
|
12499
|
+
# In that case, * must be the first character, and if followed by anything, the
|
|
12500
|
+
# immediate following character must be either - or .. * based matching is not
|
|
12501
|
+
# supported when the URL map is bound to a target gRPC proxy that has the
|
|
12502
|
+
# validateForProxyless field set to true.
|
|
12498
12503
|
# Corresponds to the JSON property `hosts`
|
|
12499
12504
|
# @return [Array<String>]
|
|
12500
12505
|
attr_accessor :hosts
|
|
@@ -13960,8 +13965,8 @@ module Google
|
|
|
13960
13965
|
# @return [String]
|
|
13961
13966
|
attr_accessor :source_snapshot_id
|
|
13962
13967
|
|
|
13963
|
-
# The type of the image used to create this disk. The default and only
|
|
13964
|
-
# RAW
|
|
13968
|
+
# The type of the image used to create this disk. The default and only valid
|
|
13969
|
+
# value is RAW.
|
|
13965
13970
|
# Corresponds to the JSON property `sourceType`
|
|
13966
13971
|
# @return [String]
|
|
13967
13972
|
attr_accessor :source_type
|
|
@@ -16177,12 +16182,16 @@ module Google
|
|
|
16177
16182
|
# @return [Fixnum]
|
|
16178
16183
|
attr_accessor :min_ready_sec
|
|
16179
16184
|
|
|
16180
|
-
# Minimal action to be taken on an instance.
|
|
16181
|
-
#
|
|
16182
|
-
#
|
|
16183
|
-
#
|
|
16184
|
-
#
|
|
16185
|
-
#
|
|
16185
|
+
# Minimal action to be taken on an instance. Use this option to minimize
|
|
16186
|
+
# disruption as much as possible or to apply a more disruptive action than is
|
|
16187
|
+
# necessary. - To limit disruption as much as possible, set the minimal action
|
|
16188
|
+
# to REFRESH. If your update requires a more disruptive action, Compute Engine
|
|
16189
|
+
# performs the necessary action to execute the update. - To apply a more
|
|
16190
|
+
# disruptive action than is strictly necessary, set the minimal action to
|
|
16191
|
+
# RESTART or REPLACE. For example, Compute Engine does not need to restart a VM
|
|
16192
|
+
# to change its metadata. But if your application reads instance metadata only
|
|
16193
|
+
# when a VM is restarted, you can set the minimal action to RESTART in order to
|
|
16194
|
+
# pick up metadata changes.
|
|
16186
16195
|
# Corresponds to the JSON property `minimalAction`
|
|
16187
16196
|
# @return [String]
|
|
16188
16197
|
attr_accessor :minimal_action
|
|
@@ -19311,6 +19320,12 @@ module Google
|
|
|
19311
19320
|
# @return [Fixnum]
|
|
19312
19321
|
attr_accessor :provisioned_link_count
|
|
19313
19322
|
|
|
19323
|
+
# Indicates that this is a Cross-Cloud Interconnect. This field specifies the
|
|
19324
|
+
# location outside of Google's network that the interconnect is connected to.
|
|
19325
|
+
# Corresponds to the JSON property `remoteLocation`
|
|
19326
|
+
# @return [String]
|
|
19327
|
+
attr_accessor :remote_location
|
|
19328
|
+
|
|
19314
19329
|
# Target number of physical links in the link bundle, as requested by the
|
|
19315
19330
|
# customer.
|
|
19316
19331
|
# Corresponds to the JSON property `requestedLinkCount`
|
|
@@ -19375,6 +19390,7 @@ module Google
|
|
|
19375
19390
|
@operational_status = args[:operational_status] if args.key?(:operational_status)
|
|
19376
19391
|
@peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
|
|
19377
19392
|
@provisioned_link_count = args[:provisioned_link_count] if args.key?(:provisioned_link_count)
|
|
19393
|
+
@remote_location = args[:remote_location] if args.key?(:remote_location)
|
|
19378
19394
|
@requested_link_count = args[:requested_link_count] if args.key?(:requested_link_count)
|
|
19379
19395
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
|
19380
19396
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
@@ -33697,9 +33713,9 @@ module Google
|
|
|
33697
33713
|
class ResourcePolicyGroupPlacementPolicy
|
|
33698
33714
|
include Google::Apis::Core::Hashable
|
|
33699
33715
|
|
|
33700
|
-
# The number of availability domains
|
|
33701
|
-
# instances are in different availability domain, they
|
|
33702
|
-
#
|
|
33716
|
+
# The number of availability domains to spread instances across. If two
|
|
33717
|
+
# instances are in different availability domain, they are not in the same low
|
|
33718
|
+
# latency network.
|
|
33703
33719
|
# Corresponds to the JSON property `availabilityDomainCount`
|
|
33704
33720
|
# @return [Fixnum]
|
|
33705
33721
|
attr_accessor :availability_domain_count
|
|
@@ -33724,7 +33740,9 @@ module Google
|
|
|
33724
33740
|
# @return [String]
|
|
33725
33741
|
attr_accessor :style
|
|
33726
33742
|
|
|
33727
|
-
# Number of
|
|
33743
|
+
# Number of VMs in this placement group. Google does not recommend that you use
|
|
33744
|
+
# this field unless you use a compact policy and you want your policy to work
|
|
33745
|
+
# only if it contains this exact number of VMs.
|
|
33728
33746
|
# Corresponds to the JSON property `vmCount`
|
|
33729
33747
|
# @return [Fixnum]
|
|
33730
33748
|
attr_accessor :vm_count
|
|
@@ -36753,8 +36771,8 @@ module Google
|
|
|
36753
36771
|
|
|
36754
36772
|
# Defines the maintenance behavior for this instance. For standard instances,
|
|
36755
36773
|
# the default behavior is MIGRATE. For preemptible instances, the default and
|
|
36756
|
-
# only possible behavior is TERMINATE. For more information, see Set VM
|
|
36757
|
-
#
|
|
36774
|
+
# only possible behavior is TERMINATE. For more information, see Set VM host
|
|
36775
|
+
# maintenance policy.
|
|
36758
36776
|
# Corresponds to the JSON property `onHostMaintenance`
|
|
36759
36777
|
# @return [String]
|
|
36760
36778
|
attr_accessor :on_host_maintenance
|
|
@@ -37341,6 +37359,11 @@ module Google
|
|
|
37341
37359
|
class SecurityPolicyAdaptiveProtectionConfig
|
|
37342
37360
|
include Google::Apis::Core::Hashable
|
|
37343
37361
|
|
|
37362
|
+
# Configuration options for Adaptive Protection auto-deploy feature.
|
|
37363
|
+
# Corresponds to the JSON property `autoDeployConfig`
|
|
37364
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]
|
|
37365
|
+
attr_accessor :auto_deploy_config
|
|
37366
|
+
|
|
37344
37367
|
# Configuration options for L7 DDoS detection.
|
|
37345
37368
|
# Corresponds to the JSON property `layer7DdosDefenseConfig`
|
|
37346
37369
|
# @return [Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]
|
|
@@ -37352,10 +37375,48 @@ module Google
|
|
|
37352
37375
|
|
|
37353
37376
|
# Update properties of this object
|
|
37354
37377
|
def update!(**args)
|
|
37378
|
+
@auto_deploy_config = args[:auto_deploy_config] if args.key?(:auto_deploy_config)
|
|
37355
37379
|
@layer7_ddos_defense_config = args[:layer7_ddos_defense_config] if args.key?(:layer7_ddos_defense_config)
|
|
37356
37380
|
end
|
|
37357
37381
|
end
|
|
37358
37382
|
|
|
37383
|
+
# Configuration options for Adaptive Protection auto-deploy feature.
|
|
37384
|
+
class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
|
|
37385
|
+
include Google::Apis::Core::Hashable
|
|
37386
|
+
|
|
37387
|
+
#
|
|
37388
|
+
# Corresponds to the JSON property `confidenceThreshold`
|
|
37389
|
+
# @return [Float]
|
|
37390
|
+
attr_accessor :confidence_threshold
|
|
37391
|
+
|
|
37392
|
+
#
|
|
37393
|
+
# Corresponds to the JSON property `expirationSec`
|
|
37394
|
+
# @return [Fixnum]
|
|
37395
|
+
attr_accessor :expiration_sec
|
|
37396
|
+
|
|
37397
|
+
#
|
|
37398
|
+
# Corresponds to the JSON property `impactedBaselineThreshold`
|
|
37399
|
+
# @return [Float]
|
|
37400
|
+
attr_accessor :impacted_baseline_threshold
|
|
37401
|
+
|
|
37402
|
+
#
|
|
37403
|
+
# Corresponds to the JSON property `loadThreshold`
|
|
37404
|
+
# @return [Float]
|
|
37405
|
+
attr_accessor :load_threshold
|
|
37406
|
+
|
|
37407
|
+
def initialize(**args)
|
|
37408
|
+
update!(**args)
|
|
37409
|
+
end
|
|
37410
|
+
|
|
37411
|
+
# Update properties of this object
|
|
37412
|
+
def update!(**args)
|
|
37413
|
+
@confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
|
|
37414
|
+
@expiration_sec = args[:expiration_sec] if args.key?(:expiration_sec)
|
|
37415
|
+
@impacted_baseline_threshold = args[:impacted_baseline_threshold] if args.key?(:impacted_baseline_threshold)
|
|
37416
|
+
@load_threshold = args[:load_threshold] if args.key?(:load_threshold)
|
|
37417
|
+
end
|
|
37418
|
+
end
|
|
37419
|
+
|
|
37359
37420
|
# Configuration options for L7 DDoS detection.
|
|
37360
37421
|
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
|
|
37361
37422
|
include Google::Apis::Core::Hashable
|
|
@@ -39257,6 +39318,11 @@ module Google
|
|
|
39257
39318
|
# @return [String]
|
|
39258
39319
|
attr_accessor :chain_name
|
|
39259
39320
|
|
|
39321
|
+
# [Output Only] Size in bytes of the snapshot at creation time.
|
|
39322
|
+
# Corresponds to the JSON property `creationSizeBytes`
|
|
39323
|
+
# @return [Fixnum]
|
|
39324
|
+
attr_accessor :creation_size_bytes
|
|
39325
|
+
|
|
39260
39326
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
|
39261
39327
|
# Corresponds to the JSON property `creationTimestamp`
|
|
39262
39328
|
# @return [String]
|
|
@@ -39472,6 +39538,7 @@ module Google
|
|
|
39472
39538
|
@architecture = args[:architecture] if args.key?(:architecture)
|
|
39473
39539
|
@auto_created = args[:auto_created] if args.key?(:auto_created)
|
|
39474
39540
|
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
|
39541
|
+
@creation_size_bytes = args[:creation_size_bytes] if args.key?(:creation_size_bytes)
|
|
39475
39542
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
39476
39543
|
@description = args[:description] if args.key?(:description)
|
|
39477
39544
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ComputeAlpha
|
|
18
18
|
# Version of the google-apis-compute_alpha gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.36.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20220517"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -4858,6 +4858,12 @@ module Google
|
|
|
4858
4858
|
include Google::Apis::Core::JsonObjectSupport
|
|
4859
4859
|
end
|
|
4860
4860
|
|
|
4861
|
+
class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
|
|
4862
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4863
|
+
|
|
4864
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4865
|
+
end
|
|
4866
|
+
|
|
4861
4867
|
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
|
|
4862
4868
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4863
4869
|
|
|
@@ -10986,6 +10992,7 @@ module Google
|
|
|
10986
10992
|
property :operational_status, as: 'operationalStatus'
|
|
10987
10993
|
property :peer_ip_address, as: 'peerIpAddress'
|
|
10988
10994
|
property :provisioned_link_count, as: 'provisionedLinkCount'
|
|
10995
|
+
property :remote_location, as: 'remoteLocation'
|
|
10989
10996
|
property :requested_link_count, as: 'requestedLinkCount'
|
|
10990
10997
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
|
10991
10998
|
property :self_link, as: 'selfLink'
|
|
@@ -15553,11 +15560,23 @@ module Google
|
|
|
15553
15560
|
class SecurityPolicyAdaptiveProtectionConfig
|
|
15554
15561
|
# @private
|
|
15555
15562
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15563
|
+
property :auto_deploy_config, as: 'autoDeployConfig', class: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig, decorator: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig::Representation
|
|
15564
|
+
|
|
15556
15565
|
property :layer7_ddos_defense_config, as: 'layer7DdosDefenseConfig', class: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig, decorator: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig::Representation
|
|
15557
15566
|
|
|
15558
15567
|
end
|
|
15559
15568
|
end
|
|
15560
15569
|
|
|
15570
|
+
class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
|
|
15571
|
+
# @private
|
|
15572
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15573
|
+
property :confidence_threshold, as: 'confidenceThreshold'
|
|
15574
|
+
property :expiration_sec, as: 'expirationSec'
|
|
15575
|
+
property :impacted_baseline_threshold, as: 'impactedBaselineThreshold'
|
|
15576
|
+
property :load_threshold, as: 'loadThreshold'
|
|
15577
|
+
end
|
|
15578
|
+
end
|
|
15579
|
+
|
|
15561
15580
|
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
|
|
15562
15581
|
# @private
|
|
15563
15582
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -16062,6 +16081,7 @@ module Google
|
|
|
16062
16081
|
property :architecture, as: 'architecture'
|
|
16063
16082
|
property :auto_created, as: 'autoCreated'
|
|
16064
16083
|
property :chain_name, as: 'chainName'
|
|
16084
|
+
property :creation_size_bytes, :numeric_string => true, as: 'creationSizeBytes'
|
|
16065
16085
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
16066
16086
|
property :description, as: 'description'
|
|
16067
16087
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
|
@@ -13930,8 +13930,8 @@ module Google
|
|
|
13930
13930
|
# Sets an instance's scheduling options. You can only call this method on a
|
|
13931
13931
|
# stopped instance, that is, a VM instance that is in a `TERMINATED` state. See
|
|
13932
13932
|
# Instance Life Cycle for more information on the possible instance states. For
|
|
13933
|
-
# more information about setting scheduling options for a VM, see Set VM
|
|
13934
|
-
#
|
|
13933
|
+
# more information about setting scheduling options for a VM, see Set VM host
|
|
13934
|
+
# maintenance policy.
|
|
13935
13935
|
# @param [String] project
|
|
13936
13936
|
# Project ID for this request.
|
|
13937
13937
|
# @param [String] zone
|
|
@@ -24840,6 +24840,61 @@ module Google
|
|
|
24840
24840
|
execute_or_queue_command(command, &block)
|
|
24841
24841
|
end
|
|
24842
24842
|
|
|
24843
|
+
# Sets the Google Cloud Armor security policy for the specified backend service.
|
|
24844
|
+
# For more information, see Google Cloud Armor Overview
|
|
24845
|
+
# @param [String] project
|
|
24846
|
+
# Project ID for this request.
|
|
24847
|
+
# @param [String] region
|
|
24848
|
+
# Name of the region scoping this request.
|
|
24849
|
+
# @param [String] backend_service
|
|
24850
|
+
# Name of the BackendService resource to which the security policy should be set.
|
|
24851
|
+
# The name should conform to RFC1035.
|
|
24852
|
+
# @param [Google::Apis::ComputeAlpha::SecurityPolicyReference] security_policy_reference_object
|
|
24853
|
+
# @param [String] request_id
|
|
24854
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
24855
|
+
# that if you must retry your request, the server will know to ignore the
|
|
24856
|
+
# request if it has already been completed. For example, consider a situation
|
|
24857
|
+
# where you make an initial request and the request times out. If you make the
|
|
24858
|
+
# request again with the same request ID, the server can check if original
|
|
24859
|
+
# operation with the same request ID was received, and if so, will ignore the
|
|
24860
|
+
# second request. This prevents clients from accidentally creating duplicate
|
|
24861
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
|
24862
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
|
24863
|
+
# @param [String] fields
|
|
24864
|
+
# Selector specifying which fields to include in a partial response.
|
|
24865
|
+
# @param [String] quota_user
|
|
24866
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
24867
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
24868
|
+
# @param [String] user_ip
|
|
24869
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
24870
|
+
# @param [Google::Apis::RequestOptions] options
|
|
24871
|
+
# Request-specific options
|
|
24872
|
+
#
|
|
24873
|
+
# @yield [result, err] Result & error if block supplied
|
|
24874
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
24875
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
24876
|
+
#
|
|
24877
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
24878
|
+
#
|
|
24879
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
24880
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
24881
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
24882
|
+
def set_region_backend_service_security_policy(project, region, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
24883
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices/{backendService}/setSecurityPolicy', options)
|
|
24884
|
+
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyReference::Representation
|
|
24885
|
+
command.request_object = security_policy_reference_object
|
|
24886
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
24887
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
24888
|
+
command.params['project'] = project unless project.nil?
|
|
24889
|
+
command.params['region'] = region unless region.nil?
|
|
24890
|
+
command.params['backendService'] = backend_service unless backend_service.nil?
|
|
24891
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
24892
|
+
command.query['fields'] = fields unless fields.nil?
|
|
24893
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
24894
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
24895
|
+
execute_or_queue_command(command, &block)
|
|
24896
|
+
end
|
|
24897
|
+
|
|
24843
24898
|
# Returns permissions that a caller has on the specified resource.
|
|
24844
24899
|
# @param [String] project
|
|
24845
24900
|
# Project ID for this request.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-compute_alpha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.36.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: 2022-05-
|
|
11
|
+
date: 2022-05-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_alpha/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.36.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
76
|
version: '0'
|
|
77
77
|
requirements: []
|
|
78
|
-
rubygems_version: 3.3.
|
|
78
|
+
rubygems_version: 3.3.14
|
|
79
79
|
signing_key:
|
|
80
80
|
specification_version: 4
|
|
81
81
|
summary: Simple REST client for Compute Engine API Alpha
|