google-apis-networkmanagement_v1 0.70.0 → 0.71.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 +4 -0
- data/lib/google/apis/networkmanagement_v1/classes.rb +8 -667
- data/lib/google/apis/networkmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkmanagement_v1/representations.rb +1 -237
- data/lib/google/apis/networkmanagement_v1/service.rb +18 -368
- metadata +2 -2
@@ -243,6 +243,13 @@ module Google
|
|
243
243
|
# The standard list page size.
|
244
244
|
# @param [String] page_token
|
245
245
|
# The standard list page token.
|
246
|
+
# @param [Boolean] return_partial_success
|
247
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
248
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
249
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
250
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
251
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
252
|
+
# explicitly documented otherwise in service or product specific documentation.
|
246
253
|
# @param [String] fields
|
247
254
|
# Selector specifying which fields to include in a partial response.
|
248
255
|
# @param [String] quota_user
|
@@ -260,7 +267,7 @@ module Google
|
|
260
267
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
261
268
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
262
269
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
263
|
-
def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
270
|
+
def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
264
271
|
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
265
272
|
command.response_representation = Google::Apis::NetworkmanagementV1::ListOperationsResponse::Representation
|
266
273
|
command.response_class = Google::Apis::NetworkmanagementV1::ListOperationsResponse
|
@@ -268,6 +275,7 @@ module Google
|
|
268
275
|
command.query['filter'] = filter unless filter.nil?
|
269
276
|
command.query['pageSize'] = page_size unless page_size.nil?
|
270
277
|
command.query['pageToken'] = page_token unless page_token.nil?
|
278
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
271
279
|
command.query['fields'] = fields unless fields.nil?
|
272
280
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
273
281
|
execute_or_queue_command(command, &block)
|
@@ -1044,6 +1052,13 @@ module Google
|
|
1044
1052
|
# The standard list page size.
|
1045
1053
|
# @param [String] page_token
|
1046
1054
|
# The standard list page token.
|
1055
|
+
# @param [Boolean] return_partial_success
|
1056
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
1057
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
1058
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
1059
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
1060
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
1061
|
+
# explicitly documented otherwise in service or product specific documentation.
|
1047
1062
|
# @param [String] fields
|
1048
1063
|
# Selector specifying which fields to include in a partial response.
|
1049
1064
|
# @param [String] quota_user
|
@@ -1061,7 +1076,7 @@ module Google
|
|
1061
1076
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1062
1077
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1063
1078
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1064
|
-
def list_project_location_global_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1079
|
+
def list_project_location_global_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1065
1080
|
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
1066
1081
|
command.response_representation = Google::Apis::NetworkmanagementV1::ListOperationsResponse::Representation
|
1067
1082
|
command.response_class = Google::Apis::NetworkmanagementV1::ListOperationsResponse
|
@@ -1069,372 +1084,7 @@ module Google
|
|
1069
1084
|
command.query['filter'] = filter unless filter.nil?
|
1070
1085
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1071
1086
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1072
|
-
command.query['
|
1073
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1074
|
-
execute_or_queue_command(command, &block)
|
1075
|
-
end
|
1076
|
-
|
1077
|
-
# Creates a NetworkMonitoringProvider resource.
|
1078
|
-
# @param [String] parent
|
1079
|
-
# Required. Parent value for CreateNetworkMonitoringProviderRequest. Format:
|
1080
|
-
# projects/`project`/locations/`location`
|
1081
|
-
# @param [Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider] network_monitoring_provider_object
|
1082
|
-
# @param [String] network_monitoring_provider_id
|
1083
|
-
# Required. The ID to use for the NetworkMonitoringProvider resource, which will
|
1084
|
-
# become the final component of the NetworkMonitoringProvider resource's name.
|
1085
|
-
# @param [String] fields
|
1086
|
-
# Selector specifying which fields to include in a partial response.
|
1087
|
-
# @param [String] quota_user
|
1088
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1089
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1090
|
-
# @param [Google::Apis::RequestOptions] options
|
1091
|
-
# Request-specific options
|
1092
|
-
#
|
1093
|
-
# @yield [result, err] Result & error if block supplied
|
1094
|
-
# @yieldparam result [Google::Apis::NetworkmanagementV1::Operation] parsed result object
|
1095
|
-
# @yieldparam err [StandardError] error object if request failed
|
1096
|
-
#
|
1097
|
-
# @return [Google::Apis::NetworkmanagementV1::Operation]
|
1098
|
-
#
|
1099
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1100
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1101
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1102
|
-
def create_project_location_network_monitoring_provider(parent, network_monitoring_provider_object = nil, network_monitoring_provider_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1103
|
-
command = make_simple_command(:post, 'v1/{+parent}/networkMonitoringProviders', options)
|
1104
|
-
command.request_representation = Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider::Representation
|
1105
|
-
command.request_object = network_monitoring_provider_object
|
1106
|
-
command.response_representation = Google::Apis::NetworkmanagementV1::Operation::Representation
|
1107
|
-
command.response_class = Google::Apis::NetworkmanagementV1::Operation
|
1108
|
-
command.params['parent'] = parent unless parent.nil?
|
1109
|
-
command.query['networkMonitoringProviderId'] = network_monitoring_provider_id unless network_monitoring_provider_id.nil?
|
1110
|
-
command.query['fields'] = fields unless fields.nil?
|
1111
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1112
|
-
execute_or_queue_command(command, &block)
|
1113
|
-
end
|
1114
|
-
|
1115
|
-
# Deletes a NetworkMonitoringProvider resource and all of its child resources.
|
1116
|
-
# @param [String] name
|
1117
|
-
# Required. Name of the resource. Format: projects/`project`/locations/`location`
|
1118
|
-
# /networkMonitoringProviders/`network_monitoring_provider`
|
1119
|
-
# @param [String] fields
|
1120
|
-
# Selector specifying which fields to include in a partial response.
|
1121
|
-
# @param [String] quota_user
|
1122
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1123
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1124
|
-
# @param [Google::Apis::RequestOptions] options
|
1125
|
-
# Request-specific options
|
1126
|
-
#
|
1127
|
-
# @yield [result, err] Result & error if block supplied
|
1128
|
-
# @yieldparam result [Google::Apis::NetworkmanagementV1::Operation] parsed result object
|
1129
|
-
# @yieldparam err [StandardError] error object if request failed
|
1130
|
-
#
|
1131
|
-
# @return [Google::Apis::NetworkmanagementV1::Operation]
|
1132
|
-
#
|
1133
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1134
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1135
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1136
|
-
def delete_project_location_network_monitoring_provider(name, fields: nil, quota_user: nil, options: nil, &block)
|
1137
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1138
|
-
command.response_representation = Google::Apis::NetworkmanagementV1::Operation::Representation
|
1139
|
-
command.response_class = Google::Apis::NetworkmanagementV1::Operation
|
1140
|
-
command.params['name'] = name unless name.nil?
|
1141
|
-
command.query['fields'] = fields unless fields.nil?
|
1142
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1143
|
-
execute_or_queue_command(command, &block)
|
1144
|
-
end
|
1145
|
-
|
1146
|
-
# Gets the NetworkMonitoringProvider resource.
|
1147
|
-
# @param [String] name
|
1148
|
-
# Required. Name of the resource. Format: `projects/`project`/locations/`
|
1149
|
-
# location`/networkMonitoringProviders/`network_monitoring_provider``
|
1150
|
-
# @param [String] fields
|
1151
|
-
# Selector specifying which fields to include in a partial response.
|
1152
|
-
# @param [String] quota_user
|
1153
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1154
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1155
|
-
# @param [Google::Apis::RequestOptions] options
|
1156
|
-
# Request-specific options
|
1157
|
-
#
|
1158
|
-
# @yield [result, err] Result & error if block supplied
|
1159
|
-
# @yieldparam result [Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider] parsed result object
|
1160
|
-
# @yieldparam err [StandardError] error object if request failed
|
1161
|
-
#
|
1162
|
-
# @return [Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider]
|
1163
|
-
#
|
1164
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1165
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1166
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1167
|
-
def get_project_location_network_monitoring_provider(name, fields: nil, quota_user: nil, options: nil, &block)
|
1168
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
1169
|
-
command.response_representation = Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider::Representation
|
1170
|
-
command.response_class = Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider
|
1171
|
-
command.params['name'] = name unless name.nil?
|
1172
|
-
command.query['fields'] = fields unless fields.nil?
|
1173
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1174
|
-
execute_or_queue_command(command, &block)
|
1175
|
-
end
|
1176
|
-
|
1177
|
-
# Lists NetworkMonitoringProviders for a given project and location.
|
1178
|
-
# @param [String] parent
|
1179
|
-
# Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: `
|
1180
|
-
# projects/`project`/locations/`location``
|
1181
|
-
# @param [Fixnum] page_size
|
1182
|
-
# Optional. The maximum number of monitoring points to return. The service may
|
1183
|
-
# return fewer than this value. If unspecified, at most 20 monitoring points
|
1184
|
-
# will be returned. The maximum value is 1000; values above 1000 will be coerced
|
1185
|
-
# to 1000.
|
1186
|
-
# @param [String] page_token
|
1187
|
-
# Optional. A page token, received from a previous `ListMonitoringPoints` call.
|
1188
|
-
# Provide this to retrieve the subsequent page. When paginating, all other
|
1189
|
-
# parameters provided to `ListMonitoringPoints` must match the call that
|
1190
|
-
# provided the page token.
|
1191
|
-
# @param [String] fields
|
1192
|
-
# Selector specifying which fields to include in a partial response.
|
1193
|
-
# @param [String] quota_user
|
1194
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1195
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1196
|
-
# @param [Google::Apis::RequestOptions] options
|
1197
|
-
# Request-specific options
|
1198
|
-
#
|
1199
|
-
# @yield [result, err] Result & error if block supplied
|
1200
|
-
# @yieldparam result [Google::Apis::NetworkmanagementV1::ListNetworkMonitoringProvidersResponse] parsed result object
|
1201
|
-
# @yieldparam err [StandardError] error object if request failed
|
1202
|
-
#
|
1203
|
-
# @return [Google::Apis::NetworkmanagementV1::ListNetworkMonitoringProvidersResponse]
|
1204
|
-
#
|
1205
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1206
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1207
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1208
|
-
def list_project_location_network_monitoring_providers(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1209
|
-
command = make_simple_command(:get, 'v1/{+parent}/networkMonitoringProviders', options)
|
1210
|
-
command.response_representation = Google::Apis::NetworkmanagementV1::ListNetworkMonitoringProvidersResponse::Representation
|
1211
|
-
command.response_class = Google::Apis::NetworkmanagementV1::ListNetworkMonitoringProvidersResponse
|
1212
|
-
command.params['parent'] = parent unless parent.nil?
|
1213
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1214
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1215
|
-
command.query['fields'] = fields unless fields.nil?
|
1216
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1217
|
-
execute_or_queue_command(command, &block)
|
1218
|
-
end
|
1219
|
-
|
1220
|
-
# Gets the MonitoringPoint resource.
|
1221
|
-
# @param [String] name
|
1222
|
-
# Required. Name of the resource. Format: projects/`project`/locations/`location`
|
1223
|
-
# /networkMonitoringProviders/`network_monitoring_provider`/monitoringPoints/`
|
1224
|
-
# monitoring_point`
|
1225
|
-
# @param [String] fields
|
1226
|
-
# Selector specifying which fields to include in a partial response.
|
1227
|
-
# @param [String] quota_user
|
1228
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1229
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1230
|
-
# @param [Google::Apis::RequestOptions] options
|
1231
|
-
# Request-specific options
|
1232
|
-
#
|
1233
|
-
# @yield [result, err] Result & error if block supplied
|
1234
|
-
# @yieldparam result [Google::Apis::NetworkmanagementV1::MonitoringPoint] parsed result object
|
1235
|
-
# @yieldparam err [StandardError] error object if request failed
|
1236
|
-
#
|
1237
|
-
# @return [Google::Apis::NetworkmanagementV1::MonitoringPoint]
|
1238
|
-
#
|
1239
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1240
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1241
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1242
|
-
def get_project_location_network_monitoring_provider_monitoring_point(name, fields: nil, quota_user: nil, options: nil, &block)
|
1243
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
1244
|
-
command.response_representation = Google::Apis::NetworkmanagementV1::MonitoringPoint::Representation
|
1245
|
-
command.response_class = Google::Apis::NetworkmanagementV1::MonitoringPoint
|
1246
|
-
command.params['name'] = name unless name.nil?
|
1247
|
-
command.query['fields'] = fields unless fields.nil?
|
1248
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1249
|
-
execute_or_queue_command(command, &block)
|
1250
|
-
end
|
1251
|
-
|
1252
|
-
# Lists MonitoringPoints for a given network monitoring provider.
|
1253
|
-
# @param [String] parent
|
1254
|
-
# Required. Parent value for ListMonitoringPointsRequest. Format: projects/`
|
1255
|
-
# project`/locations/`location`/networkMonitoringProviders/`
|
1256
|
-
# network_monitoring_provider`
|
1257
|
-
# @param [Fixnum] page_size
|
1258
|
-
# Optional. The maximum number of monitoring points to return. The service may
|
1259
|
-
# return fewer than this value. If unspecified, at most 20 monitoring points
|
1260
|
-
# will be returned. The maximum value is 1000; values above 1000 will be coerced
|
1261
|
-
# to 1000.
|
1262
|
-
# @param [String] page_token
|
1263
|
-
# Optional. A page token, received from a previous `ListMonitoringPoints` call.
|
1264
|
-
# Provide this to retrieve the subsequent page. When paginating, all other
|
1265
|
-
# parameters provided to `ListMonitoringPoints` must match the call that
|
1266
|
-
# provided the page token.
|
1267
|
-
# @param [String] fields
|
1268
|
-
# Selector specifying which fields to include in a partial response.
|
1269
|
-
# @param [String] quota_user
|
1270
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1271
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1272
|
-
# @param [Google::Apis::RequestOptions] options
|
1273
|
-
# Request-specific options
|
1274
|
-
#
|
1275
|
-
# @yield [result, err] Result & error if block supplied
|
1276
|
-
# @yieldparam result [Google::Apis::NetworkmanagementV1::ListMonitoringPointsResponse] parsed result object
|
1277
|
-
# @yieldparam err [StandardError] error object if request failed
|
1278
|
-
#
|
1279
|
-
# @return [Google::Apis::NetworkmanagementV1::ListMonitoringPointsResponse]
|
1280
|
-
#
|
1281
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1282
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1283
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1284
|
-
def list_project_location_network_monitoring_provider_monitoring_points(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1285
|
-
command = make_simple_command(:get, 'v1/{+parent}/monitoringPoints', options)
|
1286
|
-
command.response_representation = Google::Apis::NetworkmanagementV1::ListMonitoringPointsResponse::Representation
|
1287
|
-
command.response_class = Google::Apis::NetworkmanagementV1::ListMonitoringPointsResponse
|
1288
|
-
command.params['parent'] = parent unless parent.nil?
|
1289
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1290
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1291
|
-
command.query['fields'] = fields unless fields.nil?
|
1292
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1293
|
-
execute_or_queue_command(command, &block)
|
1294
|
-
end
|
1295
|
-
|
1296
|
-
# Gets the NetworkPath resource.
|
1297
|
-
# @param [String] name
|
1298
|
-
# Required. Name of the resource. Format: projects/`project`/locations/`location`
|
1299
|
-
# /networkMonitoringProviders/`network_monitoring_provider`/networkPaths/`
|
1300
|
-
# network_path`
|
1301
|
-
# @param [String] fields
|
1302
|
-
# Selector specifying which fields to include in a partial response.
|
1303
|
-
# @param [String] quota_user
|
1304
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1305
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1306
|
-
# @param [Google::Apis::RequestOptions] options
|
1307
|
-
# Request-specific options
|
1308
|
-
#
|
1309
|
-
# @yield [result, err] Result & error if block supplied
|
1310
|
-
# @yieldparam result [Google::Apis::NetworkmanagementV1::NetworkPath] parsed result object
|
1311
|
-
# @yieldparam err [StandardError] error object if request failed
|
1312
|
-
#
|
1313
|
-
# @return [Google::Apis::NetworkmanagementV1::NetworkPath]
|
1314
|
-
#
|
1315
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1316
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1317
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1318
|
-
def get_project_location_network_monitoring_provider_network_path(name, fields: nil, quota_user: nil, options: nil, &block)
|
1319
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
1320
|
-
command.response_representation = Google::Apis::NetworkmanagementV1::NetworkPath::Representation
|
1321
|
-
command.response_class = Google::Apis::NetworkmanagementV1::NetworkPath
|
1322
|
-
command.params['name'] = name unless name.nil?
|
1323
|
-
command.query['fields'] = fields unless fields.nil?
|
1324
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1325
|
-
execute_or_queue_command(command, &block)
|
1326
|
-
end
|
1327
|
-
|
1328
|
-
# Lists NetworkPaths for a given network monitoring provider.
|
1329
|
-
# @param [String] parent
|
1330
|
-
# Required. Parent value for ListNetworkPathsRequest. Format: projects/`project`/
|
1331
|
-
# locations/`location`/networkMonitoringProviders/`network_monitoring_provider`
|
1332
|
-
# @param [Fixnum] page_size
|
1333
|
-
# Optional. The maximum number of network paths to return. The service may
|
1334
|
-
# return fewer than this value. If unspecified, at most 20 network pathswill be
|
1335
|
-
# returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
|
1336
|
-
# @param [String] page_token
|
1337
|
-
# Optional. A page token, received from a previous `ListNetworkPaths` call.
|
1338
|
-
# Provide this to retrieve the subsequent page. When paginating, all other
|
1339
|
-
# parameters provided to `ListNetworkPaths` must match the call that provided
|
1340
|
-
# the page token.
|
1341
|
-
# @param [String] fields
|
1342
|
-
# Selector specifying which fields to include in a partial response.
|
1343
|
-
# @param [String] quota_user
|
1344
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1345
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1346
|
-
# @param [Google::Apis::RequestOptions] options
|
1347
|
-
# Request-specific options
|
1348
|
-
#
|
1349
|
-
# @yield [result, err] Result & error if block supplied
|
1350
|
-
# @yieldparam result [Google::Apis::NetworkmanagementV1::ListNetworkPathsResponse] parsed result object
|
1351
|
-
# @yieldparam err [StandardError] error object if request failed
|
1352
|
-
#
|
1353
|
-
# @return [Google::Apis::NetworkmanagementV1::ListNetworkPathsResponse]
|
1354
|
-
#
|
1355
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1356
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1357
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1358
|
-
def list_project_location_network_monitoring_provider_network_paths(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1359
|
-
command = make_simple_command(:get, 'v1/{+parent}/networkPaths', options)
|
1360
|
-
command.response_representation = Google::Apis::NetworkmanagementV1::ListNetworkPathsResponse::Representation
|
1361
|
-
command.response_class = Google::Apis::NetworkmanagementV1::ListNetworkPathsResponse
|
1362
|
-
command.params['parent'] = parent unless parent.nil?
|
1363
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1364
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1365
|
-
command.query['fields'] = fields unless fields.nil?
|
1366
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1367
|
-
execute_or_queue_command(command, &block)
|
1368
|
-
end
|
1369
|
-
|
1370
|
-
# Gets the WebPath resource.
|
1371
|
-
# @param [String] name
|
1372
|
-
# Required. Name of the resource.. Format: projects/`project`/locations/`
|
1373
|
-
# location`/networkMonitoringProviders/`network_monitoring_provider`/webPaths/`
|
1374
|
-
# web_path`
|
1375
|
-
# @param [String] fields
|
1376
|
-
# Selector specifying which fields to include in a partial response.
|
1377
|
-
# @param [String] quota_user
|
1378
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1379
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1380
|
-
# @param [Google::Apis::RequestOptions] options
|
1381
|
-
# Request-specific options
|
1382
|
-
#
|
1383
|
-
# @yield [result, err] Result & error if block supplied
|
1384
|
-
# @yieldparam result [Google::Apis::NetworkmanagementV1::WebPath] parsed result object
|
1385
|
-
# @yieldparam err [StandardError] error object if request failed
|
1386
|
-
#
|
1387
|
-
# @return [Google::Apis::NetworkmanagementV1::WebPath]
|
1388
|
-
#
|
1389
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1390
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1391
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1392
|
-
def get_project_location_network_monitoring_provider_web_path(name, fields: nil, quota_user: nil, options: nil, &block)
|
1393
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
1394
|
-
command.response_representation = Google::Apis::NetworkmanagementV1::WebPath::Representation
|
1395
|
-
command.response_class = Google::Apis::NetworkmanagementV1::WebPath
|
1396
|
-
command.params['name'] = name unless name.nil?
|
1397
|
-
command.query['fields'] = fields unless fields.nil?
|
1398
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1399
|
-
execute_or_queue_command(command, &block)
|
1400
|
-
end
|
1401
|
-
|
1402
|
-
# Lists WebPaths for a given network monitoring provider.
|
1403
|
-
# @param [String] parent
|
1404
|
-
# Required. Parent value for ListWebPathsRequest. Format: projects/`project`/
|
1405
|
-
# locations/`location`/networkMonitoringProviders/`network_monitoring_provider`
|
1406
|
-
# @param [Fixnum] page_size
|
1407
|
-
# Optional. The maximum number of web paths to return. The service may return
|
1408
|
-
# fewer than this value. If unspecified, at most 20 web paths will be returned.
|
1409
|
-
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
1410
|
-
# @param [String] page_token
|
1411
|
-
# Optional. A page token, received from a previous `ListWebPaths` call. Provide
|
1412
|
-
# this to retrieve the subsequent page. When paginating, all other parameters
|
1413
|
-
# provided to `ListWebPaths` must match the call that provided the page token.
|
1414
|
-
# @param [String] fields
|
1415
|
-
# Selector specifying which fields to include in a partial response.
|
1416
|
-
# @param [String] quota_user
|
1417
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1418
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1419
|
-
# @param [Google::Apis::RequestOptions] options
|
1420
|
-
# Request-specific options
|
1421
|
-
#
|
1422
|
-
# @yield [result, err] Result & error if block supplied
|
1423
|
-
# @yieldparam result [Google::Apis::NetworkmanagementV1::ListWebPathsResponse] parsed result object
|
1424
|
-
# @yieldparam err [StandardError] error object if request failed
|
1425
|
-
#
|
1426
|
-
# @return [Google::Apis::NetworkmanagementV1::ListWebPathsResponse]
|
1427
|
-
#
|
1428
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1429
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1430
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1431
|
-
def list_project_location_network_monitoring_provider_web_paths(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1432
|
-
command = make_simple_command(:get, 'v1/{+parent}/webPaths', options)
|
1433
|
-
command.response_representation = Google::Apis::NetworkmanagementV1::ListWebPathsResponse::Representation
|
1434
|
-
command.response_class = Google::Apis::NetworkmanagementV1::ListWebPathsResponse
|
1435
|
-
command.params['parent'] = parent unless parent.nil?
|
1436
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1437
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1087
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1438
1088
|
command.query['fields'] = fields unless fields.nil?
|
1439
1089
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1440
1090
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkmanagement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.71.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.71.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|