google-apis-networksecurity_v1beta1 0.36.0 → 0.38.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 +9 -0
- data/lib/google/apis/networksecurity_v1beta1/classes.rb +1018 -30
- data/lib/google/apis/networksecurity_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/networksecurity_v1beta1/representations.rb +440 -0
- data/lib/google/apis/networksecurity_v1beta1/service.rb +1415 -205
- metadata +4 -4
@@ -2004,15 +2004,24 @@ module Google
|
|
2004
2004
|
execute_or_queue_command(command, &block)
|
2005
2005
|
end
|
2006
2006
|
|
2007
|
-
# Creates a new
|
2007
|
+
# Creates a new AuthzPolicy in a given project and location.
|
2008
2008
|
# @param [String] parent
|
2009
|
-
# Required. The parent resource of the
|
2010
|
-
# projects
|
2011
|
-
# @param [Google::Apis::NetworksecurityV1beta1::
|
2012
|
-
# @param [String]
|
2013
|
-
# Required.
|
2014
|
-
#
|
2015
|
-
#
|
2009
|
+
# Required. The parent resource of the `AuthzPolicy` resource. Must be in the
|
2010
|
+
# format `projects/`project`/locations/`location``.
|
2011
|
+
# @param [Google::Apis::NetworksecurityV1beta1::AuthzPolicy] authz_policy_object
|
2012
|
+
# @param [String] authz_policy_id
|
2013
|
+
# Required. User-provided ID of the `AuthzPolicy` resource to be created.
|
2014
|
+
# @param [String] request_id
|
2015
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2016
|
+
# request ID so that if you must retry your request, the server can ignore the
|
2017
|
+
# request if it has already been completed. The server guarantees that for at
|
2018
|
+
# least 60 minutes since the first request. For example, consider a situation
|
2019
|
+
# where you make an initial request and the request times out. If you make the
|
2020
|
+
# request again with the same request ID, the server can check if original
|
2021
|
+
# operation with the same request ID was received, and if so, ignores the second
|
2022
|
+
# request. This prevents clients from accidentally creating duplicate
|
2023
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
2024
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2016
2025
|
# @param [String] fields
|
2017
2026
|
# Selector specifying which fields to include in a partial response.
|
2018
2027
|
# @param [String] quota_user
|
@@ -2030,23 +2039,35 @@ module Google
|
|
2030
2039
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2031
2040
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2032
2041
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2033
|
-
def
|
2034
|
-
command = make_simple_command(:post, 'v1beta1/{+parent}/
|
2035
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
2036
|
-
command.request_object =
|
2042
|
+
def create_project_location_authz_policy(parent, authz_policy_object = nil, authz_policy_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2043
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/authzPolicies', options)
|
2044
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::AuthzPolicy::Representation
|
2045
|
+
command.request_object = authz_policy_object
|
2037
2046
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2038
2047
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2039
2048
|
command.params['parent'] = parent unless parent.nil?
|
2040
|
-
command.query['
|
2049
|
+
command.query['authzPolicyId'] = authz_policy_id unless authz_policy_id.nil?
|
2050
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2041
2051
|
command.query['fields'] = fields unless fields.nil?
|
2042
2052
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2043
2053
|
execute_or_queue_command(command, &block)
|
2044
2054
|
end
|
2045
2055
|
|
2046
|
-
# Deletes a single
|
2056
|
+
# Deletes a single AuthzPolicy.
|
2047
2057
|
# @param [String] name
|
2048
|
-
# Required.
|
2049
|
-
# projects
|
2058
|
+
# Required. The name of the `AuthzPolicy` resource to delete. Must be in the
|
2059
|
+
# format `projects/`project`/locations/`location`/authzPolicies/`authz_policy``.
|
2060
|
+
# @param [String] request_id
|
2061
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2062
|
+
# request ID so that if you must retry your request, the server can ignore the
|
2063
|
+
# request if it has already been completed. The server guarantees that for at
|
2064
|
+
# least 60 minutes after the first request. For example, consider a situation
|
2065
|
+
# where you make an initial request and the request times out. If you make the
|
2066
|
+
# request again with the same request ID, the server can check if original
|
2067
|
+
# operation with the same request ID was received, and if so, ignores the second
|
2068
|
+
# request. This prevents clients from accidentally creating duplicate
|
2069
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
2070
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2050
2071
|
# @param [String] fields
|
2051
2072
|
# Selector specifying which fields to include in a partial response.
|
2052
2073
|
# @param [String] quota_user
|
@@ -2064,20 +2085,21 @@ module Google
|
|
2064
2085
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2065
2086
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2066
2087
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2067
|
-
def
|
2088
|
+
def delete_project_location_authz_policy(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2068
2089
|
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2069
2090
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2070
2091
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2071
2092
|
command.params['name'] = name unless name.nil?
|
2093
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2072
2094
|
command.query['fields'] = fields unless fields.nil?
|
2073
2095
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2074
2096
|
execute_or_queue_command(command, &block)
|
2075
2097
|
end
|
2076
2098
|
|
2077
|
-
# Gets details of a single
|
2099
|
+
# Gets details of a single AuthzPolicy.
|
2078
2100
|
# @param [String] name
|
2079
|
-
# Required. A name of the
|
2080
|
-
# projects
|
2101
|
+
# Required. A name of the `AuthzPolicy` resource to get. Must be in the format `
|
2102
|
+
# projects/`project`/locations/`location`/authzPolicies/`authz_policy``.
|
2081
2103
|
# @param [String] fields
|
2082
2104
|
# Selector specifying which fields to include in a partial response.
|
2083
2105
|
# @param [String] quota_user
|
@@ -2087,18 +2109,18 @@ module Google
|
|
2087
2109
|
# Request-specific options
|
2088
2110
|
#
|
2089
2111
|
# @yield [result, err] Result & error if block supplied
|
2090
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
2112
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::AuthzPolicy] parsed result object
|
2091
2113
|
# @yieldparam err [StandardError] error object if request failed
|
2092
2114
|
#
|
2093
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
2115
|
+
# @return [Google::Apis::NetworksecurityV1beta1::AuthzPolicy]
|
2094
2116
|
#
|
2095
2117
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2096
2118
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2097
2119
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2098
|
-
def
|
2120
|
+
def get_project_location_authz_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
2099
2121
|
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2100
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
2101
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
2122
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::AuthzPolicy::Representation
|
2123
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::AuthzPolicy
|
2102
2124
|
command.params['name'] = name unless name.nil?
|
2103
2125
|
command.query['fields'] = fields unless fields.nil?
|
2104
2126
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2139,7 +2161,7 @@ module Google
|
|
2139
2161
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2140
2162
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2141
2163
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2142
|
-
def
|
2164
|
+
def get_project_location_authz_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2143
2165
|
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
2144
2166
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation
|
2145
2167
|
command.response_class = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy
|
@@ -2150,16 +2172,20 @@ module Google
|
|
2150
2172
|
execute_or_queue_command(command, &block)
|
2151
2173
|
end
|
2152
2174
|
|
2153
|
-
# Lists
|
2175
|
+
# Lists AuthzPolicies in a given project and location.
|
2154
2176
|
# @param [String] parent
|
2155
|
-
# Required. The project and location from which the
|
2156
|
-
# listed, specified in the format `projects
|
2177
|
+
# Required. The project and location from which the `AuthzPolicy` resources are
|
2178
|
+
# listed, specified in the following format: `projects/`project`/locations/`
|
2179
|
+
# location``.
|
2180
|
+
# @param [String] filter
|
2181
|
+
# Optional. Filtering results.
|
2182
|
+
# @param [String] order_by
|
2183
|
+
# Optional. Hint for how to order the results.
|
2157
2184
|
# @param [Fixnum] page_size
|
2158
|
-
#
|
2185
|
+
# Optional. Requested page size. The server might return fewer items than
|
2186
|
+
# requested. If unspecified, the server picks an appropriate default.
|
2159
2187
|
# @param [String] page_token
|
2160
|
-
#
|
2161
|
-
# this is a continuation of a prior `ListClientTlsPolicies` call, and that the
|
2162
|
-
# system should return the next page of data.
|
2188
|
+
# Optional. A token identifying a page of results that the server returns.
|
2163
2189
|
# @param [String] fields
|
2164
2190
|
# Selector specifying which fields to include in a partial response.
|
2165
2191
|
# @param [String] quota_user
|
@@ -2169,19 +2195,21 @@ module Google
|
|
2169
2195
|
# Request-specific options
|
2170
2196
|
#
|
2171
2197
|
# @yield [result, err] Result & error if block supplied
|
2172
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
2198
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListAuthzPoliciesResponse] parsed result object
|
2173
2199
|
# @yieldparam err [StandardError] error object if request failed
|
2174
2200
|
#
|
2175
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
2201
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListAuthzPoliciesResponse]
|
2176
2202
|
#
|
2177
2203
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2178
2204
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2179
2205
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2180
|
-
def
|
2181
|
-
command = make_simple_command(:get, 'v1beta1/{+parent}/
|
2182
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
2183
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
2206
|
+
def list_project_location_authz_policies(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2207
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/authzPolicies', options)
|
2208
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListAuthzPoliciesResponse::Representation
|
2209
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListAuthzPoliciesResponse
|
2184
2210
|
command.params['parent'] = parent unless parent.nil?
|
2211
|
+
command.query['filter'] = filter unless filter.nil?
|
2212
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2185
2213
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2186
2214
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2187
2215
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2189,17 +2217,27 @@ module Google
|
|
2189
2217
|
execute_or_queue_command(command, &block)
|
2190
2218
|
end
|
2191
2219
|
|
2192
|
-
# Updates the parameters of a single
|
2220
|
+
# Updates the parameters of a single AuthzPolicy.
|
2193
2221
|
# @param [String] name
|
2194
|
-
# Required. Name of the
|
2195
|
-
# projects
|
2196
|
-
# @param [Google::Apis::NetworksecurityV1beta1::
|
2222
|
+
# Required. Identifier. Name of the `AuthzPolicy` resource in the following
|
2223
|
+
# format: `projects/`project`/locations/`location`/authzPolicies/`authz_policy``.
|
2224
|
+
# @param [Google::Apis::NetworksecurityV1beta1::AuthzPolicy] authz_policy_object
|
2225
|
+
# @param [String] request_id
|
2226
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2227
|
+
# request ID so that if you must retry your request, the server can ignore the
|
2228
|
+
# request if it has already been completed. The server guarantees that for at
|
2229
|
+
# least 60 minutes since the first request. For example, consider a situation
|
2230
|
+
# where you make an initial request and the request times out. If you make the
|
2231
|
+
# request again with the same request ID, the server can check if original
|
2232
|
+
# operation with the same request ID was received, and if so, ignores the second
|
2233
|
+
# request. This prevents clients from accidentally creating duplicate
|
2234
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
2235
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2197
2236
|
# @param [String] update_mask
|
2198
|
-
#
|
2199
|
-
#
|
2200
|
-
#
|
2201
|
-
#
|
2202
|
-
# all fields will be overwritten.
|
2237
|
+
# Required. Used to specify the fields to be overwritten in the `AuthzPolicy`
|
2238
|
+
# resource by the update. The fields specified in the `update_mask` are relative
|
2239
|
+
# to the resource, not the full request. A field is overwritten if it is in the
|
2240
|
+
# mask. If the user does not specify a mask, then all fields are overwritten.
|
2203
2241
|
# @param [String] fields
|
2204
2242
|
# Selector specifying which fields to include in a partial response.
|
2205
2243
|
# @param [String] quota_user
|
@@ -2217,13 +2255,14 @@ module Google
|
|
2217
2255
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2218
2256
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2219
2257
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2220
|
-
def
|
2258
|
+
def patch_project_location_authz_policy(name, authz_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2221
2259
|
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
2222
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
2223
|
-
command.request_object =
|
2260
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::AuthzPolicy::Representation
|
2261
|
+
command.request_object = authz_policy_object
|
2224
2262
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2225
2263
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2226
2264
|
command.params['name'] = name unless name.nil?
|
2265
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2227
2266
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2228
2267
|
command.query['fields'] = fields unless fields.nil?
|
2229
2268
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2255,7 +2294,7 @@ module Google
|
|
2255
2294
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2256
2295
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2257
2296
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2258
|
-
def
|
2297
|
+
def set_project_location_authz_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2259
2298
|
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
2260
2299
|
command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
|
2261
2300
|
command.request_object = google_iam_v1_set_iam_policy_request_object
|
@@ -2294,26 +2333,1134 @@ module Google
|
|
2294
2333
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2295
2334
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2296
2335
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2297
|
-
def
|
2298
|
-
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
2299
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation
|
2300
|
-
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
2301
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
|
2302
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse
|
2303
|
-
command.params['resource'] = resource unless resource.nil?
|
2336
|
+
def test_project_location_authz_policy_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2337
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
2338
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation
|
2339
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
2340
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
|
2341
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse
|
2342
|
+
command.params['resource'] = resource unless resource.nil?
|
2343
|
+
command.query['fields'] = fields unless fields.nil?
|
2344
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2345
|
+
execute_or_queue_command(command, &block)
|
2346
|
+
end
|
2347
|
+
|
2348
|
+
# Creates a new ClientTlsPolicy in a given project and location.
|
2349
|
+
# @param [String] parent
|
2350
|
+
# Required. The parent resource of the ClientTlsPolicy. Must be in the format `
|
2351
|
+
# projects/*/locations/`location``.
|
2352
|
+
# @param [Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy] client_tls_policy_object
|
2353
|
+
# @param [String] client_tls_policy_id
|
2354
|
+
# Required. Short name of the ClientTlsPolicy resource to be created. This value
|
2355
|
+
# should be 1-63 characters long, containing only letters, numbers, hyphens, and
|
2356
|
+
# underscores, and should not start with a number. E.g. "client_mtls_policy".
|
2357
|
+
# @param [String] fields
|
2358
|
+
# Selector specifying which fields to include in a partial response.
|
2359
|
+
# @param [String] quota_user
|
2360
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2361
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2362
|
+
# @param [Google::Apis::RequestOptions] options
|
2363
|
+
# Request-specific options
|
2364
|
+
#
|
2365
|
+
# @yield [result, err] Result & error if block supplied
|
2366
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2367
|
+
# @yieldparam err [StandardError] error object if request failed
|
2368
|
+
#
|
2369
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2370
|
+
#
|
2371
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2372
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2373
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2374
|
+
def create_project_location_client_tls_policy(parent, client_tls_policy_object = nil, client_tls_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2375
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/clientTlsPolicies', options)
|
2376
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy::Representation
|
2377
|
+
command.request_object = client_tls_policy_object
|
2378
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2379
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2380
|
+
command.params['parent'] = parent unless parent.nil?
|
2381
|
+
command.query['clientTlsPolicyId'] = client_tls_policy_id unless client_tls_policy_id.nil?
|
2382
|
+
command.query['fields'] = fields unless fields.nil?
|
2383
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2384
|
+
execute_or_queue_command(command, &block)
|
2385
|
+
end
|
2386
|
+
|
2387
|
+
# Deletes a single ClientTlsPolicy.
|
2388
|
+
# @param [String] name
|
2389
|
+
# Required. A name of the ClientTlsPolicy to delete. Must be in the format `
|
2390
|
+
# projects/*/locations/`location`/clientTlsPolicies/*`.
|
2391
|
+
# @param [String] fields
|
2392
|
+
# Selector specifying which fields to include in a partial response.
|
2393
|
+
# @param [String] quota_user
|
2394
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2395
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2396
|
+
# @param [Google::Apis::RequestOptions] options
|
2397
|
+
# Request-specific options
|
2398
|
+
#
|
2399
|
+
# @yield [result, err] Result & error if block supplied
|
2400
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2401
|
+
# @yieldparam err [StandardError] error object if request failed
|
2402
|
+
#
|
2403
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2404
|
+
#
|
2405
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2406
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2407
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2408
|
+
def delete_project_location_client_tls_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
2409
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2410
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2411
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2412
|
+
command.params['name'] = name unless name.nil?
|
2413
|
+
command.query['fields'] = fields unless fields.nil?
|
2414
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2415
|
+
execute_or_queue_command(command, &block)
|
2416
|
+
end
|
2417
|
+
|
2418
|
+
# Gets details of a single ClientTlsPolicy.
|
2419
|
+
# @param [String] name
|
2420
|
+
# Required. A name of the ClientTlsPolicy to get. Must be in the format `
|
2421
|
+
# projects/*/locations/`location`/clientTlsPolicies/*`.
|
2422
|
+
# @param [String] fields
|
2423
|
+
# Selector specifying which fields to include in a partial response.
|
2424
|
+
# @param [String] quota_user
|
2425
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2426
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2427
|
+
# @param [Google::Apis::RequestOptions] options
|
2428
|
+
# Request-specific options
|
2429
|
+
#
|
2430
|
+
# @yield [result, err] Result & error if block supplied
|
2431
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy] parsed result object
|
2432
|
+
# @yieldparam err [StandardError] error object if request failed
|
2433
|
+
#
|
2434
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy]
|
2435
|
+
#
|
2436
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2437
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2438
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2439
|
+
def get_project_location_client_tls_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
2440
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2441
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy::Representation
|
2442
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy
|
2443
|
+
command.params['name'] = name unless name.nil?
|
2444
|
+
command.query['fields'] = fields unless fields.nil?
|
2445
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2446
|
+
execute_or_queue_command(command, &block)
|
2447
|
+
end
|
2448
|
+
|
2449
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
2450
|
+
# resource exists and does not have a policy set.
|
2451
|
+
# @param [String] resource
|
2452
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
2453
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2454
|
+
# appropriate value for this field.
|
2455
|
+
# @param [Fixnum] options_requested_policy_version
|
2456
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
2457
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
2458
|
+
# rejected. Requests for policies with any conditional role bindings must
|
2459
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
2460
|
+
# valid value or leave the field unset. The policy in the response might use the
|
2461
|
+
# policy version that you specified, or it might use a lower policy version. For
|
2462
|
+
# example, if you specify version 3, but the policy has no conditional role
|
2463
|
+
# bindings, the response uses version 1. To learn which resources support
|
2464
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2465
|
+
# google.com/iam/help/conditions/resource-policies).
|
2466
|
+
# @param [String] fields
|
2467
|
+
# Selector specifying which fields to include in a partial response.
|
2468
|
+
# @param [String] quota_user
|
2469
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2470
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2471
|
+
# @param [Google::Apis::RequestOptions] options
|
2472
|
+
# Request-specific options
|
2473
|
+
#
|
2474
|
+
# @yield [result, err] Result & error if block supplied
|
2475
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy] parsed result object
|
2476
|
+
# @yieldparam err [StandardError] error object if request failed
|
2477
|
+
#
|
2478
|
+
# @return [Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy]
|
2479
|
+
#
|
2480
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2481
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2482
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2483
|
+
def get_project_location_client_tls_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2484
|
+
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
2485
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation
|
2486
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy
|
2487
|
+
command.params['resource'] = resource unless resource.nil?
|
2488
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2489
|
+
command.query['fields'] = fields unless fields.nil?
|
2490
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2491
|
+
execute_or_queue_command(command, &block)
|
2492
|
+
end
|
2493
|
+
|
2494
|
+
# Lists ClientTlsPolicies in a given project and location.
|
2495
|
+
# @param [String] parent
|
2496
|
+
# Required. The project and location from which the ClientTlsPolicies should be
|
2497
|
+
# listed, specified in the format `projects/*/locations/`location``.
|
2498
|
+
# @param [Fixnum] page_size
|
2499
|
+
# Maximum number of ClientTlsPolicies to return per call.
|
2500
|
+
# @param [String] page_token
|
2501
|
+
# The value returned by the last `ListClientTlsPoliciesResponse` Indicates that
|
2502
|
+
# this is a continuation of a prior `ListClientTlsPolicies` call, and that the
|
2503
|
+
# system should return the next page of data.
|
2504
|
+
# @param [String] fields
|
2505
|
+
# Selector specifying which fields to include in a partial response.
|
2506
|
+
# @param [String] quota_user
|
2507
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2508
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2509
|
+
# @param [Google::Apis::RequestOptions] options
|
2510
|
+
# Request-specific options
|
2511
|
+
#
|
2512
|
+
# @yield [result, err] Result & error if block supplied
|
2513
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListClientTlsPoliciesResponse] parsed result object
|
2514
|
+
# @yieldparam err [StandardError] error object if request failed
|
2515
|
+
#
|
2516
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListClientTlsPoliciesResponse]
|
2517
|
+
#
|
2518
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2519
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2520
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2521
|
+
def list_project_location_client_tls_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2522
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/clientTlsPolicies', options)
|
2523
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListClientTlsPoliciesResponse::Representation
|
2524
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListClientTlsPoliciesResponse
|
2525
|
+
command.params['parent'] = parent unless parent.nil?
|
2526
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2527
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2528
|
+
command.query['fields'] = fields unless fields.nil?
|
2529
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2530
|
+
execute_or_queue_command(command, &block)
|
2531
|
+
end
|
2532
|
+
|
2533
|
+
# Updates the parameters of a single ClientTlsPolicy.
|
2534
|
+
# @param [String] name
|
2535
|
+
# Required. Name of the ClientTlsPolicy resource. It matches the pattern `
|
2536
|
+
# projects/*/locations/`location`/clientTlsPolicies/`client_tls_policy``
|
2537
|
+
# @param [Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy] client_tls_policy_object
|
2538
|
+
# @param [String] update_mask
|
2539
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
2540
|
+
# ClientTlsPolicy resource by the update. The fields specified in the
|
2541
|
+
# update_mask are relative to the resource, not the full request. A field will
|
2542
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
2543
|
+
# all fields will be overwritten.
|
2544
|
+
# @param [String] fields
|
2545
|
+
# Selector specifying which fields to include in a partial response.
|
2546
|
+
# @param [String] quota_user
|
2547
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2548
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2549
|
+
# @param [Google::Apis::RequestOptions] options
|
2550
|
+
# Request-specific options
|
2551
|
+
#
|
2552
|
+
# @yield [result, err] Result & error if block supplied
|
2553
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2554
|
+
# @yieldparam err [StandardError] error object if request failed
|
2555
|
+
#
|
2556
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2557
|
+
#
|
2558
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2559
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2560
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2561
|
+
def patch_project_location_client_tls_policy(name, client_tls_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2562
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
2563
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy::Representation
|
2564
|
+
command.request_object = client_tls_policy_object
|
2565
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2566
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2567
|
+
command.params['name'] = name unless name.nil?
|
2568
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2569
|
+
command.query['fields'] = fields unless fields.nil?
|
2570
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2571
|
+
execute_or_queue_command(command, &block)
|
2572
|
+
end
|
2573
|
+
|
2574
|
+
# Sets the access control policy on the specified resource. Replaces any
|
2575
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2576
|
+
# PERMISSION_DENIED` errors.
|
2577
|
+
# @param [String] resource
|
2578
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2579
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2580
|
+
# appropriate value for this field.
|
2581
|
+
# @param [Google::Apis::NetworksecurityV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
2582
|
+
# @param [String] fields
|
2583
|
+
# Selector specifying which fields to include in a partial response.
|
2584
|
+
# @param [String] quota_user
|
2585
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2586
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2587
|
+
# @param [Google::Apis::RequestOptions] options
|
2588
|
+
# Request-specific options
|
2589
|
+
#
|
2590
|
+
# @yield [result, err] Result & error if block supplied
|
2591
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy] parsed result object
|
2592
|
+
# @yieldparam err [StandardError] error object if request failed
|
2593
|
+
#
|
2594
|
+
# @return [Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy]
|
2595
|
+
#
|
2596
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2597
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2598
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2599
|
+
def set_project_location_client_tls_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2600
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
2601
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
|
2602
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
2603
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation
|
2604
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy
|
2605
|
+
command.params['resource'] = resource unless resource.nil?
|
2606
|
+
command.query['fields'] = fields unless fields.nil?
|
2607
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2608
|
+
execute_or_queue_command(command, &block)
|
2609
|
+
end
|
2610
|
+
|
2611
|
+
# Returns permissions that a caller has on the specified resource. If the
|
2612
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
2613
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
2614
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
2615
|
+
# This operation may "fail open" without warning.
|
2616
|
+
# @param [String] resource
|
2617
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2618
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2619
|
+
# appropriate value for this field.
|
2620
|
+
# @param [Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
2621
|
+
# @param [String] fields
|
2622
|
+
# Selector specifying which fields to include in a partial response.
|
2623
|
+
# @param [String] quota_user
|
2624
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2625
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2626
|
+
# @param [Google::Apis::RequestOptions] options
|
2627
|
+
# Request-specific options
|
2628
|
+
#
|
2629
|
+
# @yield [result, err] Result & error if block supplied
|
2630
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
2631
|
+
# @yieldparam err [StandardError] error object if request failed
|
2632
|
+
#
|
2633
|
+
# @return [Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse]
|
2634
|
+
#
|
2635
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2636
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2637
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2638
|
+
def test_project_location_client_tls_policy_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2639
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
2640
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation
|
2641
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
2642
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
|
2643
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse
|
2644
|
+
command.params['resource'] = resource unless resource.nil?
|
2645
|
+
command.query['fields'] = fields unless fields.nil?
|
2646
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2647
|
+
execute_or_queue_command(command, &block)
|
2648
|
+
end
|
2649
|
+
|
2650
|
+
# Creates a new FirewallEndpointAssociation in a given project and location.
|
2651
|
+
# @param [String] parent
|
2652
|
+
# Required. Value for parent.
|
2653
|
+
# @param [Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation] firewall_endpoint_association_object
|
2654
|
+
# @param [String] firewall_endpoint_association_id
|
2655
|
+
# Optional. Id of the requesting object. If auto-generating Id server-side,
|
2656
|
+
# remove this field and firewall_endpoint_association_id from the
|
2657
|
+
# method_signature of Create RPC.
|
2658
|
+
# @param [String] request_id
|
2659
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2660
|
+
# request ID so that if you must retry your request, the server will know to
|
2661
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2662
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
2663
|
+
# situation where you make an initial request and the request times out. If you
|
2664
|
+
# make the request again with the same request ID, the server can check if
|
2665
|
+
# original operation with the same request ID was received, and if so, will
|
2666
|
+
# ignore the second request. This prevents clients from accidentally creating
|
2667
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
2668
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2669
|
+
# @param [String] fields
|
2670
|
+
# Selector specifying which fields to include in a partial response.
|
2671
|
+
# @param [String] quota_user
|
2672
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2673
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2674
|
+
# @param [Google::Apis::RequestOptions] options
|
2675
|
+
# Request-specific options
|
2676
|
+
#
|
2677
|
+
# @yield [result, err] Result & error if block supplied
|
2678
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2679
|
+
# @yieldparam err [StandardError] error object if request failed
|
2680
|
+
#
|
2681
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2682
|
+
#
|
2683
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2684
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2685
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2686
|
+
def create_project_location_firewall_endpoint_association(parent, firewall_endpoint_association_object = nil, firewall_endpoint_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2687
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/firewallEndpointAssociations', options)
|
2688
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation::Representation
|
2689
|
+
command.request_object = firewall_endpoint_association_object
|
2690
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2691
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2692
|
+
command.params['parent'] = parent unless parent.nil?
|
2693
|
+
command.query['firewallEndpointAssociationId'] = firewall_endpoint_association_id unless firewall_endpoint_association_id.nil?
|
2694
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2695
|
+
command.query['fields'] = fields unless fields.nil?
|
2696
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2697
|
+
execute_or_queue_command(command, &block)
|
2698
|
+
end
|
2699
|
+
|
2700
|
+
# Deletes a single FirewallEndpointAssociation.
|
2701
|
+
# @param [String] name
|
2702
|
+
# Required. Name of the resource
|
2703
|
+
# @param [String] request_id
|
2704
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2705
|
+
# request ID so that if you must retry your request, the server will know to
|
2706
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2707
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
2708
|
+
# situation where you make an initial request and the request times out. If you
|
2709
|
+
# make the request again with the same request ID, the server can check if
|
2710
|
+
# original operation with the same request ID was received, and if so, will
|
2711
|
+
# ignore the second request. This prevents clients from accidentally creating
|
2712
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
2713
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2714
|
+
# @param [String] fields
|
2715
|
+
# Selector specifying which fields to include in a partial response.
|
2716
|
+
# @param [String] quota_user
|
2717
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2718
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2719
|
+
# @param [Google::Apis::RequestOptions] options
|
2720
|
+
# Request-specific options
|
2721
|
+
#
|
2722
|
+
# @yield [result, err] Result & error if block supplied
|
2723
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2724
|
+
# @yieldparam err [StandardError] error object if request failed
|
2725
|
+
#
|
2726
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2727
|
+
#
|
2728
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2729
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2730
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2731
|
+
def delete_project_location_firewall_endpoint_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2732
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2733
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2734
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2735
|
+
command.params['name'] = name unless name.nil?
|
2736
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2737
|
+
command.query['fields'] = fields unless fields.nil?
|
2738
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2739
|
+
execute_or_queue_command(command, &block)
|
2740
|
+
end
|
2741
|
+
|
2742
|
+
# Gets details of a single FirewallEndpointAssociation.
|
2743
|
+
# @param [String] name
|
2744
|
+
# Required. Name of the resource
|
2745
|
+
# @param [String] fields
|
2746
|
+
# Selector specifying which fields to include in a partial response.
|
2747
|
+
# @param [String] quota_user
|
2748
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2749
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2750
|
+
# @param [Google::Apis::RequestOptions] options
|
2751
|
+
# Request-specific options
|
2752
|
+
#
|
2753
|
+
# @yield [result, err] Result & error if block supplied
|
2754
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation] parsed result object
|
2755
|
+
# @yieldparam err [StandardError] error object if request failed
|
2756
|
+
#
|
2757
|
+
# @return [Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation]
|
2758
|
+
#
|
2759
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2760
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2761
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2762
|
+
def get_project_location_firewall_endpoint_association(name, fields: nil, quota_user: nil, options: nil, &block)
|
2763
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2764
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation::Representation
|
2765
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation
|
2766
|
+
command.params['name'] = name unless name.nil?
|
2767
|
+
command.query['fields'] = fields unless fields.nil?
|
2768
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2769
|
+
execute_or_queue_command(command, &block)
|
2770
|
+
end
|
2771
|
+
|
2772
|
+
# Lists Associations in a given project and location.
|
2773
|
+
# @param [String] parent
|
2774
|
+
# Required. Parent value for ListAssociationsRequest
|
2775
|
+
# @param [String] filter
|
2776
|
+
# Optional. Filtering results
|
2777
|
+
# @param [String] order_by
|
2778
|
+
# Hint for how to order the results
|
2779
|
+
# @param [Fixnum] page_size
|
2780
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
2781
|
+
# If unspecified, server will pick an appropriate default.
|
2782
|
+
# @param [String] page_token
|
2783
|
+
# A token identifying a page of results the server should return.
|
2784
|
+
# @param [String] fields
|
2785
|
+
# Selector specifying which fields to include in a partial response.
|
2786
|
+
# @param [String] quota_user
|
2787
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2788
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2789
|
+
# @param [Google::Apis::RequestOptions] options
|
2790
|
+
# Request-specific options
|
2791
|
+
#
|
2792
|
+
# @yield [result, err] Result & error if block supplied
|
2793
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointAssociationsResponse] parsed result object
|
2794
|
+
# @yieldparam err [StandardError] error object if request failed
|
2795
|
+
#
|
2796
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointAssociationsResponse]
|
2797
|
+
#
|
2798
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2799
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2800
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2801
|
+
def list_project_location_firewall_endpoint_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2802
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/firewallEndpointAssociations', options)
|
2803
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointAssociationsResponse::Representation
|
2804
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointAssociationsResponse
|
2805
|
+
command.params['parent'] = parent unless parent.nil?
|
2806
|
+
command.query['filter'] = filter unless filter.nil?
|
2807
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2808
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2809
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2810
|
+
command.query['fields'] = fields unless fields.nil?
|
2811
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2812
|
+
execute_or_queue_command(command, &block)
|
2813
|
+
end
|
2814
|
+
|
2815
|
+
# Update a single FirewallEndpointAssociation.
|
2816
|
+
# @param [String] name
|
2817
|
+
# Immutable. Identifier. name of resource
|
2818
|
+
# @param [Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation] firewall_endpoint_association_object
|
2819
|
+
# @param [String] request_id
|
2820
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2821
|
+
# request ID so that if you must retry your request, the server will know to
|
2822
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2823
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
2824
|
+
# situation where you make an initial request and the request times out. If you
|
2825
|
+
# make the request again with the same request ID, the server can check if
|
2826
|
+
# original operation with the same request ID was received, and if so, will
|
2827
|
+
# ignore the second request. This prevents clients from accidentally creating
|
2828
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
2829
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2830
|
+
# @param [String] update_mask
|
2831
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
2832
|
+
# Association resource by the update. The fields specified in the update_mask
|
2833
|
+
# are relative to the resource, not the full request. A field will be
|
2834
|
+
# overwritten if it is in the mask. If the user does not provide a mask then all
|
2835
|
+
# fields will be overwritten.
|
2836
|
+
# @param [String] fields
|
2837
|
+
# Selector specifying which fields to include in a partial response.
|
2838
|
+
# @param [String] quota_user
|
2839
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2840
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2841
|
+
# @param [Google::Apis::RequestOptions] options
|
2842
|
+
# Request-specific options
|
2843
|
+
#
|
2844
|
+
# @yield [result, err] Result & error if block supplied
|
2845
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2846
|
+
# @yieldparam err [StandardError] error object if request failed
|
2847
|
+
#
|
2848
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2849
|
+
#
|
2850
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2851
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2852
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2853
|
+
def patch_project_location_firewall_endpoint_association(name, firewall_endpoint_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2854
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
2855
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation::Representation
|
2856
|
+
command.request_object = firewall_endpoint_association_object
|
2857
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2858
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2859
|
+
command.params['name'] = name unless name.nil?
|
2860
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2861
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2862
|
+
command.query['fields'] = fields unless fields.nil?
|
2863
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2864
|
+
execute_or_queue_command(command, &block)
|
2865
|
+
end
|
2866
|
+
|
2867
|
+
# Creates a new GatewaySecurityPolicy in a given project and location.
|
2868
|
+
# @param [String] parent
|
2869
|
+
# Required. The parent resource of the GatewaySecurityPolicy. Must be in the
|
2870
|
+
# format `projects/`project`/locations/`location``.
|
2871
|
+
# @param [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy] gateway_security_policy_object
|
2872
|
+
# @param [String] gateway_security_policy_id
|
2873
|
+
# Required. Short name of the GatewaySecurityPolicy resource to be created. This
|
2874
|
+
# value should be 1-63 characters long, containing only letters, numbers,
|
2875
|
+
# hyphens, and underscores, and should not start with a number. E.g. "
|
2876
|
+
# gateway_security_policy1".
|
2877
|
+
# @param [String] fields
|
2878
|
+
# Selector specifying which fields to include in a partial response.
|
2879
|
+
# @param [String] quota_user
|
2880
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2881
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2882
|
+
# @param [Google::Apis::RequestOptions] options
|
2883
|
+
# Request-specific options
|
2884
|
+
#
|
2885
|
+
# @yield [result, err] Result & error if block supplied
|
2886
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2887
|
+
# @yieldparam err [StandardError] error object if request failed
|
2888
|
+
#
|
2889
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2890
|
+
#
|
2891
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2892
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2893
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2894
|
+
def create_project_location_gateway_security_policy(parent, gateway_security_policy_object = nil, gateway_security_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2895
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/gatewaySecurityPolicies', options)
|
2896
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy::Representation
|
2897
|
+
command.request_object = gateway_security_policy_object
|
2898
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2899
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2900
|
+
command.params['parent'] = parent unless parent.nil?
|
2901
|
+
command.query['gatewaySecurityPolicyId'] = gateway_security_policy_id unless gateway_security_policy_id.nil?
|
2902
|
+
command.query['fields'] = fields unless fields.nil?
|
2903
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2904
|
+
execute_or_queue_command(command, &block)
|
2905
|
+
end
|
2906
|
+
|
2907
|
+
# Deletes a single GatewaySecurityPolicy.
|
2908
|
+
# @param [String] name
|
2909
|
+
# Required. A name of the GatewaySecurityPolicy to delete. Must be in the format
|
2910
|
+
# `projects/`project`/locations/`location`/gatewaySecurityPolicies/*`.
|
2911
|
+
# @param [String] fields
|
2912
|
+
# Selector specifying which fields to include in a partial response.
|
2913
|
+
# @param [String] quota_user
|
2914
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2915
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2916
|
+
# @param [Google::Apis::RequestOptions] options
|
2917
|
+
# Request-specific options
|
2918
|
+
#
|
2919
|
+
# @yield [result, err] Result & error if block supplied
|
2920
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2921
|
+
# @yieldparam err [StandardError] error object if request failed
|
2922
|
+
#
|
2923
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2924
|
+
#
|
2925
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2926
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2927
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2928
|
+
def delete_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
2929
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2930
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2931
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2932
|
+
command.params['name'] = name unless name.nil?
|
2933
|
+
command.query['fields'] = fields unless fields.nil?
|
2934
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2935
|
+
execute_or_queue_command(command, &block)
|
2936
|
+
end
|
2937
|
+
|
2938
|
+
# Gets details of a single GatewaySecurityPolicy.
|
2939
|
+
# @param [String] name
|
2940
|
+
# Required. A name of the GatewaySecurityPolicy to get. Must be in the format `
|
2941
|
+
# projects/`project`/locations/`location`/gatewaySecurityPolicies/*`.
|
2942
|
+
# @param [String] fields
|
2943
|
+
# Selector specifying which fields to include in a partial response.
|
2944
|
+
# @param [String] quota_user
|
2945
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2946
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2947
|
+
# @param [Google::Apis::RequestOptions] options
|
2948
|
+
# Request-specific options
|
2949
|
+
#
|
2950
|
+
# @yield [result, err] Result & error if block supplied
|
2951
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy] parsed result object
|
2952
|
+
# @yieldparam err [StandardError] error object if request failed
|
2953
|
+
#
|
2954
|
+
# @return [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy]
|
2955
|
+
#
|
2956
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2957
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2958
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2959
|
+
def get_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
2960
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2961
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy::Representation
|
2962
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy
|
2963
|
+
command.params['name'] = name unless name.nil?
|
2964
|
+
command.query['fields'] = fields unless fields.nil?
|
2965
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2966
|
+
execute_or_queue_command(command, &block)
|
2967
|
+
end
|
2968
|
+
|
2969
|
+
# Lists GatewaySecurityPolicies in a given project and location.
|
2970
|
+
# @param [String] parent
|
2971
|
+
# Required. The project and location from which the GatewaySecurityPolicies
|
2972
|
+
# should be listed, specified in the format `projects/`project`/locations/`
|
2973
|
+
# location``.
|
2974
|
+
# @param [Fixnum] page_size
|
2975
|
+
# Maximum number of GatewaySecurityPolicies to return per call.
|
2976
|
+
# @param [String] page_token
|
2977
|
+
# The value returned by the last 'ListGatewaySecurityPoliciesResponse' Indicates
|
2978
|
+
# that this is a continuation of a prior 'ListGatewaySecurityPolicies' call, and
|
2979
|
+
# that the system should return the next page of data.
|
2980
|
+
# @param [String] fields
|
2981
|
+
# Selector specifying which fields to include in a partial response.
|
2982
|
+
# @param [String] quota_user
|
2983
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2984
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2985
|
+
# @param [Google::Apis::RequestOptions] options
|
2986
|
+
# Request-specific options
|
2987
|
+
#
|
2988
|
+
# @yield [result, err] Result & error if block supplied
|
2989
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPoliciesResponse] parsed result object
|
2990
|
+
# @yieldparam err [StandardError] error object if request failed
|
2991
|
+
#
|
2992
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPoliciesResponse]
|
2993
|
+
#
|
2994
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2995
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2996
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2997
|
+
def list_project_location_gateway_security_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2998
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/gatewaySecurityPolicies', options)
|
2999
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPoliciesResponse::Representation
|
3000
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPoliciesResponse
|
3001
|
+
command.params['parent'] = parent unless parent.nil?
|
3002
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3003
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3004
|
+
command.query['fields'] = fields unless fields.nil?
|
3005
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3006
|
+
execute_or_queue_command(command, &block)
|
3007
|
+
end
|
3008
|
+
|
3009
|
+
# Updates the parameters of a single GatewaySecurityPolicy.
|
3010
|
+
# @param [String] name
|
3011
|
+
# Required. Name of the resource. Name is of the form projects/`project`/
|
3012
|
+
# locations/`location`/gatewaySecurityPolicies/`gateway_security_policy`
|
3013
|
+
# gateway_security_policy should match the pattern:(^[a-z]([a-z0-9-]`0,61`[a-z0-
|
3014
|
+
# 9])?$).
|
3015
|
+
# @param [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy] gateway_security_policy_object
|
3016
|
+
# @param [String] update_mask
|
3017
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
3018
|
+
# GatewaySecurityPolicy resource by the update. The fields specified in the
|
3019
|
+
# update_mask are relative to the resource, not the full request. A field will
|
3020
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
3021
|
+
# all fields will be overwritten.
|
3022
|
+
# @param [String] fields
|
3023
|
+
# Selector specifying which fields to include in a partial response.
|
3024
|
+
# @param [String] quota_user
|
3025
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3026
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3027
|
+
# @param [Google::Apis::RequestOptions] options
|
3028
|
+
# Request-specific options
|
3029
|
+
#
|
3030
|
+
# @yield [result, err] Result & error if block supplied
|
3031
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3032
|
+
# @yieldparam err [StandardError] error object if request failed
|
3033
|
+
#
|
3034
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3035
|
+
#
|
3036
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3037
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3038
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3039
|
+
def patch_project_location_gateway_security_policy(name, gateway_security_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3040
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
3041
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy::Representation
|
3042
|
+
command.request_object = gateway_security_policy_object
|
3043
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3044
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3045
|
+
command.params['name'] = name unless name.nil?
|
3046
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3047
|
+
command.query['fields'] = fields unless fields.nil?
|
3048
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3049
|
+
execute_or_queue_command(command, &block)
|
3050
|
+
end
|
3051
|
+
|
3052
|
+
# Creates a new GatewaySecurityPolicy in a given project and location.
|
3053
|
+
# @param [String] parent
|
3054
|
+
# Required. The parent where this rule will be created. Format : projects/`
|
3055
|
+
# project`/location/`location`/gatewaySecurityPolicies/*
|
3056
|
+
# @param [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule] gateway_security_policy_rule_object
|
3057
|
+
# @param [String] gateway_security_policy_rule_id
|
3058
|
+
# The ID to use for the rule, which will become the final component of the rule'
|
3059
|
+
# s resource name. This value should be 4-63 characters, and valid characters
|
3060
|
+
# are /a-z-/.
|
3061
|
+
# @param [String] fields
|
3062
|
+
# Selector specifying which fields to include in a partial response.
|
3063
|
+
# @param [String] quota_user
|
3064
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3065
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3066
|
+
# @param [Google::Apis::RequestOptions] options
|
3067
|
+
# Request-specific options
|
3068
|
+
#
|
3069
|
+
# @yield [result, err] Result & error if block supplied
|
3070
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3071
|
+
# @yieldparam err [StandardError] error object if request failed
|
3072
|
+
#
|
3073
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3074
|
+
#
|
3075
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3076
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3077
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3078
|
+
def create_project_location_gateway_security_policy_rule(parent, gateway_security_policy_rule_object = nil, gateway_security_policy_rule_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3079
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/rules', options)
|
3080
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule::Representation
|
3081
|
+
command.request_object = gateway_security_policy_rule_object
|
3082
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3083
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3084
|
+
command.params['parent'] = parent unless parent.nil?
|
3085
|
+
command.query['gatewaySecurityPolicyRuleId'] = gateway_security_policy_rule_id unless gateway_security_policy_rule_id.nil?
|
3086
|
+
command.query['fields'] = fields unless fields.nil?
|
3087
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3088
|
+
execute_or_queue_command(command, &block)
|
3089
|
+
end
|
3090
|
+
|
3091
|
+
# Deletes a single GatewaySecurityPolicyRule.
|
3092
|
+
# @param [String] name
|
3093
|
+
# Required. A name of the GatewaySecurityPolicyRule to delete. Must be in the
|
3094
|
+
# format `projects/`project`/locations/`location`/gatewaySecurityPolicies/`
|
3095
|
+
# gatewaySecurityPolicy`/rules/*`.
|
3096
|
+
# @param [String] fields
|
3097
|
+
# Selector specifying which fields to include in a partial response.
|
3098
|
+
# @param [String] quota_user
|
3099
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3100
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3101
|
+
# @param [Google::Apis::RequestOptions] options
|
3102
|
+
# Request-specific options
|
3103
|
+
#
|
3104
|
+
# @yield [result, err] Result & error if block supplied
|
3105
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3106
|
+
# @yieldparam err [StandardError] error object if request failed
|
3107
|
+
#
|
3108
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3109
|
+
#
|
3110
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3111
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3112
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3113
|
+
def delete_project_location_gateway_security_policy_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
3114
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
3115
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3116
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3117
|
+
command.params['name'] = name unless name.nil?
|
3118
|
+
command.query['fields'] = fields unless fields.nil?
|
3119
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3120
|
+
execute_or_queue_command(command, &block)
|
3121
|
+
end
|
3122
|
+
|
3123
|
+
# Gets details of a single GatewaySecurityPolicyRule.
|
3124
|
+
# @param [String] name
|
3125
|
+
# Required. The name of the GatewaySecurityPolicyRule to retrieve. Format:
|
3126
|
+
# projects/`project`/location/`location`/gatewaySecurityPolicies/*/rules/*
|
3127
|
+
# @param [String] fields
|
3128
|
+
# Selector specifying which fields to include in a partial response.
|
3129
|
+
# @param [String] quota_user
|
3130
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3131
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3132
|
+
# @param [Google::Apis::RequestOptions] options
|
3133
|
+
# Request-specific options
|
3134
|
+
#
|
3135
|
+
# @yield [result, err] Result & error if block supplied
|
3136
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule] parsed result object
|
3137
|
+
# @yieldparam err [StandardError] error object if request failed
|
3138
|
+
#
|
3139
|
+
# @return [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule]
|
3140
|
+
#
|
3141
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3142
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3143
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3144
|
+
def get_project_location_gateway_security_policy_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
3145
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
3146
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule::Representation
|
3147
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule
|
3148
|
+
command.params['name'] = name unless name.nil?
|
3149
|
+
command.query['fields'] = fields unless fields.nil?
|
3150
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3151
|
+
execute_or_queue_command(command, &block)
|
3152
|
+
end
|
3153
|
+
|
3154
|
+
# Lists GatewaySecurityPolicyRules in a given project and location.
|
3155
|
+
# @param [String] parent
|
3156
|
+
# Required. The project, location and GatewaySecurityPolicy from which the
|
3157
|
+
# GatewaySecurityPolicyRules should be listed, specified in the format `projects/
|
3158
|
+
# `project`/locations/`location`/gatewaySecurityPolicies/`gatewaySecurityPolicy``
|
3159
|
+
# .
|
3160
|
+
# @param [Fixnum] page_size
|
3161
|
+
# Maximum number of GatewaySecurityPolicyRules to return per call.
|
3162
|
+
# @param [String] page_token
|
3163
|
+
# The value returned by the last 'ListGatewaySecurityPolicyRulesResponse'
|
3164
|
+
# Indicates that this is a continuation of a prior '
|
3165
|
+
# ListGatewaySecurityPolicyRules' call, and that the system should return the
|
3166
|
+
# next page of data.
|
3167
|
+
# @param [String] fields
|
3168
|
+
# Selector specifying which fields to include in a partial response.
|
3169
|
+
# @param [String] quota_user
|
3170
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3171
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3172
|
+
# @param [Google::Apis::RequestOptions] options
|
3173
|
+
# Request-specific options
|
3174
|
+
#
|
3175
|
+
# @yield [result, err] Result & error if block supplied
|
3176
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPolicyRulesResponse] parsed result object
|
3177
|
+
# @yieldparam err [StandardError] error object if request failed
|
3178
|
+
#
|
3179
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPolicyRulesResponse]
|
3180
|
+
#
|
3181
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3182
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3183
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3184
|
+
def list_project_location_gateway_security_policy_rules(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3185
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/rules', options)
|
3186
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPolicyRulesResponse::Representation
|
3187
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPolicyRulesResponse
|
3188
|
+
command.params['parent'] = parent unless parent.nil?
|
3189
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3190
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3191
|
+
command.query['fields'] = fields unless fields.nil?
|
3192
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3193
|
+
execute_or_queue_command(command, &block)
|
3194
|
+
end
|
3195
|
+
|
3196
|
+
# Updates the parameters of a single GatewaySecurityPolicyRule.
|
3197
|
+
# @param [String] name
|
3198
|
+
# Required. Immutable. Name of the resource. ame is the full resource name so
|
3199
|
+
# projects/`project`/locations/`location`/gatewaySecurityPolicies/`
|
3200
|
+
# gateway_security_policy`/rules/`rule` rule should match the pattern: (^[a-z]([
|
3201
|
+
# a-z0-9-]`0,61`[a-z0-9])?$).
|
3202
|
+
# @param [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule] gateway_security_policy_rule_object
|
3203
|
+
# @param [String] update_mask
|
3204
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
3205
|
+
# GatewaySecurityPolicy resource by the update. The fields specified in the
|
3206
|
+
# update_mask are relative to the resource, not the full request. A field will
|
3207
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
3208
|
+
# all fields will be overwritten.
|
3209
|
+
# @param [String] fields
|
3210
|
+
# Selector specifying which fields to include in a partial response.
|
3211
|
+
# @param [String] quota_user
|
3212
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3213
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3214
|
+
# @param [Google::Apis::RequestOptions] options
|
3215
|
+
# Request-specific options
|
3216
|
+
#
|
3217
|
+
# @yield [result, err] Result & error if block supplied
|
3218
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3219
|
+
# @yieldparam err [StandardError] error object if request failed
|
3220
|
+
#
|
3221
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3222
|
+
#
|
3223
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3224
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3225
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3226
|
+
def patch_project_location_gateway_security_policy_rule(name, gateway_security_policy_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3227
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
3228
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule::Representation
|
3229
|
+
command.request_object = gateway_security_policy_rule_object
|
3230
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3231
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3232
|
+
command.params['name'] = name unless name.nil?
|
3233
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3234
|
+
command.query['fields'] = fields unless fields.nil?
|
3235
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3236
|
+
execute_or_queue_command(command, &block)
|
3237
|
+
end
|
3238
|
+
|
3239
|
+
# Creates a new MirroringDeploymentGroup in a given project and location.
|
3240
|
+
# @param [String] parent
|
3241
|
+
# Required. Value for parent.
|
3242
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup] mirroring_deployment_group_object
|
3243
|
+
# @param [String] mirroring_deployment_group_id
|
3244
|
+
# Required. Id of the requesting object If auto-generating Id server-side,
|
3245
|
+
# remove this field and mirroring_deployment_group_id from the method_signature
|
3246
|
+
# of Create RPC
|
3247
|
+
# @param [String] request_id
|
3248
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3249
|
+
# request ID so that if you must retry your request, the server will know to
|
3250
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3251
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
3252
|
+
# situation where you make an initial request and the request times out. If you
|
3253
|
+
# make the request again with the same request ID, the server can check if
|
3254
|
+
# original operation with the same request ID was received, and if so, will
|
3255
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3256
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3257
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3258
|
+
# @param [String] fields
|
3259
|
+
# Selector specifying which fields to include in a partial response.
|
3260
|
+
# @param [String] quota_user
|
3261
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3262
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3263
|
+
# @param [Google::Apis::RequestOptions] options
|
3264
|
+
# Request-specific options
|
3265
|
+
#
|
3266
|
+
# @yield [result, err] Result & error if block supplied
|
3267
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3268
|
+
# @yieldparam err [StandardError] error object if request failed
|
3269
|
+
#
|
3270
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3271
|
+
#
|
3272
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3273
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3274
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3275
|
+
def create_project_location_mirroring_deployment_group(parent, mirroring_deployment_group_object = nil, mirroring_deployment_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3276
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/mirroringDeploymentGroups', options)
|
3277
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup::Representation
|
3278
|
+
command.request_object = mirroring_deployment_group_object
|
3279
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3280
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3281
|
+
command.params['parent'] = parent unless parent.nil?
|
3282
|
+
command.query['mirroringDeploymentGroupId'] = mirroring_deployment_group_id unless mirroring_deployment_group_id.nil?
|
3283
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3284
|
+
command.query['fields'] = fields unless fields.nil?
|
3285
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3286
|
+
execute_or_queue_command(command, &block)
|
3287
|
+
end
|
3288
|
+
|
3289
|
+
# Deletes a single MirroringDeploymentGroup.
|
3290
|
+
# @param [String] name
|
3291
|
+
# Required. Name of the resource
|
3292
|
+
# @param [String] request_id
|
3293
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3294
|
+
# request ID so that if you must retry your request, the server will know to
|
3295
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3296
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
3297
|
+
# situation where you make an initial request and the request times out. If you
|
3298
|
+
# make the request again with the same request ID, the server can check if
|
3299
|
+
# original operation with the same request ID was received, and if so, will
|
3300
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3301
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3302
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3303
|
+
# @param [String] fields
|
3304
|
+
# Selector specifying which fields to include in a partial response.
|
3305
|
+
# @param [String] quota_user
|
3306
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3307
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3308
|
+
# @param [Google::Apis::RequestOptions] options
|
3309
|
+
# Request-specific options
|
3310
|
+
#
|
3311
|
+
# @yield [result, err] Result & error if block supplied
|
3312
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3313
|
+
# @yieldparam err [StandardError] error object if request failed
|
3314
|
+
#
|
3315
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3316
|
+
#
|
3317
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3318
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3319
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3320
|
+
def delete_project_location_mirroring_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3321
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
3322
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3323
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3324
|
+
command.params['name'] = name unless name.nil?
|
3325
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3326
|
+
command.query['fields'] = fields unless fields.nil?
|
3327
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3328
|
+
execute_or_queue_command(command, &block)
|
3329
|
+
end
|
3330
|
+
|
3331
|
+
# Gets details of a single MirroringDeploymentGroup.
|
3332
|
+
# @param [String] name
|
3333
|
+
# Required. Name of the resource
|
3334
|
+
# @param [String] fields
|
3335
|
+
# Selector specifying which fields to include in a partial response.
|
3336
|
+
# @param [String] quota_user
|
3337
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3338
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3339
|
+
# @param [Google::Apis::RequestOptions] options
|
3340
|
+
# Request-specific options
|
3341
|
+
#
|
3342
|
+
# @yield [result, err] Result & error if block supplied
|
3343
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup] parsed result object
|
3344
|
+
# @yieldparam err [StandardError] error object if request failed
|
3345
|
+
#
|
3346
|
+
# @return [Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup]
|
3347
|
+
#
|
3348
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3349
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3350
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3351
|
+
def get_project_location_mirroring_deployment_group(name, fields: nil, quota_user: nil, options: nil, &block)
|
3352
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
3353
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup::Representation
|
3354
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup
|
3355
|
+
command.params['name'] = name unless name.nil?
|
3356
|
+
command.query['fields'] = fields unless fields.nil?
|
3357
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3358
|
+
execute_or_queue_command(command, &block)
|
3359
|
+
end
|
3360
|
+
|
3361
|
+
# Lists MirroringDeploymentGroups in a given project and location.
|
3362
|
+
# @param [String] parent
|
3363
|
+
# Required. Parent value for ListMirroringDeploymentGroupsRequest
|
3364
|
+
# @param [String] filter
|
3365
|
+
# Optional. Filtering results
|
3366
|
+
# @param [String] order_by
|
3367
|
+
# Optional. Hint for how to order the results
|
3368
|
+
# @param [Fixnum] page_size
|
3369
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
3370
|
+
# If unspecified, server will pick an appropriate default.
|
3371
|
+
# @param [String] page_token
|
3372
|
+
# Optional. A token identifying a page of results the server should return.
|
3373
|
+
# @param [String] fields
|
3374
|
+
# Selector specifying which fields to include in a partial response.
|
3375
|
+
# @param [String] quota_user
|
3376
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3377
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3378
|
+
# @param [Google::Apis::RequestOptions] options
|
3379
|
+
# Request-specific options
|
3380
|
+
#
|
3381
|
+
# @yield [result, err] Result & error if block supplied
|
3382
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentGroupsResponse] parsed result object
|
3383
|
+
# @yieldparam err [StandardError] error object if request failed
|
3384
|
+
#
|
3385
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentGroupsResponse]
|
3386
|
+
#
|
3387
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3388
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3389
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3390
|
+
def list_project_location_mirroring_deployment_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3391
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/mirroringDeploymentGroups', options)
|
3392
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentGroupsResponse::Representation
|
3393
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentGroupsResponse
|
3394
|
+
command.params['parent'] = parent unless parent.nil?
|
3395
|
+
command.query['filter'] = filter unless filter.nil?
|
3396
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3397
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3398
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3399
|
+
command.query['fields'] = fields unless fields.nil?
|
3400
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3401
|
+
execute_or_queue_command(command, &block)
|
3402
|
+
end
|
3403
|
+
|
3404
|
+
# Updates a single MirroringDeploymentGroup.
|
3405
|
+
# @param [String] name
|
3406
|
+
# Immutable. Identifier. Then name of the MirroringDeploymentGroup.
|
3407
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup] mirroring_deployment_group_object
|
3408
|
+
# @param [String] request_id
|
3409
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3410
|
+
# request ID so that if you must retry your request, the server will know to
|
3411
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3412
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
3413
|
+
# situation where you make an initial request and the request times out. If you
|
3414
|
+
# make the request again with the same request ID, the server can check if
|
3415
|
+
# original operation with the same request ID was received, and if so, will
|
3416
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3417
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3418
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3419
|
+
# @param [String] update_mask
|
3420
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
3421
|
+
# MirroringDeploymentGroup resource by the update. The fields specified in the
|
3422
|
+
# update_mask are relative to the resource, not the full request. A field will
|
3423
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
3424
|
+
# all fields will be overwritten.
|
3425
|
+
# @param [String] fields
|
3426
|
+
# Selector specifying which fields to include in a partial response.
|
3427
|
+
# @param [String] quota_user
|
3428
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3429
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3430
|
+
# @param [Google::Apis::RequestOptions] options
|
3431
|
+
# Request-specific options
|
3432
|
+
#
|
3433
|
+
# @yield [result, err] Result & error if block supplied
|
3434
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3435
|
+
# @yieldparam err [StandardError] error object if request failed
|
3436
|
+
#
|
3437
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3438
|
+
#
|
3439
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3440
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3441
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3442
|
+
def patch_project_location_mirroring_deployment_group(name, mirroring_deployment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3443
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
3444
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup::Representation
|
3445
|
+
command.request_object = mirroring_deployment_group_object
|
3446
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3447
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3448
|
+
command.params['name'] = name unless name.nil?
|
3449
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3450
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2304
3451
|
command.query['fields'] = fields unless fields.nil?
|
2305
3452
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2306
3453
|
execute_or_queue_command(command, &block)
|
2307
3454
|
end
|
2308
3455
|
|
2309
|
-
# Creates a new
|
3456
|
+
# Creates a new MirroringDeployment in a given project and location.
|
2310
3457
|
# @param [String] parent
|
2311
3458
|
# Required. Value for parent.
|
2312
|
-
# @param [Google::Apis::NetworksecurityV1beta1::
|
2313
|
-
# @param [String]
|
2314
|
-
#
|
2315
|
-
# remove this field and
|
2316
|
-
#
|
3459
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringDeployment] mirroring_deployment_object
|
3460
|
+
# @param [String] mirroring_deployment_id
|
3461
|
+
# Required. Id of the requesting object If auto-generating Id server-side,
|
3462
|
+
# remove this field and mirroring_deployment_id from the method_signature of
|
3463
|
+
# Create RPC
|
2317
3464
|
# @param [String] request_id
|
2318
3465
|
# Optional. An optional request ID to identify requests. Specify a unique
|
2319
3466
|
# request ID so that if you must retry your request, the server will know to
|
@@ -2342,21 +3489,21 @@ module Google
|
|
2342
3489
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2343
3490
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2344
3491
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2345
|
-
def
|
2346
|
-
command = make_simple_command(:post, 'v1beta1/{+parent}/
|
2347
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
2348
|
-
command.request_object =
|
3492
|
+
def create_project_location_mirroring_deployment(parent, mirroring_deployment_object = nil, mirroring_deployment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3493
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/mirroringDeployments', options)
|
3494
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeployment::Representation
|
3495
|
+
command.request_object = mirroring_deployment_object
|
2349
3496
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2350
3497
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2351
3498
|
command.params['parent'] = parent unless parent.nil?
|
2352
|
-
command.query['
|
3499
|
+
command.query['mirroringDeploymentId'] = mirroring_deployment_id unless mirroring_deployment_id.nil?
|
2353
3500
|
command.query['requestId'] = request_id unless request_id.nil?
|
2354
3501
|
command.query['fields'] = fields unless fields.nil?
|
2355
3502
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2356
3503
|
execute_or_queue_command(command, &block)
|
2357
3504
|
end
|
2358
3505
|
|
2359
|
-
# Deletes a single
|
3506
|
+
# Deletes a single MirroringDeployment.
|
2360
3507
|
# @param [String] name
|
2361
3508
|
# Required. Name of the resource
|
2362
3509
|
# @param [String] request_id
|
@@ -2387,7 +3534,7 @@ module Google
|
|
2387
3534
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2388
3535
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2389
3536
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2390
|
-
def
|
3537
|
+
def delete_project_location_mirroring_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2391
3538
|
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2392
3539
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2393
3540
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
@@ -2398,7 +3545,7 @@ module Google
|
|
2398
3545
|
execute_or_queue_command(command, &block)
|
2399
3546
|
end
|
2400
3547
|
|
2401
|
-
# Gets details of a single
|
3548
|
+
# Gets details of a single MirroringDeployment.
|
2402
3549
|
# @param [String] name
|
2403
3550
|
# Required. Name of the resource
|
2404
3551
|
# @param [String] fields
|
@@ -2410,36 +3557,36 @@ module Google
|
|
2410
3557
|
# Request-specific options
|
2411
3558
|
#
|
2412
3559
|
# @yield [result, err] Result & error if block supplied
|
2413
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
3560
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::MirroringDeployment] parsed result object
|
2414
3561
|
# @yieldparam err [StandardError] error object if request failed
|
2415
3562
|
#
|
2416
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
3563
|
+
# @return [Google::Apis::NetworksecurityV1beta1::MirroringDeployment]
|
2417
3564
|
#
|
2418
3565
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2419
3566
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2420
3567
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2421
|
-
def
|
3568
|
+
def get_project_location_mirroring_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
2422
3569
|
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2423
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
2424
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
3570
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeployment::Representation
|
3571
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::MirroringDeployment
|
2425
3572
|
command.params['name'] = name unless name.nil?
|
2426
3573
|
command.query['fields'] = fields unless fields.nil?
|
2427
3574
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2428
3575
|
execute_or_queue_command(command, &block)
|
2429
3576
|
end
|
2430
3577
|
|
2431
|
-
# Lists
|
3578
|
+
# Lists MirroringDeployments in a given project and location.
|
2432
3579
|
# @param [String] parent
|
2433
|
-
# Required. Parent value for
|
3580
|
+
# Required. Parent value for ListMirroringDeploymentsRequest
|
2434
3581
|
# @param [String] filter
|
2435
3582
|
# Optional. Filtering results
|
2436
3583
|
# @param [String] order_by
|
2437
|
-
# Hint for how to order the results
|
3584
|
+
# Optional. Hint for how to order the results
|
2438
3585
|
# @param [Fixnum] page_size
|
2439
3586
|
# Optional. Requested page size. Server may return fewer items than requested.
|
2440
3587
|
# If unspecified, server will pick an appropriate default.
|
2441
3588
|
# @param [String] page_token
|
2442
|
-
# A token identifying a page of results the server should return.
|
3589
|
+
# Optional. A token identifying a page of results the server should return.
|
2443
3590
|
# @param [String] fields
|
2444
3591
|
# Selector specifying which fields to include in a partial response.
|
2445
3592
|
# @param [String] quota_user
|
@@ -2449,18 +3596,18 @@ module Google
|
|
2449
3596
|
# Request-specific options
|
2450
3597
|
#
|
2451
3598
|
# @yield [result, err] Result & error if block supplied
|
2452
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
3599
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentsResponse] parsed result object
|
2453
3600
|
# @yieldparam err [StandardError] error object if request failed
|
2454
3601
|
#
|
2455
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
3602
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentsResponse]
|
2456
3603
|
#
|
2457
3604
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2458
3605
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2459
3606
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2460
|
-
def
|
2461
|
-
command = make_simple_command(:get, 'v1beta1/{+parent}/
|
2462
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
2463
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
3607
|
+
def list_project_location_mirroring_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3608
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/mirroringDeployments', options)
|
3609
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentsResponse::Representation
|
3610
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentsResponse
|
2464
3611
|
command.params['parent'] = parent unless parent.nil?
|
2465
3612
|
command.query['filter'] = filter unless filter.nil?
|
2466
3613
|
command.query['orderBy'] = order_by unless order_by.nil?
|
@@ -2471,10 +3618,10 @@ module Google
|
|
2471
3618
|
execute_or_queue_command(command, &block)
|
2472
3619
|
end
|
2473
3620
|
|
2474
|
-
#
|
3621
|
+
# Updates a single MirroringDeployment.
|
2475
3622
|
# @param [String] name
|
2476
|
-
# Immutable. Identifier. name of
|
2477
|
-
# @param [Google::Apis::NetworksecurityV1beta1::
|
3623
|
+
# Immutable. Identifier. The name of the MirroringDeployment.
|
3624
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringDeployment] mirroring_deployment_object
|
2478
3625
|
# @param [String] request_id
|
2479
3626
|
# Optional. An optional request ID to identify requests. Specify a unique
|
2480
3627
|
# request ID so that if you must retry your request, the server will know to
|
@@ -2488,10 +3635,10 @@ module Google
|
|
2488
3635
|
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2489
3636
|
# @param [String] update_mask
|
2490
3637
|
# Required. Field mask is used to specify the fields to be overwritten in the
|
2491
|
-
#
|
2492
|
-
# are relative to the resource, not the full request. A field will
|
2493
|
-
# overwritten if it is in the mask. If the user does not provide a mask then
|
2494
|
-
# fields will be overwritten.
|
3638
|
+
# MirroringDeployment resource by the update. The fields specified in the
|
3639
|
+
# update_mask are relative to the resource, not the full request. A field will
|
3640
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
3641
|
+
# all fields will be overwritten.
|
2495
3642
|
# @param [String] fields
|
2496
3643
|
# Selector specifying which fields to include in a partial response.
|
2497
3644
|
# @param [String] quota_user
|
@@ -2509,10 +3656,10 @@ module Google
|
|
2509
3656
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2510
3657
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2511
3658
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2512
|
-
def
|
3659
|
+
def patch_project_location_mirroring_deployment(name, mirroring_deployment_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2513
3660
|
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
2514
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
2515
|
-
command.request_object =
|
3661
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeployment::Representation
|
3662
|
+
command.request_object = mirroring_deployment_object
|
2516
3663
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2517
3664
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2518
3665
|
command.params['name'] = name unless name.nil?
|
@@ -2523,16 +3670,26 @@ module Google
|
|
2523
3670
|
execute_or_queue_command(command, &block)
|
2524
3671
|
end
|
2525
3672
|
|
2526
|
-
# Creates a new
|
3673
|
+
# Creates a new MirroringEndpointGroupAssociation in a given project and
|
3674
|
+
# location.
|
2527
3675
|
# @param [String] parent
|
2528
|
-
# Required.
|
2529
|
-
#
|
2530
|
-
# @param [
|
2531
|
-
#
|
2532
|
-
#
|
2533
|
-
#
|
2534
|
-
#
|
2535
|
-
#
|
3676
|
+
# Required. Value for parent.
|
3677
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation] mirroring_endpoint_group_association_object
|
3678
|
+
# @param [String] mirroring_endpoint_group_association_id
|
3679
|
+
# Optional. Id of the requesting object If auto-generating Id server-side,
|
3680
|
+
# remove this field and mirroring_endpoint_group_association_id from the
|
3681
|
+
# method_signature of Create RPC
|
3682
|
+
# @param [String] request_id
|
3683
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3684
|
+
# request ID so that if you must retry your request, the server will know to
|
3685
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3686
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
3687
|
+
# situation where you make an initial request and the request times out. If you
|
3688
|
+
# make the request again with the same request ID, the server can check if
|
3689
|
+
# original operation with the same request ID was received, and if so, will
|
3690
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3691
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3692
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2536
3693
|
# @param [String] fields
|
2537
3694
|
# Selector specifying which fields to include in a partial response.
|
2538
3695
|
# @param [String] quota_user
|
@@ -2550,23 +3707,34 @@ module Google
|
|
2550
3707
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2551
3708
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2552
3709
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2553
|
-
def
|
2554
|
-
command = make_simple_command(:post, 'v1beta1/{+parent}/
|
2555
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
2556
|
-
command.request_object =
|
3710
|
+
def create_project_location_mirroring_endpoint_group_association(parent, mirroring_endpoint_group_association_object = nil, mirroring_endpoint_group_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3711
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/mirroringEndpointGroupAssociations', options)
|
3712
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation::Representation
|
3713
|
+
command.request_object = mirroring_endpoint_group_association_object
|
2557
3714
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2558
3715
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2559
3716
|
command.params['parent'] = parent unless parent.nil?
|
2560
|
-
command.query['
|
3717
|
+
command.query['mirroringEndpointGroupAssociationId'] = mirroring_endpoint_group_association_id unless mirroring_endpoint_group_association_id.nil?
|
3718
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2561
3719
|
command.query['fields'] = fields unless fields.nil?
|
2562
3720
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2563
3721
|
execute_or_queue_command(command, &block)
|
2564
3722
|
end
|
2565
3723
|
|
2566
|
-
# Deletes a single
|
3724
|
+
# Deletes a single MirroringEndpointGroupAssociation.
|
2567
3725
|
# @param [String] name
|
2568
|
-
# Required.
|
2569
|
-
#
|
3726
|
+
# Required. Name of the resource
|
3727
|
+
# @param [String] request_id
|
3728
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3729
|
+
# request ID so that if you must retry your request, the server will know to
|
3730
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3731
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
3732
|
+
# situation where you make an initial request and the request times out. If you
|
3733
|
+
# make the request again with the same request ID, the server can check if
|
3734
|
+
# original operation with the same request ID was received, and if so, will
|
3735
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3736
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3737
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2570
3738
|
# @param [String] fields
|
2571
3739
|
# Selector specifying which fields to include in a partial response.
|
2572
3740
|
# @param [String] quota_user
|
@@ -2584,20 +3752,20 @@ module Google
|
|
2584
3752
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2585
3753
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2586
3754
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2587
|
-
def
|
3755
|
+
def delete_project_location_mirroring_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2588
3756
|
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2589
3757
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2590
3758
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2591
3759
|
command.params['name'] = name unless name.nil?
|
3760
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2592
3761
|
command.query['fields'] = fields unless fields.nil?
|
2593
3762
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2594
3763
|
execute_or_queue_command(command, &block)
|
2595
3764
|
end
|
2596
3765
|
|
2597
|
-
# Gets details of a single
|
3766
|
+
# Gets details of a single MirroringEndpointGroupAssociation.
|
2598
3767
|
# @param [String] name
|
2599
|
-
# Required.
|
2600
|
-
# projects/`project`/locations/`location`/gatewaySecurityPolicies/*`.
|
3768
|
+
# Required. Name of the resource
|
2601
3769
|
# @param [String] fields
|
2602
3770
|
# Selector specifying which fields to include in a partial response.
|
2603
3771
|
# @param [String] quota_user
|
@@ -2607,35 +3775,36 @@ module Google
|
|
2607
3775
|
# Request-specific options
|
2608
3776
|
#
|
2609
3777
|
# @yield [result, err] Result & error if block supplied
|
2610
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
3778
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation] parsed result object
|
2611
3779
|
# @yieldparam err [StandardError] error object if request failed
|
2612
3780
|
#
|
2613
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
3781
|
+
# @return [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation]
|
2614
3782
|
#
|
2615
3783
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2616
3784
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2617
3785
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2618
|
-
def
|
3786
|
+
def get_project_location_mirroring_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil, &block)
|
2619
3787
|
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2620
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
2621
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
3788
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation::Representation
|
3789
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation
|
2622
3790
|
command.params['name'] = name unless name.nil?
|
2623
3791
|
command.query['fields'] = fields unless fields.nil?
|
2624
3792
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2625
3793
|
execute_or_queue_command(command, &block)
|
2626
3794
|
end
|
2627
3795
|
|
2628
|
-
# Lists
|
3796
|
+
# Lists MirroringEndpointGroupAssociations in a given project and location.
|
2629
3797
|
# @param [String] parent
|
2630
|
-
# Required.
|
2631
|
-
#
|
2632
|
-
#
|
3798
|
+
# Required. Parent value for ListMirroringEndpointGroupAssociationsRequest
|
3799
|
+
# @param [String] filter
|
3800
|
+
# Optional. Filtering results
|
3801
|
+
# @param [String] order_by
|
3802
|
+
# Optional. Hint for how to order the results
|
2633
3803
|
# @param [Fixnum] page_size
|
2634
|
-
#
|
3804
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
3805
|
+
# If unspecified, server will pick an appropriate default.
|
2635
3806
|
# @param [String] page_token
|
2636
|
-
#
|
2637
|
-
# that this is a continuation of a prior 'ListGatewaySecurityPolicies' call, and
|
2638
|
-
# that the system should return the next page of data.
|
3807
|
+
# Optional. A token identifying a page of results the server should return.
|
2639
3808
|
# @param [String] fields
|
2640
3809
|
# Selector specifying which fields to include in a partial response.
|
2641
3810
|
# @param [String] quota_user
|
@@ -2645,19 +3814,21 @@ module Google
|
|
2645
3814
|
# Request-specific options
|
2646
3815
|
#
|
2647
3816
|
# @yield [result, err] Result & error if block supplied
|
2648
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
3817
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupAssociationsResponse] parsed result object
|
2649
3818
|
# @yieldparam err [StandardError] error object if request failed
|
2650
3819
|
#
|
2651
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
3820
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupAssociationsResponse]
|
2652
3821
|
#
|
2653
3822
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2654
3823
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2655
3824
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2656
|
-
def
|
2657
|
-
command = make_simple_command(:get, 'v1beta1/{+parent}/
|
2658
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
2659
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
3825
|
+
def list_project_location_mirroring_endpoint_group_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3826
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/mirroringEndpointGroupAssociations', options)
|
3827
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupAssociationsResponse::Representation
|
3828
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupAssociationsResponse
|
2660
3829
|
command.params['parent'] = parent unless parent.nil?
|
3830
|
+
command.query['filter'] = filter unless filter.nil?
|
3831
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2661
3832
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2662
3833
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2663
3834
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2665,19 +3836,27 @@ module Google
|
|
2665
3836
|
execute_or_queue_command(command, &block)
|
2666
3837
|
end
|
2667
3838
|
|
2668
|
-
# Updates
|
3839
|
+
# Updates a single MirroringEndpointGroupAssociation.
|
2669
3840
|
# @param [String] name
|
2670
|
-
#
|
2671
|
-
#
|
2672
|
-
#
|
2673
|
-
#
|
2674
|
-
#
|
3841
|
+
# Immutable. Identifier. The name of the MirroringEndpointGroupAssociation.
|
3842
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation] mirroring_endpoint_group_association_object
|
3843
|
+
# @param [String] request_id
|
3844
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3845
|
+
# request ID so that if you must retry your request, the server will know to
|
3846
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3847
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
3848
|
+
# situation where you make an initial request and the request times out. If you
|
3849
|
+
# make the request again with the same request ID, the server can check if
|
3850
|
+
# original operation with the same request ID was received, and if so, will
|
3851
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3852
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3853
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2675
3854
|
# @param [String] update_mask
|
2676
|
-
#
|
2677
|
-
#
|
2678
|
-
# update_mask are relative to the resource, not the full request. A field
|
2679
|
-
# be overwritten if it is in the mask. If the user does not provide a mask
|
2680
|
-
# all fields will be overwritten.
|
3855
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
3856
|
+
# MirroringEndpointGroupAssociation resource by the update. The fields specified
|
3857
|
+
# in the update_mask are relative to the resource, not the full request. A field
|
3858
|
+
# will be overwritten if it is in the mask. If the user does not provide a mask
|
3859
|
+
# then all fields will be overwritten.
|
2681
3860
|
# @param [String] fields
|
2682
3861
|
# Selector specifying which fields to include in a partial response.
|
2683
3862
|
# @param [String] quota_user
|
@@ -2695,28 +3874,39 @@ module Google
|
|
2695
3874
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2696
3875
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2697
3876
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2698
|
-
def
|
3877
|
+
def patch_project_location_mirroring_endpoint_group_association(name, mirroring_endpoint_group_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2699
3878
|
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
2700
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
2701
|
-
command.request_object =
|
3879
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation::Representation
|
3880
|
+
command.request_object = mirroring_endpoint_group_association_object
|
2702
3881
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2703
3882
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2704
3883
|
command.params['name'] = name unless name.nil?
|
3884
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2705
3885
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2706
3886
|
command.query['fields'] = fields unless fields.nil?
|
2707
3887
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2708
3888
|
execute_or_queue_command(command, &block)
|
2709
3889
|
end
|
2710
3890
|
|
2711
|
-
# Creates a new
|
3891
|
+
# Creates a new MirroringEndpointGroup in a given project and location.
|
2712
3892
|
# @param [String] parent
|
2713
|
-
# Required.
|
2714
|
-
#
|
2715
|
-
# @param [
|
2716
|
-
#
|
2717
|
-
#
|
2718
|
-
#
|
2719
|
-
#
|
3893
|
+
# Required. Value for parent.
|
3894
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup] mirroring_endpoint_group_object
|
3895
|
+
# @param [String] mirroring_endpoint_group_id
|
3896
|
+
# Required. Id of the requesting object If auto-generating Id server-side,
|
3897
|
+
# remove this field and mirroring_endpoint_group_id from the method_signature of
|
3898
|
+
# Create RPC
|
3899
|
+
# @param [String] request_id
|
3900
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3901
|
+
# request ID so that if you must retry your request, the server will know to
|
3902
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3903
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
3904
|
+
# situation where you make an initial request and the request times out. If you
|
3905
|
+
# make the request again with the same request ID, the server can check if
|
3906
|
+
# original operation with the same request ID was received, and if so, will
|
3907
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3908
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3909
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2720
3910
|
# @param [String] fields
|
2721
3911
|
# Selector specifying which fields to include in a partial response.
|
2722
3912
|
# @param [String] quota_user
|
@@ -2734,24 +3924,34 @@ module Google
|
|
2734
3924
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2735
3925
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2736
3926
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2737
|
-
def
|
2738
|
-
command = make_simple_command(:post, 'v1beta1/{+parent}/
|
2739
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
2740
|
-
command.request_object =
|
3927
|
+
def create_project_location_mirroring_endpoint_group(parent, mirroring_endpoint_group_object = nil, mirroring_endpoint_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3928
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/mirroringEndpointGroups', options)
|
3929
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup::Representation
|
3930
|
+
command.request_object = mirroring_endpoint_group_object
|
2741
3931
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2742
3932
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2743
3933
|
command.params['parent'] = parent unless parent.nil?
|
2744
|
-
command.query['
|
3934
|
+
command.query['mirroringEndpointGroupId'] = mirroring_endpoint_group_id unless mirroring_endpoint_group_id.nil?
|
3935
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2745
3936
|
command.query['fields'] = fields unless fields.nil?
|
2746
3937
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2747
3938
|
execute_or_queue_command(command, &block)
|
2748
3939
|
end
|
2749
3940
|
|
2750
|
-
# Deletes a single
|
3941
|
+
# Deletes a single MirroringEndpointGroup.
|
2751
3942
|
# @param [String] name
|
2752
|
-
# Required.
|
2753
|
-
#
|
2754
|
-
#
|
3943
|
+
# Required. Name of the resource
|
3944
|
+
# @param [String] request_id
|
3945
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3946
|
+
# request ID so that if you must retry your request, the server will know to
|
3947
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3948
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
3949
|
+
# situation where you make an initial request and the request times out. If you
|
3950
|
+
# make the request again with the same request ID, the server can check if
|
3951
|
+
# original operation with the same request ID was received, and if so, will
|
3952
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3953
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3954
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2755
3955
|
# @param [String] fields
|
2756
3956
|
# Selector specifying which fields to include in a partial response.
|
2757
3957
|
# @param [String] quota_user
|
@@ -2769,20 +3969,20 @@ module Google
|
|
2769
3969
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2770
3970
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2771
3971
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2772
|
-
def
|
3972
|
+
def delete_project_location_mirroring_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2773
3973
|
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2774
3974
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2775
3975
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2776
3976
|
command.params['name'] = name unless name.nil?
|
3977
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2777
3978
|
command.query['fields'] = fields unless fields.nil?
|
2778
3979
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2779
3980
|
execute_or_queue_command(command, &block)
|
2780
3981
|
end
|
2781
3982
|
|
2782
|
-
# Gets details of a single
|
3983
|
+
# Gets details of a single MirroringEndpointGroup.
|
2783
3984
|
# @param [String] name
|
2784
|
-
# Required.
|
2785
|
-
# projects/`project`/location/`location`/gatewaySecurityPolicies/*/rules/*
|
3985
|
+
# Required. Name of the resource
|
2786
3986
|
# @param [String] fields
|
2787
3987
|
# Selector specifying which fields to include in a partial response.
|
2788
3988
|
# @param [String] quota_user
|
@@ -2792,37 +3992,36 @@ module Google
|
|
2792
3992
|
# Request-specific options
|
2793
3993
|
#
|
2794
3994
|
# @yield [result, err] Result & error if block supplied
|
2795
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
3995
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup] parsed result object
|
2796
3996
|
# @yieldparam err [StandardError] error object if request failed
|
2797
3997
|
#
|
2798
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
3998
|
+
# @return [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup]
|
2799
3999
|
#
|
2800
4000
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2801
4001
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2802
4002
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2803
|
-
def
|
4003
|
+
def get_project_location_mirroring_endpoint_group(name, fields: nil, quota_user: nil, options: nil, &block)
|
2804
4004
|
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2805
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
2806
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
4005
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup::Representation
|
4006
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup
|
2807
4007
|
command.params['name'] = name unless name.nil?
|
2808
4008
|
command.query['fields'] = fields unless fields.nil?
|
2809
4009
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2810
4010
|
execute_or_queue_command(command, &block)
|
2811
4011
|
end
|
2812
4012
|
|
2813
|
-
# Lists
|
4013
|
+
# Lists MirroringEndpointGroups in a given project and location.
|
2814
4014
|
# @param [String] parent
|
2815
|
-
# Required.
|
2816
|
-
#
|
2817
|
-
#
|
2818
|
-
#
|
4015
|
+
# Required. Parent value for ListMirroringEndpointGroupsRequest
|
4016
|
+
# @param [String] filter
|
4017
|
+
# Optional. Filtering results
|
4018
|
+
# @param [String] order_by
|
4019
|
+
# Optional. Hint for how to order the results
|
2819
4020
|
# @param [Fixnum] page_size
|
2820
|
-
#
|
4021
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
4022
|
+
# If unspecified, server will pick an appropriate default.
|
2821
4023
|
# @param [String] page_token
|
2822
|
-
#
|
2823
|
-
# Indicates that this is a continuation of a prior '
|
2824
|
-
# ListGatewaySecurityPolicyRules' call, and that the system should return the
|
2825
|
-
# next page of data.
|
4024
|
+
# Optional. A token identifying a page of results the server should return.
|
2826
4025
|
# @param [String] fields
|
2827
4026
|
# Selector specifying which fields to include in a partial response.
|
2828
4027
|
# @param [String] quota_user
|
@@ -2832,19 +4031,21 @@ module Google
|
|
2832
4031
|
# Request-specific options
|
2833
4032
|
#
|
2834
4033
|
# @yield [result, err] Result & error if block supplied
|
2835
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
4034
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupsResponse] parsed result object
|
2836
4035
|
# @yieldparam err [StandardError] error object if request failed
|
2837
4036
|
#
|
2838
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
4037
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupsResponse]
|
2839
4038
|
#
|
2840
4039
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2841
4040
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2842
4041
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2843
|
-
def
|
2844
|
-
command = make_simple_command(:get, 'v1beta1/{+parent}/
|
2845
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
2846
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
4042
|
+
def list_project_location_mirroring_endpoint_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4043
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/mirroringEndpointGroups', options)
|
4044
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupsResponse::Representation
|
4045
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupsResponse
|
2847
4046
|
command.params['parent'] = parent unless parent.nil?
|
4047
|
+
command.query['filter'] = filter unless filter.nil?
|
4048
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2848
4049
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2849
4050
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2850
4051
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2852,16 +4053,24 @@ module Google
|
|
2852
4053
|
execute_or_queue_command(command, &block)
|
2853
4054
|
end
|
2854
4055
|
|
2855
|
-
# Updates
|
4056
|
+
# Updates a single MirroringEndpointGroup.
|
2856
4057
|
# @param [String] name
|
2857
|
-
#
|
2858
|
-
#
|
2859
|
-
#
|
2860
|
-
# a
|
2861
|
-
#
|
4058
|
+
# Immutable. Identifier. Next ID: 11 The name of the MirroringEndpointGroup.
|
4059
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup] mirroring_endpoint_group_object
|
4060
|
+
# @param [String] request_id
|
4061
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
4062
|
+
# request ID so that if you must retry your request, the server will know to
|
4063
|
+
# ignore the request if it has already been completed. The server will guarantee
|
4064
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
4065
|
+
# situation where you make an initial request and the request times out. If you
|
4066
|
+
# make the request again with the same request ID, the server can check if
|
4067
|
+
# original operation with the same request ID was received, and if so, will
|
4068
|
+
# ignore the second request. This prevents clients from accidentally creating
|
4069
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
4070
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2862
4071
|
# @param [String] update_mask
|
2863
|
-
#
|
2864
|
-
#
|
4072
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
4073
|
+
# MirroringEndpointGroup resource by the update. The fields specified in the
|
2865
4074
|
# update_mask are relative to the resource, not the full request. A field will
|
2866
4075
|
# be overwritten if it is in the mask. If the user does not provide a mask then
|
2867
4076
|
# all fields will be overwritten.
|
@@ -2882,13 +4091,14 @@ module Google
|
|
2882
4091
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2883
4092
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2884
4093
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2885
|
-
def
|
4094
|
+
def patch_project_location_mirroring_endpoint_group(name, mirroring_endpoint_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2886
4095
|
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
2887
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
2888
|
-
command.request_object =
|
4096
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup::Representation
|
4097
|
+
command.request_object = mirroring_endpoint_group_object
|
2889
4098
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2890
4099
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2891
4100
|
command.params['name'] = name unless name.nil?
|
4101
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2892
4102
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2893
4103
|
command.query['fields'] = fields unless fields.nil?
|
2894
4104
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|