google-apis-networksecurity_v1beta1 0.37.0 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/networksecurity_v1beta1/classes.rb +2195 -710
- data/lib/google/apis/networksecurity_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/networksecurity_v1beta1/representations.rb +644 -0
- data/lib/google/apis/networksecurity_v1beta1/service.rb +2288 -209
- metadata +4 -4
@@ -633,8 +633,8 @@ module Google
|
|
633
633
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
634
634
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
635
635
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
636
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
637
|
-
# corresponding to `Code.CANCELLED`.
|
636
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
637
|
+
# , corresponding to `Code.CANCELLED`.
|
638
638
|
# @param [String] name
|
639
639
|
# The name of the operation resource to be cancelled.
|
640
640
|
# @param [Google::Apis::NetworksecurityV1beta1::CancelOperationRequest] cancel_operation_request_object
|
@@ -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,2003 @@ 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 InterceptDeploymentGroup in a given project and location.
|
3240
|
+
# @param [String] parent
|
3241
|
+
# Required. Value for parent.
|
3242
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptDeploymentGroup] intercept_deployment_group_object
|
3243
|
+
# @param [String] intercept_deployment_group_id
|
3244
|
+
# Required. Id of the requesting object If auto-generating Id server-side,
|
3245
|
+
# remove this field and intercept_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_intercept_deployment_group(parent, intercept_deployment_group_object = nil, intercept_deployment_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3276
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/interceptDeploymentGroups', options)
|
3277
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptDeploymentGroup::Representation
|
3278
|
+
command.request_object = intercept_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['interceptDeploymentGroupId'] = intercept_deployment_group_id unless intercept_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 InterceptDeploymentGroup.
|
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_intercept_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 InterceptDeploymentGroup.
|
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::InterceptDeploymentGroup] parsed result object
|
3344
|
+
# @yieldparam err [StandardError] error object if request failed
|
3345
|
+
#
|
3346
|
+
# @return [Google::Apis::NetworksecurityV1beta1::InterceptDeploymentGroup]
|
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_intercept_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::InterceptDeploymentGroup::Representation
|
3354
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::InterceptDeploymentGroup
|
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 InterceptDeploymentGroups in a given project and location.
|
3362
|
+
# @param [String] parent
|
3363
|
+
# Required. Parent value for ListInterceptDeploymentGroupsRequest
|
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::ListInterceptDeploymentGroupsResponse] parsed result object
|
3383
|
+
# @yieldparam err [StandardError] error object if request failed
|
3384
|
+
#
|
3385
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentGroupsResponse]
|
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_intercept_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}/interceptDeploymentGroups', options)
|
3392
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentGroupsResponse::Representation
|
3393
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentGroupsResponse
|
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 InterceptDeploymentGroup.
|
3405
|
+
# @param [String] name
|
3406
|
+
# Immutable. Identifier. Then name of the InterceptDeploymentGroup.
|
3407
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptDeploymentGroup] intercept_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
|
+
# InterceptDeploymentGroup 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_intercept_deployment_group(name, intercept_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::InterceptDeploymentGroup::Representation
|
3445
|
+
command.request_object = intercept_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?
|
3451
|
+
command.query['fields'] = fields unless fields.nil?
|
3452
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3453
|
+
execute_or_queue_command(command, &block)
|
3454
|
+
end
|
3455
|
+
|
3456
|
+
# Creates a new InterceptDeployment in a given project and location.
|
3457
|
+
# @param [String] parent
|
3458
|
+
# Required. Value for parent.
|
3459
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptDeployment] intercept_deployment_object
|
3460
|
+
# @param [String] intercept_deployment_id
|
3461
|
+
# Required. Id of the requesting object If auto-generating Id server-side,
|
3462
|
+
# remove this field and intercept_deployment_id from the method_signature of
|
3463
|
+
# Create RPC
|
3464
|
+
# @param [String] request_id
|
3465
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3466
|
+
# request ID so that if you must retry your request, the server will know to
|
3467
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3468
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
3469
|
+
# situation where you make an initial request and the request times out. If you
|
3470
|
+
# make the request again with the same request ID, the server can check if
|
3471
|
+
# original operation with the same request ID was received, and if so, will
|
3472
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3473
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3474
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3475
|
+
# @param [String] fields
|
3476
|
+
# Selector specifying which fields to include in a partial response.
|
3477
|
+
# @param [String] quota_user
|
3478
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3479
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3480
|
+
# @param [Google::Apis::RequestOptions] options
|
3481
|
+
# Request-specific options
|
3482
|
+
#
|
3483
|
+
# @yield [result, err] Result & error if block supplied
|
3484
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3485
|
+
# @yieldparam err [StandardError] error object if request failed
|
3486
|
+
#
|
3487
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3488
|
+
#
|
3489
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3490
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3491
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3492
|
+
def create_project_location_intercept_deployment(parent, intercept_deployment_object = nil, intercept_deployment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3493
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/interceptDeployments', options)
|
3494
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptDeployment::Representation
|
3495
|
+
command.request_object = intercept_deployment_object
|
3496
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3497
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3498
|
+
command.params['parent'] = parent unless parent.nil?
|
3499
|
+
command.query['interceptDeploymentId'] = intercept_deployment_id unless intercept_deployment_id.nil?
|
3500
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3501
|
+
command.query['fields'] = fields unless fields.nil?
|
3502
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3503
|
+
execute_or_queue_command(command, &block)
|
3504
|
+
end
|
3505
|
+
|
3506
|
+
# Deletes a single InterceptDeployment.
|
3507
|
+
# @param [String] name
|
3508
|
+
# Required. Name of the resource
|
3509
|
+
# @param [String] request_id
|
3510
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3511
|
+
# request ID so that if you must retry your request, the server will know to
|
3512
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3513
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
3514
|
+
# situation where you make an initial request and the request times out. If you
|
3515
|
+
# make the request again with the same request ID, the server can check if
|
3516
|
+
# original operation with the same request ID was received, and if so, will
|
3517
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3518
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3519
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3520
|
+
# @param [String] fields
|
3521
|
+
# Selector specifying which fields to include in a partial response.
|
3522
|
+
# @param [String] quota_user
|
3523
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3524
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3525
|
+
# @param [Google::Apis::RequestOptions] options
|
3526
|
+
# Request-specific options
|
3527
|
+
#
|
3528
|
+
# @yield [result, err] Result & error if block supplied
|
3529
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3530
|
+
# @yieldparam err [StandardError] error object if request failed
|
3531
|
+
#
|
3532
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3533
|
+
#
|
3534
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3535
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3536
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3537
|
+
def delete_project_location_intercept_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3538
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
3539
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3540
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3541
|
+
command.params['name'] = name unless name.nil?
|
3542
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3543
|
+
command.query['fields'] = fields unless fields.nil?
|
3544
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3545
|
+
execute_or_queue_command(command, &block)
|
3546
|
+
end
|
3547
|
+
|
3548
|
+
# Gets details of a single InterceptDeployment.
|
3549
|
+
# @param [String] name
|
3550
|
+
# Required. Name of the resource
|
3551
|
+
# @param [String] fields
|
3552
|
+
# Selector specifying which fields to include in a partial response.
|
3553
|
+
# @param [String] quota_user
|
3554
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3555
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3556
|
+
# @param [Google::Apis::RequestOptions] options
|
3557
|
+
# Request-specific options
|
3558
|
+
#
|
3559
|
+
# @yield [result, err] Result & error if block supplied
|
3560
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::InterceptDeployment] parsed result object
|
3561
|
+
# @yieldparam err [StandardError] error object if request failed
|
3562
|
+
#
|
3563
|
+
# @return [Google::Apis::NetworksecurityV1beta1::InterceptDeployment]
|
3564
|
+
#
|
3565
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3566
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3567
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3568
|
+
def get_project_location_intercept_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
3569
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
3570
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::InterceptDeployment::Representation
|
3571
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::InterceptDeployment
|
3572
|
+
command.params['name'] = name unless name.nil?
|
3573
|
+
command.query['fields'] = fields unless fields.nil?
|
3574
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3575
|
+
execute_or_queue_command(command, &block)
|
3576
|
+
end
|
3577
|
+
|
3578
|
+
# Lists InterceptDeployments in a given project and location.
|
3579
|
+
# @param [String] parent
|
3580
|
+
# Required. Parent value for ListInterceptDeploymentsRequest
|
3581
|
+
# @param [String] filter
|
3582
|
+
# Optional. Filtering results
|
3583
|
+
# @param [String] order_by
|
3584
|
+
# Optional. Hint for how to order the results
|
3585
|
+
# @param [Fixnum] page_size
|
3586
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
3587
|
+
# If unspecified, server will pick an appropriate default.
|
3588
|
+
# @param [String] page_token
|
3589
|
+
# Optional. A token identifying a page of results the server should return.
|
3590
|
+
# @param [String] fields
|
3591
|
+
# Selector specifying which fields to include in a partial response.
|
3592
|
+
# @param [String] quota_user
|
3593
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3594
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3595
|
+
# @param [Google::Apis::RequestOptions] options
|
3596
|
+
# Request-specific options
|
3597
|
+
#
|
3598
|
+
# @yield [result, err] Result & error if block supplied
|
3599
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentsResponse] parsed result object
|
3600
|
+
# @yieldparam err [StandardError] error object if request failed
|
3601
|
+
#
|
3602
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentsResponse]
|
3603
|
+
#
|
3604
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3605
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3606
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3607
|
+
def list_project_location_intercept_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}/interceptDeployments', options)
|
3609
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentsResponse::Representation
|
3610
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentsResponse
|
3611
|
+
command.params['parent'] = parent unless parent.nil?
|
3612
|
+
command.query['filter'] = filter unless filter.nil?
|
3613
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3614
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3615
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3616
|
+
command.query['fields'] = fields unless fields.nil?
|
3617
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3618
|
+
execute_or_queue_command(command, &block)
|
3619
|
+
end
|
3620
|
+
|
3621
|
+
# Updates a single InterceptDeployment.
|
3622
|
+
# @param [String] name
|
3623
|
+
# Immutable. Identifier. The name of the InterceptDeployment.
|
3624
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptDeployment] intercept_deployment_object
|
3625
|
+
# @param [String] request_id
|
3626
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3627
|
+
# request ID so that if you must retry your request, the server will know to
|
3628
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3629
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
3630
|
+
# situation where you make an initial request and the request times out. If you
|
3631
|
+
# make the request again with the same request ID, the server can check if
|
3632
|
+
# original operation with the same request ID was received, and if so, will
|
3633
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3634
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3635
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3636
|
+
# @param [String] update_mask
|
3637
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
3638
|
+
# InterceptDeployment 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.
|
3642
|
+
# @param [String] fields
|
3643
|
+
# Selector specifying which fields to include in a partial response.
|
3644
|
+
# @param [String] quota_user
|
3645
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3646
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3647
|
+
# @param [Google::Apis::RequestOptions] options
|
3648
|
+
# Request-specific options
|
3649
|
+
#
|
3650
|
+
# @yield [result, err] Result & error if block supplied
|
3651
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3652
|
+
# @yieldparam err [StandardError] error object if request failed
|
3653
|
+
#
|
3654
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3655
|
+
#
|
3656
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3657
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3658
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3659
|
+
def patch_project_location_intercept_deployment(name, intercept_deployment_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3660
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
3661
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptDeployment::Representation
|
3662
|
+
command.request_object = intercept_deployment_object
|
3663
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3664
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3665
|
+
command.params['name'] = name unless name.nil?
|
3666
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3667
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3668
|
+
command.query['fields'] = fields unless fields.nil?
|
3669
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3670
|
+
execute_or_queue_command(command, &block)
|
3671
|
+
end
|
3672
|
+
|
3673
|
+
# Creates a new InterceptEndpointGroupAssociation in a given project and
|
3674
|
+
# location.
|
3675
|
+
# @param [String] parent
|
3676
|
+
# Required. Value for parent.
|
3677
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation] intercept_endpoint_group_association_object
|
3678
|
+
# @param [String] intercept_endpoint_group_association_id
|
3679
|
+
# Optional. Id of the requesting object If auto-generating Id server-side,
|
3680
|
+
# remove this field and intercept_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).
|
3693
|
+
# @param [String] fields
|
3694
|
+
# Selector specifying which fields to include in a partial response.
|
3695
|
+
# @param [String] quota_user
|
3696
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3697
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3698
|
+
# @param [Google::Apis::RequestOptions] options
|
3699
|
+
# Request-specific options
|
3700
|
+
#
|
3701
|
+
# @yield [result, err] Result & error if block supplied
|
3702
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3703
|
+
# @yieldparam err [StandardError] error object if request failed
|
3704
|
+
#
|
3705
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3706
|
+
#
|
3707
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3708
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3709
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3710
|
+
def create_project_location_intercept_endpoint_group_association(parent, intercept_endpoint_group_association_object = nil, intercept_endpoint_group_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3711
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/interceptEndpointGroupAssociations', options)
|
3712
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation::Representation
|
3713
|
+
command.request_object = intercept_endpoint_group_association_object
|
3714
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3715
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3716
|
+
command.params['parent'] = parent unless parent.nil?
|
3717
|
+
command.query['interceptEndpointGroupAssociationId'] = intercept_endpoint_group_association_id unless intercept_endpoint_group_association_id.nil?
|
3718
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3719
|
+
command.query['fields'] = fields unless fields.nil?
|
3720
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3721
|
+
execute_or_queue_command(command, &block)
|
3722
|
+
end
|
3723
|
+
|
3724
|
+
# Deletes a single InterceptEndpointGroupAssociation.
|
3725
|
+
# @param [String] name
|
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).
|
3738
|
+
# @param [String] fields
|
3739
|
+
# Selector specifying which fields to include in a partial response.
|
3740
|
+
# @param [String] quota_user
|
3741
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3742
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3743
|
+
# @param [Google::Apis::RequestOptions] options
|
3744
|
+
# Request-specific options
|
3745
|
+
#
|
3746
|
+
# @yield [result, err] Result & error if block supplied
|
3747
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3748
|
+
# @yieldparam err [StandardError] error object if request failed
|
3749
|
+
#
|
3750
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3751
|
+
#
|
3752
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3753
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3754
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3755
|
+
def delete_project_location_intercept_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3756
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
3757
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3758
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3759
|
+
command.params['name'] = name unless name.nil?
|
3760
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3761
|
+
command.query['fields'] = fields unless fields.nil?
|
3762
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3763
|
+
execute_or_queue_command(command, &block)
|
3764
|
+
end
|
3765
|
+
|
3766
|
+
# Gets details of a single InterceptEndpointGroupAssociation.
|
3767
|
+
# @param [String] name
|
3768
|
+
# Required. Name of the resource
|
3769
|
+
# @param [String] fields
|
3770
|
+
# Selector specifying which fields to include in a partial response.
|
3771
|
+
# @param [String] quota_user
|
3772
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3773
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3774
|
+
# @param [Google::Apis::RequestOptions] options
|
3775
|
+
# Request-specific options
|
3776
|
+
#
|
3777
|
+
# @yield [result, err] Result & error if block supplied
|
3778
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation] parsed result object
|
3779
|
+
# @yieldparam err [StandardError] error object if request failed
|
3780
|
+
#
|
3781
|
+
# @return [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation]
|
3782
|
+
#
|
3783
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3784
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3785
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3786
|
+
def get_project_location_intercept_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil, &block)
|
3787
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
3788
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation::Representation
|
3789
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation
|
3790
|
+
command.params['name'] = name unless name.nil?
|
3791
|
+
command.query['fields'] = fields unless fields.nil?
|
3792
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3793
|
+
execute_or_queue_command(command, &block)
|
3794
|
+
end
|
3795
|
+
|
3796
|
+
# Lists InterceptEndpointGroupAssociations in a given project and location.
|
3797
|
+
# @param [String] parent
|
3798
|
+
# Required. Parent value for ListInterceptEndpointGroupAssociationsRequest
|
3799
|
+
# @param [String] filter
|
3800
|
+
# Optional. Filtering results
|
3801
|
+
# @param [String] order_by
|
3802
|
+
# Optional. Hint for how to order the results
|
3803
|
+
# @param [Fixnum] page_size
|
3804
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
3805
|
+
# If unspecified, server will pick an appropriate default.
|
3806
|
+
# @param [String] page_token
|
3807
|
+
# Optional. A token identifying a page of results the server should return.
|
3808
|
+
# @param [String] fields
|
3809
|
+
# Selector specifying which fields to include in a partial response.
|
3810
|
+
# @param [String] quota_user
|
3811
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3812
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3813
|
+
# @param [Google::Apis::RequestOptions] options
|
3814
|
+
# Request-specific options
|
3815
|
+
#
|
3816
|
+
# @yield [result, err] Result & error if block supplied
|
3817
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupAssociationsResponse] parsed result object
|
3818
|
+
# @yieldparam err [StandardError] error object if request failed
|
3819
|
+
#
|
3820
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupAssociationsResponse]
|
3821
|
+
#
|
3822
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3823
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3824
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3825
|
+
def list_project_location_intercept_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}/interceptEndpointGroupAssociations', options)
|
3827
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupAssociationsResponse::Representation
|
3828
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupAssociationsResponse
|
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?
|
3832
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3833
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3834
|
+
command.query['fields'] = fields unless fields.nil?
|
3835
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3836
|
+
execute_or_queue_command(command, &block)
|
3837
|
+
end
|
3838
|
+
|
3839
|
+
# Updates a single InterceptEndpointGroupAssociation.
|
3840
|
+
# @param [String] name
|
3841
|
+
# Immutable. Identifier. The name of the InterceptEndpointGroupAssociation.
|
3842
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation] intercept_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).
|
3854
|
+
# @param [String] update_mask
|
3855
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
3856
|
+
# InterceptEndpointGroupAssociation 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.
|
3860
|
+
# @param [String] fields
|
3861
|
+
# Selector specifying which fields to include in a partial response.
|
3862
|
+
# @param [String] quota_user
|
3863
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3864
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3865
|
+
# @param [Google::Apis::RequestOptions] options
|
3866
|
+
# Request-specific options
|
3867
|
+
#
|
3868
|
+
# @yield [result, err] Result & error if block supplied
|
3869
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3870
|
+
# @yieldparam err [StandardError] error object if request failed
|
3871
|
+
#
|
3872
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3873
|
+
#
|
3874
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3875
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3876
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3877
|
+
def patch_project_location_intercept_endpoint_group_association(name, intercept_endpoint_group_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3878
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
3879
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation::Representation
|
3880
|
+
command.request_object = intercept_endpoint_group_association_object
|
3881
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3882
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3883
|
+
command.params['name'] = name unless name.nil?
|
3884
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3885
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3886
|
+
command.query['fields'] = fields unless fields.nil?
|
3887
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3888
|
+
execute_or_queue_command(command, &block)
|
3889
|
+
end
|
3890
|
+
|
3891
|
+
# Creates a new InterceptEndpointGroup in a given project and location.
|
3892
|
+
# @param [String] parent
|
3893
|
+
# Required. Value for parent.
|
3894
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup] intercept_endpoint_group_object
|
3895
|
+
# @param [String] intercept_endpoint_group_id
|
3896
|
+
# Required. Id of the requesting object If auto-generating Id server-side,
|
3897
|
+
# remove this field and intercept_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).
|
3910
|
+
# @param [String] fields
|
3911
|
+
# Selector specifying which fields to include in a partial response.
|
3912
|
+
# @param [String] quota_user
|
3913
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3914
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3915
|
+
# @param [Google::Apis::RequestOptions] options
|
3916
|
+
# Request-specific options
|
3917
|
+
#
|
3918
|
+
# @yield [result, err] Result & error if block supplied
|
3919
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3920
|
+
# @yieldparam err [StandardError] error object if request failed
|
3921
|
+
#
|
3922
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3923
|
+
#
|
3924
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3925
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3926
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3927
|
+
def create_project_location_intercept_endpoint_group(parent, intercept_endpoint_group_object = nil, intercept_endpoint_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3928
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/interceptEndpointGroups', options)
|
3929
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup::Representation
|
3930
|
+
command.request_object = intercept_endpoint_group_object
|
3931
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3932
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3933
|
+
command.params['parent'] = parent unless parent.nil?
|
3934
|
+
command.query['interceptEndpointGroupId'] = intercept_endpoint_group_id unless intercept_endpoint_group_id.nil?
|
3935
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3936
|
+
command.query['fields'] = fields unless fields.nil?
|
3937
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3938
|
+
execute_or_queue_command(command, &block)
|
3939
|
+
end
|
3940
|
+
|
3941
|
+
# Deletes a single InterceptEndpointGroup.
|
3942
|
+
# @param [String] name
|
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).
|
3955
|
+
# @param [String] fields
|
3956
|
+
# Selector specifying which fields to include in a partial response.
|
3957
|
+
# @param [String] quota_user
|
3958
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3959
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3960
|
+
# @param [Google::Apis::RequestOptions] options
|
3961
|
+
# Request-specific options
|
3962
|
+
#
|
3963
|
+
# @yield [result, err] Result & error if block supplied
|
3964
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3965
|
+
# @yieldparam err [StandardError] error object if request failed
|
3966
|
+
#
|
3967
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3968
|
+
#
|
3969
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3970
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3971
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3972
|
+
def delete_project_location_intercept_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3973
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
3974
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3975
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3976
|
+
command.params['name'] = name unless name.nil?
|
3977
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3978
|
+
command.query['fields'] = fields unless fields.nil?
|
3979
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3980
|
+
execute_or_queue_command(command, &block)
|
3981
|
+
end
|
3982
|
+
|
3983
|
+
# Gets details of a single InterceptEndpointGroup.
|
3984
|
+
# @param [String] name
|
3985
|
+
# Required. Name of the resource
|
3986
|
+
# @param [String] fields
|
3987
|
+
# Selector specifying which fields to include in a partial response.
|
3988
|
+
# @param [String] quota_user
|
3989
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3990
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3991
|
+
# @param [Google::Apis::RequestOptions] options
|
3992
|
+
# Request-specific options
|
3993
|
+
#
|
3994
|
+
# @yield [result, err] Result & error if block supplied
|
3995
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup] parsed result object
|
3996
|
+
# @yieldparam err [StandardError] error object if request failed
|
3997
|
+
#
|
3998
|
+
# @return [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup]
|
3999
|
+
#
|
4000
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4001
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4002
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4003
|
+
def get_project_location_intercept_endpoint_group(name, fields: nil, quota_user: nil, options: nil, &block)
|
4004
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
4005
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup::Representation
|
4006
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup
|
4007
|
+
command.params['name'] = name unless name.nil?
|
4008
|
+
command.query['fields'] = fields unless fields.nil?
|
4009
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4010
|
+
execute_or_queue_command(command, &block)
|
4011
|
+
end
|
4012
|
+
|
4013
|
+
# Lists InterceptEndpointGroups in a given project and location.
|
4014
|
+
# @param [String] parent
|
4015
|
+
# Required. Parent value for ListInterceptEndpointGroupsRequest
|
4016
|
+
# @param [String] filter
|
4017
|
+
# Optional. Filtering results
|
4018
|
+
# @param [String] order_by
|
4019
|
+
# Optional. Hint for how to order the results
|
4020
|
+
# @param [Fixnum] page_size
|
4021
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
4022
|
+
# If unspecified, server will pick an appropriate default.
|
4023
|
+
# @param [String] page_token
|
4024
|
+
# Optional. A token identifying a page of results the server should return.
|
4025
|
+
# @param [String] fields
|
4026
|
+
# Selector specifying which fields to include in a partial response.
|
4027
|
+
# @param [String] quota_user
|
4028
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4029
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4030
|
+
# @param [Google::Apis::RequestOptions] options
|
4031
|
+
# Request-specific options
|
4032
|
+
#
|
4033
|
+
# @yield [result, err] Result & error if block supplied
|
4034
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupsResponse] parsed result object
|
4035
|
+
# @yieldparam err [StandardError] error object if request failed
|
4036
|
+
#
|
4037
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupsResponse]
|
4038
|
+
#
|
4039
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4040
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4041
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4042
|
+
def list_project_location_intercept_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}/interceptEndpointGroups', options)
|
4044
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupsResponse::Representation
|
4045
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupsResponse
|
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?
|
4049
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4050
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4051
|
+
command.query['fields'] = fields unless fields.nil?
|
4052
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4053
|
+
execute_or_queue_command(command, &block)
|
4054
|
+
end
|
4055
|
+
|
4056
|
+
# Updates a single InterceptEndpointGroup.
|
4057
|
+
# @param [String] name
|
4058
|
+
# Immutable. Identifier. The name of the InterceptEndpointGroup.
|
4059
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup] intercept_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).
|
4071
|
+
# @param [String] update_mask
|
4072
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
4073
|
+
# InterceptEndpointGroup resource by the update. The fields specified in the
|
4074
|
+
# update_mask are relative to the resource, not the full request. A field will
|
4075
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
4076
|
+
# all fields will be overwritten.
|
4077
|
+
# @param [String] fields
|
4078
|
+
# Selector specifying which fields to include in a partial response.
|
4079
|
+
# @param [String] quota_user
|
4080
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4081
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4082
|
+
# @param [Google::Apis::RequestOptions] options
|
4083
|
+
# Request-specific options
|
4084
|
+
#
|
4085
|
+
# @yield [result, err] Result & error if block supplied
|
4086
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
4087
|
+
# @yieldparam err [StandardError] error object if request failed
|
4088
|
+
#
|
4089
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
4090
|
+
#
|
4091
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4092
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4093
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4094
|
+
def patch_project_location_intercept_endpoint_group(name, intercept_endpoint_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4095
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
4096
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup::Representation
|
4097
|
+
command.request_object = intercept_endpoint_group_object
|
4098
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
4099
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
4100
|
+
command.params['name'] = name unless name.nil?
|
4101
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
4102
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
4103
|
+
command.query['fields'] = fields unless fields.nil?
|
4104
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4105
|
+
execute_or_queue_command(command, &block)
|
4106
|
+
end
|
4107
|
+
|
4108
|
+
# Creates a new MirroringDeploymentGroup in a given project and location.
|
4109
|
+
# @param [String] parent
|
4110
|
+
# Required. Value for parent.
|
4111
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup] mirroring_deployment_group_object
|
4112
|
+
# @param [String] mirroring_deployment_group_id
|
4113
|
+
# Required. Id of the requesting object If auto-generating Id server-side,
|
4114
|
+
# remove this field and mirroring_deployment_group_id from the method_signature
|
4115
|
+
# of Create RPC
|
4116
|
+
# @param [String] request_id
|
4117
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
4118
|
+
# request ID so that if you must retry your request, the server will know to
|
4119
|
+
# ignore the request if it has already been completed. The server will guarantee
|
4120
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
4121
|
+
# situation where you make an initial request and the request times out. If you
|
4122
|
+
# make the request again with the same request ID, the server can check if
|
4123
|
+
# original operation with the same request ID was received, and if so, will
|
4124
|
+
# ignore the second request. This prevents clients from accidentally creating
|
4125
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
4126
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
4127
|
+
# @param [String] fields
|
4128
|
+
# Selector specifying which fields to include in a partial response.
|
4129
|
+
# @param [String] quota_user
|
4130
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4131
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4132
|
+
# @param [Google::Apis::RequestOptions] options
|
4133
|
+
# Request-specific options
|
4134
|
+
#
|
4135
|
+
# @yield [result, err] Result & error if block supplied
|
4136
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
4137
|
+
# @yieldparam err [StandardError] error object if request failed
|
4138
|
+
#
|
4139
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
4140
|
+
#
|
4141
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4142
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4143
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4144
|
+
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)
|
4145
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/mirroringDeploymentGroups', options)
|
4146
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup::Representation
|
4147
|
+
command.request_object = mirroring_deployment_group_object
|
4148
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
4149
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
4150
|
+
command.params['parent'] = parent unless parent.nil?
|
4151
|
+
command.query['mirroringDeploymentGroupId'] = mirroring_deployment_group_id unless mirroring_deployment_group_id.nil?
|
4152
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
4153
|
+
command.query['fields'] = fields unless fields.nil?
|
4154
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4155
|
+
execute_or_queue_command(command, &block)
|
4156
|
+
end
|
4157
|
+
|
4158
|
+
# Deletes a single MirroringDeploymentGroup.
|
4159
|
+
# @param [String] name
|
4160
|
+
# Required. Name of the resource
|
4161
|
+
# @param [String] request_id
|
4162
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
4163
|
+
# request ID so that if you must retry your request, the server will know to
|
4164
|
+
# ignore the request if it has already been completed. The server will guarantee
|
4165
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
4166
|
+
# situation where you make an initial request and the request times out. If you
|
4167
|
+
# make the request again with the same request ID, the server can check if
|
4168
|
+
# original operation with the same request ID was received, and if so, will
|
4169
|
+
# ignore the second request. This prevents clients from accidentally creating
|
4170
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
4171
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
4172
|
+
# @param [String] fields
|
4173
|
+
# Selector specifying which fields to include in a partial response.
|
4174
|
+
# @param [String] quota_user
|
4175
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4176
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4177
|
+
# @param [Google::Apis::RequestOptions] options
|
4178
|
+
# Request-specific options
|
4179
|
+
#
|
4180
|
+
# @yield [result, err] Result & error if block supplied
|
4181
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
4182
|
+
# @yieldparam err [StandardError] error object if request failed
|
4183
|
+
#
|
4184
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
4185
|
+
#
|
4186
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4187
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4188
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4189
|
+
def delete_project_location_mirroring_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4190
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
4191
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
4192
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
4193
|
+
command.params['name'] = name unless name.nil?
|
4194
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
4195
|
+
command.query['fields'] = fields unless fields.nil?
|
4196
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4197
|
+
execute_or_queue_command(command, &block)
|
4198
|
+
end
|
4199
|
+
|
4200
|
+
# Gets details of a single MirroringDeploymentGroup.
|
4201
|
+
# @param [String] name
|
4202
|
+
# Required. Name of the resource
|
4203
|
+
# @param [String] fields
|
4204
|
+
# Selector specifying which fields to include in a partial response.
|
4205
|
+
# @param [String] quota_user
|
4206
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4207
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4208
|
+
# @param [Google::Apis::RequestOptions] options
|
4209
|
+
# Request-specific options
|
4210
|
+
#
|
4211
|
+
# @yield [result, err] Result & error if block supplied
|
4212
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup] parsed result object
|
4213
|
+
# @yieldparam err [StandardError] error object if request failed
|
4214
|
+
#
|
4215
|
+
# @return [Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup]
|
4216
|
+
#
|
4217
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4218
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4219
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4220
|
+
def get_project_location_mirroring_deployment_group(name, fields: nil, quota_user: nil, options: nil, &block)
|
4221
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
4222
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup::Representation
|
4223
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup
|
4224
|
+
command.params['name'] = name unless name.nil?
|
4225
|
+
command.query['fields'] = fields unless fields.nil?
|
4226
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4227
|
+
execute_or_queue_command(command, &block)
|
4228
|
+
end
|
4229
|
+
|
4230
|
+
# Lists MirroringDeploymentGroups in a given project and location.
|
4231
|
+
# @param [String] parent
|
4232
|
+
# Required. Parent value for ListMirroringDeploymentGroupsRequest
|
4233
|
+
# @param [String] filter
|
4234
|
+
# Optional. Filtering results
|
4235
|
+
# @param [String] order_by
|
4236
|
+
# Optional. Hint for how to order the results
|
4237
|
+
# @param [Fixnum] page_size
|
4238
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
4239
|
+
# If unspecified, server will pick an appropriate default.
|
4240
|
+
# @param [String] page_token
|
4241
|
+
# Optional. A token identifying a page of results the server should return.
|
4242
|
+
# @param [String] fields
|
4243
|
+
# Selector specifying which fields to include in a partial response.
|
4244
|
+
# @param [String] quota_user
|
4245
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4246
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4247
|
+
# @param [Google::Apis::RequestOptions] options
|
4248
|
+
# Request-specific options
|
4249
|
+
#
|
4250
|
+
# @yield [result, err] Result & error if block supplied
|
4251
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentGroupsResponse] parsed result object
|
4252
|
+
# @yieldparam err [StandardError] error object if request failed
|
4253
|
+
#
|
4254
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentGroupsResponse]
|
4255
|
+
#
|
4256
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4257
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4258
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4259
|
+
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)
|
4260
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/mirroringDeploymentGroups', options)
|
4261
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentGroupsResponse::Representation
|
4262
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentGroupsResponse
|
4263
|
+
command.params['parent'] = parent unless parent.nil?
|
4264
|
+
command.query['filter'] = filter unless filter.nil?
|
4265
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
4266
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4267
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4268
|
+
command.query['fields'] = fields unless fields.nil?
|
4269
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4270
|
+
execute_or_queue_command(command, &block)
|
4271
|
+
end
|
4272
|
+
|
4273
|
+
# Updates a single MirroringDeploymentGroup.
|
4274
|
+
# @param [String] name
|
4275
|
+
# Immutable. Identifier. Then name of the MirroringDeploymentGroup.
|
4276
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup] mirroring_deployment_group_object
|
4277
|
+
# @param [String] request_id
|
4278
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
4279
|
+
# request ID so that if you must retry your request, the server will know to
|
4280
|
+
# ignore the request if it has already been completed. The server will guarantee
|
4281
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
4282
|
+
# situation where you make an initial request and the request times out. If you
|
4283
|
+
# make the request again with the same request ID, the server can check if
|
4284
|
+
# original operation with the same request ID was received, and if so, will
|
4285
|
+
# ignore the second request. This prevents clients from accidentally creating
|
4286
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
4287
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
4288
|
+
# @param [String] update_mask
|
4289
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
4290
|
+
# MirroringDeploymentGroup resource by the update. The fields specified in the
|
4291
|
+
# update_mask are relative to the resource, not the full request. A field will
|
4292
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
4293
|
+
# all fields will be overwritten.
|
4294
|
+
# @param [String] fields
|
4295
|
+
# Selector specifying which fields to include in a partial response.
|
4296
|
+
# @param [String] quota_user
|
4297
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4298
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4299
|
+
# @param [Google::Apis::RequestOptions] options
|
4300
|
+
# Request-specific options
|
4301
|
+
#
|
4302
|
+
# @yield [result, err] Result & error if block supplied
|
4303
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
4304
|
+
# @yieldparam err [StandardError] error object if request failed
|
4305
|
+
#
|
4306
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
4307
|
+
#
|
4308
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4309
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4310
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4311
|
+
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)
|
4312
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
4313
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup::Representation
|
4314
|
+
command.request_object = mirroring_deployment_group_object
|
4315
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
4316
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
4317
|
+
command.params['name'] = name unless name.nil?
|
4318
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
4319
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2304
4320
|
command.query['fields'] = fields unless fields.nil?
|
2305
4321
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2306
4322
|
execute_or_queue_command(command, &block)
|
2307
4323
|
end
|
2308
4324
|
|
2309
|
-
# Creates a new
|
4325
|
+
# Creates a new MirroringDeployment in a given project and location.
|
2310
4326
|
# @param [String] parent
|
2311
4327
|
# Required. Value for parent.
|
2312
|
-
# @param [Google::Apis::NetworksecurityV1beta1::
|
2313
|
-
# @param [String]
|
2314
|
-
#
|
2315
|
-
# remove this field and
|
2316
|
-
#
|
4328
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringDeployment] mirroring_deployment_object
|
4329
|
+
# @param [String] mirroring_deployment_id
|
4330
|
+
# Required. Id of the requesting object If auto-generating Id server-side,
|
4331
|
+
# remove this field and mirroring_deployment_id from the method_signature of
|
4332
|
+
# Create RPC
|
2317
4333
|
# @param [String] request_id
|
2318
4334
|
# Optional. An optional request ID to identify requests. Specify a unique
|
2319
4335
|
# request ID so that if you must retry your request, the server will know to
|
@@ -2342,21 +4358,21 @@ module Google
|
|
2342
4358
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2343
4359
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2344
4360
|
# @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 =
|
4361
|
+
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)
|
4362
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/mirroringDeployments', options)
|
4363
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeployment::Representation
|
4364
|
+
command.request_object = mirroring_deployment_object
|
2349
4365
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2350
4366
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2351
4367
|
command.params['parent'] = parent unless parent.nil?
|
2352
|
-
command.query['
|
4368
|
+
command.query['mirroringDeploymentId'] = mirroring_deployment_id unless mirroring_deployment_id.nil?
|
2353
4369
|
command.query['requestId'] = request_id unless request_id.nil?
|
2354
4370
|
command.query['fields'] = fields unless fields.nil?
|
2355
4371
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2356
4372
|
execute_or_queue_command(command, &block)
|
2357
4373
|
end
|
2358
4374
|
|
2359
|
-
# Deletes a single
|
4375
|
+
# Deletes a single MirroringDeployment.
|
2360
4376
|
# @param [String] name
|
2361
4377
|
# Required. Name of the resource
|
2362
4378
|
# @param [String] request_id
|
@@ -2387,7 +4403,7 @@ module Google
|
|
2387
4403
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2388
4404
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2389
4405
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2390
|
-
def
|
4406
|
+
def delete_project_location_mirroring_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2391
4407
|
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2392
4408
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2393
4409
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
@@ -2398,7 +4414,7 @@ module Google
|
|
2398
4414
|
execute_or_queue_command(command, &block)
|
2399
4415
|
end
|
2400
4416
|
|
2401
|
-
# Gets details of a single
|
4417
|
+
# Gets details of a single MirroringDeployment.
|
2402
4418
|
# @param [String] name
|
2403
4419
|
# Required. Name of the resource
|
2404
4420
|
# @param [String] fields
|
@@ -2410,36 +4426,36 @@ module Google
|
|
2410
4426
|
# Request-specific options
|
2411
4427
|
#
|
2412
4428
|
# @yield [result, err] Result & error if block supplied
|
2413
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
4429
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::MirroringDeployment] parsed result object
|
2414
4430
|
# @yieldparam err [StandardError] error object if request failed
|
2415
4431
|
#
|
2416
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
4432
|
+
# @return [Google::Apis::NetworksecurityV1beta1::MirroringDeployment]
|
2417
4433
|
#
|
2418
4434
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2419
4435
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2420
4436
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2421
|
-
def
|
4437
|
+
def get_project_location_mirroring_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
2422
4438
|
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2423
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
2424
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
4439
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeployment::Representation
|
4440
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::MirroringDeployment
|
2425
4441
|
command.params['name'] = name unless name.nil?
|
2426
4442
|
command.query['fields'] = fields unless fields.nil?
|
2427
4443
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2428
4444
|
execute_or_queue_command(command, &block)
|
2429
4445
|
end
|
2430
4446
|
|
2431
|
-
# Lists
|
4447
|
+
# Lists MirroringDeployments in a given project and location.
|
2432
4448
|
# @param [String] parent
|
2433
|
-
# Required. Parent value for
|
4449
|
+
# Required. Parent value for ListMirroringDeploymentsRequest
|
2434
4450
|
# @param [String] filter
|
2435
4451
|
# Optional. Filtering results
|
2436
4452
|
# @param [String] order_by
|
2437
|
-
# Hint for how to order the results
|
4453
|
+
# Optional. Hint for how to order the results
|
2438
4454
|
# @param [Fixnum] page_size
|
2439
4455
|
# Optional. Requested page size. Server may return fewer items than requested.
|
2440
4456
|
# If unspecified, server will pick an appropriate default.
|
2441
4457
|
# @param [String] page_token
|
2442
|
-
# A token identifying a page of results the server should return.
|
4458
|
+
# Optional. A token identifying a page of results the server should return.
|
2443
4459
|
# @param [String] fields
|
2444
4460
|
# Selector specifying which fields to include in a partial response.
|
2445
4461
|
# @param [String] quota_user
|
@@ -2449,18 +4465,18 @@ module Google
|
|
2449
4465
|
# Request-specific options
|
2450
4466
|
#
|
2451
4467
|
# @yield [result, err] Result & error if block supplied
|
2452
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
4468
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentsResponse] parsed result object
|
2453
4469
|
# @yieldparam err [StandardError] error object if request failed
|
2454
4470
|
#
|
2455
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
4471
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentsResponse]
|
2456
4472
|
#
|
2457
4473
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2458
4474
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2459
4475
|
# @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::
|
4476
|
+
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)
|
4477
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/mirroringDeployments', options)
|
4478
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentsResponse::Representation
|
4479
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentsResponse
|
2464
4480
|
command.params['parent'] = parent unless parent.nil?
|
2465
4481
|
command.query['filter'] = filter unless filter.nil?
|
2466
4482
|
command.query['orderBy'] = order_by unless order_by.nil?
|
@@ -2471,10 +4487,10 @@ module Google
|
|
2471
4487
|
execute_or_queue_command(command, &block)
|
2472
4488
|
end
|
2473
4489
|
|
2474
|
-
#
|
4490
|
+
# Updates a single MirroringDeployment.
|
2475
4491
|
# @param [String] name
|
2476
|
-
# Immutable. Identifier. name of
|
2477
|
-
# @param [Google::Apis::NetworksecurityV1beta1::
|
4492
|
+
# Immutable. Identifier. The name of the MirroringDeployment.
|
4493
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringDeployment] mirroring_deployment_object
|
2478
4494
|
# @param [String] request_id
|
2479
4495
|
# Optional. An optional request ID to identify requests. Specify a unique
|
2480
4496
|
# request ID so that if you must retry your request, the server will know to
|
@@ -2488,10 +4504,10 @@ module Google
|
|
2488
4504
|
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2489
4505
|
# @param [String] update_mask
|
2490
4506
|
# 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.
|
4507
|
+
# MirroringDeployment resource by the update. The fields specified in the
|
4508
|
+
# update_mask are relative to the resource, not the full request. A field will
|
4509
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
4510
|
+
# all fields will be overwritten.
|
2495
4511
|
# @param [String] fields
|
2496
4512
|
# Selector specifying which fields to include in a partial response.
|
2497
4513
|
# @param [String] quota_user
|
@@ -2509,10 +4525,10 @@ module Google
|
|
2509
4525
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2510
4526
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2511
4527
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2512
|
-
def
|
4528
|
+
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
4529
|
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
2514
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
2515
|
-
command.request_object =
|
4530
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeployment::Representation
|
4531
|
+
command.request_object = mirroring_deployment_object
|
2516
4532
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2517
4533
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2518
4534
|
command.params['name'] = name unless name.nil?
|
@@ -2523,16 +4539,26 @@ module Google
|
|
2523
4539
|
execute_or_queue_command(command, &block)
|
2524
4540
|
end
|
2525
4541
|
|
2526
|
-
# Creates a new
|
4542
|
+
# Creates a new MirroringEndpointGroupAssociation in a given project and
|
4543
|
+
# location.
|
2527
4544
|
# @param [String] parent
|
2528
|
-
# Required.
|
2529
|
-
#
|
2530
|
-
# @param [
|
2531
|
-
#
|
2532
|
-
#
|
2533
|
-
#
|
2534
|
-
#
|
2535
|
-
#
|
4545
|
+
# Required. Value for parent.
|
4546
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation] mirroring_endpoint_group_association_object
|
4547
|
+
# @param [String] mirroring_endpoint_group_association_id
|
4548
|
+
# Optional. Id of the requesting object If auto-generating Id server-side,
|
4549
|
+
# remove this field and mirroring_endpoint_group_association_id from the
|
4550
|
+
# method_signature of Create RPC
|
4551
|
+
# @param [String] request_id
|
4552
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
4553
|
+
# request ID so that if you must retry your request, the server will know to
|
4554
|
+
# ignore the request if it has already been completed. The server will guarantee
|
4555
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
4556
|
+
# situation where you make an initial request and the request times out. If you
|
4557
|
+
# make the request again with the same request ID, the server can check if
|
4558
|
+
# original operation with the same request ID was received, and if so, will
|
4559
|
+
# ignore the second request. This prevents clients from accidentally creating
|
4560
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
4561
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2536
4562
|
# @param [String] fields
|
2537
4563
|
# Selector specifying which fields to include in a partial response.
|
2538
4564
|
# @param [String] quota_user
|
@@ -2550,23 +4576,34 @@ module Google
|
|
2550
4576
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2551
4577
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2552
4578
|
# @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 =
|
4579
|
+
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)
|
4580
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/mirroringEndpointGroupAssociations', options)
|
4581
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation::Representation
|
4582
|
+
command.request_object = mirroring_endpoint_group_association_object
|
2557
4583
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2558
4584
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2559
4585
|
command.params['parent'] = parent unless parent.nil?
|
2560
|
-
command.query['
|
4586
|
+
command.query['mirroringEndpointGroupAssociationId'] = mirroring_endpoint_group_association_id unless mirroring_endpoint_group_association_id.nil?
|
4587
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2561
4588
|
command.query['fields'] = fields unless fields.nil?
|
2562
4589
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2563
4590
|
execute_or_queue_command(command, &block)
|
2564
4591
|
end
|
2565
4592
|
|
2566
|
-
# Deletes a single
|
4593
|
+
# Deletes a single MirroringEndpointGroupAssociation.
|
2567
4594
|
# @param [String] name
|
2568
|
-
# Required.
|
2569
|
-
#
|
4595
|
+
# Required. Name of the resource
|
4596
|
+
# @param [String] request_id
|
4597
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
4598
|
+
# request ID so that if you must retry your request, the server will know to
|
4599
|
+
# ignore the request if it has already been completed. The server will guarantee
|
4600
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
4601
|
+
# situation where you make an initial request and the request times out. If you
|
4602
|
+
# make the request again with the same request ID, the server can check if
|
4603
|
+
# original operation with the same request ID was received, and if so, will
|
4604
|
+
# ignore the second request. This prevents clients from accidentally creating
|
4605
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
4606
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2570
4607
|
# @param [String] fields
|
2571
4608
|
# Selector specifying which fields to include in a partial response.
|
2572
4609
|
# @param [String] quota_user
|
@@ -2584,20 +4621,20 @@ module Google
|
|
2584
4621
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2585
4622
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2586
4623
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2587
|
-
def
|
4624
|
+
def delete_project_location_mirroring_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2588
4625
|
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2589
4626
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2590
4627
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2591
4628
|
command.params['name'] = name unless name.nil?
|
4629
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2592
4630
|
command.query['fields'] = fields unless fields.nil?
|
2593
4631
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2594
4632
|
execute_or_queue_command(command, &block)
|
2595
4633
|
end
|
2596
4634
|
|
2597
|
-
# Gets details of a single
|
4635
|
+
# Gets details of a single MirroringEndpointGroupAssociation.
|
2598
4636
|
# @param [String] name
|
2599
|
-
# Required.
|
2600
|
-
# projects/`project`/locations/`location`/gatewaySecurityPolicies/*`.
|
4637
|
+
# Required. Name of the resource
|
2601
4638
|
# @param [String] fields
|
2602
4639
|
# Selector specifying which fields to include in a partial response.
|
2603
4640
|
# @param [String] quota_user
|
@@ -2607,35 +4644,36 @@ module Google
|
|
2607
4644
|
# Request-specific options
|
2608
4645
|
#
|
2609
4646
|
# @yield [result, err] Result & error if block supplied
|
2610
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
4647
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation] parsed result object
|
2611
4648
|
# @yieldparam err [StandardError] error object if request failed
|
2612
4649
|
#
|
2613
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
4650
|
+
# @return [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation]
|
2614
4651
|
#
|
2615
4652
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2616
4653
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2617
4654
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2618
|
-
def
|
4655
|
+
def get_project_location_mirroring_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil, &block)
|
2619
4656
|
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2620
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
2621
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
4657
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation::Representation
|
4658
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation
|
2622
4659
|
command.params['name'] = name unless name.nil?
|
2623
4660
|
command.query['fields'] = fields unless fields.nil?
|
2624
4661
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2625
4662
|
execute_or_queue_command(command, &block)
|
2626
4663
|
end
|
2627
4664
|
|
2628
|
-
# Lists
|
4665
|
+
# Lists MirroringEndpointGroupAssociations in a given project and location.
|
2629
4666
|
# @param [String] parent
|
2630
|
-
# Required.
|
2631
|
-
#
|
2632
|
-
#
|
4667
|
+
# Required. Parent value for ListMirroringEndpointGroupAssociationsRequest
|
4668
|
+
# @param [String] filter
|
4669
|
+
# Optional. Filtering results
|
4670
|
+
# @param [String] order_by
|
4671
|
+
# Optional. Hint for how to order the results
|
2633
4672
|
# @param [Fixnum] page_size
|
2634
|
-
#
|
4673
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
4674
|
+
# If unspecified, server will pick an appropriate default.
|
2635
4675
|
# @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.
|
4676
|
+
# Optional. A token identifying a page of results the server should return.
|
2639
4677
|
# @param [String] fields
|
2640
4678
|
# Selector specifying which fields to include in a partial response.
|
2641
4679
|
# @param [String] quota_user
|
@@ -2645,19 +4683,21 @@ module Google
|
|
2645
4683
|
# Request-specific options
|
2646
4684
|
#
|
2647
4685
|
# @yield [result, err] Result & error if block supplied
|
2648
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
4686
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupAssociationsResponse] parsed result object
|
2649
4687
|
# @yieldparam err [StandardError] error object if request failed
|
2650
4688
|
#
|
2651
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
4689
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupAssociationsResponse]
|
2652
4690
|
#
|
2653
4691
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2654
4692
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2655
4693
|
# @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::
|
4694
|
+
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)
|
4695
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/mirroringEndpointGroupAssociations', options)
|
4696
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupAssociationsResponse::Representation
|
4697
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupAssociationsResponse
|
2660
4698
|
command.params['parent'] = parent unless parent.nil?
|
4699
|
+
command.query['filter'] = filter unless filter.nil?
|
4700
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2661
4701
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2662
4702
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2663
4703
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2665,19 +4705,27 @@ module Google
|
|
2665
4705
|
execute_or_queue_command(command, &block)
|
2666
4706
|
end
|
2667
4707
|
|
2668
|
-
# Updates
|
4708
|
+
# Updates a single MirroringEndpointGroupAssociation.
|
2669
4709
|
# @param [String] name
|
2670
|
-
#
|
2671
|
-
#
|
2672
|
-
#
|
2673
|
-
#
|
2674
|
-
#
|
4710
|
+
# Immutable. Identifier. The name of the MirroringEndpointGroupAssociation.
|
4711
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation] mirroring_endpoint_group_association_object
|
4712
|
+
# @param [String] request_id
|
4713
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
4714
|
+
# request ID so that if you must retry your request, the server will know to
|
4715
|
+
# ignore the request if it has already been completed. The server will guarantee
|
4716
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
4717
|
+
# situation where you make an initial request and the request times out. If you
|
4718
|
+
# make the request again with the same request ID, the server can check if
|
4719
|
+
# original operation with the same request ID was received, and if so, will
|
4720
|
+
# ignore the second request. This prevents clients from accidentally creating
|
4721
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
4722
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2675
4723
|
# @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.
|
4724
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
4725
|
+
# MirroringEndpointGroupAssociation resource by the update. The fields specified
|
4726
|
+
# in the update_mask are relative to the resource, not the full request. A field
|
4727
|
+
# will be overwritten if it is in the mask. If the user does not provide a mask
|
4728
|
+
# then all fields will be overwritten.
|
2681
4729
|
# @param [String] fields
|
2682
4730
|
# Selector specifying which fields to include in a partial response.
|
2683
4731
|
# @param [String] quota_user
|
@@ -2695,28 +4743,39 @@ module Google
|
|
2695
4743
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2696
4744
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2697
4745
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2698
|
-
def
|
4746
|
+
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
4747
|
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
2700
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
2701
|
-
command.request_object =
|
4748
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation::Representation
|
4749
|
+
command.request_object = mirroring_endpoint_group_association_object
|
2702
4750
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2703
4751
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2704
4752
|
command.params['name'] = name unless name.nil?
|
4753
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2705
4754
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2706
4755
|
command.query['fields'] = fields unless fields.nil?
|
2707
4756
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2708
4757
|
execute_or_queue_command(command, &block)
|
2709
4758
|
end
|
2710
4759
|
|
2711
|
-
# Creates a new
|
4760
|
+
# Creates a new MirroringEndpointGroup in a given project and location.
|
2712
4761
|
# @param [String] parent
|
2713
|
-
# Required.
|
2714
|
-
#
|
2715
|
-
# @param [
|
2716
|
-
#
|
2717
|
-
#
|
2718
|
-
#
|
2719
|
-
#
|
4762
|
+
# Required. Value for parent.
|
4763
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup] mirroring_endpoint_group_object
|
4764
|
+
# @param [String] mirroring_endpoint_group_id
|
4765
|
+
# Required. Id of the requesting object If auto-generating Id server-side,
|
4766
|
+
# remove this field and mirroring_endpoint_group_id from the method_signature of
|
4767
|
+
# Create RPC
|
4768
|
+
# @param [String] request_id
|
4769
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
4770
|
+
# request ID so that if you must retry your request, the server will know to
|
4771
|
+
# ignore the request if it has already been completed. The server will guarantee
|
4772
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
4773
|
+
# situation where you make an initial request and the request times out. If you
|
4774
|
+
# make the request again with the same request ID, the server can check if
|
4775
|
+
# original operation with the same request ID was received, and if so, will
|
4776
|
+
# ignore the second request. This prevents clients from accidentally creating
|
4777
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
4778
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2720
4779
|
# @param [String] fields
|
2721
4780
|
# Selector specifying which fields to include in a partial response.
|
2722
4781
|
# @param [String] quota_user
|
@@ -2734,24 +4793,34 @@ module Google
|
|
2734
4793
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2735
4794
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2736
4795
|
# @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 =
|
4796
|
+
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)
|
4797
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/mirroringEndpointGroups', options)
|
4798
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup::Representation
|
4799
|
+
command.request_object = mirroring_endpoint_group_object
|
2741
4800
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2742
4801
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2743
4802
|
command.params['parent'] = parent unless parent.nil?
|
2744
|
-
command.query['
|
4803
|
+
command.query['mirroringEndpointGroupId'] = mirroring_endpoint_group_id unless mirroring_endpoint_group_id.nil?
|
4804
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2745
4805
|
command.query['fields'] = fields unless fields.nil?
|
2746
4806
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2747
4807
|
execute_or_queue_command(command, &block)
|
2748
4808
|
end
|
2749
4809
|
|
2750
|
-
# Deletes a single
|
4810
|
+
# Deletes a single MirroringEndpointGroup.
|
2751
4811
|
# @param [String] name
|
2752
|
-
# Required.
|
2753
|
-
#
|
2754
|
-
#
|
4812
|
+
# Required. Name of the resource
|
4813
|
+
# @param [String] request_id
|
4814
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
4815
|
+
# request ID so that if you must retry your request, the server will know to
|
4816
|
+
# ignore the request if it has already been completed. The server will guarantee
|
4817
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
4818
|
+
# situation where you make an initial request and the request times out. If you
|
4819
|
+
# make the request again with the same request ID, the server can check if
|
4820
|
+
# original operation with the same request ID was received, and if so, will
|
4821
|
+
# ignore the second request. This prevents clients from accidentally creating
|
4822
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
4823
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2755
4824
|
# @param [String] fields
|
2756
4825
|
# Selector specifying which fields to include in a partial response.
|
2757
4826
|
# @param [String] quota_user
|
@@ -2769,20 +4838,20 @@ module Google
|
|
2769
4838
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2770
4839
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2771
4840
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2772
|
-
def
|
4841
|
+
def delete_project_location_mirroring_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2773
4842
|
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2774
4843
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2775
4844
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2776
4845
|
command.params['name'] = name unless name.nil?
|
4846
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2777
4847
|
command.query['fields'] = fields unless fields.nil?
|
2778
4848
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2779
4849
|
execute_or_queue_command(command, &block)
|
2780
4850
|
end
|
2781
4851
|
|
2782
|
-
# Gets details of a single
|
4852
|
+
# Gets details of a single MirroringEndpointGroup.
|
2783
4853
|
# @param [String] name
|
2784
|
-
# Required.
|
2785
|
-
# projects/`project`/location/`location`/gatewaySecurityPolicies/*/rules/*
|
4854
|
+
# Required. Name of the resource
|
2786
4855
|
# @param [String] fields
|
2787
4856
|
# Selector specifying which fields to include in a partial response.
|
2788
4857
|
# @param [String] quota_user
|
@@ -2792,37 +4861,36 @@ module Google
|
|
2792
4861
|
# Request-specific options
|
2793
4862
|
#
|
2794
4863
|
# @yield [result, err] Result & error if block supplied
|
2795
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
4864
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup] parsed result object
|
2796
4865
|
# @yieldparam err [StandardError] error object if request failed
|
2797
4866
|
#
|
2798
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
4867
|
+
# @return [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup]
|
2799
4868
|
#
|
2800
4869
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2801
4870
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2802
4871
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2803
|
-
def
|
4872
|
+
def get_project_location_mirroring_endpoint_group(name, fields: nil, quota_user: nil, options: nil, &block)
|
2804
4873
|
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2805
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
2806
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
4874
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup::Representation
|
4875
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup
|
2807
4876
|
command.params['name'] = name unless name.nil?
|
2808
4877
|
command.query['fields'] = fields unless fields.nil?
|
2809
4878
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2810
4879
|
execute_or_queue_command(command, &block)
|
2811
4880
|
end
|
2812
4881
|
|
2813
|
-
# Lists
|
4882
|
+
# Lists MirroringEndpointGroups in a given project and location.
|
2814
4883
|
# @param [String] parent
|
2815
|
-
# Required.
|
2816
|
-
#
|
2817
|
-
#
|
2818
|
-
#
|
4884
|
+
# Required. Parent value for ListMirroringEndpointGroupsRequest
|
4885
|
+
# @param [String] filter
|
4886
|
+
# Optional. Filtering results
|
4887
|
+
# @param [String] order_by
|
4888
|
+
# Optional. Hint for how to order the results
|
2819
4889
|
# @param [Fixnum] page_size
|
2820
|
-
#
|
4890
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
4891
|
+
# If unspecified, server will pick an appropriate default.
|
2821
4892
|
# @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.
|
4893
|
+
# Optional. A token identifying a page of results the server should return.
|
2826
4894
|
# @param [String] fields
|
2827
4895
|
# Selector specifying which fields to include in a partial response.
|
2828
4896
|
# @param [String] quota_user
|
@@ -2832,19 +4900,21 @@ module Google
|
|
2832
4900
|
# Request-specific options
|
2833
4901
|
#
|
2834
4902
|
# @yield [result, err] Result & error if block supplied
|
2835
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
4903
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupsResponse] parsed result object
|
2836
4904
|
# @yieldparam err [StandardError] error object if request failed
|
2837
4905
|
#
|
2838
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
4906
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupsResponse]
|
2839
4907
|
#
|
2840
4908
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2841
4909
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2842
4910
|
# @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::
|
4911
|
+
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)
|
4912
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/mirroringEndpointGroups', options)
|
4913
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupsResponse::Representation
|
4914
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupsResponse
|
2847
4915
|
command.params['parent'] = parent unless parent.nil?
|
4916
|
+
command.query['filter'] = filter unless filter.nil?
|
4917
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2848
4918
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2849
4919
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2850
4920
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2852,16 +4922,24 @@ module Google
|
|
2852
4922
|
execute_or_queue_command(command, &block)
|
2853
4923
|
end
|
2854
4924
|
|
2855
|
-
# Updates
|
4925
|
+
# Updates a single MirroringEndpointGroup.
|
2856
4926
|
# @param [String] name
|
2857
|
-
#
|
2858
|
-
#
|
2859
|
-
#
|
2860
|
-
# a
|
2861
|
-
#
|
4927
|
+
# Immutable. Identifier. Next ID: 11 The name of the MirroringEndpointGroup.
|
4928
|
+
# @param [Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup] mirroring_endpoint_group_object
|
4929
|
+
# @param [String] request_id
|
4930
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
4931
|
+
# request ID so that if you must retry your request, the server will know to
|
4932
|
+
# ignore the request if it has already been completed. The server will guarantee
|
4933
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
4934
|
+
# situation where you make an initial request and the request times out. If you
|
4935
|
+
# make the request again with the same request ID, the server can check if
|
4936
|
+
# original operation with the same request ID was received, and if so, will
|
4937
|
+
# ignore the second request. This prevents clients from accidentally creating
|
4938
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
4939
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2862
4940
|
# @param [String] update_mask
|
2863
|
-
#
|
2864
|
-
#
|
4941
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
4942
|
+
# MirroringEndpointGroup resource by the update. The fields specified in the
|
2865
4943
|
# update_mask are relative to the resource, not the full request. A field will
|
2866
4944
|
# be overwritten if it is in the mask. If the user does not provide a mask then
|
2867
4945
|
# all fields will be overwritten.
|
@@ -2882,13 +4960,14 @@ module Google
|
|
2882
4960
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2883
4961
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2884
4962
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2885
|
-
def
|
4963
|
+
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
4964
|
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
2887
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
2888
|
-
command.request_object =
|
4965
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup::Representation
|
4966
|
+
command.request_object = mirroring_endpoint_group_object
|
2889
4967
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2890
4968
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2891
4969
|
command.params['name'] = name unless name.nil?
|
4970
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2892
4971
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2893
4972
|
command.query['fields'] = fields unless fields.nil?
|
2894
4973
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2901,8 +4980,8 @@ module Google
|
|
2901
4980
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
2902
4981
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
2903
4982
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
2904
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
2905
|
-
# corresponding to `Code.CANCELLED`.
|
4983
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
4984
|
+
# , corresponding to `Code.CANCELLED`.
|
2906
4985
|
# @param [String] name
|
2907
4986
|
# The name of the operation resource to be cancelled.
|
2908
4987
|
# @param [Google::Apis::NetworksecurityV1beta1::CancelOperationRequest] cancel_operation_request_object
|