google-apis-networksecurity_v1beta1 0.72.0 → 0.74.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/networksecurity_v1beta1/classes.rb +754 -0
- data/lib/google/apis/networksecurity_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/networksecurity_v1beta1/representations.rb +369 -0
- data/lib/google/apis/networksecurity_v1beta1/service.rb +220 -0
- metadata +2 -2
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module NetworksecurityV1beta1
|
|
18
18
|
# Version of the google-apis-networksecurity_v1beta1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.74.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.19.
|
|
22
|
+
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261011"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -526,6 +526,12 @@ module Google
|
|
|
526
526
|
include Google::Apis::Core::JsonObjectSupport
|
|
527
527
|
end
|
|
528
528
|
|
|
529
|
+
class ListRateLimitPoliciesResponse
|
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
531
|
+
|
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
533
|
+
end
|
|
534
|
+
|
|
529
535
|
class ListSacAttachmentsResponse
|
|
530
536
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
531
537
|
|
|
@@ -658,6 +664,138 @@ module Google
|
|
|
658
664
|
include Google::Apis::Core::JsonObjectSupport
|
|
659
665
|
end
|
|
660
666
|
|
|
667
|
+
class RateLimitPolicy
|
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
|
+
|
|
670
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
671
|
+
end
|
|
672
|
+
|
|
673
|
+
class RateLimitPolicyRateLimitBucket
|
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
675
|
+
|
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
677
|
+
end
|
|
678
|
+
|
|
679
|
+
class RateLimitPolicyRateLimitBucketCountLimit
|
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
681
|
+
|
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
683
|
+
end
|
|
684
|
+
|
|
685
|
+
class RateLimitPolicyRateLimitBucketKey
|
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
687
|
+
|
|
688
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
689
|
+
end
|
|
690
|
+
|
|
691
|
+
class RateLimitPolicyRateLimitBucketLimit
|
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
693
|
+
|
|
694
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
695
|
+
end
|
|
696
|
+
|
|
697
|
+
class RateLimitPolicyRateLimitBucketUserOverride
|
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
699
|
+
|
|
700
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
701
|
+
end
|
|
702
|
+
|
|
703
|
+
class RateLimitPolicyRateLimitBucketUserOverrideOverrideKey
|
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
705
|
+
|
|
706
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
707
|
+
end
|
|
708
|
+
|
|
709
|
+
class RateLimitPolicyRateLimitBucketUserOverrideOverrideKeyHttpHeader
|
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
711
|
+
|
|
712
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
713
|
+
end
|
|
714
|
+
|
|
715
|
+
class RateLimitPolicyRateLimitBucketUserOverrideOverrideKeyPrincipal
|
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
717
|
+
|
|
718
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
719
|
+
end
|
|
720
|
+
|
|
721
|
+
class RateLimitPolicyRateLimitRule
|
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
723
|
+
|
|
724
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
725
|
+
end
|
|
726
|
+
|
|
727
|
+
class RateLimitPolicyRateLimitRuleFrom
|
|
728
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
729
|
+
|
|
730
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
731
|
+
end
|
|
732
|
+
|
|
733
|
+
class RateLimitPolicyRateLimitRuleFromSource
|
|
734
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
735
|
+
|
|
736
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
737
|
+
end
|
|
738
|
+
|
|
739
|
+
class RateLimitPolicyRateLimitRuleHeaderMatch
|
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
741
|
+
|
|
742
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
743
|
+
end
|
|
744
|
+
|
|
745
|
+
class RateLimitPolicyRateLimitRulePrincipal
|
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
747
|
+
|
|
748
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
749
|
+
end
|
|
750
|
+
|
|
751
|
+
class RateLimitPolicyRateLimitRuleRateLimitAction
|
|
752
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
753
|
+
|
|
754
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
755
|
+
end
|
|
756
|
+
|
|
757
|
+
class RateLimitPolicyRateLimitRuleStringMatch
|
|
758
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
759
|
+
|
|
760
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
761
|
+
end
|
|
762
|
+
|
|
763
|
+
class RateLimitPolicyRateLimitRuleTo
|
|
764
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
765
|
+
|
|
766
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
767
|
+
end
|
|
768
|
+
|
|
769
|
+
class RateLimitPolicyRateLimitRuleToDestination
|
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
771
|
+
|
|
772
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
773
|
+
end
|
|
774
|
+
|
|
775
|
+
class RateLimitPolicyRateLimitRuleToDestinationHeaderSet
|
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
777
|
+
|
|
778
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
779
|
+
end
|
|
780
|
+
|
|
781
|
+
class RateLimitPolicyRateLimitRuleToDestinationMcp
|
|
782
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
783
|
+
|
|
784
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
785
|
+
end
|
|
786
|
+
|
|
787
|
+
class RateLimitPolicyRateLimitRuleToDestinationMcpMethod
|
|
788
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
789
|
+
|
|
790
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
791
|
+
end
|
|
792
|
+
|
|
793
|
+
class RateLimitPolicyTarget
|
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
795
|
+
|
|
796
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
797
|
+
end
|
|
798
|
+
|
|
661
799
|
class RemoveAddressGroupItemsRequest
|
|
662
800
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
663
801
|
|
|
@@ -1715,6 +1853,16 @@ module Google
|
|
|
1715
1853
|
end
|
|
1716
1854
|
end
|
|
1717
1855
|
|
|
1856
|
+
class ListRateLimitPoliciesResponse
|
|
1857
|
+
# @private
|
|
1858
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1859
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1860
|
+
collection :rate_limit_policies, as: 'rateLimitPolicies', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicy, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicy::Representation
|
|
1861
|
+
|
|
1862
|
+
collection :unreachable, as: 'unreachable'
|
|
1863
|
+
end
|
|
1864
|
+
end
|
|
1865
|
+
|
|
1718
1866
|
class ListSacAttachmentsResponse
|
|
1719
1867
|
# @private
|
|
1720
1868
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1810,6 +1958,7 @@ module Google
|
|
|
1810
1958
|
collection :client_validation_ca, as: 'clientValidationCa', class: Google::Apis::NetworksecurityV1beta1::ValidationCa, decorator: Google::Apis::NetworksecurityV1beta1::ValidationCa::Representation
|
|
1811
1959
|
|
|
1812
1960
|
property :client_validation_mode, as: 'clientValidationMode'
|
|
1961
|
+
collection :client_validation_relaxations, as: 'clientValidationRelaxations'
|
|
1813
1962
|
property :client_validation_trust_config, as: 'clientValidationTrustConfig'
|
|
1814
1963
|
end
|
|
1815
1964
|
end
|
|
@@ -1961,6 +2110,226 @@ module Google
|
|
|
1961
2110
|
end
|
|
1962
2111
|
end
|
|
1963
2112
|
|
|
2113
|
+
class RateLimitPolicy
|
|
2114
|
+
# @private
|
|
2115
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2116
|
+
property :create_time, as: 'createTime'
|
|
2117
|
+
property :description, as: 'description'
|
|
2118
|
+
collection :http_rules, as: 'httpRules', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRule, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRule::Representation
|
|
2119
|
+
|
|
2120
|
+
hash :labels, as: 'labels'
|
|
2121
|
+
property :name, as: 'name'
|
|
2122
|
+
collection :rate_limit_buckets, as: 'rateLimitBuckets', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucket, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucket::Representation
|
|
2123
|
+
|
|
2124
|
+
collection :targets, as: 'targets', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyTarget, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyTarget::Representation
|
|
2125
|
+
|
|
2126
|
+
property :update_time, as: 'updateTime'
|
|
2127
|
+
end
|
|
2128
|
+
end
|
|
2129
|
+
|
|
2130
|
+
class RateLimitPolicyRateLimitBucket
|
|
2131
|
+
# @private
|
|
2132
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2133
|
+
property :default_limit, as: 'defaultLimit', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketLimit, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketLimit::Representation
|
|
2134
|
+
|
|
2135
|
+
property :dry_run, as: 'dryRun'
|
|
2136
|
+
collection :keys, as: 'keys', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketKey, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketKey::Representation
|
|
2137
|
+
|
|
2138
|
+
property :name, as: 'name'
|
|
2139
|
+
collection :user_overrides, as: 'userOverrides', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverride, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverride::Representation
|
|
2140
|
+
|
|
2141
|
+
end
|
|
2142
|
+
end
|
|
2143
|
+
|
|
2144
|
+
class RateLimitPolicyRateLimitBucketCountLimit
|
|
2145
|
+
# @private
|
|
2146
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2147
|
+
property :count, :numeric_string => true, as: 'count'
|
|
2148
|
+
property :interval, :numeric_string => true, as: 'interval'
|
|
2149
|
+
property :interval_unit, as: 'intervalUnit'
|
|
2150
|
+
end
|
|
2151
|
+
end
|
|
2152
|
+
|
|
2153
|
+
class RateLimitPolicyRateLimitBucketKey
|
|
2154
|
+
# @private
|
|
2155
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2156
|
+
property :header, as: 'header'
|
|
2157
|
+
property :key_type, as: 'keyType'
|
|
2158
|
+
property :principal_type, as: 'principalType'
|
|
2159
|
+
end
|
|
2160
|
+
end
|
|
2161
|
+
|
|
2162
|
+
class RateLimitPolicyRateLimitBucketLimit
|
|
2163
|
+
# @private
|
|
2164
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2165
|
+
property :count_limit, as: 'countLimit', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketCountLimit, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketCountLimit::Representation
|
|
2166
|
+
|
|
2167
|
+
end
|
|
2168
|
+
end
|
|
2169
|
+
|
|
2170
|
+
class RateLimitPolicyRateLimitBucketUserOverride
|
|
2171
|
+
# @private
|
|
2172
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2173
|
+
property :limit, as: 'limit', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketLimit, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketLimit::Representation
|
|
2174
|
+
|
|
2175
|
+
property :override_key, as: 'overrideKey', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverrideOverrideKey, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverrideOverrideKey::Representation
|
|
2176
|
+
|
|
2177
|
+
end
|
|
2178
|
+
end
|
|
2179
|
+
|
|
2180
|
+
class RateLimitPolicyRateLimitBucketUserOverrideOverrideKey
|
|
2181
|
+
# @private
|
|
2182
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2183
|
+
collection :http_headers, as: 'httpHeaders', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverrideOverrideKeyHttpHeader, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverrideOverrideKeyHttpHeader::Representation
|
|
2184
|
+
|
|
2185
|
+
property :http_path, as: 'httpPath'
|
|
2186
|
+
property :mcp_tool, as: 'mcpTool'
|
|
2187
|
+
collection :principals, as: 'principals', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverrideOverrideKeyPrincipal, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverrideOverrideKeyPrincipal::Representation
|
|
2188
|
+
|
|
2189
|
+
property :source_ip, as: 'sourceIp'
|
|
2190
|
+
end
|
|
2191
|
+
end
|
|
2192
|
+
|
|
2193
|
+
class RateLimitPolicyRateLimitBucketUserOverrideOverrideKeyHttpHeader
|
|
2194
|
+
# @private
|
|
2195
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2196
|
+
property :header, as: 'header'
|
|
2197
|
+
property :value, as: 'value'
|
|
2198
|
+
end
|
|
2199
|
+
end
|
|
2200
|
+
|
|
2201
|
+
class RateLimitPolicyRateLimitBucketUserOverrideOverrideKeyPrincipal
|
|
2202
|
+
# @private
|
|
2203
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2204
|
+
property :principal, as: 'principal'
|
|
2205
|
+
property :principal_type, as: 'principalType'
|
|
2206
|
+
end
|
|
2207
|
+
end
|
|
2208
|
+
|
|
2209
|
+
class RateLimitPolicyRateLimitRule
|
|
2210
|
+
# @private
|
|
2211
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2212
|
+
property :from, as: 'from', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleFrom, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleFrom::Representation
|
|
2213
|
+
|
|
2214
|
+
collection :rate_limit_actions, as: 'rateLimitActions', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleRateLimitAction, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleRateLimitAction::Representation
|
|
2215
|
+
|
|
2216
|
+
property :to, as: 'to', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleTo, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleTo::Representation
|
|
2217
|
+
|
|
2218
|
+
end
|
|
2219
|
+
end
|
|
2220
|
+
|
|
2221
|
+
class RateLimitPolicyRateLimitRuleFrom
|
|
2222
|
+
# @private
|
|
2223
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2224
|
+
property :not_source, as: 'notSource', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleFromSource, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleFromSource::Representation
|
|
2225
|
+
|
|
2226
|
+
property :source, as: 'source', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleFromSource, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleFromSource::Representation
|
|
2227
|
+
|
|
2228
|
+
end
|
|
2229
|
+
end
|
|
2230
|
+
|
|
2231
|
+
class RateLimitPolicyRateLimitRuleFromSource
|
|
2232
|
+
# @private
|
|
2233
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2234
|
+
collection :principals, as: 'principals', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRulePrincipal, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRulePrincipal::Representation
|
|
2235
|
+
|
|
2236
|
+
end
|
|
2237
|
+
end
|
|
2238
|
+
|
|
2239
|
+
class RateLimitPolicyRateLimitRuleHeaderMatch
|
|
2240
|
+
# @private
|
|
2241
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2242
|
+
property :name, as: 'name'
|
|
2243
|
+
property :value, as: 'value', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch::Representation
|
|
2244
|
+
|
|
2245
|
+
end
|
|
2246
|
+
end
|
|
2247
|
+
|
|
2248
|
+
class RateLimitPolicyRateLimitRulePrincipal
|
|
2249
|
+
# @private
|
|
2250
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2251
|
+
property :principal, as: 'principal', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch::Representation
|
|
2252
|
+
|
|
2253
|
+
property :principal_selector, as: 'principalSelector'
|
|
2254
|
+
end
|
|
2255
|
+
end
|
|
2256
|
+
|
|
2257
|
+
class RateLimitPolicyRateLimitRuleRateLimitAction
|
|
2258
|
+
# @private
|
|
2259
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2260
|
+
property :rate_limit_bucket, as: 'rateLimitBucket'
|
|
2261
|
+
end
|
|
2262
|
+
end
|
|
2263
|
+
|
|
2264
|
+
class RateLimitPolicyRateLimitRuleStringMatch
|
|
2265
|
+
# @private
|
|
2266
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2267
|
+
property :contains, as: 'contains'
|
|
2268
|
+
property :exact, as: 'exact'
|
|
2269
|
+
property :ignore_case, as: 'ignoreCase'
|
|
2270
|
+
property :prefix, as: 'prefix'
|
|
2271
|
+
property :suffix, as: 'suffix'
|
|
2272
|
+
end
|
|
2273
|
+
end
|
|
2274
|
+
|
|
2275
|
+
class RateLimitPolicyRateLimitRuleTo
|
|
2276
|
+
# @private
|
|
2277
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2278
|
+
property :destination, as: 'destination', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestination, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestination::Representation
|
|
2279
|
+
|
|
2280
|
+
property :not_destination, as: 'notDestination', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestination, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestination::Representation
|
|
2281
|
+
|
|
2282
|
+
end
|
|
2283
|
+
end
|
|
2284
|
+
|
|
2285
|
+
class RateLimitPolicyRateLimitRuleToDestination
|
|
2286
|
+
# @private
|
|
2287
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2288
|
+
property :header_set, as: 'headerSet', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestinationHeaderSet, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestinationHeaderSet::Representation
|
|
2289
|
+
|
|
2290
|
+
collection :hosts, as: 'hosts', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch::Representation
|
|
2291
|
+
|
|
2292
|
+
property :mcp, as: 'mcp', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestinationMcp, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestinationMcp::Representation
|
|
2293
|
+
|
|
2294
|
+
collection :methods_prop, as: 'methods'
|
|
2295
|
+
collection :paths, as: 'paths', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch::Representation
|
|
2296
|
+
|
|
2297
|
+
end
|
|
2298
|
+
end
|
|
2299
|
+
|
|
2300
|
+
class RateLimitPolicyRateLimitRuleToDestinationHeaderSet
|
|
2301
|
+
# @private
|
|
2302
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2303
|
+
collection :headers, as: 'headers', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleHeaderMatch, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleHeaderMatch::Representation
|
|
2304
|
+
|
|
2305
|
+
end
|
|
2306
|
+
end
|
|
2307
|
+
|
|
2308
|
+
class RateLimitPolicyRateLimitRuleToDestinationMcp
|
|
2309
|
+
# @private
|
|
2310
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2311
|
+
property :base_protocol_methods_option, as: 'baseProtocolMethodsOption'
|
|
2312
|
+
collection :methods_prop, as: 'methods', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestinationMcpMethod, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestinationMcpMethod::Representation
|
|
2313
|
+
|
|
2314
|
+
end
|
|
2315
|
+
end
|
|
2316
|
+
|
|
2317
|
+
class RateLimitPolicyRateLimitRuleToDestinationMcpMethod
|
|
2318
|
+
# @private
|
|
2319
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2320
|
+
property :name, as: 'name'
|
|
2321
|
+
collection :params, as: 'params', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch::Representation
|
|
2322
|
+
|
|
2323
|
+
end
|
|
2324
|
+
end
|
|
2325
|
+
|
|
2326
|
+
class RateLimitPolicyTarget
|
|
2327
|
+
# @private
|
|
2328
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2329
|
+
property :resource, as: 'resource'
|
|
2330
|
+
end
|
|
2331
|
+
end
|
|
2332
|
+
|
|
1964
2333
|
class RemoveAddressGroupItemsRequest
|
|
1965
2334
|
# @private
|
|
1966
2335
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -6044,6 +6044,226 @@ module Google
|
|
|
6044
6044
|
execute_or_queue_command(command, &block)
|
|
6045
6045
|
end
|
|
6046
6046
|
|
|
6047
|
+
# Creates a new `RateLimitPolicy` in a given project and location.
|
|
6048
|
+
# @param [String] parent
|
|
6049
|
+
# Required. Specifies the value for parent.
|
|
6050
|
+
# @param [Google::Apis::NetworksecurityV1beta1::RateLimitPolicy] rate_limit_policy_object
|
|
6051
|
+
# @param [String] rate_limit_policy_id
|
|
6052
|
+
# Required. Specifies the ID of the requesting object. If auto-generating Id
|
|
6053
|
+
# server-side, remove this field and rate_limit_policy_id from the
|
|
6054
|
+
# method_signature of Create RPC
|
|
6055
|
+
# @param [String] request_id
|
|
6056
|
+
# Optional. Specifies an optional request ID to identify requests. Specify a
|
|
6057
|
+
# unique request ID so that if you must retry your request, the server will know
|
|
6058
|
+
# to ignore the request if it has already been completed. The server will
|
|
6059
|
+
# guarantee that for at least 60 minutes since the first request. For example,
|
|
6060
|
+
# consider a situation where you make an initial request and the request times
|
|
6061
|
+
# out. If you make the request again with the same request ID, the server can
|
|
6062
|
+
# check if original operation with the same request ID was received, and if so,
|
|
6063
|
+
# will ignore the second request. This prevents clients from accidentally
|
|
6064
|
+
# creating duplicate commitments. The request ID must be a valid UUID with the
|
|
6065
|
+
# exception that zero UUID is not supported (00000000-0000-0000-0000-
|
|
6066
|
+
# 000000000000).
|
|
6067
|
+
# @param [String] fields
|
|
6068
|
+
# Selector specifying which fields to include in a partial response.
|
|
6069
|
+
# @param [String] quota_user
|
|
6070
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
6071
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
6072
|
+
# @param [Google::Apis::RequestOptions] options
|
|
6073
|
+
# Request-specific options
|
|
6074
|
+
#
|
|
6075
|
+
# @yield [result, err] Result & error if block supplied
|
|
6076
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
|
6077
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
6078
|
+
#
|
|
6079
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
|
6080
|
+
#
|
|
6081
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
6082
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6083
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6084
|
+
def create_project_location_rate_limit_policy(parent, rate_limit_policy_object = nil, rate_limit_policy_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
6085
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/rateLimitPolicies', options)
|
|
6086
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::RateLimitPolicy::Representation
|
|
6087
|
+
command.request_object = rate_limit_policy_object
|
|
6088
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
|
6089
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
|
6090
|
+
command.params['parent'] = parent unless parent.nil?
|
|
6091
|
+
command.query['rateLimitPolicyId'] = rate_limit_policy_id unless rate_limit_policy_id.nil?
|
|
6092
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
6093
|
+
command.query['fields'] = fields unless fields.nil?
|
|
6094
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
6095
|
+
execute_or_queue_command(command, &block)
|
|
6096
|
+
end
|
|
6097
|
+
|
|
6098
|
+
# Deletes a single `RateLimitPolicy`.
|
|
6099
|
+
# @param [String] name
|
|
6100
|
+
# Required. Specifies the name of the resource.
|
|
6101
|
+
# @param [String] request_id
|
|
6102
|
+
# Optional. Specifies an optional request ID to identify requests. Specify a
|
|
6103
|
+
# unique request ID so that if you must retry your request, the server will know
|
|
6104
|
+
# to ignore the request if it has already been completed. The server will
|
|
6105
|
+
# guarantee that for at least 60 minutes after the first request. For example,
|
|
6106
|
+
# consider a situation where you make an initial request and the request times
|
|
6107
|
+
# out. If you make the request again with the same request ID, the server can
|
|
6108
|
+
# check if original operation with the same request ID was received, and if so,
|
|
6109
|
+
# will ignore the second request. This prevents clients from accidentally
|
|
6110
|
+
# creating duplicate commitments. The request ID must be a valid UUID with the
|
|
6111
|
+
# exception that zero UUID is not supported (00000000-0000-0000-0000-
|
|
6112
|
+
# 000000000000).
|
|
6113
|
+
# @param [String] fields
|
|
6114
|
+
# Selector specifying which fields to include in a partial response.
|
|
6115
|
+
# @param [String] quota_user
|
|
6116
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
6117
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
6118
|
+
# @param [Google::Apis::RequestOptions] options
|
|
6119
|
+
# Request-specific options
|
|
6120
|
+
#
|
|
6121
|
+
# @yield [result, err] Result & error if block supplied
|
|
6122
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
|
6123
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
6124
|
+
#
|
|
6125
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
|
6126
|
+
#
|
|
6127
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
6128
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6129
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6130
|
+
def delete_project_location_rate_limit_policy(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
6131
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
6132
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
|
6133
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
|
6134
|
+
command.params['name'] = name unless name.nil?
|
|
6135
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
6136
|
+
command.query['fields'] = fields unless fields.nil?
|
|
6137
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
6138
|
+
execute_or_queue_command(command, &block)
|
|
6139
|
+
end
|
|
6140
|
+
|
|
6141
|
+
# Gets details of a single `RateLimitPolicy`.
|
|
6142
|
+
# @param [String] name
|
|
6143
|
+
# Required. Specifies the name of the resource.
|
|
6144
|
+
# @param [String] fields
|
|
6145
|
+
# Selector specifying which fields to include in a partial response.
|
|
6146
|
+
# @param [String] quota_user
|
|
6147
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
6148
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
6149
|
+
# @param [Google::Apis::RequestOptions] options
|
|
6150
|
+
# Request-specific options
|
|
6151
|
+
#
|
|
6152
|
+
# @yield [result, err] Result & error if block supplied
|
|
6153
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::RateLimitPolicy] parsed result object
|
|
6154
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
6155
|
+
#
|
|
6156
|
+
# @return [Google::Apis::NetworksecurityV1beta1::RateLimitPolicy]
|
|
6157
|
+
#
|
|
6158
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
6159
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6160
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6161
|
+
def get_project_location_rate_limit_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
6162
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
6163
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::RateLimitPolicy::Representation
|
|
6164
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::RateLimitPolicy
|
|
6165
|
+
command.params['name'] = name unless name.nil?
|
|
6166
|
+
command.query['fields'] = fields unless fields.nil?
|
|
6167
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
6168
|
+
execute_or_queue_command(command, &block)
|
|
6169
|
+
end
|
|
6170
|
+
|
|
6171
|
+
# Lists `RateLimitPolicy` resources in a given project and location.
|
|
6172
|
+
# @param [String] parent
|
|
6173
|
+
# Required. Specifies the parent value for `ListRateLimitPoliciesRequest`.
|
|
6174
|
+
# @param [String] filter
|
|
6175
|
+
# Optional. Filters results.
|
|
6176
|
+
# @param [String] order_by
|
|
6177
|
+
# Optional. Provides a hint for how to order the results.
|
|
6178
|
+
# @param [Fixnum] page_size
|
|
6179
|
+
# Optional. Specifies the requested page size. Server may return fewer items
|
|
6180
|
+
# than requested. If unspecified, server will pick an appropriate default.
|
|
6181
|
+
# @param [String] page_token
|
|
6182
|
+
# Optional. Identifies a token for a page of results the server should return.
|
|
6183
|
+
# @param [String] fields
|
|
6184
|
+
# Selector specifying which fields to include in a partial response.
|
|
6185
|
+
# @param [String] quota_user
|
|
6186
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
6187
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
6188
|
+
# @param [Google::Apis::RequestOptions] options
|
|
6189
|
+
# Request-specific options
|
|
6190
|
+
#
|
|
6191
|
+
# @yield [result, err] Result & error if block supplied
|
|
6192
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListRateLimitPoliciesResponse] parsed result object
|
|
6193
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
6194
|
+
#
|
|
6195
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListRateLimitPoliciesResponse]
|
|
6196
|
+
#
|
|
6197
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
6198
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6199
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6200
|
+
def list_project_location_rate_limit_policies(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
6201
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/rateLimitPolicies', options)
|
|
6202
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListRateLimitPoliciesResponse::Representation
|
|
6203
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListRateLimitPoliciesResponse
|
|
6204
|
+
command.params['parent'] = parent unless parent.nil?
|
|
6205
|
+
command.query['filter'] = filter unless filter.nil?
|
|
6206
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
6207
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
6208
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
6209
|
+
command.query['fields'] = fields unless fields.nil?
|
|
6210
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
6211
|
+
execute_or_queue_command(command, &block)
|
|
6212
|
+
end
|
|
6213
|
+
|
|
6214
|
+
# Updates the parameters of a single `RateLimitPolicy`.
|
|
6215
|
+
# @param [String] name
|
|
6216
|
+
# Identifier. Specifies the name of the `RateLimitPolicy` resource.
|
|
6217
|
+
# @param [Google::Apis::NetworksecurityV1beta1::RateLimitPolicy] rate_limit_policy_object
|
|
6218
|
+
# @param [String] request_id
|
|
6219
|
+
# Optional. Specifies an optional request ID to identify requests. Specify a
|
|
6220
|
+
# unique request ID so that if you must retry your request, the server will know
|
|
6221
|
+
# to ignore the request if it has already been completed. The server will
|
|
6222
|
+
# guarantee that for at least 60 minutes since the first request. For example,
|
|
6223
|
+
# consider a situation where you make an initial request and the request times
|
|
6224
|
+
# out. If you make the request again with the same request ID, the server can
|
|
6225
|
+
# check if original operation with the same request ID was received, and if so,
|
|
6226
|
+
# will ignore the second request. This prevents clients from accidentally
|
|
6227
|
+
# creating duplicate commitments. The request ID must be a valid UUID with the
|
|
6228
|
+
# exception that zero UUID is not supported (00000000-0000-0000-0000-
|
|
6229
|
+
# 000000000000).
|
|
6230
|
+
# @param [String] update_mask
|
|
6231
|
+
# Optional. Specifies the fields to be overwritten in the `RateLimitPolicy`
|
|
6232
|
+
# resource by the update. The fields specified in the update_mask are relative
|
|
6233
|
+
# to the resource, not the full request. A field will be overwritten if it is in
|
|
6234
|
+
# the mask. If the user does not provide a mask then all fields present in the
|
|
6235
|
+
# request will be overwritten.
|
|
6236
|
+
# @param [String] fields
|
|
6237
|
+
# Selector specifying which fields to include in a partial response.
|
|
6238
|
+
# @param [String] quota_user
|
|
6239
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
6240
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
6241
|
+
# @param [Google::Apis::RequestOptions] options
|
|
6242
|
+
# Request-specific options
|
|
6243
|
+
#
|
|
6244
|
+
# @yield [result, err] Result & error if block supplied
|
|
6245
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
|
6246
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
6247
|
+
#
|
|
6248
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
|
6249
|
+
#
|
|
6250
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
6251
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6252
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6253
|
+
def patch_project_location_rate_limit_policy(name, rate_limit_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
6254
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
6255
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::RateLimitPolicy::Representation
|
|
6256
|
+
command.request_object = rate_limit_policy_object
|
|
6257
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
|
6258
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
|
6259
|
+
command.params['name'] = name unless name.nil?
|
|
6260
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
6261
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
6262
|
+
command.query['fields'] = fields unless fields.nil?
|
|
6263
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
6264
|
+
execute_or_queue_command(command, &block)
|
|
6265
|
+
end
|
|
6266
|
+
|
|
6047
6267
|
# Creates a new SACAttachment in a given project and location.
|
|
6048
6268
|
# @param [String] parent
|
|
6049
6269
|
# Required. The parent, in the form `projects/`project`/locations/`location``.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-networksecurity_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.74.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.74.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|