google-apis-networksecurity_v1beta1 0.71.0 → 0.73.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.
@@ -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.71.0"
19
+ GEM_VERSION = "0.73.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260824"
25
+ REVISION = "20260924"
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
@@ -1961,6 +2109,226 @@ module Google
1961
2109
  end
1962
2110
  end
1963
2111
 
2112
+ class RateLimitPolicy
2113
+ # @private
2114
+ class Representation < Google::Apis::Core::JsonRepresentation
2115
+ property :create_time, as: 'createTime'
2116
+ property :description, as: 'description'
2117
+ collection :http_rules, as: 'httpRules', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRule, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRule::Representation
2118
+
2119
+ hash :labels, as: 'labels'
2120
+ property :name, as: 'name'
2121
+ collection :rate_limit_buckets, as: 'rateLimitBuckets', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucket, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucket::Representation
2122
+
2123
+ collection :targets, as: 'targets', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyTarget, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyTarget::Representation
2124
+
2125
+ property :update_time, as: 'updateTime'
2126
+ end
2127
+ end
2128
+
2129
+ class RateLimitPolicyRateLimitBucket
2130
+ # @private
2131
+ class Representation < Google::Apis::Core::JsonRepresentation
2132
+ property :default_limit, as: 'defaultLimit', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketLimit, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketLimit::Representation
2133
+
2134
+ property :dry_run, as: 'dryRun'
2135
+ collection :keys, as: 'keys', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketKey, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketKey::Representation
2136
+
2137
+ property :name, as: 'name'
2138
+ collection :user_overrides, as: 'userOverrides', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverride, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverride::Representation
2139
+
2140
+ end
2141
+ end
2142
+
2143
+ class RateLimitPolicyRateLimitBucketCountLimit
2144
+ # @private
2145
+ class Representation < Google::Apis::Core::JsonRepresentation
2146
+ property :count, :numeric_string => true, as: 'count'
2147
+ property :interval, :numeric_string => true, as: 'interval'
2148
+ property :interval_unit, as: 'intervalUnit'
2149
+ end
2150
+ end
2151
+
2152
+ class RateLimitPolicyRateLimitBucketKey
2153
+ # @private
2154
+ class Representation < Google::Apis::Core::JsonRepresentation
2155
+ property :header, as: 'header'
2156
+ property :key_type, as: 'keyType'
2157
+ property :principal_type, as: 'principalType'
2158
+ end
2159
+ end
2160
+
2161
+ class RateLimitPolicyRateLimitBucketLimit
2162
+ # @private
2163
+ class Representation < Google::Apis::Core::JsonRepresentation
2164
+ property :count_limit, as: 'countLimit', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketCountLimit, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketCountLimit::Representation
2165
+
2166
+ end
2167
+ end
2168
+
2169
+ class RateLimitPolicyRateLimitBucketUserOverride
2170
+ # @private
2171
+ class Representation < Google::Apis::Core::JsonRepresentation
2172
+ property :limit, as: 'limit', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketLimit, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketLimit::Representation
2173
+
2174
+ property :override_key, as: 'overrideKey', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverrideOverrideKey, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverrideOverrideKey::Representation
2175
+
2176
+ end
2177
+ end
2178
+
2179
+ class RateLimitPolicyRateLimitBucketUserOverrideOverrideKey
2180
+ # @private
2181
+ class Representation < Google::Apis::Core::JsonRepresentation
2182
+ collection :http_headers, as: 'httpHeaders', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverrideOverrideKeyHttpHeader, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverrideOverrideKeyHttpHeader::Representation
2183
+
2184
+ property :http_path, as: 'httpPath'
2185
+ property :mcp_tool, as: 'mcpTool'
2186
+ collection :principals, as: 'principals', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverrideOverrideKeyPrincipal, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitBucketUserOverrideOverrideKeyPrincipal::Representation
2187
+
2188
+ property :source_ip, as: 'sourceIp'
2189
+ end
2190
+ end
2191
+
2192
+ class RateLimitPolicyRateLimitBucketUserOverrideOverrideKeyHttpHeader
2193
+ # @private
2194
+ class Representation < Google::Apis::Core::JsonRepresentation
2195
+ property :header, as: 'header'
2196
+ property :value, as: 'value'
2197
+ end
2198
+ end
2199
+
2200
+ class RateLimitPolicyRateLimitBucketUserOverrideOverrideKeyPrincipal
2201
+ # @private
2202
+ class Representation < Google::Apis::Core::JsonRepresentation
2203
+ property :principal, as: 'principal'
2204
+ property :principal_type, as: 'principalType'
2205
+ end
2206
+ end
2207
+
2208
+ class RateLimitPolicyRateLimitRule
2209
+ # @private
2210
+ class Representation < Google::Apis::Core::JsonRepresentation
2211
+ property :from, as: 'from', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleFrom, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleFrom::Representation
2212
+
2213
+ collection :rate_limit_actions, as: 'rateLimitActions', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleRateLimitAction, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleRateLimitAction::Representation
2214
+
2215
+ property :to, as: 'to', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleTo, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleTo::Representation
2216
+
2217
+ end
2218
+ end
2219
+
2220
+ class RateLimitPolicyRateLimitRuleFrom
2221
+ # @private
2222
+ class Representation < Google::Apis::Core::JsonRepresentation
2223
+ property :not_source, as: 'notSource', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleFromSource, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleFromSource::Representation
2224
+
2225
+ property :source, as: 'source', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleFromSource, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleFromSource::Representation
2226
+
2227
+ end
2228
+ end
2229
+
2230
+ class RateLimitPolicyRateLimitRuleFromSource
2231
+ # @private
2232
+ class Representation < Google::Apis::Core::JsonRepresentation
2233
+ collection :principals, as: 'principals', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRulePrincipal, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRulePrincipal::Representation
2234
+
2235
+ end
2236
+ end
2237
+
2238
+ class RateLimitPolicyRateLimitRuleHeaderMatch
2239
+ # @private
2240
+ class Representation < Google::Apis::Core::JsonRepresentation
2241
+ property :name, as: 'name'
2242
+ property :value, as: 'value', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch::Representation
2243
+
2244
+ end
2245
+ end
2246
+
2247
+ class RateLimitPolicyRateLimitRulePrincipal
2248
+ # @private
2249
+ class Representation < Google::Apis::Core::JsonRepresentation
2250
+ property :principal, as: 'principal', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch::Representation
2251
+
2252
+ property :principal_selector, as: 'principalSelector'
2253
+ end
2254
+ end
2255
+
2256
+ class RateLimitPolicyRateLimitRuleRateLimitAction
2257
+ # @private
2258
+ class Representation < Google::Apis::Core::JsonRepresentation
2259
+ property :rate_limit_bucket, as: 'rateLimitBucket'
2260
+ end
2261
+ end
2262
+
2263
+ class RateLimitPolicyRateLimitRuleStringMatch
2264
+ # @private
2265
+ class Representation < Google::Apis::Core::JsonRepresentation
2266
+ property :contains, as: 'contains'
2267
+ property :exact, as: 'exact'
2268
+ property :ignore_case, as: 'ignoreCase'
2269
+ property :prefix, as: 'prefix'
2270
+ property :suffix, as: 'suffix'
2271
+ end
2272
+ end
2273
+
2274
+ class RateLimitPolicyRateLimitRuleTo
2275
+ # @private
2276
+ class Representation < Google::Apis::Core::JsonRepresentation
2277
+ property :destination, as: 'destination', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestination, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestination::Representation
2278
+
2279
+ property :not_destination, as: 'notDestination', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestination, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestination::Representation
2280
+
2281
+ end
2282
+ end
2283
+
2284
+ class RateLimitPolicyRateLimitRuleToDestination
2285
+ # @private
2286
+ class Representation < Google::Apis::Core::JsonRepresentation
2287
+ property :header_set, as: 'headerSet', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestinationHeaderSet, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestinationHeaderSet::Representation
2288
+
2289
+ collection :hosts, as: 'hosts', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch::Representation
2290
+
2291
+ property :mcp, as: 'mcp', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestinationMcp, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestinationMcp::Representation
2292
+
2293
+ collection :methods_prop, as: 'methods'
2294
+ collection :paths, as: 'paths', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch::Representation
2295
+
2296
+ end
2297
+ end
2298
+
2299
+ class RateLimitPolicyRateLimitRuleToDestinationHeaderSet
2300
+ # @private
2301
+ class Representation < Google::Apis::Core::JsonRepresentation
2302
+ collection :headers, as: 'headers', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleHeaderMatch, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleHeaderMatch::Representation
2303
+
2304
+ end
2305
+ end
2306
+
2307
+ class RateLimitPolicyRateLimitRuleToDestinationMcp
2308
+ # @private
2309
+ class Representation < Google::Apis::Core::JsonRepresentation
2310
+ property :base_protocol_methods_option, as: 'baseProtocolMethodsOption'
2311
+ collection :methods_prop, as: 'methods', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestinationMcpMethod, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleToDestinationMcpMethod::Representation
2312
+
2313
+ end
2314
+ end
2315
+
2316
+ class RateLimitPolicyRateLimitRuleToDestinationMcpMethod
2317
+ # @private
2318
+ class Representation < Google::Apis::Core::JsonRepresentation
2319
+ property :name, as: 'name'
2320
+ collection :params, as: 'params', class: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch, decorator: Google::Apis::NetworksecurityV1beta1::RateLimitPolicyRateLimitRuleStringMatch::Representation
2321
+
2322
+ end
2323
+ end
2324
+
2325
+ class RateLimitPolicyTarget
2326
+ # @private
2327
+ class Representation < Google::Apis::Core::JsonRepresentation
2328
+ property :resource, as: 'resource'
2329
+ end
2330
+ end
2331
+
1964
2332
  class RemoveAddressGroupItemsRequest
1965
2333
  # @private
1966
2334
  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.71.0
4
+ version: 0.73.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.71.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.73.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: