pulp_file_client 3.104.1 → 3.105.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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -5
  3. data/docs/FileFileGitRemote.md +58 -0
  4. data/docs/FileFileGitRemoteResponse.md +58 -0
  5. data/docs/{FileFileRemoteResponseHiddenFieldsInner.md → FileFileGitRemoteResponseHiddenFieldsInner.md} +2 -2
  6. data/docs/FileFileRemoteResponse.md +1 -1
  7. data/docs/PaginatedfileFileGitRemoteResponseList.md +24 -0
  8. data/docs/PatchedfileFileGitRemote.md +58 -0
  9. data/docs/RemotesGitApi.md +981 -0
  10. data/lib/pulp_file_client/api/remotes_git_api.rb +979 -0
  11. data/lib/pulp_file_client/models/file_file_git_remote.rb +702 -0
  12. data/lib/pulp_file_client/models/file_file_git_remote_response.rb +521 -0
  13. data/lib/pulp_file_client/models/{file_file_remote_response_hidden_fields_inner.rb → file_file_git_remote_response_hidden_fields_inner.rb} +3 -3
  14. data/lib/pulp_file_client/models/file_file_remote.rb +15 -0
  15. data/lib/pulp_file_client/models/file_file_remote_response.rb +16 -1
  16. data/lib/pulp_file_client/models/file_file_repository.rb +15 -0
  17. data/lib/pulp_file_client/models/file_file_repository_response.rb +15 -0
  18. data/lib/pulp_file_client/models/paginatedfile_file_git_remote_response_list.rb +257 -0
  19. data/lib/pulp_file_client/models/patchedfile_file_git_remote.rb +688 -0
  20. data/lib/pulp_file_client/models/patchedfile_file_remote.rb +15 -0
  21. data/lib/pulp_file_client/models/patchedfile_file_repository.rb +15 -0
  22. data/lib/pulp_file_client/models/remote_network_config.rb +15 -0
  23. data/lib/pulp_file_client/models/remote_network_config_response.rb +15 -0
  24. data/lib/pulp_file_client/models/set_label.rb +0 -11
  25. data/lib/pulp_file_client/models/set_label_response.rb +0 -21
  26. data/lib/pulp_file_client/models/unset_label.rb +0 -11
  27. data/lib/pulp_file_client/models/unset_label_response.rb +0 -21
  28. data/lib/pulp_file_client/version.rb +1 -1
  29. data/lib/pulp_file_client.rb +6 -1
  30. data/spec/api/remotes_git_api_spec.rb +228 -0
  31. data/spec/models/{file_file_remote_response_hidden_fields_inner_spec.rb → file_file_git_remote_response_hidden_fields_inner_spec.rb} +6 -6
  32. data/spec/models/file_file_git_remote_response_spec.rb +156 -0
  33. data/spec/models/file_file_git_remote_spec.rb +156 -0
  34. data/spec/models/paginatedfile_file_git_remote_response_list_spec.rb +54 -0
  35. data/spec/models/patchedfile_file_git_remote_spec.rb +156 -0
  36. metadata +26 -6
@@ -0,0 +1,981 @@
1
+ # PulpFileClient::RemotesGitApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add_role**](RemotesGitApi.md#add_role) | **POST** {file_file_git_remote_href}add_role/ | Add a role |
8
+ | [**create**](RemotesGitApi.md#create) | **POST** /pulp/api/v3/remotes/file/git/ | Create a file git remote |
9
+ | [**delete**](RemotesGitApi.md#delete) | **DELETE** {file_file_git_remote_href} | Delete a file git remote |
10
+ | [**list**](RemotesGitApi.md#list) | **GET** /pulp/api/v3/remotes/file/git/ | List file git remotes |
11
+ | [**list_roles**](RemotesGitApi.md#list_roles) | **GET** {file_file_git_remote_href}list_roles/ | List roles |
12
+ | [**my_permissions**](RemotesGitApi.md#my_permissions) | **GET** {file_file_git_remote_href}my_permissions/ | List user permissions |
13
+ | [**partial_update**](RemotesGitApi.md#partial_update) | **PATCH** {file_file_git_remote_href} | Update a file git remote |
14
+ | [**read**](RemotesGitApi.md#read) | **GET** {file_file_git_remote_href} | Inspect a file git remote |
15
+ | [**remove_role**](RemotesGitApi.md#remove_role) | **POST** {file_file_git_remote_href}remove_role/ | Remove a role |
16
+ | [**set_label**](RemotesGitApi.md#set_label) | **POST** {file_file_git_remote_href}set_label/ | Set a label |
17
+ | [**unset_label**](RemotesGitApi.md#unset_label) | **POST** {file_file_git_remote_href}unset_label/ | Unset a label |
18
+ | [**update**](RemotesGitApi.md#update) | **PUT** {file_file_git_remote_href} | Update a file git remote |
19
+
20
+
21
+ ## add_role
22
+
23
+ > <NestedRoleResponse> add_role(file_file_git_remote_href, nested_role, opts)
24
+
25
+ Add a role
26
+
27
+ Add a role for this object to users/groups.
28
+
29
+ ### Examples
30
+
31
+ ```ruby
32
+ require 'time'
33
+ require 'pulp_file_client'
34
+ # setup authorization
35
+ PulpFileClient.configure do |config|
36
+ # Configure HTTP basic authorization: basicAuth
37
+ config.username = 'YOUR USERNAME'
38
+ config.password = 'YOUR PASSWORD'
39
+ end
40
+
41
+ api_instance = PulpFileClient::RemotesGitApi.new
42
+ file_file_git_remote_href = 'file_file_git_remote_href_example' # String |
43
+ nested_role = PulpFileClient::NestedRole.new({role: 'role_example'}) # NestedRole |
44
+ opts = {
45
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
46
+ }
47
+
48
+ begin
49
+ # Add a role
50
+ result = api_instance.add_role(file_file_git_remote_href, nested_role, opts)
51
+ p result
52
+ rescue PulpFileClient::ApiError => e
53
+ puts "Error when calling RemotesGitApi->add_role: #{e}"
54
+ end
55
+ ```
56
+
57
+ #### Using the add_role_with_http_info variant
58
+
59
+ This returns an Array which contains the response data, status code and headers.
60
+
61
+ > <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(file_file_git_remote_href, nested_role, opts)
62
+
63
+ ```ruby
64
+ begin
65
+ # Add a role
66
+ data, status_code, headers = api_instance.add_role_with_http_info(file_file_git_remote_href, nested_role, opts)
67
+ p status_code # => 2xx
68
+ p headers # => { ... }
69
+ p data # => <NestedRoleResponse>
70
+ rescue PulpFileClient::ApiError => e
71
+ puts "Error when calling RemotesGitApi->add_role_with_http_info: #{e}"
72
+ end
73
+ ```
74
+
75
+ ### Parameters
76
+
77
+ | Name | Type | Description | Notes |
78
+ | ---- | ---- | ----------- | ----- |
79
+ | **file_file_git_remote_href** | **String** | | |
80
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
81
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
82
+
83
+ ### Return type
84
+
85
+ [**NestedRoleResponse**](NestedRoleResponse.md)
86
+
87
+ ### Authorization
88
+
89
+ [basicAuth](../README.md#basicAuth)
90
+
91
+ ### HTTP request headers
92
+
93
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
94
+ - **Accept**: application/json
95
+
96
+
97
+ ## create
98
+
99
+ > <FileFileGitRemoteResponse> create(file_file_git_remote, opts)
100
+
101
+ Create a file git remote
102
+
103
+ FileGitRemote represents a Git repository as an external source of File Content. The target url of a FileGitRemote must point to a Git repository. Syncing will perform a bare clone and extract file metadata from the specified git ref.
104
+
105
+ ### Examples
106
+
107
+ ```ruby
108
+ require 'time'
109
+ require 'pulp_file_client'
110
+ # setup authorization
111
+ PulpFileClient.configure do |config|
112
+ # Configure HTTP basic authorization: basicAuth
113
+ config.username = 'YOUR USERNAME'
114
+ config.password = 'YOUR PASSWORD'
115
+ end
116
+
117
+ api_instance = PulpFileClient::RemotesGitApi.new
118
+ file_file_git_remote = PulpFileClient::FileFileGitRemote.new({name: 'name_example', url: 'url_example'}) # FileFileGitRemote |
119
+ opts = {
120
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
121
+ }
122
+
123
+ begin
124
+ # Create a file git remote
125
+ result = api_instance.create(file_file_git_remote, opts)
126
+ p result
127
+ rescue PulpFileClient::ApiError => e
128
+ puts "Error when calling RemotesGitApi->create: #{e}"
129
+ end
130
+ ```
131
+
132
+ #### Using the create_with_http_info variant
133
+
134
+ This returns an Array which contains the response data, status code and headers.
135
+
136
+ > <Array(<FileFileGitRemoteResponse>, Integer, Hash)> create_with_http_info(file_file_git_remote, opts)
137
+
138
+ ```ruby
139
+ begin
140
+ # Create a file git remote
141
+ data, status_code, headers = api_instance.create_with_http_info(file_file_git_remote, opts)
142
+ p status_code # => 2xx
143
+ p headers # => { ... }
144
+ p data # => <FileFileGitRemoteResponse>
145
+ rescue PulpFileClient::ApiError => e
146
+ puts "Error when calling RemotesGitApi->create_with_http_info: #{e}"
147
+ end
148
+ ```
149
+
150
+ ### Parameters
151
+
152
+ | Name | Type | Description | Notes |
153
+ | ---- | ---- | ----------- | ----- |
154
+ | **file_file_git_remote** | [**FileFileGitRemote**](FileFileGitRemote.md) | | |
155
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
156
+
157
+ ### Return type
158
+
159
+ [**FileFileGitRemoteResponse**](FileFileGitRemoteResponse.md)
160
+
161
+ ### Authorization
162
+
163
+ [basicAuth](../README.md#basicAuth)
164
+
165
+ ### HTTP request headers
166
+
167
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
168
+ - **Accept**: application/json
169
+
170
+
171
+ ## delete
172
+
173
+ > <AsyncOperationResponse> delete(file_file_git_remote_href, opts)
174
+
175
+ Delete a file git remote
176
+
177
+ Trigger an asynchronous delete task
178
+
179
+ ### Examples
180
+
181
+ ```ruby
182
+ require 'time'
183
+ require 'pulp_file_client'
184
+ # setup authorization
185
+ PulpFileClient.configure do |config|
186
+ # Configure HTTP basic authorization: basicAuth
187
+ config.username = 'YOUR USERNAME'
188
+ config.password = 'YOUR PASSWORD'
189
+ end
190
+
191
+ api_instance = PulpFileClient::RemotesGitApi.new
192
+ file_file_git_remote_href = 'file_file_git_remote_href_example' # String |
193
+ opts = {
194
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
195
+ }
196
+
197
+ begin
198
+ # Delete a file git remote
199
+ result = api_instance.delete(file_file_git_remote_href, opts)
200
+ p result
201
+ rescue PulpFileClient::ApiError => e
202
+ puts "Error when calling RemotesGitApi->delete: #{e}"
203
+ end
204
+ ```
205
+
206
+ #### Using the delete_with_http_info variant
207
+
208
+ This returns an Array which contains the response data, status code and headers.
209
+
210
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(file_file_git_remote_href, opts)
211
+
212
+ ```ruby
213
+ begin
214
+ # Delete a file git remote
215
+ data, status_code, headers = api_instance.delete_with_http_info(file_file_git_remote_href, opts)
216
+ p status_code # => 2xx
217
+ p headers # => { ... }
218
+ p data # => <AsyncOperationResponse>
219
+ rescue PulpFileClient::ApiError => e
220
+ puts "Error when calling RemotesGitApi->delete_with_http_info: #{e}"
221
+ end
222
+ ```
223
+
224
+ ### Parameters
225
+
226
+ | Name | Type | Description | Notes |
227
+ | ---- | ---- | ----------- | ----- |
228
+ | **file_file_git_remote_href** | **String** | | |
229
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
230
+
231
+ ### Return type
232
+
233
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
234
+
235
+ ### Authorization
236
+
237
+ [basicAuth](../README.md#basicAuth)
238
+
239
+ ### HTTP request headers
240
+
241
+ - **Content-Type**: Not defined
242
+ - **Accept**: application/json
243
+
244
+
245
+ ## list
246
+
247
+ > <PaginatedfileFileGitRemoteResponseList> list(opts)
248
+
249
+ List file git remotes
250
+
251
+ FileGitRemote represents a Git repository as an external source of File Content. The target url of a FileGitRemote must point to a Git repository. Syncing will perform a bare clone and extract file metadata from the specified git ref.
252
+
253
+ ### Examples
254
+
255
+ ```ruby
256
+ require 'time'
257
+ require 'pulp_file_client'
258
+ # setup authorization
259
+ PulpFileClient.configure do |config|
260
+ # Configure HTTP basic authorization: basicAuth
261
+ config.username = 'YOUR USERNAME'
262
+ config.password = 'YOUR PASSWORD'
263
+ end
264
+
265
+ api_instance = PulpFileClient::RemotesGitApi.new
266
+ opts = {
267
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
268
+ limit: 56, # Integer | Number of results to return per page.
269
+ name: 'name_example', # String | Filter results where name matches value
270
+ name__contains: 'name__contains_example', # String | Filter results where name contains value
271
+ name__icontains: 'name__icontains_example', # String | Filter results where name contains value
272
+ name__iexact: 'name__iexact_example', # String | Filter results where name matches value
273
+ name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
274
+ name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
275
+ name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
276
+ name__regex: 'name__regex_example', # String | Filter results where name matches regex value
277
+ name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
278
+ offset: 56, # Integer | The initial index from which to return the results.
279
+ ordering: ['-ca_cert'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
280
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
281
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
282
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
283
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
284
+ pulp_last_updated: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated matches value
285
+ pulp_last_updated__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is greater than value
286
+ pulp_last_updated__gte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is greater than or equal to value
287
+ pulp_last_updated__isnull: true, # Boolean | Filter results where pulp_last_updated has a null value
288
+ pulp_last_updated__lt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is less than value
289
+ pulp_last_updated__lte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is less than or equal to value
290
+ pulp_last_updated__range: [Time.now], # Array<Time> | Filter results where pulp_last_updated is between two comma separated values
291
+ q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
292
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
293
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
294
+ }
295
+
296
+ begin
297
+ # List file git remotes
298
+ result = api_instance.list(opts)
299
+ p result
300
+ rescue PulpFileClient::ApiError => e
301
+ puts "Error when calling RemotesGitApi->list: #{e}"
302
+ end
303
+ ```
304
+
305
+ #### Using the list_with_http_info variant
306
+
307
+ This returns an Array which contains the response data, status code and headers.
308
+
309
+ > <Array(<PaginatedfileFileGitRemoteResponseList>, Integer, Hash)> list_with_http_info(opts)
310
+
311
+ ```ruby
312
+ begin
313
+ # List file git remotes
314
+ data, status_code, headers = api_instance.list_with_http_info(opts)
315
+ p status_code # => 2xx
316
+ p headers # => { ... }
317
+ p data # => <PaginatedfileFileGitRemoteResponseList>
318
+ rescue PulpFileClient::ApiError => e
319
+ puts "Error when calling RemotesGitApi->list_with_http_info: #{e}"
320
+ end
321
+ ```
322
+
323
+ ### Parameters
324
+
325
+ | Name | Type | Description | Notes |
326
+ | ---- | ---- | ----------- | ----- |
327
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
328
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
329
+ | **name** | **String** | Filter results where name matches value | [optional] |
330
+ | **name__contains** | **String** | Filter results where name contains value | [optional] |
331
+ | **name__icontains** | **String** | Filter results where name contains value | [optional] |
332
+ | **name__iexact** | **String** | Filter results where name matches value | [optional] |
333
+ | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
334
+ | **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
335
+ | **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
336
+ | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
337
+ | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
338
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
339
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
340
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
341
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
342
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
343
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
344
+ | **pulp_last_updated** | **Time** | Filter results where pulp_last_updated matches value | [optional] |
345
+ | **pulp_last_updated__gt** | **Time** | Filter results where pulp_last_updated is greater than value | [optional] |
346
+ | **pulp_last_updated__gte** | **Time** | Filter results where pulp_last_updated is greater than or equal to value | [optional] |
347
+ | **pulp_last_updated__isnull** | **Boolean** | Filter results where pulp_last_updated has a null value | [optional] |
348
+ | **pulp_last_updated__lt** | **Time** | Filter results where pulp_last_updated is less than value | [optional] |
349
+ | **pulp_last_updated__lte** | **Time** | Filter results where pulp_last_updated is less than or equal to value | [optional] |
350
+ | **pulp_last_updated__range** | [**Array&lt;Time&gt;**](Time.md) | Filter results where pulp_last_updated is between two comma separated values | [optional] |
351
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
352
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
353
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
354
+
355
+ ### Return type
356
+
357
+ [**PaginatedfileFileGitRemoteResponseList**](PaginatedfileFileGitRemoteResponseList.md)
358
+
359
+ ### Authorization
360
+
361
+ [basicAuth](../README.md#basicAuth)
362
+
363
+ ### HTTP request headers
364
+
365
+ - **Content-Type**: Not defined
366
+ - **Accept**: application/json
367
+
368
+
369
+ ## list_roles
370
+
371
+ > <ObjectRolesResponse> list_roles(file_file_git_remote_href, opts)
372
+
373
+ List roles
374
+
375
+ List roles assigned to this object.
376
+
377
+ ### Examples
378
+
379
+ ```ruby
380
+ require 'time'
381
+ require 'pulp_file_client'
382
+ # setup authorization
383
+ PulpFileClient.configure do |config|
384
+ # Configure HTTP basic authorization: basicAuth
385
+ config.username = 'YOUR USERNAME'
386
+ config.password = 'YOUR PASSWORD'
387
+ end
388
+
389
+ api_instance = PulpFileClient::RemotesGitApi.new
390
+ file_file_git_remote_href = 'file_file_git_remote_href_example' # String |
391
+ opts = {
392
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
393
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
394
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
395
+ }
396
+
397
+ begin
398
+ # List roles
399
+ result = api_instance.list_roles(file_file_git_remote_href, opts)
400
+ p result
401
+ rescue PulpFileClient::ApiError => e
402
+ puts "Error when calling RemotesGitApi->list_roles: #{e}"
403
+ end
404
+ ```
405
+
406
+ #### Using the list_roles_with_http_info variant
407
+
408
+ This returns an Array which contains the response data, status code and headers.
409
+
410
+ > <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(file_file_git_remote_href, opts)
411
+
412
+ ```ruby
413
+ begin
414
+ # List roles
415
+ data, status_code, headers = api_instance.list_roles_with_http_info(file_file_git_remote_href, opts)
416
+ p status_code # => 2xx
417
+ p headers # => { ... }
418
+ p data # => <ObjectRolesResponse>
419
+ rescue PulpFileClient::ApiError => e
420
+ puts "Error when calling RemotesGitApi->list_roles_with_http_info: #{e}"
421
+ end
422
+ ```
423
+
424
+ ### Parameters
425
+
426
+ | Name | Type | Description | Notes |
427
+ | ---- | ---- | ----------- | ----- |
428
+ | **file_file_git_remote_href** | **String** | | |
429
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
430
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
431
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
432
+
433
+ ### Return type
434
+
435
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
436
+
437
+ ### Authorization
438
+
439
+ [basicAuth](../README.md#basicAuth)
440
+
441
+ ### HTTP request headers
442
+
443
+ - **Content-Type**: Not defined
444
+ - **Accept**: application/json
445
+
446
+
447
+ ## my_permissions
448
+
449
+ > <MyPermissionsResponse> my_permissions(file_file_git_remote_href, opts)
450
+
451
+ List user permissions
452
+
453
+ List permissions available to the current user on this object.
454
+
455
+ ### Examples
456
+
457
+ ```ruby
458
+ require 'time'
459
+ require 'pulp_file_client'
460
+ # setup authorization
461
+ PulpFileClient.configure do |config|
462
+ # Configure HTTP basic authorization: basicAuth
463
+ config.username = 'YOUR USERNAME'
464
+ config.password = 'YOUR PASSWORD'
465
+ end
466
+
467
+ api_instance = PulpFileClient::RemotesGitApi.new
468
+ file_file_git_remote_href = 'file_file_git_remote_href_example' # String |
469
+ opts = {
470
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
471
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
472
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
473
+ }
474
+
475
+ begin
476
+ # List user permissions
477
+ result = api_instance.my_permissions(file_file_git_remote_href, opts)
478
+ p result
479
+ rescue PulpFileClient::ApiError => e
480
+ puts "Error when calling RemotesGitApi->my_permissions: #{e}"
481
+ end
482
+ ```
483
+
484
+ #### Using the my_permissions_with_http_info variant
485
+
486
+ This returns an Array which contains the response data, status code and headers.
487
+
488
+ > <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(file_file_git_remote_href, opts)
489
+
490
+ ```ruby
491
+ begin
492
+ # List user permissions
493
+ data, status_code, headers = api_instance.my_permissions_with_http_info(file_file_git_remote_href, opts)
494
+ p status_code # => 2xx
495
+ p headers # => { ... }
496
+ p data # => <MyPermissionsResponse>
497
+ rescue PulpFileClient::ApiError => e
498
+ puts "Error when calling RemotesGitApi->my_permissions_with_http_info: #{e}"
499
+ end
500
+ ```
501
+
502
+ ### Parameters
503
+
504
+ | Name | Type | Description | Notes |
505
+ | ---- | ---- | ----------- | ----- |
506
+ | **file_file_git_remote_href** | **String** | | |
507
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
508
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
509
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
510
+
511
+ ### Return type
512
+
513
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
514
+
515
+ ### Authorization
516
+
517
+ [basicAuth](../README.md#basicAuth)
518
+
519
+ ### HTTP request headers
520
+
521
+ - **Content-Type**: Not defined
522
+ - **Accept**: application/json
523
+
524
+
525
+ ## partial_update
526
+
527
+ > <FileFileGitRemoteResponse> partial_update(file_file_git_remote_href, patchedfile_file_git_remote, opts)
528
+
529
+ Update a file git remote
530
+
531
+ Update the entity partially and trigger an asynchronous task if necessary
532
+
533
+ ### Examples
534
+
535
+ ```ruby
536
+ require 'time'
537
+ require 'pulp_file_client'
538
+ # setup authorization
539
+ PulpFileClient.configure do |config|
540
+ # Configure HTTP basic authorization: basicAuth
541
+ config.username = 'YOUR USERNAME'
542
+ config.password = 'YOUR PASSWORD'
543
+ end
544
+
545
+ api_instance = PulpFileClient::RemotesGitApi.new
546
+ file_file_git_remote_href = 'file_file_git_remote_href_example' # String |
547
+ patchedfile_file_git_remote = PulpFileClient::PatchedfileFileGitRemote.new # PatchedfileFileGitRemote |
548
+ opts = {
549
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
550
+ }
551
+
552
+ begin
553
+ # Update a file git remote
554
+ result = api_instance.partial_update(file_file_git_remote_href, patchedfile_file_git_remote, opts)
555
+ p result
556
+ rescue PulpFileClient::ApiError => e
557
+ puts "Error when calling RemotesGitApi->partial_update: #{e}"
558
+ end
559
+ ```
560
+
561
+ #### Using the partial_update_with_http_info variant
562
+
563
+ This returns an Array which contains the response data, status code and headers.
564
+
565
+ > <Array(<FileFileGitRemoteResponse>, Integer, Hash)> partial_update_with_http_info(file_file_git_remote_href, patchedfile_file_git_remote, opts)
566
+
567
+ ```ruby
568
+ begin
569
+ # Update a file git remote
570
+ data, status_code, headers = api_instance.partial_update_with_http_info(file_file_git_remote_href, patchedfile_file_git_remote, opts)
571
+ p status_code # => 2xx
572
+ p headers # => { ... }
573
+ p data # => <FileFileGitRemoteResponse>
574
+ rescue PulpFileClient::ApiError => e
575
+ puts "Error when calling RemotesGitApi->partial_update_with_http_info: #{e}"
576
+ end
577
+ ```
578
+
579
+ ### Parameters
580
+
581
+ | Name | Type | Description | Notes |
582
+ | ---- | ---- | ----------- | ----- |
583
+ | **file_file_git_remote_href** | **String** | | |
584
+ | **patchedfile_file_git_remote** | [**PatchedfileFileGitRemote**](PatchedfileFileGitRemote.md) | | |
585
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
586
+
587
+ ### Return type
588
+
589
+ [**FileFileGitRemoteResponse**](FileFileGitRemoteResponse.md)
590
+
591
+ ### Authorization
592
+
593
+ [basicAuth](../README.md#basicAuth)
594
+
595
+ ### HTTP request headers
596
+
597
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
598
+ - **Accept**: application/json
599
+
600
+
601
+ ## read
602
+
603
+ > <FileFileGitRemoteResponse> read(file_file_git_remote_href, opts)
604
+
605
+ Inspect a file git remote
606
+
607
+ FileGitRemote represents a Git repository as an external source of File Content. The target url of a FileGitRemote must point to a Git repository. Syncing will perform a bare clone and extract file metadata from the specified git ref.
608
+
609
+ ### Examples
610
+
611
+ ```ruby
612
+ require 'time'
613
+ require 'pulp_file_client'
614
+ # setup authorization
615
+ PulpFileClient.configure do |config|
616
+ # Configure HTTP basic authorization: basicAuth
617
+ config.username = 'YOUR USERNAME'
618
+ config.password = 'YOUR PASSWORD'
619
+ end
620
+
621
+ api_instance = PulpFileClient::RemotesGitApi.new
622
+ file_file_git_remote_href = 'file_file_git_remote_href_example' # String |
623
+ opts = {
624
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
625
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
626
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
627
+ }
628
+
629
+ begin
630
+ # Inspect a file git remote
631
+ result = api_instance.read(file_file_git_remote_href, opts)
632
+ p result
633
+ rescue PulpFileClient::ApiError => e
634
+ puts "Error when calling RemotesGitApi->read: #{e}"
635
+ end
636
+ ```
637
+
638
+ #### Using the read_with_http_info variant
639
+
640
+ This returns an Array which contains the response data, status code and headers.
641
+
642
+ > <Array(<FileFileGitRemoteResponse>, Integer, Hash)> read_with_http_info(file_file_git_remote_href, opts)
643
+
644
+ ```ruby
645
+ begin
646
+ # Inspect a file git remote
647
+ data, status_code, headers = api_instance.read_with_http_info(file_file_git_remote_href, opts)
648
+ p status_code # => 2xx
649
+ p headers # => { ... }
650
+ p data # => <FileFileGitRemoteResponse>
651
+ rescue PulpFileClient::ApiError => e
652
+ puts "Error when calling RemotesGitApi->read_with_http_info: #{e}"
653
+ end
654
+ ```
655
+
656
+ ### Parameters
657
+
658
+ | Name | Type | Description | Notes |
659
+ | ---- | ---- | ----------- | ----- |
660
+ | **file_file_git_remote_href** | **String** | | |
661
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
662
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
663
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
664
+
665
+ ### Return type
666
+
667
+ [**FileFileGitRemoteResponse**](FileFileGitRemoteResponse.md)
668
+
669
+ ### Authorization
670
+
671
+ [basicAuth](../README.md#basicAuth)
672
+
673
+ ### HTTP request headers
674
+
675
+ - **Content-Type**: Not defined
676
+ - **Accept**: application/json
677
+
678
+
679
+ ## remove_role
680
+
681
+ > <NestedRoleResponse> remove_role(file_file_git_remote_href, nested_role, opts)
682
+
683
+ Remove a role
684
+
685
+ Remove a role for this object from users/groups.
686
+
687
+ ### Examples
688
+
689
+ ```ruby
690
+ require 'time'
691
+ require 'pulp_file_client'
692
+ # setup authorization
693
+ PulpFileClient.configure do |config|
694
+ # Configure HTTP basic authorization: basicAuth
695
+ config.username = 'YOUR USERNAME'
696
+ config.password = 'YOUR PASSWORD'
697
+ end
698
+
699
+ api_instance = PulpFileClient::RemotesGitApi.new
700
+ file_file_git_remote_href = 'file_file_git_remote_href_example' # String |
701
+ nested_role = PulpFileClient::NestedRole.new({role: 'role_example'}) # NestedRole |
702
+ opts = {
703
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
704
+ }
705
+
706
+ begin
707
+ # Remove a role
708
+ result = api_instance.remove_role(file_file_git_remote_href, nested_role, opts)
709
+ p result
710
+ rescue PulpFileClient::ApiError => e
711
+ puts "Error when calling RemotesGitApi->remove_role: #{e}"
712
+ end
713
+ ```
714
+
715
+ #### Using the remove_role_with_http_info variant
716
+
717
+ This returns an Array which contains the response data, status code and headers.
718
+
719
+ > <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(file_file_git_remote_href, nested_role, opts)
720
+
721
+ ```ruby
722
+ begin
723
+ # Remove a role
724
+ data, status_code, headers = api_instance.remove_role_with_http_info(file_file_git_remote_href, nested_role, opts)
725
+ p status_code # => 2xx
726
+ p headers # => { ... }
727
+ p data # => <NestedRoleResponse>
728
+ rescue PulpFileClient::ApiError => e
729
+ puts "Error when calling RemotesGitApi->remove_role_with_http_info: #{e}"
730
+ end
731
+ ```
732
+
733
+ ### Parameters
734
+
735
+ | Name | Type | Description | Notes |
736
+ | ---- | ---- | ----------- | ----- |
737
+ | **file_file_git_remote_href** | **String** | | |
738
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
739
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
740
+
741
+ ### Return type
742
+
743
+ [**NestedRoleResponse**](NestedRoleResponse.md)
744
+
745
+ ### Authorization
746
+
747
+ [basicAuth](../README.md#basicAuth)
748
+
749
+ ### HTTP request headers
750
+
751
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
752
+ - **Accept**: application/json
753
+
754
+
755
+ ## set_label
756
+
757
+ > <SetLabelResponse> set_label(file_file_git_remote_href, set_label, opts)
758
+
759
+ Set a label
760
+
761
+ Set a single pulp_label on the object to a specific value or null.
762
+
763
+ ### Examples
764
+
765
+ ```ruby
766
+ require 'time'
767
+ require 'pulp_file_client'
768
+ # setup authorization
769
+ PulpFileClient.configure do |config|
770
+ # Configure HTTP basic authorization: basicAuth
771
+ config.username = 'YOUR USERNAME'
772
+ config.password = 'YOUR PASSWORD'
773
+ end
774
+
775
+ api_instance = PulpFileClient::RemotesGitApi.new
776
+ file_file_git_remote_href = 'file_file_git_remote_href_example' # String |
777
+ set_label = PulpFileClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
778
+ opts = {
779
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
780
+ }
781
+
782
+ begin
783
+ # Set a label
784
+ result = api_instance.set_label(file_file_git_remote_href, set_label, opts)
785
+ p result
786
+ rescue PulpFileClient::ApiError => e
787
+ puts "Error when calling RemotesGitApi->set_label: #{e}"
788
+ end
789
+ ```
790
+
791
+ #### Using the set_label_with_http_info variant
792
+
793
+ This returns an Array which contains the response data, status code and headers.
794
+
795
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(file_file_git_remote_href, set_label, opts)
796
+
797
+ ```ruby
798
+ begin
799
+ # Set a label
800
+ data, status_code, headers = api_instance.set_label_with_http_info(file_file_git_remote_href, set_label, opts)
801
+ p status_code # => 2xx
802
+ p headers # => { ... }
803
+ p data # => <SetLabelResponse>
804
+ rescue PulpFileClient::ApiError => e
805
+ puts "Error when calling RemotesGitApi->set_label_with_http_info: #{e}"
806
+ end
807
+ ```
808
+
809
+ ### Parameters
810
+
811
+ | Name | Type | Description | Notes |
812
+ | ---- | ---- | ----------- | ----- |
813
+ | **file_file_git_remote_href** | **String** | | |
814
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
815
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
816
+
817
+ ### Return type
818
+
819
+ [**SetLabelResponse**](SetLabelResponse.md)
820
+
821
+ ### Authorization
822
+
823
+ [basicAuth](../README.md#basicAuth)
824
+
825
+ ### HTTP request headers
826
+
827
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
828
+ - **Accept**: application/json
829
+
830
+
831
+ ## unset_label
832
+
833
+ > <UnsetLabelResponse> unset_label(file_file_git_remote_href, unset_label, opts)
834
+
835
+ Unset a label
836
+
837
+ Unset a single pulp_label on the object.
838
+
839
+ ### Examples
840
+
841
+ ```ruby
842
+ require 'time'
843
+ require 'pulp_file_client'
844
+ # setup authorization
845
+ PulpFileClient.configure do |config|
846
+ # Configure HTTP basic authorization: basicAuth
847
+ config.username = 'YOUR USERNAME'
848
+ config.password = 'YOUR PASSWORD'
849
+ end
850
+
851
+ api_instance = PulpFileClient::RemotesGitApi.new
852
+ file_file_git_remote_href = 'file_file_git_remote_href_example' # String |
853
+ unset_label = PulpFileClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
854
+ opts = {
855
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
856
+ }
857
+
858
+ begin
859
+ # Unset a label
860
+ result = api_instance.unset_label(file_file_git_remote_href, unset_label, opts)
861
+ p result
862
+ rescue PulpFileClient::ApiError => e
863
+ puts "Error when calling RemotesGitApi->unset_label: #{e}"
864
+ end
865
+ ```
866
+
867
+ #### Using the unset_label_with_http_info variant
868
+
869
+ This returns an Array which contains the response data, status code and headers.
870
+
871
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(file_file_git_remote_href, unset_label, opts)
872
+
873
+ ```ruby
874
+ begin
875
+ # Unset a label
876
+ data, status_code, headers = api_instance.unset_label_with_http_info(file_file_git_remote_href, unset_label, opts)
877
+ p status_code # => 2xx
878
+ p headers # => { ... }
879
+ p data # => <UnsetLabelResponse>
880
+ rescue PulpFileClient::ApiError => e
881
+ puts "Error when calling RemotesGitApi->unset_label_with_http_info: #{e}"
882
+ end
883
+ ```
884
+
885
+ ### Parameters
886
+
887
+ | Name | Type | Description | Notes |
888
+ | ---- | ---- | ----------- | ----- |
889
+ | **file_file_git_remote_href** | **String** | | |
890
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
891
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
892
+
893
+ ### Return type
894
+
895
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
896
+
897
+ ### Authorization
898
+
899
+ [basicAuth](../README.md#basicAuth)
900
+
901
+ ### HTTP request headers
902
+
903
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
904
+ - **Accept**: application/json
905
+
906
+
907
+ ## update
908
+
909
+ > <FileFileGitRemoteResponse> update(file_file_git_remote_href, file_file_git_remote, opts)
910
+
911
+ Update a file git remote
912
+
913
+ Update the entity and trigger an asynchronous task if necessary
914
+
915
+ ### Examples
916
+
917
+ ```ruby
918
+ require 'time'
919
+ require 'pulp_file_client'
920
+ # setup authorization
921
+ PulpFileClient.configure do |config|
922
+ # Configure HTTP basic authorization: basicAuth
923
+ config.username = 'YOUR USERNAME'
924
+ config.password = 'YOUR PASSWORD'
925
+ end
926
+
927
+ api_instance = PulpFileClient::RemotesGitApi.new
928
+ file_file_git_remote_href = 'file_file_git_remote_href_example' # String |
929
+ file_file_git_remote = PulpFileClient::FileFileGitRemote.new({name: 'name_example', url: 'url_example'}) # FileFileGitRemote |
930
+ opts = {
931
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
932
+ }
933
+
934
+ begin
935
+ # Update a file git remote
936
+ result = api_instance.update(file_file_git_remote_href, file_file_git_remote, opts)
937
+ p result
938
+ rescue PulpFileClient::ApiError => e
939
+ puts "Error when calling RemotesGitApi->update: #{e}"
940
+ end
941
+ ```
942
+
943
+ #### Using the update_with_http_info variant
944
+
945
+ This returns an Array which contains the response data, status code and headers.
946
+
947
+ > <Array(<FileFileGitRemoteResponse>, Integer, Hash)> update_with_http_info(file_file_git_remote_href, file_file_git_remote, opts)
948
+
949
+ ```ruby
950
+ begin
951
+ # Update a file git remote
952
+ data, status_code, headers = api_instance.update_with_http_info(file_file_git_remote_href, file_file_git_remote, opts)
953
+ p status_code # => 2xx
954
+ p headers # => { ... }
955
+ p data # => <FileFileGitRemoteResponse>
956
+ rescue PulpFileClient::ApiError => e
957
+ puts "Error when calling RemotesGitApi->update_with_http_info: #{e}"
958
+ end
959
+ ```
960
+
961
+ ### Parameters
962
+
963
+ | Name | Type | Description | Notes |
964
+ | ---- | ---- | ----------- | ----- |
965
+ | **file_file_git_remote_href** | **String** | | |
966
+ | **file_file_git_remote** | [**FileFileGitRemote**](FileFileGitRemote.md) | | |
967
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
968
+
969
+ ### Return type
970
+
971
+ [**FileFileGitRemoteResponse**](FileFileGitRemoteResponse.md)
972
+
973
+ ### Authorization
974
+
975
+ [basicAuth](../README.md#basicAuth)
976
+
977
+ ### HTTP request headers
978
+
979
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
980
+ - **Accept**: application/json
981
+