google-apis-compute_beta 0.10.0 → 0.11.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: 6a393d1838a4e7d7461ed0e02abe241f122f3fbeec3eae2caff56fdaec5edcb2
|
4
|
+
data.tar.gz: 4deedeb52f515cf5b2b91add4600dec9d9797d785b30090ea618d459703dff48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 476810b4b54dea3500996bbd9eb6d40ed0cd9bb505f7bd25d7816498e8f0bd0241e34f317d34b2e581ec624234177c00f50a56f8fc867a0b4b8ea21e2ab18820
|
7
|
+
data.tar.gz: d05dd3c4198a8f017010a2c099203b3c142ec7dd28ac8fc628f7d081d739afc0373d5dc577b22852118a955444f9a38eb6fe78a01487b430549eed3007405245
|
data/CHANGELOG.md
CHANGED
@@ -665,7 +665,8 @@ module Google
|
|
665
665
|
# reserved for Cloud NAT.
|
666
666
|
# - `IPSEC_INTERCONNECT` for addresses created from a private IP range that are
|
667
667
|
# reserved for a VLAN attachment in an IPsec-encrypted Cloud Interconnect
|
668
|
-
# configuration. These addresses are regional resources.
|
668
|
+
# configuration. These addresses are regional resources. Not currently available
|
669
|
+
# publicly.
|
669
670
|
# Corresponds to the JSON property `purpose`
|
670
671
|
# @return [String]
|
671
672
|
attr_accessor :purpose
|
@@ -2679,6 +2680,12 @@ module Google
|
|
2679
2680
|
# @return [Google::Apis::ComputeBeta::BackendBucketCdnPolicy]
|
2680
2681
|
attr_accessor :cdn_policy
|
2681
2682
|
|
2683
|
+
# Compress text responses using Brotli or gzip compression, based on the client?
|
2684
|
+
# s Accept-Encoding header.
|
2685
|
+
# Corresponds to the JSON property `compressionMode`
|
2686
|
+
# @return [String]
|
2687
|
+
attr_accessor :compression_mode
|
2688
|
+
|
2682
2689
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
2683
2690
|
# Corresponds to the JSON property `creationTimestamp`
|
2684
2691
|
# @return [String]
|
@@ -2695,6 +2702,12 @@ module Google
|
|
2695
2702
|
# @return [String]
|
2696
2703
|
attr_accessor :description
|
2697
2704
|
|
2705
|
+
# [Output Only] The resource URL for the edge security policy associated with
|
2706
|
+
# this backend bucket.
|
2707
|
+
# Corresponds to the JSON property `edgeSecurityPolicy`
|
2708
|
+
# @return [String]
|
2709
|
+
attr_accessor :edge_security_policy
|
2710
|
+
|
2698
2711
|
# If true, enable Cloud CDN for this BackendBucket.
|
2699
2712
|
# Corresponds to the JSON property `enableCdn`
|
2700
2713
|
# @return [Boolean]
|
@@ -2734,9 +2747,11 @@ module Google
|
|
2734
2747
|
def update!(**args)
|
2735
2748
|
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
2736
2749
|
@cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy)
|
2750
|
+
@compression_mode = args[:compression_mode] if args.key?(:compression_mode)
|
2737
2751
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
2738
2752
|
@custom_response_headers = args[:custom_response_headers] if args.key?(:custom_response_headers)
|
2739
2753
|
@description = args[:description] if args.key?(:description)
|
2754
|
+
@edge_security_policy = args[:edge_security_policy] if args.key?(:edge_security_policy)
|
2740
2755
|
@enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
|
2741
2756
|
@id = args[:id] if args.key?(:id)
|
2742
2757
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -3139,6 +3154,12 @@ module Google
|
|
3139
3154
|
# @return [Google::Apis::ComputeBeta::CircuitBreakers]
|
3140
3155
|
attr_accessor :circuit_breakers
|
3141
3156
|
|
3157
|
+
# Compress text responses using Brotli or gzip compression, based on the client?
|
3158
|
+
# s Accept-Encoding header.
|
3159
|
+
# Corresponds to the JSON property `compressionMode`
|
3160
|
+
# @return [String]
|
3161
|
+
attr_accessor :compression_mode
|
3162
|
+
|
3142
3163
|
# Message containing connection draining configuration.
|
3143
3164
|
# Corresponds to the JSON property `connectionDraining`
|
3144
3165
|
# @return [Google::Apis::ComputeBeta::ConnectionDraining]
|
@@ -3175,6 +3196,12 @@ module Google
|
|
3175
3196
|
# @return [String]
|
3176
3197
|
attr_accessor :description
|
3177
3198
|
|
3199
|
+
# [Output Only] The resource URL for the edge security policy associated with
|
3200
|
+
# this backend service.
|
3201
|
+
# Corresponds to the JSON property `edgeSecurityPolicy`
|
3202
|
+
# @return [String]
|
3203
|
+
attr_accessor :edge_security_policy
|
3204
|
+
|
3178
3205
|
# If true, enables Cloud CDN for the backend service. Only applicable if the
|
3179
3206
|
# loadBalancingScheme is EXTERNAL and the protocol is HTTP or HTTPS.
|
3180
3207
|
# Corresponds to the JSON property `enableCDN`
|
@@ -3407,6 +3434,7 @@ module Google
|
|
3407
3434
|
@backends = args[:backends] if args.key?(:backends)
|
3408
3435
|
@cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy)
|
3409
3436
|
@circuit_breakers = args[:circuit_breakers] if args.key?(:circuit_breakers)
|
3437
|
+
@compression_mode = args[:compression_mode] if args.key?(:compression_mode)
|
3410
3438
|
@connection_draining = args[:connection_draining] if args.key?(:connection_draining)
|
3411
3439
|
@connection_tracking_policy = args[:connection_tracking_policy] if args.key?(:connection_tracking_policy)
|
3412
3440
|
@consistent_hash = args[:consistent_hash] if args.key?(:consistent_hash)
|
@@ -3414,6 +3442,7 @@ module Google
|
|
3414
3442
|
@custom_request_headers = args[:custom_request_headers] if args.key?(:custom_request_headers)
|
3415
3443
|
@custom_response_headers = args[:custom_response_headers] if args.key?(:custom_response_headers)
|
3416
3444
|
@description = args[:description] if args.key?(:description)
|
3445
|
+
@edge_security_policy = args[:edge_security_policy] if args.key?(:edge_security_policy)
|
3417
3446
|
@enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
|
3418
3447
|
@failover_policy = args[:failover_policy] if args.key?(:failover_policy)
|
3419
3448
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
@@ -7255,6 +7284,10 @@ module Google
|
|
7255
7284
|
attr_accessor :id
|
7256
7285
|
|
7257
7286
|
# List of interfaces for this external VPN gateway.
|
7287
|
+
# If your peer-side gateway is an on-premises gateway and non-AWS cloud
|
7288
|
+
# providers? gateway, at most two interfaces can be provided for an external VPN
|
7289
|
+
# gateway. If your peer side is an AWS virtual private gateway, four interfaces
|
7290
|
+
# should be provided for an external VPN gateway.
|
7258
7291
|
# Corresponds to the JSON property `interfaces`
|
7259
7292
|
# @return [Array<Google::Apis::ComputeBeta::ExternalVpnGatewayInterface>]
|
7260
7293
|
attr_accessor :interfaces
|
@@ -7330,8 +7363,9 @@ module Google
|
|
7330
7363
|
|
7331
7364
|
# The numeric ID of this interface. The allowed input values for this id for
|
7332
7365
|
# different redundancy types of external VPN gateway:
|
7333
|
-
#
|
7334
|
-
#
|
7366
|
+
# - SINGLE_IP_INTERNALLY_REDUNDANT - 0
|
7367
|
+
# - TWO_IPS_REDUNDANCY - 0, 1
|
7368
|
+
# - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
|
7335
7369
|
# Corresponds to the JSON property `id`
|
7336
7370
|
# @return [Fixnum]
|
7337
7371
|
attr_accessor :id
|
@@ -8398,7 +8432,7 @@ module Google
|
|
8398
8432
|
# - If the value is a percent, then the calculated value is percent/100 *
|
8399
8433
|
# targetSize. For example, the calculated value of a 80% of a managed instance
|
8400
8434
|
# group with 150 instances would be (80/100 * 150) = 120 VM instances. If there
|
8401
|
-
# is a remainder, the number is rounded
|
8435
|
+
# is a remainder, the number is rounded.
|
8402
8436
|
# Corresponds to the JSON property `calculated`
|
8403
8437
|
# @return [Fixnum]
|
8404
8438
|
attr_accessor :calculated
|
@@ -16512,15 +16546,18 @@ module Google
|
|
16512
16546
|
# @return [String]
|
16513
16547
|
attr_accessor :edge_availability_domain
|
16514
16548
|
|
16515
|
-
# Indicates the user-supplied encryption option of this
|
16516
|
-
#
|
16517
|
-
#
|
16518
|
-
#
|
16519
|
-
#
|
16520
|
-
#
|
16521
|
-
#
|
16522
|
-
#
|
16523
|
-
#
|
16549
|
+
# Indicates the user-supplied encryption option of this VLAN attachment (
|
16550
|
+
# interconnectAttachment). Can only be specified at attachment creation for
|
16551
|
+
# PARTNER or DEDICATED attachments. Possible values are:
|
16552
|
+
# - NONE - This is the default value, which means that the VLAN attachment
|
16553
|
+
# carries unencrypted traffic. VMs are able to send traffic to, or receive
|
16554
|
+
# traffic from, such a VLAN attachment.
|
16555
|
+
# - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted
|
16556
|
+
# by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs
|
16557
|
+
# cannot directly send traffic to, or receive traffic from, such a VLAN
|
16558
|
+
# attachment. To use IPsec-encrypted Cloud Interconnect, the VLAN attachment
|
16559
|
+
# must be created with this option.
|
16560
|
+
# Not currently available publicly.
|
16524
16561
|
# Corresponds to the JSON property `encryption`
|
16525
16562
|
# @return [String]
|
16526
16563
|
attr_accessor :encryption
|
@@ -16544,19 +16581,19 @@ module Google
|
|
16544
16581
|
# @return [String]
|
16545
16582
|
attr_accessor :interconnect
|
16546
16583
|
|
16547
|
-
# URL of addresses that have been reserved for the
|
16548
|
-
# only for
|
16549
|
-
# addresses must be
|
16550
|
-
# over the
|
16551
|
-
#
|
16552
|
-
# the IP address range specified here. For example, if the HA VPN gateway's
|
16553
|
-
# interface 0 is paired to this
|
16584
|
+
# List of URL of addresses that have been reserved for the VLAN attachment. Used
|
16585
|
+
# only for the VLAN attachment that has the encryption option as IPSEC. The
|
16586
|
+
# addresses must be regional internal IP address ranges. When creating an HA VPN
|
16587
|
+
# gateway over the VLAN attachment, if the attachment is configured to use a
|
16588
|
+
# regional internal IP address, then the VPN gateway's IP address is allocated
|
16589
|
+
# from the IP address range specified here. For example, if the HA VPN gateway's
|
16590
|
+
# interface 0 is paired to this VLAN attachment, then a regional internal IP
|
16554
16591
|
# address for the VPN gateway interface 0 will be allocated from the IP address
|
16555
|
-
# specified for this
|
16556
|
-
#
|
16557
|
-
#
|
16558
|
-
#
|
16559
|
-
# Not currently available
|
16592
|
+
# specified for this VLAN attachment. If this field is not specified when
|
16593
|
+
# creating the VLAN attachment, then later on when creating an HA VPN gateway on
|
16594
|
+
# this VLAN attachment, the HA VPN gateway's IP address is allocated from the
|
16595
|
+
# regional external IP address pool.
|
16596
|
+
# Not currently available publicly.
|
16560
16597
|
# Corresponds to the JSON property `ipsecInternalAddresses`
|
16561
16598
|
# @return [Array<String>]
|
16562
16599
|
attr_accessor :ipsec_internal_addresses
|
@@ -27675,7 +27712,10 @@ module Google
|
|
27675
27712
|
# @return [String]
|
27676
27713
|
attr_accessor :key
|
27677
27714
|
|
27678
|
-
# Corresponds to the label values of a reservation resource.
|
27715
|
+
# Corresponds to the label values of a reservation resource. This can be either
|
27716
|
+
# a name to a reservation in the same project or "projects/different-project/
|
27717
|
+
# reservations/some-reservation-name" to target a shared reservation in the same
|
27718
|
+
# zone but in a different project.
|
27679
27719
|
# Corresponds to the JSON property `values`
|
27680
27720
|
# @return [Array<String>]
|
27681
27721
|
attr_accessor :values
|
@@ -29318,9 +29358,9 @@ module Google
|
|
29318
29358
|
# @return [String]
|
29319
29359
|
attr_accessor :description
|
29320
29360
|
|
29321
|
-
#
|
29322
|
-
#
|
29323
|
-
# Not currently available
|
29361
|
+
# Indicates if a router is dedicated for use with encrypted VLAN attachments (
|
29362
|
+
# interconnectAttachments).
|
29363
|
+
# Not currently available publicly.
|
29324
29364
|
# Corresponds to the JSON property `encryptedInterconnectRouter`
|
29325
29365
|
# @return [Boolean]
|
29326
29366
|
attr_accessor :encrypted_interconnect_router
|
@@ -29581,7 +29621,6 @@ module Google
|
|
29581
29621
|
|
29582
29622
|
# The interval in seconds between BGP keepalive messages that are sent to the
|
29583
29623
|
# peer.
|
29584
|
-
# Not currently available publicly.
|
29585
29624
|
# Hold time is three times the interval at which keepalive messages are sent,
|
29586
29625
|
# and the hold time is the maximum number of seconds allowed to elapse between
|
29587
29626
|
# successive keepalive messages that BGP receives from a peer.
|
@@ -29650,7 +29689,6 @@ module Google
|
|
29650
29689
|
attr_accessor :bfd
|
29651
29690
|
|
29652
29691
|
# The status of the BGP peer connection.
|
29653
|
-
# Not currently available publicly.
|
29654
29692
|
# If set to FALSE, any active session with the peer is terminated and all
|
29655
29693
|
# associated routing information is removed. If set to TRUE, the peer connection
|
29656
29694
|
# can be established with routing information. The default is TRUE.
|
@@ -30819,6 +30857,13 @@ module Google
|
|
30819
30857
|
attr_accessor :automatic_restart
|
30820
30858
|
alias_method :automatic_restart?, :automatic_restart
|
30821
30859
|
|
30860
|
+
# Specify the time in seconds for host error detection, the value must be within
|
30861
|
+
# the range of [90, 330] with the increment of 30, if unset, the default
|
30862
|
+
# behavior of host error recovery will be used.
|
30863
|
+
# Corresponds to the JSON property `hostErrorTimeoutSeconds`
|
30864
|
+
# @return [Fixnum]
|
30865
|
+
attr_accessor :host_error_timeout_seconds
|
30866
|
+
|
30822
30867
|
# An opaque location hint used to place the instance close to other resources.
|
30823
30868
|
# This field is for use by internal tools that use the public API.
|
30824
30869
|
# Corresponds to the JSON property `locationHint`
|
@@ -30873,6 +30918,7 @@ module Google
|
|
30873
30918
|
# Update properties of this object
|
30874
30919
|
def update!(**args)
|
30875
30920
|
@automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
|
30921
|
+
@host_error_timeout_seconds = args[:host_error_timeout_seconds] if args.key?(:host_error_timeout_seconds)
|
30876
30922
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
30877
30923
|
@maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
|
30878
30924
|
@maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
|
@@ -30992,6 +31038,11 @@ module Google
|
|
30992
31038
|
# @return [Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfig]
|
30993
31039
|
attr_accessor :adaptive_protection_config
|
30994
31040
|
|
31041
|
+
#
|
31042
|
+
# Corresponds to the JSON property `advancedOptionsConfig`
|
31043
|
+
# @return [Google::Apis::ComputeBeta::SecurityPolicyAdvancedOptionsConfig]
|
31044
|
+
attr_accessor :advanced_options_config
|
31045
|
+
|
30995
31046
|
# A list of associations that belong to this policy.
|
30996
31047
|
# Corresponds to the JSON property `associations`
|
30997
31048
|
# @return [Array<Google::Apis::ComputeBeta::SecurityPolicyAssociation>]
|
@@ -31114,6 +31165,7 @@ module Google
|
|
31114
31165
|
# Update properties of this object
|
31115
31166
|
def update!(**args)
|
31116
31167
|
@adaptive_protection_config = args[:adaptive_protection_config] if args.key?(:adaptive_protection_config)
|
31168
|
+
@advanced_options_config = args[:advanced_options_config] if args.key?(:advanced_options_config)
|
31117
31169
|
@associations = args[:associations] if args.key?(:associations)
|
31118
31170
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
31119
31171
|
@description = args[:description] if args.key?(:description)
|
@@ -31179,6 +31231,31 @@ module Google
|
|
31179
31231
|
end
|
31180
31232
|
end
|
31181
31233
|
|
31234
|
+
#
|
31235
|
+
class SecurityPolicyAdvancedOptionsConfig
|
31236
|
+
include Google::Apis::Core::Hashable
|
31237
|
+
|
31238
|
+
#
|
31239
|
+
# Corresponds to the JSON property `jsonParsing`
|
31240
|
+
# @return [String]
|
31241
|
+
attr_accessor :json_parsing
|
31242
|
+
|
31243
|
+
#
|
31244
|
+
# Corresponds to the JSON property `logLevel`
|
31245
|
+
# @return [String]
|
31246
|
+
attr_accessor :log_level
|
31247
|
+
|
31248
|
+
def initialize(**args)
|
31249
|
+
update!(**args)
|
31250
|
+
end
|
31251
|
+
|
31252
|
+
# Update properties of this object
|
31253
|
+
def update!(**args)
|
31254
|
+
@json_parsing = args[:json_parsing] if args.key?(:json_parsing)
|
31255
|
+
@log_level = args[:log_level] if args.key?(:log_level)
|
31256
|
+
end
|
31257
|
+
end
|
31258
|
+
|
31182
31259
|
#
|
31183
31260
|
class SecurityPolicyAssociation
|
31184
31261
|
include Google::Apis::Core::Hashable
|
@@ -38967,7 +39044,9 @@ module Google
|
|
38967
39044
|
# requests. If the number of results is larger than maxResults, use the
|
38968
39045
|
# nextPageToken as a value for the query parameter pageToken in the next list
|
38969
39046
|
# request. Subsequent list requests will have their own nextPageToken to
|
38970
|
-
# continue paging through the results.
|
39047
|
+
# continue paging through the results. In special cases listUsable may return 0
|
39048
|
+
# subnetworks and nextPageToken which still should be used to get the next page
|
39049
|
+
# of results.
|
38971
39050
|
# Corresponds to the JSON property `nextPageToken`
|
38972
39051
|
# @return [String]
|
38973
39052
|
attr_accessor :next_page_token
|
@@ -39371,7 +39450,7 @@ module Google
|
|
39371
39450
|
# @return [String]
|
39372
39451
|
attr_accessor :self_link
|
39373
39452
|
|
39374
|
-
#
|
39453
|
+
# The list of VPN interfaces associated with this VPN gateway.
|
39375
39454
|
# Corresponds to the JSON property `vpnInterfaces`
|
39376
39455
|
# @return [Array<Google::Apis::ComputeBeta::VpnGatewayVpnGatewayInterface>]
|
39377
39456
|
attr_accessor :vpn_interfaces
|
@@ -39764,21 +39843,30 @@ module Google
|
|
39764
39843
|
class VpnGatewayVpnGatewayInterface
|
39765
39844
|
include Google::Apis::Core::Hashable
|
39766
39845
|
|
39767
|
-
#
|
39846
|
+
# [Output Only] Numeric identifier for this VPN interface associated with the
|
39847
|
+
# VPN gateway.
|
39768
39848
|
# Corresponds to the JSON property `id`
|
39769
39849
|
# @return [Fixnum]
|
39770
39850
|
attr_accessor :id
|
39771
39851
|
|
39772
|
-
# URL of the
|
39773
|
-
#
|
39774
|
-
#
|
39775
|
-
# the specified
|
39776
|
-
# Not currently available
|
39852
|
+
# URL of the VLAN attachment (interconnectAttachment) resource for this VPN
|
39853
|
+
# gateway interface. When the value of this field is present, the VPN gateway is
|
39854
|
+
# used for IPsec-encrypted Cloud Interconnect; all egress or ingress traffic for
|
39855
|
+
# this VPN gateway interface goes through the specified VLAN attachment resource.
|
39856
|
+
# Not currently available publicly.
|
39777
39857
|
# Corresponds to the JSON property `interconnectAttachment`
|
39778
39858
|
# @return [String]
|
39779
39859
|
attr_accessor :interconnect_attachment
|
39780
39860
|
|
39781
|
-
# [Output Only]
|
39861
|
+
# [Output Only] IP address for this VPN interface associated with the VPN
|
39862
|
+
# gateway. The IP address could be either a regional external IP address or a
|
39863
|
+
# regional internal IP address. The two IP addresses for a VPN gateway must be
|
39864
|
+
# all regional external or regional internal IP addresses. There cannot be a mix
|
39865
|
+
# of regional external IP addresses and regional internal IP addresses. For
|
39866
|
+
# IPsec-encrypted Cloud Interconnect, the IP addresses for both interfaces could
|
39867
|
+
# either be regional internal IP addresses or regional external IP addresses.
|
39868
|
+
# For regular (non IPsec-encrypted Cloud Interconnect) HA VPN tunnels, the IP
|
39869
|
+
# address must be a regional external IP address.
|
39782
39870
|
# Corresponds to the JSON property `ipAddress`
|
39783
39871
|
# @return [String]
|
39784
39872
|
attr_accessor :ip_address
|
@@ -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.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210518"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -4024,6 +4024,12 @@ module Google
|
|
4024
4024
|
include Google::Apis::Core::JsonObjectSupport
|
4025
4025
|
end
|
4026
4026
|
|
4027
|
+
class SecurityPolicyAdvancedOptionsConfig
|
4028
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4029
|
+
|
4030
|
+
include Google::Apis::Core::JsonObjectSupport
|
4031
|
+
end
|
4032
|
+
|
4027
4033
|
class SecurityPolicyAssociation
|
4028
4034
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4029
4035
|
|
@@ -5991,9 +5997,11 @@ module Google
|
|
5991
5997
|
property :bucket_name, as: 'bucketName'
|
5992
5998
|
property :cdn_policy, as: 'cdnPolicy', class: Google::Apis::ComputeBeta::BackendBucketCdnPolicy, decorator: Google::Apis::ComputeBeta::BackendBucketCdnPolicy::Representation
|
5993
5999
|
|
6000
|
+
property :compression_mode, as: 'compressionMode'
|
5994
6001
|
property :creation_timestamp, as: 'creationTimestamp'
|
5995
6002
|
collection :custom_response_headers, as: 'customResponseHeaders'
|
5996
6003
|
property :description, as: 'description'
|
6004
|
+
property :edge_security_policy, as: 'edgeSecurityPolicy'
|
5997
6005
|
property :enable_cdn, as: 'enableCdn'
|
5998
6006
|
property :id, :numeric_string => true, as: 'id'
|
5999
6007
|
property :kind, as: 'kind'
|
@@ -6088,6 +6096,7 @@ module Google
|
|
6088
6096
|
|
6089
6097
|
property :circuit_breakers, as: 'circuitBreakers', class: Google::Apis::ComputeBeta::CircuitBreakers, decorator: Google::Apis::ComputeBeta::CircuitBreakers::Representation
|
6090
6098
|
|
6099
|
+
property :compression_mode, as: 'compressionMode'
|
6091
6100
|
property :connection_draining, as: 'connectionDraining', class: Google::Apis::ComputeBeta::ConnectionDraining, decorator: Google::Apis::ComputeBeta::ConnectionDraining::Representation
|
6092
6101
|
|
6093
6102
|
property :connection_tracking_policy, as: 'connectionTrackingPolicy', class: Google::Apis::ComputeBeta::BackendServiceConnectionTrackingPolicy, decorator: Google::Apis::ComputeBeta::BackendServiceConnectionTrackingPolicy::Representation
|
@@ -6098,6 +6107,7 @@ module Google
|
|
6098
6107
|
collection :custom_request_headers, as: 'customRequestHeaders'
|
6099
6108
|
collection :custom_response_headers, as: 'customResponseHeaders'
|
6100
6109
|
property :description, as: 'description'
|
6110
|
+
property :edge_security_policy, as: 'edgeSecurityPolicy'
|
6101
6111
|
property :enable_cdn, as: 'enableCDN'
|
6102
6112
|
property :failover_policy, as: 'failoverPolicy', class: Google::Apis::ComputeBeta::BackendServiceFailoverPolicy, decorator: Google::Apis::ComputeBeta::BackendServiceFailoverPolicy::Representation
|
6103
6113
|
|
@@ -12837,6 +12847,7 @@ module Google
|
|
12837
12847
|
# @private
|
12838
12848
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12839
12849
|
property :automatic_restart, as: 'automaticRestart'
|
12850
|
+
property :host_error_timeout_seconds, as: 'hostErrorTimeoutSeconds'
|
12840
12851
|
property :location_hint, as: 'locationHint'
|
12841
12852
|
property :maintenance_freeze_duration_hours, as: 'maintenanceFreezeDurationHours'
|
12842
12853
|
property :maintenance_interval, as: 'maintenanceInterval'
|
@@ -12886,6 +12897,8 @@ module Google
|
|
12886
12897
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12887
12898
|
property :adaptive_protection_config, as: 'adaptiveProtectionConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfig::Representation
|
12888
12899
|
|
12900
|
+
property :advanced_options_config, as: 'advancedOptionsConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdvancedOptionsConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdvancedOptionsConfig::Representation
|
12901
|
+
|
12889
12902
|
collection :associations, as: 'associations', class: Google::Apis::ComputeBeta::SecurityPolicyAssociation, decorator: Google::Apis::ComputeBeta::SecurityPolicyAssociation::Representation
|
12890
12903
|
|
12891
12904
|
property :creation_timestamp, as: 'creationTimestamp'
|
@@ -12923,6 +12936,14 @@ module Google
|
|
12923
12936
|
end
|
12924
12937
|
end
|
12925
12938
|
|
12939
|
+
class SecurityPolicyAdvancedOptionsConfig
|
12940
|
+
# @private
|
12941
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12942
|
+
property :json_parsing, as: 'jsonParsing'
|
12943
|
+
property :log_level, as: 'logLevel'
|
12944
|
+
end
|
12945
|
+
end
|
12946
|
+
|
12926
12947
|
class SecurityPolicyAssociation
|
12927
12948
|
# @private
|
12928
12949
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1518,6 +1518,58 @@ module Google
|
|
1518
1518
|
execute_or_queue_command(command, &block)
|
1519
1519
|
end
|
1520
1520
|
|
1521
|
+
# Sets the edge security policy for the specified backend bucket.
|
1522
|
+
# @param [String] project
|
1523
|
+
# Project ID for this request.
|
1524
|
+
# @param [String] backend_bucket
|
1525
|
+
# Name of the BackendService resource to which the security policy should be set.
|
1526
|
+
# The name should conform to RFC1035.
|
1527
|
+
# @param [Google::Apis::ComputeBeta::SecurityPolicyReference] security_policy_reference_object
|
1528
|
+
# @param [String] request_id
|
1529
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
1530
|
+
# that if you must retry your request, the server will know to ignore the
|
1531
|
+
# request if it has already been completed.
|
1532
|
+
# For example, consider a situation where you make an initial request and the
|
1533
|
+
# request times out. If you make the request again with the same request ID, the
|
1534
|
+
# server can check if original operation with the same request ID was received,
|
1535
|
+
# and if so, will ignore the second request. This prevents clients from
|
1536
|
+
# accidentally creating duplicate commitments.
|
1537
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
1538
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
1539
|
+
# @param [String] fields
|
1540
|
+
# Selector specifying which fields to include in a partial response.
|
1541
|
+
# @param [String] quota_user
|
1542
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1543
|
+
# characters.
|
1544
|
+
# @param [String] user_ip
|
1545
|
+
# Deprecated. Please use quotaUser instead.
|
1546
|
+
# @param [Google::Apis::RequestOptions] options
|
1547
|
+
# Request-specific options
|
1548
|
+
#
|
1549
|
+
# @yield [result, err] Result & error if block supplied
|
1550
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
1551
|
+
# @yieldparam err [StandardError] error object if request failed
|
1552
|
+
#
|
1553
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
1554
|
+
#
|
1555
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1556
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1557
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1558
|
+
def set_backend_bucket_edge_security_policy(project, backend_bucket, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1559
|
+
command = make_simple_command(:post, 'projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy', options)
|
1560
|
+
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyReference::Representation
|
1561
|
+
command.request_object = security_policy_reference_object
|
1562
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
1563
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
1564
|
+
command.params['project'] = project unless project.nil?
|
1565
|
+
command.params['backendBucket'] = backend_bucket unless backend_bucket.nil?
|
1566
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1567
|
+
command.query['fields'] = fields unless fields.nil?
|
1568
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1569
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
1570
|
+
execute_or_queue_command(command, &block)
|
1571
|
+
end
|
1572
|
+
|
1521
1573
|
# Sets the access control policy on the specified resource. Replaces any
|
1522
1574
|
# existing policy.
|
1523
1575
|
# @param [String] project
|
@@ -2142,6 +2194,58 @@ module Google
|
|
2142
2194
|
execute_or_queue_command(command, &block)
|
2143
2195
|
end
|
2144
2196
|
|
2197
|
+
# Sets the edge security policy for the specified backend service.
|
2198
|
+
# @param [String] project
|
2199
|
+
# Project ID for this request.
|
2200
|
+
# @param [String] backend_service
|
2201
|
+
# Name of the BackendService resource to which the edge security policy should
|
2202
|
+
# be set. The name should conform to RFC1035.
|
2203
|
+
# @param [Google::Apis::ComputeBeta::SecurityPolicyReference] security_policy_reference_object
|
2204
|
+
# @param [String] request_id
|
2205
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
2206
|
+
# that if you must retry your request, the server will know to ignore the
|
2207
|
+
# request if it has already been completed.
|
2208
|
+
# For example, consider a situation where you make an initial request and the
|
2209
|
+
# request times out. If you make the request again with the same request ID, the
|
2210
|
+
# server can check if original operation with the same request ID was received,
|
2211
|
+
# and if so, will ignore the second request. This prevents clients from
|
2212
|
+
# accidentally creating duplicate commitments.
|
2213
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
2214
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
2215
|
+
# @param [String] fields
|
2216
|
+
# Selector specifying which fields to include in a partial response.
|
2217
|
+
# @param [String] quota_user
|
2218
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
2219
|
+
# characters.
|
2220
|
+
# @param [String] user_ip
|
2221
|
+
# Deprecated. Please use quotaUser instead.
|
2222
|
+
# @param [Google::Apis::RequestOptions] options
|
2223
|
+
# Request-specific options
|
2224
|
+
#
|
2225
|
+
# @yield [result, err] Result & error if block supplied
|
2226
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
2227
|
+
# @yieldparam err [StandardError] error object if request failed
|
2228
|
+
#
|
2229
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
2230
|
+
#
|
2231
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2232
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2233
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2234
|
+
def set_backend_service_edge_security_policy(project, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2235
|
+
command = make_simple_command(:post, 'projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy', options)
|
2236
|
+
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyReference::Representation
|
2237
|
+
command.request_object = security_policy_reference_object
|
2238
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
2239
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
2240
|
+
command.params['project'] = project unless project.nil?
|
2241
|
+
command.params['backendService'] = backend_service unless backend_service.nil?
|
2242
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2243
|
+
command.query['fields'] = fields unless fields.nil?
|
2244
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2245
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2246
|
+
execute_or_queue_command(command, &block)
|
2247
|
+
end
|
2248
|
+
|
2145
2249
|
# Sets the Google Cloud Armor security policy for the specified backend service.
|
2146
2250
|
# For more information, see Google Cloud Armor Overview
|
2147
2251
|
# @param [String] project
|
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.11.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: 2021-05-
|
11
|
+
date: 2021-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_beta/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.11.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_beta
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|