google-apis-compute_beta 0.43.0 → 0.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/compute_beta/classes.rb +250 -23
- data/lib/google/apis/compute_beta/gem_version.rb +2 -2
- data/lib/google/apis/compute_beta/representations.rb +101 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8e258a53d7779f50f67bb3df41d8fdcd7ae0b79194e01cd01422b310685cc64
|
4
|
+
data.tar.gz: b73ec01af51e83420bb7a2654d404b81623bc5e1ec565bdc77e8b29ef29c5b6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2aa940128161fa251cc07a1a35e3320d2702dd1bb48baefba557c6dec6434eee09f25094ef202701284504247ecf24162107948b00aa68699f06e603aeafbb3
|
7
|
+
data.tar.gz: c0eeab0332e0c2a38d1f97306b4343b7843627b9030b66f310ac4ca065b367b0e081029fc9008902e2a174895c8eda63199fa42ba2cf1d917702565a686d15b5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-compute_beta
|
2
2
|
|
3
|
+
### v0.46.0 (2022-08-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220809
|
6
|
+
|
7
|
+
### v0.45.0 (2022-08-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220726
|
10
|
+
|
11
|
+
### v0.44.0 (2022-07-26)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220720
|
14
|
+
|
3
15
|
### v0.43.0 (2022-07-20)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220714
|
@@ -1523,6 +1523,14 @@ module Google
|
|
1523
1523
|
# @return [Fixnum]
|
1524
1524
|
attr_accessor :provisioned_iops
|
1525
1525
|
|
1526
|
+
# Resource manager tags to be bound to the disk. Tag keys and values have the
|
1527
|
+
# same definition as resource manager tags. Keys must be in the format `tagKeys/`
|
1528
|
+
# tag_key_id``, and values are in the format `tagValues/456`. The field is
|
1529
|
+
# ignored (both PUT & PATCH) when empty.
|
1530
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
1531
|
+
# @return [Hash<String,String>]
|
1532
|
+
attr_accessor :resource_manager_tags
|
1533
|
+
|
1526
1534
|
# Resource policies applied to this disk for automatic snapshot creations.
|
1527
1535
|
# Specified using the full or partial URL. For instance template, specify only
|
1528
1536
|
# the resource policy name.
|
@@ -1588,6 +1596,7 @@ module Google
|
|
1588
1596
|
@multi_writer = args[:multi_writer] if args.key?(:multi_writer)
|
1589
1597
|
@on_update_action = args[:on_update_action] if args.key?(:on_update_action)
|
1590
1598
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
1599
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
1591
1600
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
1592
1601
|
@source_image = args[:source_image] if args.key?(:source_image)
|
1593
1602
|
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
|
@@ -4650,25 +4659,28 @@ module Google
|
|
4650
4659
|
# anyone who is authenticated with a Google account or a service account. * `
|
4651
4660
|
# user:`emailid``: An email address that represents a specific Google account.
|
4652
4661
|
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
4653
|
-
# address that represents a service account. For example, `my-other-app@
|
4654
|
-
# gserviceaccount.com`. * `
|
4655
|
-
#
|
4656
|
-
#
|
4657
|
-
#
|
4658
|
-
#
|
4659
|
-
#
|
4660
|
-
#
|
4661
|
-
#
|
4662
|
-
#
|
4663
|
-
#
|
4664
|
-
# emailid
|
4665
|
-
#
|
4666
|
-
#
|
4667
|
-
#
|
4668
|
-
#
|
4669
|
-
#
|
4670
|
-
#
|
4671
|
-
#
|
4662
|
+
# address that represents a Google service account. For example, `my-other-app@
|
4663
|
+
# appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
|
4664
|
+
# namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
|
4665
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
|
4666
|
+
# accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
|
4667
|
+
# . * `group:`emailid``: An email address that represents a Google group. For
|
4668
|
+
# example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
|
4669
|
+
# email address (plus unique identifier) representing a user that has been
|
4670
|
+
# recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
|
4671
|
+
# If the user is recovered, this value reverts to `user:`emailid`` and the
|
4672
|
+
# recovered user retains the role in the binding. * `deleted:serviceAccount:`
|
4673
|
+
# emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
4674
|
+
# representing a service account that has been recently deleted. For example, `
|
4675
|
+
# my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
|
4676
|
+
# service account is undeleted, this value reverts to `serviceAccount:`emailid``
|
4677
|
+
# and the undeleted service account retains the role in the binding. * `deleted:
|
4678
|
+
# group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
4679
|
+
# representing a Google group that has been recently deleted. For example, `
|
4680
|
+
# admins@example.com?uid=123456789012345678901`. If the group is recovered, this
|
4681
|
+
# value reverts to `group:`emailid`` and the recovered group retains the role in
|
4682
|
+
# the binding. * `domain:`domain``: The G Suite domain (primary) that represents
|
4683
|
+
# all the users of that domain. For example, `google.com` or `example.com`.
|
4672
4684
|
# Corresponds to the JSON property `members`
|
4673
4685
|
# @return [Array<String>]
|
4674
4686
|
attr_accessor :members
|
@@ -5974,6 +5986,11 @@ module Google
|
|
5974
5986
|
# @return [String]
|
5975
5987
|
attr_accessor :options
|
5976
5988
|
|
5989
|
+
# Additional disk params.
|
5990
|
+
# Corresponds to the JSON property `params`
|
5991
|
+
# @return [Google::Apis::ComputeBeta::DiskParams]
|
5992
|
+
attr_accessor :params
|
5993
|
+
|
5977
5994
|
# Physical block size of the persistent disk, in bytes. If not present in a
|
5978
5995
|
# request, a default value is used. The currently supported size is 4096, other
|
5979
5996
|
# sizes may be added in the future. If an unsupported value is requested, the
|
@@ -6177,6 +6194,7 @@ module Google
|
|
6177
6194
|
@multi_writer = args[:multi_writer] if args.key?(:multi_writer)
|
6178
6195
|
@name = args[:name] if args.key?(:name)
|
6179
6196
|
@options = args[:options] if args.key?(:options)
|
6197
|
+
@params = args[:params] if args.key?(:params)
|
6180
6198
|
@physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
|
6181
6199
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
6182
6200
|
@region = args[:region] if args.key?(:region)
|
@@ -6525,6 +6543,28 @@ module Google
|
|
6525
6543
|
end
|
6526
6544
|
end
|
6527
6545
|
|
6546
|
+
# Additional disk params.
|
6547
|
+
class DiskParams
|
6548
|
+
include Google::Apis::Core::Hashable
|
6549
|
+
|
6550
|
+
# Resource manager tags to be bound to the disk. Tag keys and values have the
|
6551
|
+
# same definition as resource manager tags. Keys must be in the format `tagKeys/`
|
6552
|
+
# tag_key_id``, and values are in the format `tagValues/456`. The field is
|
6553
|
+
# ignored (both PUT & PATCH) when empty.
|
6554
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
6555
|
+
# @return [Hash<String,String>]
|
6556
|
+
attr_accessor :resource_manager_tags
|
6557
|
+
|
6558
|
+
def initialize(**args)
|
6559
|
+
update!(**args)
|
6560
|
+
end
|
6561
|
+
|
6562
|
+
# Update properties of this object
|
6563
|
+
def update!(**args)
|
6564
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
6565
|
+
end
|
6566
|
+
end
|
6567
|
+
|
6528
6568
|
# Represents a Disk Type resource. Google Compute Engine has two Disk Type
|
6529
6569
|
# resources: * [Regional](/compute/docs/reference/rest/beta/regionDiskTypes) * [
|
6530
6570
|
# Zonal](/compute/docs/reference/rest/beta/diskTypes) You can choose from a
|
@@ -13018,7 +13058,7 @@ module Google
|
|
13018
13058
|
attr_accessor :satisfies_pzs
|
13019
13059
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
13020
13060
|
|
13021
|
-
# Sets the scheduling options for an Instance.
|
13061
|
+
# Sets the scheduling options for an Instance.
|
13022
13062
|
# Corresponds to the JSON property `scheduling`
|
13023
13063
|
# @return [Google::Apis::ComputeBeta::Scheduling]
|
13024
13064
|
attr_accessor :scheduling
|
@@ -15986,7 +16026,7 @@ module Google
|
|
15986
16026
|
# @return [Array<String>]
|
15987
16027
|
attr_accessor :resource_policies
|
15988
16028
|
|
15989
|
-
# Sets the scheduling options for an Instance.
|
16029
|
+
# Sets the scheduling options for an Instance.
|
15990
16030
|
# Corresponds to the JSON property `scheduling`
|
15991
16031
|
# @return [Google::Apis::ComputeBeta::Scheduling]
|
15992
16032
|
attr_accessor :scheduling
|
@@ -20851,6 +20891,12 @@ module Google
|
|
20851
20891
|
# @return [String]
|
20852
20892
|
attr_accessor :network_endpoint_type
|
20853
20893
|
|
20894
|
+
# All data that is specifically relevant to only network endpoint groups of type
|
20895
|
+
# PRIVATE_SERVICE_CONNECT.
|
20896
|
+
# Corresponds to the JSON property `pscData`
|
20897
|
+
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupPscData]
|
20898
|
+
attr_accessor :psc_data
|
20899
|
+
|
20854
20900
|
# The target service url used to set up private service connection to a Google
|
20855
20901
|
# API or a PSC Producer Service Attachment. An example value is: "asia-
|
20856
20902
|
# northeast3-cloudkms.googleapis.com"
|
@@ -20911,6 +20957,7 @@ module Google
|
|
20911
20957
|
@name = args[:name] if args.key?(:name)
|
20912
20958
|
@network = args[:network] if args.key?(:network)
|
20913
20959
|
@network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
|
20960
|
+
@psc_data = args[:psc_data] if args.key?(:psc_data)
|
20914
20961
|
@psc_target_service = args[:psc_target_service] if args.key?(:psc_target_service)
|
20915
20962
|
@region = args[:region] if args.key?(:region)
|
20916
20963
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -21324,6 +21371,39 @@ module Google
|
|
21324
21371
|
end
|
21325
21372
|
end
|
21326
21373
|
|
21374
|
+
# All data that is specifically relevant to only network endpoint groups of type
|
21375
|
+
# PRIVATE_SERVICE_CONNECT.
|
21376
|
+
class NetworkEndpointGroupPscData
|
21377
|
+
include Google::Apis::Core::Hashable
|
21378
|
+
|
21379
|
+
# [Output Only] Address allocated from given subnetwork for PSC. This IP address
|
21380
|
+
# acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.
|
21381
|
+
# Corresponds to the JSON property `consumerPscAddress`
|
21382
|
+
# @return [String]
|
21383
|
+
attr_accessor :consumer_psc_address
|
21384
|
+
|
21385
|
+
# [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.
|
21386
|
+
# Corresponds to the JSON property `pscConnectionId`
|
21387
|
+
# @return [Fixnum]
|
21388
|
+
attr_accessor :psc_connection_id
|
21389
|
+
|
21390
|
+
# [Output Only] The connection status of the PSC Forwarding Rule.
|
21391
|
+
# Corresponds to the JSON property `pscConnectionStatus`
|
21392
|
+
# @return [String]
|
21393
|
+
attr_accessor :psc_connection_status
|
21394
|
+
|
21395
|
+
def initialize(**args)
|
21396
|
+
update!(**args)
|
21397
|
+
end
|
21398
|
+
|
21399
|
+
# Update properties of this object
|
21400
|
+
def update!(**args)
|
21401
|
+
@consumer_psc_address = args[:consumer_psc_address] if args.key?(:consumer_psc_address)
|
21402
|
+
@psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
|
21403
|
+
@psc_connection_status = args[:psc_connection_status] if args.key?(:psc_connection_status)
|
21404
|
+
end
|
21405
|
+
end
|
21406
|
+
|
21327
21407
|
# Configuration for a serverless network endpoint group (NEG). The platform must
|
21328
21408
|
# be provided. Note: The target backend service must be in the same project and
|
21329
21409
|
# located in the same region as the Serverless NEG.
|
@@ -28951,6 +29031,13 @@ module Google
|
|
28951
29031
|
# @return [String]
|
28952
29032
|
attr_accessor :name
|
28953
29033
|
|
29034
|
+
# Resource policies to be added to this reservation. The key is defined by user,
|
29035
|
+
# and the value is resource policy url. This is to define placement policy with
|
29036
|
+
# reservation.
|
29037
|
+
# Corresponds to the JSON property `resourcePolicies`
|
29038
|
+
# @return [Hash<String,String>]
|
29039
|
+
attr_accessor :resource_policies
|
29040
|
+
|
28954
29041
|
# [Output Only] Reserved for future use.
|
28955
29042
|
# Corresponds to the JSON property `satisfiesPzs`
|
28956
29043
|
# @return [Boolean]
|
@@ -29004,6 +29091,7 @@ module Google
|
|
29004
29091
|
@id = args[:id] if args.key?(:id)
|
29005
29092
|
@kind = args[:kind] if args.key?(:kind)
|
29006
29093
|
@name = args[:name] if args.key?(:name)
|
29094
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
29007
29095
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
29008
29096
|
@self_link = args[:self_link] if args.key?(:self_link)
|
29009
29097
|
@share_settings = args[:share_settings] if args.key?(:share_settings)
|
@@ -32513,7 +32601,7 @@ module Google
|
|
32513
32601
|
end
|
32514
32602
|
end
|
32515
32603
|
|
32516
|
-
# Sets the scheduling options for an Instance.
|
32604
|
+
# Sets the scheduling options for an Instance.
|
32517
32605
|
class Scheduling
|
32518
32606
|
include Google::Apis::Core::Hashable
|
32519
32607
|
|
@@ -33208,6 +33296,12 @@ module Google
|
|
33208
33296
|
class SecurityPolicyAdvancedOptionsConfig
|
33209
33297
|
include Google::Apis::Core::Hashable
|
33210
33298
|
|
33299
|
+
# Custom configuration to apply the JSON parsing. Only applicable when
|
33300
|
+
# json_parsing is set to STANDARD.
|
33301
|
+
# Corresponds to the JSON property `jsonCustomConfig`
|
33302
|
+
# @return [Google::Apis::ComputeBeta::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]
|
33303
|
+
attr_accessor :json_custom_config
|
33304
|
+
|
33211
33305
|
#
|
33212
33306
|
# Corresponds to the JSON property `jsonParsing`
|
33213
33307
|
# @return [String]
|
@@ -33224,11 +33318,35 @@ module Google
|
|
33224
33318
|
|
33225
33319
|
# Update properties of this object
|
33226
33320
|
def update!(**args)
|
33321
|
+
@json_custom_config = args[:json_custom_config] if args.key?(:json_custom_config)
|
33227
33322
|
@json_parsing = args[:json_parsing] if args.key?(:json_parsing)
|
33228
33323
|
@log_level = args[:log_level] if args.key?(:log_level)
|
33229
33324
|
end
|
33230
33325
|
end
|
33231
33326
|
|
33327
|
+
#
|
33328
|
+
class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
|
33329
|
+
include Google::Apis::Core::Hashable
|
33330
|
+
|
33331
|
+
# A list of custom Content-Type header values to apply the JSON parsing. As per
|
33332
|
+
# RFC 1341, a Content-Type header value has the following format: Content-Type :=
|
33333
|
+
# type "/" subtype *[";" parameter] When configuring a custom Content-Type
|
33334
|
+
# header value, only the type/subtype needs to be specified, and the parameters
|
33335
|
+
# should be excluded.
|
33336
|
+
# Corresponds to the JSON property `contentTypes`
|
33337
|
+
# @return [Array<String>]
|
33338
|
+
attr_accessor :content_types
|
33339
|
+
|
33340
|
+
def initialize(**args)
|
33341
|
+
update!(**args)
|
33342
|
+
end
|
33343
|
+
|
33344
|
+
# Update properties of this object
|
33345
|
+
def update!(**args)
|
33346
|
+
@content_types = args[:content_types] if args.key?(:content_types)
|
33347
|
+
end
|
33348
|
+
end
|
33349
|
+
|
33232
33350
|
#
|
33233
33351
|
class SecurityPolicyAssociation
|
33234
33352
|
include Google::Apis::Core::Hashable
|
@@ -33498,6 +33616,13 @@ module Google
|
|
33498
33616
|
# @return [Google::Apis::ComputeBeta::SecurityPolicyRuleMatcher]
|
33499
33617
|
attr_accessor :match
|
33500
33618
|
|
33619
|
+
# Preconfigured WAF configuration to be applied for the rule. If the rule does
|
33620
|
+
# not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is
|
33621
|
+
# not used, this field will have no effect.
|
33622
|
+
# Corresponds to the JSON property `preconfiguredWafConfig`
|
33623
|
+
# @return [Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfig]
|
33624
|
+
attr_accessor :preconfigured_waf_config
|
33625
|
+
|
33501
33626
|
# If set to true, the specified action is not enforced.
|
33502
33627
|
# Corresponds to the JSON property `preview`
|
33503
33628
|
# @return [Boolean]
|
@@ -33564,6 +33689,7 @@ module Google
|
|
33564
33689
|
@header_action = args[:header_action] if args.key?(:header_action)
|
33565
33690
|
@kind = args[:kind] if args.key?(:kind)
|
33566
33691
|
@match = args[:match] if args.key?(:match)
|
33692
|
+
@preconfigured_waf_config = args[:preconfigured_waf_config] if args.key?(:preconfigured_waf_config)
|
33567
33693
|
@preview = args[:preview] if args.key?(:preview)
|
33568
33694
|
@priority = args[:priority] if args.key?(:priority)
|
33569
33695
|
@rate_limit_options = args[:rate_limit_options] if args.key?(:rate_limit_options)
|
@@ -33735,6 +33861,107 @@ module Google
|
|
33735
33861
|
end
|
33736
33862
|
end
|
33737
33863
|
|
33864
|
+
#
|
33865
|
+
class SecurityPolicyRulePreconfiguredWafConfig
|
33866
|
+
include Google::Apis::Core::Hashable
|
33867
|
+
|
33868
|
+
# A list of exclusions to apply during preconfigured WAF evaluation.
|
33869
|
+
# Corresponds to the JSON property `exclusions`
|
33870
|
+
# @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusion>]
|
33871
|
+
attr_accessor :exclusions
|
33872
|
+
|
33873
|
+
def initialize(**args)
|
33874
|
+
update!(**args)
|
33875
|
+
end
|
33876
|
+
|
33877
|
+
# Update properties of this object
|
33878
|
+
def update!(**args)
|
33879
|
+
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
33880
|
+
end
|
33881
|
+
end
|
33882
|
+
|
33883
|
+
#
|
33884
|
+
class SecurityPolicyRulePreconfiguredWafConfigExclusion
|
33885
|
+
include Google::Apis::Core::Hashable
|
33886
|
+
|
33887
|
+
# A list of request cookie names whose value will be excluded from inspection
|
33888
|
+
# during preconfigured WAF evaluation.
|
33889
|
+
# Corresponds to the JSON property `requestCookiesToExclude`
|
33890
|
+
# @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
|
33891
|
+
attr_accessor :request_cookies_to_exclude
|
33892
|
+
|
33893
|
+
# A list of request header names whose value will be excluded from inspection
|
33894
|
+
# during preconfigured WAF evaluation.
|
33895
|
+
# Corresponds to the JSON property `requestHeadersToExclude`
|
33896
|
+
# @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
|
33897
|
+
attr_accessor :request_headers_to_exclude
|
33898
|
+
|
33899
|
+
# A list of request query parameter names whose value will be excluded from
|
33900
|
+
# inspection during preconfigured WAF evaluation. Note that the parameter can be
|
33901
|
+
# in the query string or in the POST body.
|
33902
|
+
# Corresponds to the JSON property `requestQueryParamsToExclude`
|
33903
|
+
# @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
|
33904
|
+
attr_accessor :request_query_params_to_exclude
|
33905
|
+
|
33906
|
+
# A list of request URIs from the request line to be excluded from inspection
|
33907
|
+
# during preconfigured WAF evaluation. When specifying this field, the query or
|
33908
|
+
# fragment part should be excluded.
|
33909
|
+
# Corresponds to the JSON property `requestUrisToExclude`
|
33910
|
+
# @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
|
33911
|
+
attr_accessor :request_uris_to_exclude
|
33912
|
+
|
33913
|
+
# A list of target rule IDs under the WAF rule set to apply the preconfigured
|
33914
|
+
# WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule
|
33915
|
+
# set.
|
33916
|
+
# Corresponds to the JSON property `targetRuleIds`
|
33917
|
+
# @return [Array<String>]
|
33918
|
+
attr_accessor :target_rule_ids
|
33919
|
+
|
33920
|
+
# Target WAF rule set to apply the preconfigured WAF exclusion.
|
33921
|
+
# Corresponds to the JSON property `targetRuleSet`
|
33922
|
+
# @return [String]
|
33923
|
+
attr_accessor :target_rule_set
|
33924
|
+
|
33925
|
+
def initialize(**args)
|
33926
|
+
update!(**args)
|
33927
|
+
end
|
33928
|
+
|
33929
|
+
# Update properties of this object
|
33930
|
+
def update!(**args)
|
33931
|
+
@request_cookies_to_exclude = args[:request_cookies_to_exclude] if args.key?(:request_cookies_to_exclude)
|
33932
|
+
@request_headers_to_exclude = args[:request_headers_to_exclude] if args.key?(:request_headers_to_exclude)
|
33933
|
+
@request_query_params_to_exclude = args[:request_query_params_to_exclude] if args.key?(:request_query_params_to_exclude)
|
33934
|
+
@request_uris_to_exclude = args[:request_uris_to_exclude] if args.key?(:request_uris_to_exclude)
|
33935
|
+
@target_rule_ids = args[:target_rule_ids] if args.key?(:target_rule_ids)
|
33936
|
+
@target_rule_set = args[:target_rule_set] if args.key?(:target_rule_set)
|
33937
|
+
end
|
33938
|
+
end
|
33939
|
+
|
33940
|
+
#
|
33941
|
+
class SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams
|
33942
|
+
include Google::Apis::Core::Hashable
|
33943
|
+
|
33944
|
+
# The match operator for the field.
|
33945
|
+
# Corresponds to the JSON property `op`
|
33946
|
+
# @return [String]
|
33947
|
+
attr_accessor :op
|
33948
|
+
|
33949
|
+
# The value of the field.
|
33950
|
+
# Corresponds to the JSON property `val`
|
33951
|
+
# @return [String]
|
33952
|
+
attr_accessor :val
|
33953
|
+
|
33954
|
+
def initialize(**args)
|
33955
|
+
update!(**args)
|
33956
|
+
end
|
33957
|
+
|
33958
|
+
# Update properties of this object
|
33959
|
+
def update!(**args)
|
33960
|
+
@op = args[:op] if args.key?(:op)
|
33961
|
+
@val = args[:val] if args.key?(:val)
|
33962
|
+
end
|
33963
|
+
end
|
33964
|
+
|
33738
33965
|
#
|
33739
33966
|
class SecurityPolicyRuleRateLimitOptions
|
33740
33967
|
include Google::Apis::Core::Hashable
|
@@ -35365,7 +35592,7 @@ module Google
|
|
35365
35592
|
# @return [String]
|
35366
35593
|
attr_accessor :post_key_revocation_action_type
|
35367
35594
|
|
35368
|
-
# Sets the scheduling options for an Instance.
|
35595
|
+
# Sets the scheduling options for an Instance.
|
35369
35596
|
# Corresponds to the JSON property `scheduling`
|
35370
35597
|
# @return [Google::Apis::ComputeBeta::Scheduling]
|
35371
35598
|
attr_accessor :scheduling
|
@@ -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.46.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220809"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -730,6 +730,12 @@ module Google
|
|
730
730
|
include Google::Apis::Core::JsonObjectSupport
|
731
731
|
end
|
732
732
|
|
733
|
+
class DiskParams
|
734
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
735
|
+
|
736
|
+
include Google::Apis::Core::JsonObjectSupport
|
737
|
+
end
|
738
|
+
|
733
739
|
class DiskType
|
734
740
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
735
741
|
|
@@ -2626,6 +2632,12 @@ module Google
|
|
2626
2632
|
include Google::Apis::Core::JsonObjectSupport
|
2627
2633
|
end
|
2628
2634
|
|
2635
|
+
class NetworkEndpointGroupPscData
|
2636
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2637
|
+
|
2638
|
+
include Google::Apis::Core::JsonObjectSupport
|
2639
|
+
end
|
2640
|
+
|
2629
2641
|
class NetworkEndpointGroupServerlessDeployment
|
2630
2642
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2631
2643
|
|
@@ -4300,6 +4312,12 @@ module Google
|
|
4300
4312
|
include Google::Apis::Core::JsonObjectSupport
|
4301
4313
|
end
|
4302
4314
|
|
4315
|
+
class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
|
4316
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4317
|
+
|
4318
|
+
include Google::Apis::Core::JsonObjectSupport
|
4319
|
+
end
|
4320
|
+
|
4303
4321
|
class SecurityPolicyAssociation
|
4304
4322
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4305
4323
|
|
@@ -4378,6 +4396,24 @@ module Google
|
|
4378
4396
|
include Google::Apis::Core::JsonObjectSupport
|
4379
4397
|
end
|
4380
4398
|
|
4399
|
+
class SecurityPolicyRulePreconfiguredWafConfig
|
4400
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4401
|
+
|
4402
|
+
include Google::Apis::Core::JsonObjectSupport
|
4403
|
+
end
|
4404
|
+
|
4405
|
+
class SecurityPolicyRulePreconfiguredWafConfigExclusion
|
4406
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4407
|
+
|
4408
|
+
include Google::Apis::Core::JsonObjectSupport
|
4409
|
+
end
|
4410
|
+
|
4411
|
+
class SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams
|
4412
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4413
|
+
|
4414
|
+
include Google::Apis::Core::JsonObjectSupport
|
4415
|
+
end
|
4416
|
+
|
4381
4417
|
class SecurityPolicyRuleRateLimitOptions
|
4382
4418
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4383
4419
|
|
@@ -6121,6 +6157,7 @@ module Google
|
|
6121
6157
|
property :multi_writer, as: 'multiWriter'
|
6122
6158
|
property :on_update_action, as: 'onUpdateAction'
|
6123
6159
|
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
|
6160
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
6124
6161
|
collection :resource_policies, as: 'resourcePolicies'
|
6125
6162
|
property :source_image, as: 'sourceImage'
|
6126
6163
|
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
@@ -7096,6 +7133,8 @@ module Google
|
|
7096
7133
|
property :multi_writer, as: 'multiWriter'
|
7097
7134
|
property :name, as: 'name'
|
7098
7135
|
property :options, as: 'options'
|
7136
|
+
property :params, as: 'params', class: Google::Apis::ComputeBeta::DiskParams, decorator: Google::Apis::ComputeBeta::DiskParams::Representation
|
7137
|
+
|
7099
7138
|
property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
|
7100
7139
|
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
|
7101
7140
|
property :region, as: 'region'
|
@@ -7207,6 +7246,13 @@ module Google
|
|
7207
7246
|
end
|
7208
7247
|
end
|
7209
7248
|
|
7249
|
+
class DiskParams
|
7250
|
+
# @private
|
7251
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7252
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
7253
|
+
end
|
7254
|
+
end
|
7255
|
+
|
7210
7256
|
class DiskType
|
7211
7257
|
# @private
|
7212
7258
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10703,6 +10749,8 @@ module Google
|
|
10703
10749
|
property :name, as: 'name'
|
10704
10750
|
property :network, as: 'network'
|
10705
10751
|
property :network_endpoint_type, as: 'networkEndpointType'
|
10752
|
+
property :psc_data, as: 'pscData', class: Google::Apis::ComputeBeta::NetworkEndpointGroupPscData, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupPscData::Representation
|
10753
|
+
|
10706
10754
|
property :psc_target_service, as: 'pscTargetService'
|
10707
10755
|
property :region, as: 'region'
|
10708
10756
|
property :self_link, as: 'selfLink'
|
@@ -10815,6 +10863,15 @@ module Google
|
|
10815
10863
|
end
|
10816
10864
|
end
|
10817
10865
|
|
10866
|
+
class NetworkEndpointGroupPscData
|
10867
|
+
# @private
|
10868
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10869
|
+
property :consumer_psc_address, as: 'consumerPscAddress'
|
10870
|
+
property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
|
10871
|
+
property :psc_connection_status, as: 'pscConnectionStatus'
|
10872
|
+
end
|
10873
|
+
end
|
10874
|
+
|
10818
10875
|
class NetworkEndpointGroupServerlessDeployment
|
10819
10876
|
# @private
|
10820
10877
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12811,6 +12868,7 @@ module Google
|
|
12811
12868
|
property :id, :numeric_string => true, as: 'id'
|
12812
12869
|
property :kind, as: 'kind'
|
12813
12870
|
property :name, as: 'name'
|
12871
|
+
hash :resource_policies, as: 'resourcePolicies'
|
12814
12872
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
12815
12873
|
property :self_link, as: 'selfLink'
|
12816
12874
|
property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeBeta::ShareSettings, decorator: Google::Apis::ComputeBeta::ShareSettings::Representation
|
@@ -13870,11 +13928,20 @@ module Google
|
|
13870
13928
|
class SecurityPolicyAdvancedOptionsConfig
|
13871
13929
|
# @private
|
13872
13930
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13931
|
+
property :json_custom_config, as: 'jsonCustomConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig::Representation
|
13932
|
+
|
13873
13933
|
property :json_parsing, as: 'jsonParsing'
|
13874
13934
|
property :log_level, as: 'logLevel'
|
13875
13935
|
end
|
13876
13936
|
end
|
13877
13937
|
|
13938
|
+
class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
|
13939
|
+
# @private
|
13940
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13941
|
+
collection :content_types, as: 'contentTypes'
|
13942
|
+
end
|
13943
|
+
end
|
13944
|
+
|
13878
13945
|
class SecurityPolicyAssociation
|
13879
13946
|
# @private
|
13880
13947
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13949,6 +14016,8 @@ module Google
|
|
13949
14016
|
property :kind, as: 'kind'
|
13950
14017
|
property :match, as: 'match', class: Google::Apis::ComputeBeta::SecurityPolicyRuleMatcher, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleMatcher::Representation
|
13951
14018
|
|
14019
|
+
property :preconfigured_waf_config, as: 'preconfiguredWafConfig', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfig::Representation
|
14020
|
+
|
13952
14021
|
property :preview, as: 'preview'
|
13953
14022
|
property :priority, as: 'priority'
|
13954
14023
|
property :rate_limit_options, as: 'rateLimitOptions', class: Google::Apis::ComputeBeta::SecurityPolicyRuleRateLimitOptions, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleRateLimitOptions::Representation
|
@@ -14007,6 +14076,38 @@ module Google
|
|
14007
14076
|
end
|
14008
14077
|
end
|
14009
14078
|
|
14079
|
+
class SecurityPolicyRulePreconfiguredWafConfig
|
14080
|
+
# @private
|
14081
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14082
|
+
collection :exclusions, as: 'exclusions', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusion, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusion::Representation
|
14083
|
+
|
14084
|
+
end
|
14085
|
+
end
|
14086
|
+
|
14087
|
+
class SecurityPolicyRulePreconfiguredWafConfigExclusion
|
14088
|
+
# @private
|
14089
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14090
|
+
collection :request_cookies_to_exclude, as: 'requestCookiesToExclude', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
|
14091
|
+
|
14092
|
+
collection :request_headers_to_exclude, as: 'requestHeadersToExclude', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
|
14093
|
+
|
14094
|
+
collection :request_query_params_to_exclude, as: 'requestQueryParamsToExclude', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
|
14095
|
+
|
14096
|
+
collection :request_uris_to_exclude, as: 'requestUrisToExclude', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
|
14097
|
+
|
14098
|
+
collection :target_rule_ids, as: 'targetRuleIds'
|
14099
|
+
property :target_rule_set, as: 'targetRuleSet'
|
14100
|
+
end
|
14101
|
+
end
|
14102
|
+
|
14103
|
+
class SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams
|
14104
|
+
# @private
|
14105
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14106
|
+
property :op, as: 'op'
|
14107
|
+
property :val, as: 'val'
|
14108
|
+
end
|
14109
|
+
end
|
14110
|
+
|
14010
14111
|
class SecurityPolicyRuleRateLimitOptions
|
14011
14112
|
# @private
|
14012
14113
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.46.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-
|
11
|
+
date: 2022-08-15 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.46.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: []
|