google-apis-networkmanagement_v1 0.63.0 → 0.64.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.
@@ -864,6 +864,372 @@ module Google
864
864
  execute_or_queue_command(command, &block)
865
865
  end
866
866
 
867
+ # Creates a NetworkMonitoringProvider resource.
868
+ # @param [String] parent
869
+ # Required. Parent value for CreateNetworkMonitoringProviderRequest. Format:
870
+ # projects/`project`/locations/`location`
871
+ # @param [Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider] network_monitoring_provider_object
872
+ # @param [String] network_monitoring_provider_id
873
+ # Required. The ID to use for the NetworkMonitoringProvider resource, which will
874
+ # become the final component of the NetworkMonitoringProvider resource's name.
875
+ # @param [String] fields
876
+ # Selector specifying which fields to include in a partial response.
877
+ # @param [String] quota_user
878
+ # Available to use for quota purposes for server-side applications. Can be any
879
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
880
+ # @param [Google::Apis::RequestOptions] options
881
+ # Request-specific options
882
+ #
883
+ # @yield [result, err] Result & error if block supplied
884
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::Operation] parsed result object
885
+ # @yieldparam err [StandardError] error object if request failed
886
+ #
887
+ # @return [Google::Apis::NetworkmanagementV1::Operation]
888
+ #
889
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
890
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
891
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
892
+ 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)
893
+ command = make_simple_command(:post, 'v1/{+parent}/networkMonitoringProviders', options)
894
+ command.request_representation = Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider::Representation
895
+ command.request_object = network_monitoring_provider_object
896
+ command.response_representation = Google::Apis::NetworkmanagementV1::Operation::Representation
897
+ command.response_class = Google::Apis::NetworkmanagementV1::Operation
898
+ command.params['parent'] = parent unless parent.nil?
899
+ command.query['networkMonitoringProviderId'] = network_monitoring_provider_id unless network_monitoring_provider_id.nil?
900
+ command.query['fields'] = fields unless fields.nil?
901
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
902
+ execute_or_queue_command(command, &block)
903
+ end
904
+
905
+ # Deletes a NetworkMonitoringProvider resource and all of its child resources.
906
+ # @param [String] name
907
+ # Required. Name of the resource. Format: projects/`project`/locations/`location`
908
+ # /networkMonitoringProviders/`network_monitoring_provider`
909
+ # @param [String] fields
910
+ # Selector specifying which fields to include in a partial response.
911
+ # @param [String] quota_user
912
+ # Available to use for quota purposes for server-side applications. Can be any
913
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
914
+ # @param [Google::Apis::RequestOptions] options
915
+ # Request-specific options
916
+ #
917
+ # @yield [result, err] Result & error if block supplied
918
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::Operation] parsed result object
919
+ # @yieldparam err [StandardError] error object if request failed
920
+ #
921
+ # @return [Google::Apis::NetworkmanagementV1::Operation]
922
+ #
923
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
924
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
925
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
926
+ def delete_project_location_network_monitoring_provider(name, fields: nil, quota_user: nil, options: nil, &block)
927
+ command = make_simple_command(:delete, 'v1/{+name}', options)
928
+ command.response_representation = Google::Apis::NetworkmanagementV1::Operation::Representation
929
+ command.response_class = Google::Apis::NetworkmanagementV1::Operation
930
+ command.params['name'] = name unless name.nil?
931
+ command.query['fields'] = fields unless fields.nil?
932
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
933
+ execute_or_queue_command(command, &block)
934
+ end
935
+
936
+ # Gets the NetworkMonitoringProvider resource.
937
+ # @param [String] name
938
+ # Required. Name of the resource. Format: projects/`project`/locations/`location`
939
+ # /networkMonitoringProviders/`network_monitoring_provider`
940
+ # @param [String] fields
941
+ # Selector specifying which fields to include in a partial response.
942
+ # @param [String] quota_user
943
+ # Available to use for quota purposes for server-side applications. Can be any
944
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
945
+ # @param [Google::Apis::RequestOptions] options
946
+ # Request-specific options
947
+ #
948
+ # @yield [result, err] Result & error if block supplied
949
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider] parsed result object
950
+ # @yieldparam err [StandardError] error object if request failed
951
+ #
952
+ # @return [Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider]
953
+ #
954
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
955
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
956
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
957
+ def get_project_location_network_monitoring_provider(name, fields: nil, quota_user: nil, options: nil, &block)
958
+ command = make_simple_command(:get, 'v1/{+name}', options)
959
+ command.response_representation = Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider::Representation
960
+ command.response_class = Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider
961
+ command.params['name'] = name unless name.nil?
962
+ command.query['fields'] = fields unless fields.nil?
963
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
964
+ execute_or_queue_command(command, &block)
965
+ end
966
+
967
+ # Lists NetworkMonitoringProviders for a given project and location.
968
+ # @param [String] parent
969
+ # Required. Parent value for ListNetworkMonitoringProvidersRequest. Format:
970
+ # projects/`project`/locations/`location`
971
+ # @param [Fixnum] page_size
972
+ # Optional. The maximum number of monitoring points to return. The service may
973
+ # return fewer than this value. If unspecified, at most 20 monitoring points
974
+ # will be returned. The maximum value is 1000; values above 1000 will be coerced
975
+ # to 1000.
976
+ # @param [String] page_token
977
+ # Optional. A page token, received from a previous `ListMonitoringPoints` call.
978
+ # Provide this to retrieve the subsequent page. When paginating, all other
979
+ # parameters provided to `ListMonitoringPoints` must match the call that
980
+ # provided the page token.
981
+ # @param [String] fields
982
+ # Selector specifying which fields to include in a partial response.
983
+ # @param [String] quota_user
984
+ # Available to use for quota purposes for server-side applications. Can be any
985
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
986
+ # @param [Google::Apis::RequestOptions] options
987
+ # Request-specific options
988
+ #
989
+ # @yield [result, err] Result & error if block supplied
990
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::ListNetworkMonitoringProvidersResponse] parsed result object
991
+ # @yieldparam err [StandardError] error object if request failed
992
+ #
993
+ # @return [Google::Apis::NetworkmanagementV1::ListNetworkMonitoringProvidersResponse]
994
+ #
995
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
996
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
997
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
998
+ def list_project_location_network_monitoring_providers(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
999
+ command = make_simple_command(:get, 'v1/{+parent}/networkMonitoringProviders', options)
1000
+ command.response_representation = Google::Apis::NetworkmanagementV1::ListNetworkMonitoringProvidersResponse::Representation
1001
+ command.response_class = Google::Apis::NetworkmanagementV1::ListNetworkMonitoringProvidersResponse
1002
+ command.params['parent'] = parent unless parent.nil?
1003
+ command.query['pageSize'] = page_size unless page_size.nil?
1004
+ command.query['pageToken'] = page_token unless page_token.nil?
1005
+ command.query['fields'] = fields unless fields.nil?
1006
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1007
+ execute_or_queue_command(command, &block)
1008
+ end
1009
+
1010
+ # Gets the MonitoringPoint resource.
1011
+ # @param [String] name
1012
+ # Required. Name of the resource. Format: projects/`project`/locations/`location`
1013
+ # /networkMonitoringProviders/`network_monitoring_provider`/monitoringPoints/`
1014
+ # monitoring_point`
1015
+ # @param [String] fields
1016
+ # Selector specifying which fields to include in a partial response.
1017
+ # @param [String] quota_user
1018
+ # Available to use for quota purposes for server-side applications. Can be any
1019
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1020
+ # @param [Google::Apis::RequestOptions] options
1021
+ # Request-specific options
1022
+ #
1023
+ # @yield [result, err] Result & error if block supplied
1024
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::MonitoringPoint] parsed result object
1025
+ # @yieldparam err [StandardError] error object if request failed
1026
+ #
1027
+ # @return [Google::Apis::NetworkmanagementV1::MonitoringPoint]
1028
+ #
1029
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1030
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1031
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1032
+ def get_project_location_network_monitoring_provider_monitoring_point(name, fields: nil, quota_user: nil, options: nil, &block)
1033
+ command = make_simple_command(:get, 'v1/{+name}', options)
1034
+ command.response_representation = Google::Apis::NetworkmanagementV1::MonitoringPoint::Representation
1035
+ command.response_class = Google::Apis::NetworkmanagementV1::MonitoringPoint
1036
+ command.params['name'] = name unless name.nil?
1037
+ command.query['fields'] = fields unless fields.nil?
1038
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1039
+ execute_or_queue_command(command, &block)
1040
+ end
1041
+
1042
+ # Lists MonitoringPoints for a given network monitoring provider.
1043
+ # @param [String] parent
1044
+ # Required. Parent value for ListMonitoringPointsRequest. Format: projects/`
1045
+ # project`/locations/`location`/networkMonitoringProviders/`
1046
+ # network_monitoring_provider`
1047
+ # @param [Fixnum] page_size
1048
+ # Optional. The maximum number of monitoring points to return. The service may
1049
+ # return fewer than this value. If unspecified, at most 20 monitoring points
1050
+ # will be returned. The maximum value is 1000; values above 1000 will be coerced
1051
+ # to 1000.
1052
+ # @param [String] page_token
1053
+ # Optional. A page token, received from a previous `ListMonitoringPoints` call.
1054
+ # Provide this to retrieve the subsequent page. When paginating, all other
1055
+ # parameters provided to `ListMonitoringPoints` must match the call that
1056
+ # provided the page token.
1057
+ # @param [String] fields
1058
+ # Selector specifying which fields to include in a partial response.
1059
+ # @param [String] quota_user
1060
+ # Available to use for quota purposes for server-side applications. Can be any
1061
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1062
+ # @param [Google::Apis::RequestOptions] options
1063
+ # Request-specific options
1064
+ #
1065
+ # @yield [result, err] Result & error if block supplied
1066
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::ListMonitoringPointsResponse] parsed result object
1067
+ # @yieldparam err [StandardError] error object if request failed
1068
+ #
1069
+ # @return [Google::Apis::NetworkmanagementV1::ListMonitoringPointsResponse]
1070
+ #
1071
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1072
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1073
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1074
+ def list_project_location_network_monitoring_provider_monitoring_points(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1075
+ command = make_simple_command(:get, 'v1/{+parent}/monitoringPoints', options)
1076
+ command.response_representation = Google::Apis::NetworkmanagementV1::ListMonitoringPointsResponse::Representation
1077
+ command.response_class = Google::Apis::NetworkmanagementV1::ListMonitoringPointsResponse
1078
+ command.params['parent'] = parent unless parent.nil?
1079
+ command.query['pageSize'] = page_size unless page_size.nil?
1080
+ command.query['pageToken'] = page_token unless page_token.nil?
1081
+ command.query['fields'] = fields unless fields.nil?
1082
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1083
+ execute_or_queue_command(command, &block)
1084
+ end
1085
+
1086
+ # Gets the NetworkPath resource.
1087
+ # @param [String] name
1088
+ # Required. Name of the resource. Format: projects/`project`/locations/`location`
1089
+ # /networkMonitoringProviders/`network_monitoring_provider`/networkPaths/`
1090
+ # network_path`
1091
+ # @param [String] fields
1092
+ # Selector specifying which fields to include in a partial response.
1093
+ # @param [String] quota_user
1094
+ # Available to use for quota purposes for server-side applications. Can be any
1095
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1096
+ # @param [Google::Apis::RequestOptions] options
1097
+ # Request-specific options
1098
+ #
1099
+ # @yield [result, err] Result & error if block supplied
1100
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::NetworkPath] parsed result object
1101
+ # @yieldparam err [StandardError] error object if request failed
1102
+ #
1103
+ # @return [Google::Apis::NetworkmanagementV1::NetworkPath]
1104
+ #
1105
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1106
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1107
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1108
+ def get_project_location_network_monitoring_provider_network_path(name, fields: nil, quota_user: nil, options: nil, &block)
1109
+ command = make_simple_command(:get, 'v1/{+name}', options)
1110
+ command.response_representation = Google::Apis::NetworkmanagementV1::NetworkPath::Representation
1111
+ command.response_class = Google::Apis::NetworkmanagementV1::NetworkPath
1112
+ command.params['name'] = name unless name.nil?
1113
+ command.query['fields'] = fields unless fields.nil?
1114
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1115
+ execute_or_queue_command(command, &block)
1116
+ end
1117
+
1118
+ # Lists NetworkPaths for a given network monitoring provider.
1119
+ # @param [String] parent
1120
+ # Required. Parent value for ListNetworkPathsRequest. Format: projects/`project`/
1121
+ # locations/`location`/networkMonitoringProviders/`network_monitoring_provider`
1122
+ # @param [Fixnum] page_size
1123
+ # Optional. The maximum number of network paths to return. The service may
1124
+ # return fewer than this value. If unspecified, at most 20 network pathswill be
1125
+ # returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
1126
+ # @param [String] page_token
1127
+ # Optional. A page token, received from a previous `ListNetworkPaths` call.
1128
+ # Provide this to retrieve the subsequent page. When paginating, all other
1129
+ # parameters provided to `ListNetworkPaths` must match the call that provided
1130
+ # the page token.
1131
+ # @param [String] fields
1132
+ # Selector specifying which fields to include in a partial response.
1133
+ # @param [String] quota_user
1134
+ # Available to use for quota purposes for server-side applications. Can be any
1135
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1136
+ # @param [Google::Apis::RequestOptions] options
1137
+ # Request-specific options
1138
+ #
1139
+ # @yield [result, err] Result & error if block supplied
1140
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::ListNetworkPathsResponse] parsed result object
1141
+ # @yieldparam err [StandardError] error object if request failed
1142
+ #
1143
+ # @return [Google::Apis::NetworkmanagementV1::ListNetworkPathsResponse]
1144
+ #
1145
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1146
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1147
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1148
+ def list_project_location_network_monitoring_provider_network_paths(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1149
+ command = make_simple_command(:get, 'v1/{+parent}/networkPaths', options)
1150
+ command.response_representation = Google::Apis::NetworkmanagementV1::ListNetworkPathsResponse::Representation
1151
+ command.response_class = Google::Apis::NetworkmanagementV1::ListNetworkPathsResponse
1152
+ command.params['parent'] = parent unless parent.nil?
1153
+ command.query['pageSize'] = page_size unless page_size.nil?
1154
+ command.query['pageToken'] = page_token unless page_token.nil?
1155
+ command.query['fields'] = fields unless fields.nil?
1156
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1157
+ execute_or_queue_command(command, &block)
1158
+ end
1159
+
1160
+ # Gets the WebPath resource.
1161
+ # @param [String] name
1162
+ # Required. Name of the resource.. Format: projects/`project`/locations/`
1163
+ # location`/networkMonitoringProviders/`network_monitoring_provider`/webPaths/`
1164
+ # web_path`
1165
+ # @param [String] fields
1166
+ # Selector specifying which fields to include in a partial response.
1167
+ # @param [String] quota_user
1168
+ # Available to use for quota purposes for server-side applications. Can be any
1169
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1170
+ # @param [Google::Apis::RequestOptions] options
1171
+ # Request-specific options
1172
+ #
1173
+ # @yield [result, err] Result & error if block supplied
1174
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::WebPath] parsed result object
1175
+ # @yieldparam err [StandardError] error object if request failed
1176
+ #
1177
+ # @return [Google::Apis::NetworkmanagementV1::WebPath]
1178
+ #
1179
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1180
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1181
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1182
+ def get_project_location_network_monitoring_provider_web_path(name, fields: nil, quota_user: nil, options: nil, &block)
1183
+ command = make_simple_command(:get, 'v1/{+name}', options)
1184
+ command.response_representation = Google::Apis::NetworkmanagementV1::WebPath::Representation
1185
+ command.response_class = Google::Apis::NetworkmanagementV1::WebPath
1186
+ command.params['name'] = name unless name.nil?
1187
+ command.query['fields'] = fields unless fields.nil?
1188
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1189
+ execute_or_queue_command(command, &block)
1190
+ end
1191
+
1192
+ # Lists WebPaths for a given network monitoring provider.
1193
+ # @param [String] parent
1194
+ # Required. Parent value for ListWebPathsRequest. Format: projects/`project`/
1195
+ # locations/`location`/networkMonitoringProviders/`network_monitoring_provider`
1196
+ # @param [Fixnum] page_size
1197
+ # Optional. The maximum number of web paths to return. The service may return
1198
+ # fewer than this value. If unspecified, at most 20 web paths will be returned.
1199
+ # The maximum value is 1000; values above 1000 will be coerced to 1000.
1200
+ # @param [String] page_token
1201
+ # Optional. A page token, received from a previous `ListWebPaths` call. Provide
1202
+ # this to retrieve the subsequent page. When paginating, all other parameters
1203
+ # provided to `ListWebPaths` must match the call that provided the page token.
1204
+ # @param [String] fields
1205
+ # Selector specifying which fields to include in a partial response.
1206
+ # @param [String] quota_user
1207
+ # Available to use for quota purposes for server-side applications. Can be any
1208
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1209
+ # @param [Google::Apis::RequestOptions] options
1210
+ # Request-specific options
1211
+ #
1212
+ # @yield [result, err] Result & error if block supplied
1213
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::ListWebPathsResponse] parsed result object
1214
+ # @yieldparam err [StandardError] error object if request failed
1215
+ #
1216
+ # @return [Google::Apis::NetworkmanagementV1::ListWebPathsResponse]
1217
+ #
1218
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1219
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1220
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1221
+ def list_project_location_network_monitoring_provider_web_paths(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1222
+ command = make_simple_command(:get, 'v1/{+parent}/webPaths', options)
1223
+ command.response_representation = Google::Apis::NetworkmanagementV1::ListWebPathsResponse::Representation
1224
+ command.response_class = Google::Apis::NetworkmanagementV1::ListWebPathsResponse
1225
+ command.params['parent'] = parent unless parent.nil?
1226
+ command.query['pageSize'] = page_size unless page_size.nil?
1227
+ command.query['pageToken'] = page_token unless page_token.nil?
1228
+ command.query['fields'] = fields unless fields.nil?
1229
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1230
+ execute_or_queue_command(command, &block)
1231
+ end
1232
+
867
1233
  # Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same
868
1234
  # settings already exists (even if the ID is different), the creation fails.
869
1235
  # Notes: 1. Creating a configuration with `state=DISABLED` will fail 2. The
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.63.0
4
+ version: 0.64.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.63.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.64.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: