pulp_ansible_client 0.26.0 → 0.27.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 (203) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -7
  3. data/docs/AnsibleCollectionVersionResponse.md +7 -7
  4. data/docs/AnsibleCollectionsApi.md +26 -8
  5. data/docs/AnsibleCopyApi.md +8 -4
  6. data/docs/AnsibleGitRemote.md +26 -26
  7. data/docs/AnsibleGitRemoteResponse.md +30 -30
  8. data/docs/AnsibleRole.md +2 -2
  9. data/docs/AnsibleRoleResponse.md +6 -6
  10. data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +10 -4
  11. data/docs/ApiRolesApi.md +2 -0
  12. data/docs/CollectionImportApi.md +2 -0
  13. data/docs/CollectionMetadataResponse.md +1 -1
  14. data/docs/CollectionSummaryResponse.md +1 -1
  15. data/docs/CollectionSummaryResponseTagsInner.md +18 -0
  16. data/docs/ContentCollectionDeprecationsApi.md +28 -12
  17. data/docs/ContentCollectionMarksApi.md +28 -12
  18. data/docs/ContentCollectionSignaturesApi.md +22 -8
  19. data/docs/ContentCollectionVersionsApi.md +32 -18
  20. data/docs/ContentNamespacesApi.md +22 -8
  21. data/docs/ContentRolesApi.md +28 -12
  22. data/docs/DistributionsAnsibleApi.md +72 -32
  23. data/docs/PatchedansibleGitRemote.md +26 -26
  24. data/docs/PulpAnsibleApiApi.md +2 -0
  25. data/docs/PulpAnsibleApiV3Api.md +2 -0
  26. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +2 -0
  27. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +2 -0
  28. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
  29. data/docs/PulpAnsibleApiV3CollectionsApi.md +20 -8
  30. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +14 -6
  31. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +2 -0
  32. data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -0
  33. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +2 -0
  34. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
  35. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
  36. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +2 -0
  37. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
  38. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
  39. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -6
  40. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
  41. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +16 -4
  42. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +8 -0
  43. data/docs/PulpAnsibleDefaultApiApi.md +14 -5
  44. data/docs/PulpAnsibleDefaultApiV3Api.md +14 -5
  45. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +2 -0
  46. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +14 -5
  47. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
  48. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +20 -8
  49. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +14 -6
  50. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +2 -0
  51. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -0
  52. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +14 -5
  53. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
  54. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
  55. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +2 -0
  56. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
  57. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
  58. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -6
  59. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
  60. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +16 -4
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +10 -4
  62. data/docs/PulpAnsibleTagsApi.md +6 -4
  63. data/docs/RemotesCollectionApi.md +72 -32
  64. data/docs/RemotesGitApi.md +72 -32
  65. data/docs/RemotesRoleApi.md +72 -32
  66. data/docs/RepositoriesAnsibleApi.md +136 -64
  67. data/docs/RepositoriesAnsibleVersionsApi.md +28 -12
  68. data/docs/VersionsApi.md +2 -0
  69. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +21 -0
  70. data/lib/pulp_ansible_client/api/ansible_copy_api.rb +3 -0
  71. data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +6 -0
  72. data/lib/pulp_ansible_client/api/api_roles_api.rb +3 -0
  73. data/lib/pulp_ansible_client/api/collection_import_api.rb +3 -0
  74. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +15 -0
  75. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +15 -0
  76. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -0
  77. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +30 -15
  78. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +15 -0
  79. data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -0
  80. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +36 -0
  81. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +3 -0
  82. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -0
  83. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +3 -0
  84. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -0
  85. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
  86. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +12 -0
  87. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +12 -3
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -0
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +6 -0
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +3 -0
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
  92. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
  93. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +3 -0
  94. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
  95. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
  96. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -3
  97. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
  98. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
  99. data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +12 -0
  100. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +9 -0
  101. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +9 -0
  102. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +3 -0
  103. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +9 -0
  104. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
  105. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +12 -0
  106. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +12 -3
  107. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +3 -0
  108. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +6 -0
  109. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +9 -0
  110. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
  111. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
  112. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +3 -0
  113. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
  114. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
  115. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -3
  116. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
  117. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
  118. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +6 -0
  119. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +5 -2
  120. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +36 -0
  121. data/lib/pulp_ansible_client/api/remotes_git_api.rb +36 -0
  122. data/lib/pulp_ansible_client/api/remotes_role_api.rb +36 -0
  123. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +60 -0
  124. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +15 -0
  125. data/lib/pulp_ansible_client/api/versions_api.rb +3 -0
  126. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +26 -26
  127. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +224 -224
  128. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +167 -167
  129. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  130. data/lib/pulp_ansible_client/models/ansible_role_response.rb +27 -27
  131. data/lib/pulp_ansible_client/models/collection_metadata_response.rb +0 -7
  132. data/lib/pulp_ansible_client/models/collection_summary_response.rb +1 -1
  133. data/lib/pulp_ansible_client/models/{ansible_tag_response.rb → collection_summary_response_tags_inner.rb} +3 -5
  134. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
  135. data/lib/pulp_ansible_client/models/tag_response.rb +1 -1
  136. data/lib/pulp_ansible_client/version.rb +1 -1
  137. data/lib/pulp_ansible_client.rb +1 -1
  138. data/spec/api/ansible_collections_api_spec.rb +7 -0
  139. data/spec/api/ansible_copy_api_spec.rb +1 -0
  140. data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
  141. data/spec/api/api_roles_api_spec.rb +1 -0
  142. data/spec/api/collection_import_api_spec.rb +1 -0
  143. data/spec/api/content_collection_deprecations_api_spec.rb +5 -0
  144. data/spec/api/content_collection_marks_api_spec.rb +5 -0
  145. data/spec/api/content_collection_signatures_api_spec.rb +5 -0
  146. data/spec/api/content_collection_versions_api_spec.rb +10 -5
  147. data/spec/api/content_namespaces_api_spec.rb +5 -0
  148. data/spec/api/content_roles_api_spec.rb +5 -0
  149. data/spec/api/distributions_ansible_api_spec.rb +12 -0
  150. data/spec/api/pulp_ansible_api_api_spec.rb +1 -0
  151. data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -0
  152. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +1 -0
  153. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -0
  154. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
  155. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -0
  156. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -1
  157. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
  158. data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -0
  159. data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +1 -0
  160. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
  161. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
  162. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
  163. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
  164. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
  165. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -1
  166. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
  167. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
  168. data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +4 -0
  169. data/spec/api/pulp_ansible_default_api_api_spec.rb +3 -0
  170. data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +3 -0
  171. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +1 -0
  172. data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +3 -0
  173. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
  174. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -0
  175. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -1
  176. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
  177. data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -0
  178. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -0
  179. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
  180. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
  181. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
  182. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
  183. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
  184. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -1
  185. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
  186. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
  187. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
  188. data/spec/api/pulp_ansible_tags_api_spec.rb +2 -1
  189. data/spec/api/remotes_collection_api_spec.rb +12 -0
  190. data/spec/api/remotes_git_api_spec.rb +12 -0
  191. data/spec/api/remotes_role_api_spec.rb +12 -0
  192. data/spec/api/repositories_ansible_api_spec.rb +20 -0
  193. data/spec/api/repositories_ansible_versions_api_spec.rb +5 -0
  194. data/spec/api/versions_api_spec.rb +1 -0
  195. data/spec/models/ansible_collection_version_response_spec.rb +5 -5
  196. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  197. data/spec/models/ansible_git_remote_spec.rb +19 -19
  198. data/spec/models/ansible_role_response_spec.rb +5 -5
  199. data/spec/models/ansible_role_spec.rb +3 -3
  200. data/spec/models/{ansible_tag_response_spec.rb → collection_summary_response_tags_inner_spec.rb} +6 -6
  201. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  202. metadata +124 -124
  203. data/docs/AnsibleTagResponse.md +0 -18
@@ -24,6 +24,7 @@ module PulpAnsibleClient
24
24
  # @param ansible_collection_remote_href [String]
25
25
  # @param nested_role [NestedRole]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
28
  # @return [NestedRoleResponse]
28
29
  def add_role(ansible_collection_remote_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(ansible_collection_remote_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpAnsibleClient
35
36
  # @param ansible_collection_remote_href [String]
36
37
  # @param nested_role [NestedRole]
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
38
40
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
39
41
  def add_role_with_http_info(ansible_collection_remote_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpAnsibleClient
63
65
  if !content_type.nil?
64
66
  header_params['Content-Type'] = content_type
65
67
  end
68
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
66
69
 
67
70
  # form parameters
68
71
  form_params = opts[:form_params] || {}
@@ -97,6 +100,7 @@ module PulpAnsibleClient
97
100
  # ViewSet for Collection Remotes.
98
101
  # @param ansible_collection_remote [AnsibleCollectionRemote]
99
102
  # @param [Hash] opts the optional parameters
103
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
100
104
  # @return [AnsibleCollectionRemoteResponse]
101
105
  def create(ansible_collection_remote, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(ansible_collection_remote, opts)
@@ -107,6 +111,7 @@ module PulpAnsibleClient
107
111
  # ViewSet for Collection Remotes.
108
112
  # @param ansible_collection_remote [AnsibleCollectionRemote]
109
113
  # @param [Hash] opts the optional parameters
114
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
110
115
  # @return [Array<(AnsibleCollectionRemoteResponse, Integer, Hash)>] AnsibleCollectionRemoteResponse data, response status code and response headers
111
116
  def create_with_http_info(ansible_collection_remote, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpAnsibleClient
131
136
  if !content_type.nil?
132
137
  header_params['Content-Type'] = content_type
133
138
  end
139
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
134
140
 
135
141
  # form parameters
136
142
  form_params = opts[:form_params] || {}
@@ -165,6 +171,7 @@ module PulpAnsibleClient
165
171
  # Trigger an asynchronous delete task
166
172
  # @param ansible_collection_remote_href [String]
167
173
  # @param [Hash] opts the optional parameters
174
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
168
175
  # @return [AsyncOperationResponse]
169
176
  def delete(ansible_collection_remote_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(ansible_collection_remote_href, opts)
@@ -175,6 +182,7 @@ module PulpAnsibleClient
175
182
  # Trigger an asynchronous delete task
176
183
  # @param ansible_collection_remote_href [String]
177
184
  # @param [Hash] opts the optional parameters
185
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
178
186
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
179
187
  def delete_with_http_info(ansible_collection_remote_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -194,6 +202,7 @@ module PulpAnsibleClient
194
202
  header_params = opts[:header_params] || {}
195
203
  # HTTP header 'Accept' (if needed)
196
204
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
205
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
197
206
 
198
207
  # form parameters
199
208
  form_params = opts[:form_params] || {}
@@ -227,6 +236,7 @@ module PulpAnsibleClient
227
236
  # List collection remotes
228
237
  # ViewSet for Collection Remotes.
229
238
  # @param [Hash] opts the optional parameters
239
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
230
240
  # @option opts [Integer] :limit Number of results to return per page.
231
241
  # @option opts [String] :name Filter results where name matches value
232
242
  # @option opts [String] :name__contains Filter results where name contains value
@@ -266,6 +276,7 @@ module PulpAnsibleClient
266
276
  # List collection remotes
267
277
  # ViewSet for Collection Remotes.
268
278
  # @param [Hash] opts the optional parameters
279
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
269
280
  # @option opts [Integer] :limit Number of results to return per page.
270
281
  # @option opts [String] :name Filter results where name matches value
271
282
  # @option opts [String] :name__contains Filter results where name contains value
@@ -345,6 +356,7 @@ module PulpAnsibleClient
345
356
  header_params = opts[:header_params] || {}
346
357
  # HTTP header 'Accept' (if needed)
347
358
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
359
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
348
360
 
349
361
  # form parameters
350
362
  form_params = opts[:form_params] || {}
@@ -379,6 +391,7 @@ module PulpAnsibleClient
379
391
  # List roles assigned to this object.
380
392
  # @param ansible_collection_remote_href [String]
381
393
  # @param [Hash] opts the optional parameters
394
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
382
395
  # @option opts [Array<String>] :fields A list of fields to include in the response.
383
396
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
384
397
  # @return [ObjectRolesResponse]
@@ -391,6 +404,7 @@ module PulpAnsibleClient
391
404
  # List roles assigned to this object.
392
405
  # @param ansible_collection_remote_href [String]
393
406
  # @param [Hash] opts the optional parameters
407
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
394
408
  # @option opts [Array<String>] :fields A list of fields to include in the response.
395
409
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
396
410
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -414,6 +428,7 @@ module PulpAnsibleClient
414
428
  header_params = opts[:header_params] || {}
415
429
  # HTTP header 'Accept' (if needed)
416
430
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
431
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
417
432
 
418
433
  # form parameters
419
434
  form_params = opts[:form_params] || {}
@@ -448,6 +463,7 @@ module PulpAnsibleClient
448
463
  # List permissions available to the current user on this object.
449
464
  # @param ansible_collection_remote_href [String]
450
465
  # @param [Hash] opts the optional parameters
466
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
451
467
  # @option opts [Array<String>] :fields A list of fields to include in the response.
452
468
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
453
469
  # @return [MyPermissionsResponse]
@@ -460,6 +476,7 @@ module PulpAnsibleClient
460
476
  # List permissions available to the current user on this object.
461
477
  # @param ansible_collection_remote_href [String]
462
478
  # @param [Hash] opts the optional parameters
479
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
463
480
  # @option opts [Array<String>] :fields A list of fields to include in the response.
464
481
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
465
482
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -483,6 +500,7 @@ module PulpAnsibleClient
483
500
  header_params = opts[:header_params] || {}
484
501
  # HTTP header 'Accept' (if needed)
485
502
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
503
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
486
504
 
487
505
  # form parameters
488
506
  form_params = opts[:form_params] || {}
@@ -518,6 +536,7 @@ module PulpAnsibleClient
518
536
  # @param ansible_collection_remote_href [String]
519
537
  # @param patchedansible_collection_remote [PatchedansibleCollectionRemote]
520
538
  # @param [Hash] opts the optional parameters
539
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
521
540
  # @return [AsyncOperationResponse]
522
541
  def partial_update(ansible_collection_remote_href, patchedansible_collection_remote, opts = {})
523
542
  data, _status_code, _headers = partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote, opts)
@@ -529,6 +548,7 @@ module PulpAnsibleClient
529
548
  # @param ansible_collection_remote_href [String]
530
549
  # @param patchedansible_collection_remote [PatchedansibleCollectionRemote]
531
550
  # @param [Hash] opts the optional parameters
551
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
532
552
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
533
553
  def partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote, opts = {})
534
554
  if @api_client.config.debugging
@@ -557,6 +577,7 @@ module PulpAnsibleClient
557
577
  if !content_type.nil?
558
578
  header_params['Content-Type'] = content_type
559
579
  end
580
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
560
581
 
561
582
  # form parameters
562
583
  form_params = opts[:form_params] || {}
@@ -591,6 +612,7 @@ module PulpAnsibleClient
591
612
  # ViewSet for Collection Remotes.
592
613
  # @param ansible_collection_remote_href [String]
593
614
  # @param [Hash] opts the optional parameters
615
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
594
616
  # @option opts [Array<String>] :fields A list of fields to include in the response.
595
617
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
596
618
  # @return [AnsibleCollectionRemoteResponse]
@@ -603,6 +625,7 @@ module PulpAnsibleClient
603
625
  # ViewSet for Collection Remotes.
604
626
  # @param ansible_collection_remote_href [String]
605
627
  # @param [Hash] opts the optional parameters
628
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
606
629
  # @option opts [Array<String>] :fields A list of fields to include in the response.
607
630
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
608
631
  # @return [Array<(AnsibleCollectionRemoteResponse, Integer, Hash)>] AnsibleCollectionRemoteResponse data, response status code and response headers
@@ -626,6 +649,7 @@ module PulpAnsibleClient
626
649
  header_params = opts[:header_params] || {}
627
650
  # HTTP header 'Accept' (if needed)
628
651
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
652
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
629
653
 
630
654
  # form parameters
631
655
  form_params = opts[:form_params] || {}
@@ -661,6 +685,7 @@ module PulpAnsibleClient
661
685
  # @param ansible_collection_remote_href [String]
662
686
  # @param nested_role [NestedRole]
663
687
  # @param [Hash] opts the optional parameters
688
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
664
689
  # @return [NestedRoleResponse]
665
690
  def remove_role(ansible_collection_remote_href, nested_role, opts = {})
666
691
  data, _status_code, _headers = remove_role_with_http_info(ansible_collection_remote_href, nested_role, opts)
@@ -672,6 +697,7 @@ module PulpAnsibleClient
672
697
  # @param ansible_collection_remote_href [String]
673
698
  # @param nested_role [NestedRole]
674
699
  # @param [Hash] opts the optional parameters
700
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
675
701
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
676
702
  def remove_role_with_http_info(ansible_collection_remote_href, nested_role, opts = {})
677
703
  if @api_client.config.debugging
@@ -700,6 +726,7 @@ module PulpAnsibleClient
700
726
  if !content_type.nil?
701
727
  header_params['Content-Type'] = content_type
702
728
  end
729
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
703
730
 
704
731
  # form parameters
705
732
  form_params = opts[:form_params] || {}
@@ -735,6 +762,7 @@ module PulpAnsibleClient
735
762
  # @param ansible_collection_remote_href [String]
736
763
  # @param set_label [SetLabel]
737
764
  # @param [Hash] opts the optional parameters
765
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
738
766
  # @return [SetLabelResponse]
739
767
  def set_label(ansible_collection_remote_href, set_label, opts = {})
740
768
  data, _status_code, _headers = set_label_with_http_info(ansible_collection_remote_href, set_label, opts)
@@ -746,6 +774,7 @@ module PulpAnsibleClient
746
774
  # @param ansible_collection_remote_href [String]
747
775
  # @param set_label [SetLabel]
748
776
  # @param [Hash] opts the optional parameters
777
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
749
778
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
750
779
  def set_label_with_http_info(ansible_collection_remote_href, set_label, opts = {})
751
780
  if @api_client.config.debugging
@@ -774,6 +803,7 @@ module PulpAnsibleClient
774
803
  if !content_type.nil?
775
804
  header_params['Content-Type'] = content_type
776
805
  end
806
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
777
807
 
778
808
  # form parameters
779
809
  form_params = opts[:form_params] || {}
@@ -809,6 +839,7 @@ module PulpAnsibleClient
809
839
  # @param ansible_collection_remote_href [String]
810
840
  # @param unset_label [UnsetLabel]
811
841
  # @param [Hash] opts the optional parameters
842
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
812
843
  # @return [UnsetLabelResponse]
813
844
  def unset_label(ansible_collection_remote_href, unset_label, opts = {})
814
845
  data, _status_code, _headers = unset_label_with_http_info(ansible_collection_remote_href, unset_label, opts)
@@ -820,6 +851,7 @@ module PulpAnsibleClient
820
851
  # @param ansible_collection_remote_href [String]
821
852
  # @param unset_label [UnsetLabel]
822
853
  # @param [Hash] opts the optional parameters
854
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
823
855
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
824
856
  def unset_label_with_http_info(ansible_collection_remote_href, unset_label, opts = {})
825
857
  if @api_client.config.debugging
@@ -848,6 +880,7 @@ module PulpAnsibleClient
848
880
  if !content_type.nil?
849
881
  header_params['Content-Type'] = content_type
850
882
  end
883
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
851
884
 
852
885
  # form parameters
853
886
  form_params = opts[:form_params] || {}
@@ -883,6 +916,7 @@ module PulpAnsibleClient
883
916
  # @param ansible_collection_remote_href [String]
884
917
  # @param ansible_collection_remote [AnsibleCollectionRemote]
885
918
  # @param [Hash] opts the optional parameters
919
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
886
920
  # @return [AsyncOperationResponse]
887
921
  def update(ansible_collection_remote_href, ansible_collection_remote, opts = {})
888
922
  data, _status_code, _headers = update_with_http_info(ansible_collection_remote_href, ansible_collection_remote, opts)
@@ -894,6 +928,7 @@ module PulpAnsibleClient
894
928
  # @param ansible_collection_remote_href [String]
895
929
  # @param ansible_collection_remote [AnsibleCollectionRemote]
896
930
  # @param [Hash] opts the optional parameters
931
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
897
932
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
898
933
  def update_with_http_info(ansible_collection_remote_href, ansible_collection_remote, opts = {})
899
934
  if @api_client.config.debugging
@@ -922,6 +957,7 @@ module PulpAnsibleClient
922
957
  if !content_type.nil?
923
958
  header_params['Content-Type'] = content_type
924
959
  end
960
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
925
961
 
926
962
  # form parameters
927
963
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpAnsibleClient
24
24
  # @param ansible_git_remote_href [String]
25
25
  # @param nested_role [NestedRole]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
28
  # @return [NestedRoleResponse]
28
29
  def add_role(ansible_git_remote_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(ansible_git_remote_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpAnsibleClient
35
36
  # @param ansible_git_remote_href [String]
36
37
  # @param nested_role [NestedRole]
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
38
40
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
39
41
  def add_role_with_http_info(ansible_git_remote_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpAnsibleClient
63
65
  if !content_type.nil?
64
66
  header_params['Content-Type'] = content_type
65
67
  end
68
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
66
69
 
67
70
  # form parameters
68
71
  form_params = opts[:form_params] || {}
@@ -97,6 +100,7 @@ module PulpAnsibleClient
97
100
  # ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
98
101
  # @param ansible_git_remote [AnsibleGitRemote]
99
102
  # @param [Hash] opts the optional parameters
103
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
100
104
  # @return [AnsibleGitRemoteResponse]
101
105
  def create(ansible_git_remote, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(ansible_git_remote, opts)
@@ -107,6 +111,7 @@ module PulpAnsibleClient
107
111
  # ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
108
112
  # @param ansible_git_remote [AnsibleGitRemote]
109
113
  # @param [Hash] opts the optional parameters
114
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
110
115
  # @return [Array<(AnsibleGitRemoteResponse, Integer, Hash)>] AnsibleGitRemoteResponse data, response status code and response headers
111
116
  def create_with_http_info(ansible_git_remote, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpAnsibleClient
131
136
  if !content_type.nil?
132
137
  header_params['Content-Type'] = content_type
133
138
  end
139
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
134
140
 
135
141
  # form parameters
136
142
  form_params = opts[:form_params] || {}
@@ -165,6 +171,7 @@ module PulpAnsibleClient
165
171
  # Trigger an asynchronous delete task
166
172
  # @param ansible_git_remote_href [String]
167
173
  # @param [Hash] opts the optional parameters
174
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
168
175
  # @return [AsyncOperationResponse]
169
176
  def delete(ansible_git_remote_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(ansible_git_remote_href, opts)
@@ -175,6 +182,7 @@ module PulpAnsibleClient
175
182
  # Trigger an asynchronous delete task
176
183
  # @param ansible_git_remote_href [String]
177
184
  # @param [Hash] opts the optional parameters
185
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
178
186
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
179
187
  def delete_with_http_info(ansible_git_remote_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -194,6 +202,7 @@ module PulpAnsibleClient
194
202
  header_params = opts[:header_params] || {}
195
203
  # HTTP header 'Accept' (if needed)
196
204
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
205
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
197
206
 
198
207
  # form parameters
199
208
  form_params = opts[:form_params] || {}
@@ -227,6 +236,7 @@ module PulpAnsibleClient
227
236
  # List git remotes
228
237
  # ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
229
238
  # @param [Hash] opts the optional parameters
239
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
230
240
  # @option opts [Integer] :limit Number of results to return per page.
231
241
  # @option opts [String] :name Filter results where name matches value
232
242
  # @option opts [String] :name__contains Filter results where name contains value
@@ -262,6 +272,7 @@ module PulpAnsibleClient
262
272
  # List git remotes
263
273
  # ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
264
274
  # @param [Hash] opts the optional parameters
275
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
265
276
  # @option opts [Integer] :limit Number of results to return per page.
266
277
  # @option opts [String] :name Filter results where name matches value
267
278
  # @option opts [String] :name__contains Filter results where name contains value
@@ -333,6 +344,7 @@ module PulpAnsibleClient
333
344
  header_params = opts[:header_params] || {}
334
345
  # HTTP header 'Accept' (if needed)
335
346
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
347
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
336
348
 
337
349
  # form parameters
338
350
  form_params = opts[:form_params] || {}
@@ -367,6 +379,7 @@ module PulpAnsibleClient
367
379
  # List roles assigned to this object.
368
380
  # @param ansible_git_remote_href [String]
369
381
  # @param [Hash] opts the optional parameters
382
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
370
383
  # @option opts [Array<String>] :fields A list of fields to include in the response.
371
384
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
372
385
  # @return [ObjectRolesResponse]
@@ -379,6 +392,7 @@ module PulpAnsibleClient
379
392
  # List roles assigned to this object.
380
393
  # @param ansible_git_remote_href [String]
381
394
  # @param [Hash] opts the optional parameters
395
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
382
396
  # @option opts [Array<String>] :fields A list of fields to include in the response.
383
397
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
384
398
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -402,6 +416,7 @@ module PulpAnsibleClient
402
416
  header_params = opts[:header_params] || {}
403
417
  # HTTP header 'Accept' (if needed)
404
418
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
419
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
405
420
 
406
421
  # form parameters
407
422
  form_params = opts[:form_params] || {}
@@ -436,6 +451,7 @@ module PulpAnsibleClient
436
451
  # List permissions available to the current user on this object.
437
452
  # @param ansible_git_remote_href [String]
438
453
  # @param [Hash] opts the optional parameters
454
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
439
455
  # @option opts [Array<String>] :fields A list of fields to include in the response.
440
456
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
441
457
  # @return [MyPermissionsResponse]
@@ -448,6 +464,7 @@ module PulpAnsibleClient
448
464
  # List permissions available to the current user on this object.
449
465
  # @param ansible_git_remote_href [String]
450
466
  # @param [Hash] opts the optional parameters
467
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
451
468
  # @option opts [Array<String>] :fields A list of fields to include in the response.
452
469
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
453
470
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -471,6 +488,7 @@ module PulpAnsibleClient
471
488
  header_params = opts[:header_params] || {}
472
489
  # HTTP header 'Accept' (if needed)
473
490
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
491
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
474
492
 
475
493
  # form parameters
476
494
  form_params = opts[:form_params] || {}
@@ -506,6 +524,7 @@ module PulpAnsibleClient
506
524
  # @param ansible_git_remote_href [String]
507
525
  # @param patchedansible_git_remote [PatchedansibleGitRemote]
508
526
  # @param [Hash] opts the optional parameters
527
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
509
528
  # @return [AsyncOperationResponse]
510
529
  def partial_update(ansible_git_remote_href, patchedansible_git_remote, opts = {})
511
530
  data, _status_code, _headers = partial_update_with_http_info(ansible_git_remote_href, patchedansible_git_remote, opts)
@@ -517,6 +536,7 @@ module PulpAnsibleClient
517
536
  # @param ansible_git_remote_href [String]
518
537
  # @param patchedansible_git_remote [PatchedansibleGitRemote]
519
538
  # @param [Hash] opts the optional parameters
539
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
520
540
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
521
541
  def partial_update_with_http_info(ansible_git_remote_href, patchedansible_git_remote, opts = {})
522
542
  if @api_client.config.debugging
@@ -545,6 +565,7 @@ module PulpAnsibleClient
545
565
  if !content_type.nil?
546
566
  header_params['Content-Type'] = content_type
547
567
  end
568
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
548
569
 
549
570
  # form parameters
550
571
  form_params = opts[:form_params] || {}
@@ -579,6 +600,7 @@ module PulpAnsibleClient
579
600
  # ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
580
601
  # @param ansible_git_remote_href [String]
581
602
  # @param [Hash] opts the optional parameters
603
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
582
604
  # @option opts [Array<String>] :fields A list of fields to include in the response.
583
605
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
584
606
  # @return [AnsibleGitRemoteResponse]
@@ -591,6 +613,7 @@ module PulpAnsibleClient
591
613
  # ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
592
614
  # @param ansible_git_remote_href [String]
593
615
  # @param [Hash] opts the optional parameters
616
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
594
617
  # @option opts [Array<String>] :fields A list of fields to include in the response.
595
618
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
596
619
  # @return [Array<(AnsibleGitRemoteResponse, Integer, Hash)>] AnsibleGitRemoteResponse data, response status code and response headers
@@ -614,6 +637,7 @@ module PulpAnsibleClient
614
637
  header_params = opts[:header_params] || {}
615
638
  # HTTP header 'Accept' (if needed)
616
639
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
640
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
617
641
 
618
642
  # form parameters
619
643
  form_params = opts[:form_params] || {}
@@ -649,6 +673,7 @@ module PulpAnsibleClient
649
673
  # @param ansible_git_remote_href [String]
650
674
  # @param nested_role [NestedRole]
651
675
  # @param [Hash] opts the optional parameters
676
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
652
677
  # @return [NestedRoleResponse]
653
678
  def remove_role(ansible_git_remote_href, nested_role, opts = {})
654
679
  data, _status_code, _headers = remove_role_with_http_info(ansible_git_remote_href, nested_role, opts)
@@ -660,6 +685,7 @@ module PulpAnsibleClient
660
685
  # @param ansible_git_remote_href [String]
661
686
  # @param nested_role [NestedRole]
662
687
  # @param [Hash] opts the optional parameters
688
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
663
689
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
664
690
  def remove_role_with_http_info(ansible_git_remote_href, nested_role, opts = {})
665
691
  if @api_client.config.debugging
@@ -688,6 +714,7 @@ module PulpAnsibleClient
688
714
  if !content_type.nil?
689
715
  header_params['Content-Type'] = content_type
690
716
  end
717
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
691
718
 
692
719
  # form parameters
693
720
  form_params = opts[:form_params] || {}
@@ -723,6 +750,7 @@ module PulpAnsibleClient
723
750
  # @param ansible_git_remote_href [String]
724
751
  # @param set_label [SetLabel]
725
752
  # @param [Hash] opts the optional parameters
753
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
726
754
  # @return [SetLabelResponse]
727
755
  def set_label(ansible_git_remote_href, set_label, opts = {})
728
756
  data, _status_code, _headers = set_label_with_http_info(ansible_git_remote_href, set_label, opts)
@@ -734,6 +762,7 @@ module PulpAnsibleClient
734
762
  # @param ansible_git_remote_href [String]
735
763
  # @param set_label [SetLabel]
736
764
  # @param [Hash] opts the optional parameters
765
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
737
766
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
738
767
  def set_label_with_http_info(ansible_git_remote_href, set_label, opts = {})
739
768
  if @api_client.config.debugging
@@ -762,6 +791,7 @@ module PulpAnsibleClient
762
791
  if !content_type.nil?
763
792
  header_params['Content-Type'] = content_type
764
793
  end
794
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
765
795
 
766
796
  # form parameters
767
797
  form_params = opts[:form_params] || {}
@@ -797,6 +827,7 @@ module PulpAnsibleClient
797
827
  # @param ansible_git_remote_href [String]
798
828
  # @param unset_label [UnsetLabel]
799
829
  # @param [Hash] opts the optional parameters
830
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
800
831
  # @return [UnsetLabelResponse]
801
832
  def unset_label(ansible_git_remote_href, unset_label, opts = {})
802
833
  data, _status_code, _headers = unset_label_with_http_info(ansible_git_remote_href, unset_label, opts)
@@ -808,6 +839,7 @@ module PulpAnsibleClient
808
839
  # @param ansible_git_remote_href [String]
809
840
  # @param unset_label [UnsetLabel]
810
841
  # @param [Hash] opts the optional parameters
842
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
811
843
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
812
844
  def unset_label_with_http_info(ansible_git_remote_href, unset_label, opts = {})
813
845
  if @api_client.config.debugging
@@ -836,6 +868,7 @@ module PulpAnsibleClient
836
868
  if !content_type.nil?
837
869
  header_params['Content-Type'] = content_type
838
870
  end
871
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
839
872
 
840
873
  # form parameters
841
874
  form_params = opts[:form_params] || {}
@@ -871,6 +904,7 @@ module PulpAnsibleClient
871
904
  # @param ansible_git_remote_href [String]
872
905
  # @param ansible_git_remote [AnsibleGitRemote]
873
906
  # @param [Hash] opts the optional parameters
907
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
874
908
  # @return [AsyncOperationResponse]
875
909
  def update(ansible_git_remote_href, ansible_git_remote, opts = {})
876
910
  data, _status_code, _headers = update_with_http_info(ansible_git_remote_href, ansible_git_remote, opts)
@@ -882,6 +916,7 @@ module PulpAnsibleClient
882
916
  # @param ansible_git_remote_href [String]
883
917
  # @param ansible_git_remote [AnsibleGitRemote]
884
918
  # @param [Hash] opts the optional parameters
919
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
885
920
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
886
921
  def update_with_http_info(ansible_git_remote_href, ansible_git_remote, opts = {})
887
922
  if @api_client.config.debugging
@@ -910,6 +945,7 @@ module PulpAnsibleClient
910
945
  if !content_type.nil?
911
946
  header_params['Content-Type'] = content_type
912
947
  end
948
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
913
949
 
914
950
  # form parameters
915
951
  form_params = opts[:form_params] || {}