pulp_ansible_client 0.29.12 → 0.30.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 (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionRemote.md +3 -1
  4. data/docs/AnsibleCollectionRemoteResponse.md +2 -0
  5. data/docs/AnsibleCollectionVersionResponse.md +6 -6
  6. data/docs/AnsibleGitRemote.md +26 -26
  7. data/docs/AnsibleGitRemoteResponse.md +26 -26
  8. data/docs/AnsibleRole.md +2 -2
  9. data/docs/AnsibleRoleResponse.md +6 -6
  10. data/docs/ContentCollectionVersionsApi.md +6 -6
  11. data/docs/PatchedansibleCollectionRemote.md +3 -1
  12. data/docs/PatchedansibleGitRemote.md +26 -26
  13. data/docs/RemotesCollectionApi.md +2 -2
  14. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
  15. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +3 -3
  16. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +30 -4
  17. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +27 -1
  18. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +26 -26
  19. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +228 -228
  20. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +154 -154
  21. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  22. data/lib/pulp_ansible_client/models/ansible_role_response.rb +26 -26
  23. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +30 -4
  24. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +225 -225
  25. data/lib/pulp_ansible_client/version.rb +1 -1
  26. data/spec/api/content_collection_versions_api_spec.rb +3 -3
  27. data/spec/api/remotes_collection_api_spec.rb +1 -1
  28. data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
  29. data/spec/models/ansible_collection_remote_spec.rb +6 -0
  30. data/spec/models/ansible_collection_version_response_spec.rb +5 -5
  31. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  32. data/spec/models/ansible_git_remote_spec.rb +18 -18
  33. data/spec/models/ansible_role_response_spec.rb +5 -5
  34. data/spec/models/ansible_role_spec.rb +3 -3
  35. data/spec/models/patchedansible_collection_remote_spec.rb +6 -0
  36. data/spec/models/patchedansible_git_remote_spec.rb +18 -18
  37. metadata +127 -127
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc34098ee74f25d37a6509fa7449ec264034e256570aacde8470062c67b4be1b
4
- data.tar.gz: 0de314bd5608cf89db69b3976e6d0b9c27ff92d0a4b5aa17ee280d4f1af61289
3
+ metadata.gz: 69511481e10d7f28eab496afea266d5064709054981e02a28ecb955e4b1cebe4
4
+ data.tar.gz: 5c477534ef344055ee7a4e24d9e57991ad7838076ea78d00fdf669d9886d4c08
5
5
  SHA512:
6
- metadata.gz: 3c795e61057e526023e33c638a085fefe27a1cc111d39c7b31c3b792f3ac7f2f7d4fd3d136289d8fffd8805536305920a5218a996b5075387df253a4761892bb
7
- data.tar.gz: 41783986204badd769462a9a54420b7c7e42b3f7fa57ffa9e9d214f3e00c9f9d07fc2089a25206b9e67d4ca23d16378ea44383abdc114f94b5d7f40adfdcb306
6
+ metadata.gz: 052f4827feee35d35d2eb19f39a927d234c3339e21a3dd405030723b889e550ee2bf33a714b684df8be681ebf44df7892325e62b716e9871032a0b8a3dda3cb6
7
+ data.tar.gz: 242a126efd98422f4e3b50c361691a527d023fd5309efead414d6e58713bd8494a5469e87a21b3695252b25aa5dcd57e2a5394a072a2d2885dc6a7db2f422e90
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.29.12
10
+ - Package version: 0.30.0
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_ansible_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_ansible_client-0.29.12.gem
28
+ gem install ./pulp_ansible_client-0.30.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_ansible_client-0.29.12.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_ansible_client-0.30.0.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_ansible_client', '~> 0.29.12'
37
+ gem 'pulp_ansible_client', '~> 0.30.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -30,6 +30,7 @@
30
30
  | **token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional] |
31
31
  | **sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] |
32
32
  | **signed_only** | **Boolean** | Sync only collections that have a signature | [optional] |
33
+ | **sync_highest_versions** | **Integer** | The number of highest versions of each collection to sync. Unset or null syncs all versions. 1 syncs only the highest version. | [optional] |
33
34
 
34
35
  ## Example
35
36
 
@@ -62,7 +63,8 @@ instance = PulpAnsibleClient::AnsibleCollectionRemote.new(
62
63
  auth_url: null,
63
64
  token: null,
64
65
  sync_dependencies: null,
65
- signed_only: null
66
+ signed_only: null,
67
+ sync_highest_versions: null
66
68
  )
67
69
  ```
68
70
 
@@ -29,6 +29,7 @@
29
29
  | **auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional] |
30
30
  | **sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] |
31
31
  | **signed_only** | **Boolean** | Sync only collections that have a signature | [optional] |
32
+ | **sync_highest_versions** | **Integer** | The number of highest versions of each collection to sync. Unset or null syncs all versions. 1 syncs only the highest version. | [optional] |
32
33
  | **last_sync_task** | **String** | | [optional][readonly] |
33
34
 
34
35
  ## Example
@@ -62,6 +63,7 @@ instance = PulpAnsibleClient::AnsibleCollectionRemoteResponse.new(
62
63
  auth_url: null,
63
64
  sync_dependencies: null,
64
65
  signed_only: null,
66
+ sync_highest_versions: null,
65
67
  last_sync_task: null
66
68
  )
67
69
  ```
@@ -4,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
8
7
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
9
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
8
+ | **pulp_href** | **String** | | [optional][readonly] |
10
9
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
11
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
12
12
  | **vuln_report** | **String** | | [optional][readonly] |
13
- | **pulp_href** | **String** | | [optional][readonly] |
13
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
14
14
  | **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
15
15
  | **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
16
16
  | **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
@@ -38,13 +38,13 @@
38
38
  require 'pulp_ansible_client'
39
39
 
40
40
  instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
41
- pulp_last_updated: null,
42
41
  artifact: null,
43
- pulp_labels: null,
42
+ pulp_href: null,
44
43
  pulp_created: null,
44
+ pulp_labels: null,
45
45
  prn: null,
46
46
  vuln_report: null,
47
- pulp_href: null,
47
+ pulp_last_updated: null,
48
48
  sha256: null,
49
49
  md5: null,
50
50
  sha1: null,
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
8
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
7
+ | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
8
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
9
9
  | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
10
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
11
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
12
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
13
+ | **url** | **String** | The URL of an external content source. | |
10
14
  | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
11
15
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
12
- | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
13
- | **url** | **String** | The URL of an external content source. | |
14
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
15
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
16
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
16
17
  | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
17
- | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
18
+ | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
18
19
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
20
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
21
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
22
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
19
23
  | **name** | **String** | A unique name for this remote. | |
20
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
21
- | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
22
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
23
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
24
- | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
25
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
26
24
  | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
25
+ | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
26
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
27
27
  | **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
28
28
  | **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
29
29
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::AnsibleGitRemote.new(
36
- tls_validation: null,
37
- proxy_username: null,
36
+ sock_connect_timeout: null,
37
+ rate_limit: null,
38
38
  download_concurrency: null,
39
+ client_cert: null,
40
+ max_retries: null,
41
+ proxy_password: null,
42
+ url: null,
39
43
  total_timeout: null,
40
44
  ca_cert: null,
41
- connect_timeout: null,
42
- url: null,
43
- password: null,
44
- pulp_labels: null,
45
+ proxy_username: null,
45
46
  headers: null,
46
- sock_connect_timeout: null,
47
+ sock_read_timeout: null,
47
48
  proxy_url: null,
49
+ password: null,
50
+ pulp_labels: null,
51
+ tls_validation: null,
48
52
  name: null,
49
- client_cert: null,
50
- client_key: null,
51
- rate_limit: null,
52
- max_retries: null,
53
- sock_read_timeout: null,
54
- proxy_password: null,
55
53
  username: null,
54
+ connect_timeout: null,
55
+ client_key: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
8
- | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
9
- | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
7
+ | **pulp_href** | **String** | | [optional][readonly] |
8
+ | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
9
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
10
10
  | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
11
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
11
12
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
13
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
14
+ | **url** | **String** | The URL of an external content source. | |
12
15
  | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
16
+ | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
17
+ | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
13
18
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
- | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
15
- | **url** | **String** | The URL of an external content source. | |
16
- | **pulp_href** | **String** | | [optional][readonly] |
17
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
18
19
  | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
19
- | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
20
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
21
- | **name** | **String** | A unique name for this remote. | |
22
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
23
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
24
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
25
20
  | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
21
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
22
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
26
23
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
24
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
25
+ | **name** | **String** | A unique name for this remote. | |
26
+ | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
27
27
  | **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
28
28
  | **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
29
29
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
36
- tls_validation: null,
37
- pulp_last_updated: null,
38
- hidden_fields: null,
36
+ pulp_href: null,
37
+ sock_connect_timeout: null,
38
+ rate_limit: null,
39
39
  download_concurrency: null,
40
+ client_cert: null,
40
41
  pulp_created: null,
42
+ max_retries: null,
43
+ url: null,
41
44
  total_timeout: null,
45
+ pulp_last_updated: null,
46
+ hidden_fields: null,
42
47
  ca_cert: null,
43
- connect_timeout: null,
44
- url: null,
45
- pulp_href: null,
46
- pulp_labels: null,
47
48
  headers: null,
48
- sock_connect_timeout: null,
49
- proxy_url: null,
50
- name: null,
51
- client_cert: null,
52
- rate_limit: null,
53
- max_retries: null,
54
49
  sock_read_timeout: null,
50
+ proxy_url: null,
51
+ pulp_labels: null,
55
52
  prn: null,
53
+ tls_validation: null,
54
+ name: null,
55
+ connect_timeout: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
data/docs/AnsibleRole.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
7
8
  | **artifact** | **String** | Artifact file representing the physical content | |
8
9
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
9
- | **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
10
10
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
11
11
  | **version** | **String** | | |
12
12
  | **name** | **String** | | |
@@ -18,9 +18,9 @@
18
18
  require 'pulp_ansible_client'
19
19
 
20
20
  instance = PulpAnsibleClient::AnsibleRole.new(
21
+ overwrite: null,
21
22
  artifact: null,
22
23
  pulp_labels: null,
23
- overwrite: null,
24
24
  repository: null,
25
25
  version: null,
26
26
  name: null,
@@ -4,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
8
7
  | **artifact** | **String** | Artifact file representing the physical content | |
9
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
8
+ | **pulp_href** | **String** | | [optional][readonly] |
10
9
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
11
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
12
12
  | **vuln_report** | **String** | | [optional][readonly] |
13
- | **pulp_href** | **String** | | [optional][readonly] |
13
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
14
14
  | **version** | **String** | | |
15
15
  | **name** | **String** | | |
16
16
  | **namespace** | **String** | | |
@@ -21,13 +21,13 @@
21
21
  require 'pulp_ansible_client'
22
22
 
23
23
  instance = PulpAnsibleClient::AnsibleRoleResponse.new(
24
- pulp_last_updated: null,
25
24
  artifact: null,
26
- pulp_labels: null,
25
+ pulp_href: null,
27
26
  pulp_created: null,
27
+ pulp_labels: null,
28
28
  prn: null,
29
29
  vuln_report: null,
30
- pulp_href: null,
30
+ pulp_last_updated: null,
31
31
  version: null,
32
32
  name: null,
33
33
  namespace: null
@@ -34,13 +34,13 @@ end
34
34
  api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
35
35
  opts = {
36
36
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
37
- artifact: 'artifact_example', # String | Artifact file representing the physical content
38
- pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
39
37
  overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
40
38
  downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
39
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
41
40
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
42
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
43
41
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
42
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
43
+ upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
44
44
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
45
45
  expected_name: 'expected_name_example', # String | The name of the collection.
46
46
  expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
@@ -79,13 +79,13 @@ end
79
79
  | Name | Type | Description | Notes |
80
80
  | ---- | ---- | ----------- | ----- |
81
81
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
82
- | **artifact** | **String** | Artifact file representing the physical content | [optional] |
83
- | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
84
82
  | **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true. | [optional] |
85
83
  | **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url. | [optional] |
84
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
86
85
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
87
- | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
88
86
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
87
+ | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
88
+ | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
89
89
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
90
90
  | **expected_name** | **String** | The name of the collection. | [optional] |
91
91
  | **expected_namespace** | **String** | The namespace of the collection. | [optional] |
@@ -30,6 +30,7 @@
30
30
  | **token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional] |
31
31
  | **sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] |
32
32
  | **signed_only** | **Boolean** | Sync only collections that have a signature | [optional] |
33
+ | **sync_highest_versions** | **Integer** | The number of highest versions of each collection to sync. Unset or null syncs all versions. 1 syncs only the highest version. | [optional] |
33
34
 
34
35
  ## Example
35
36
 
@@ -62,7 +63,8 @@ instance = PulpAnsibleClient::PatchedansibleCollectionRemote.new(
62
63
  auth_url: null,
63
64
  token: null,
64
65
  sync_dependencies: null,
65
- signed_only: null
66
+ signed_only: null,
67
+ sync_highest_versions: null
66
68
  )
67
69
  ```
68
70
 
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
8
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
7
+ | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
8
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
9
9
  | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
10
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
11
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
12
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
13
+ | **url** | **String** | The URL of an external content source. | [optional] |
10
14
  | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
11
15
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
12
- | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
13
- | **url** | **String** | The URL of an external content source. | [optional] |
14
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
15
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
16
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
16
17
  | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
17
- | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
18
+ | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
18
19
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
20
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
21
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
22
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
19
23
  | **name** | **String** | A unique name for this remote. | [optional] |
20
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
21
- | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
22
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
23
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
24
- | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
25
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
26
24
  | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
25
+ | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
26
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
27
27
  | **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
28
28
  | **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
29
29
 
@@ -33,26 +33,26 @@
33
33
  require 'pulp_ansible_client'
34
34
 
35
35
  instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
36
- tls_validation: null,
37
- proxy_username: null,
36
+ sock_connect_timeout: null,
37
+ rate_limit: null,
38
38
  download_concurrency: null,
39
+ client_cert: null,
40
+ max_retries: null,
41
+ proxy_password: null,
42
+ url: null,
39
43
  total_timeout: null,
40
44
  ca_cert: null,
41
- connect_timeout: null,
42
- url: null,
43
- password: null,
44
- pulp_labels: null,
45
+ proxy_username: null,
45
46
  headers: null,
46
- sock_connect_timeout: null,
47
+ sock_read_timeout: null,
47
48
  proxy_url: null,
49
+ password: null,
50
+ pulp_labels: null,
51
+ tls_validation: null,
48
52
  name: null,
49
- client_cert: null,
50
- client_key: null,
51
- rate_limit: null,
52
- max_retries: null,
53
- sock_read_timeout: null,
54
- proxy_password: null,
55
53
  username: null,
54
+ connect_timeout: null,
55
+ client_key: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -276,7 +276,7 @@ opts = {
276
276
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
277
277
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
278
278
  offset: 56, # Integer | The initial index from which to return the results.
279
- ordering: ['-auth_url'], # 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) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending)
279
+ ordering: ['-auth_url'], # 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) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `sync_highest_versions` - Sync highest versions * `-sync_highest_versions` - Sync highest versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
280
280
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
281
281
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
282
282
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
@@ -340,7 +340,7 @@ end
340
340
  | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
341
341
  | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
342
342
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
343
- | **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;requirements_file&#x60; - Requirements file * &#x60;-requirements_file&#x60; - Requirements file (descending) * &#x60;auth_url&#x60; - Auth url * &#x60;-auth_url&#x60; - Auth url (descending) * &#x60;token&#x60; - Token * &#x60;-token&#x60; - Token (descending) * &#x60;sync_dependencies&#x60; - Sync dependencies * &#x60;-sync_dependencies&#x60; - Sync dependencies (descending) * &#x60;signed_only&#x60; - Signed only * &#x60;-signed_only&#x60; - Signed only (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
343
+ | **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;requirements_file&#x60; - Requirements file * &#x60;-requirements_file&#x60; - Requirements file (descending) * &#x60;auth_url&#x60; - Auth url * &#x60;-auth_url&#x60; - Auth url (descending) * &#x60;token&#x60; - Token * &#x60;-token&#x60; - Token (descending) * &#x60;sync_dependencies&#x60; - Sync dependencies * &#x60;-sync_dependencies&#x60; - Sync dependencies (descending) * &#x60;signed_only&#x60; - Signed only * &#x60;-signed_only&#x60; - Signed only (descending) * &#x60;sync_highest_versions&#x60; - Sync highest versions * &#x60;-sync_highest_versions&#x60; - Sync highest versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
344
344
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
345
345
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
346
346
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
@@ -23,13 +23,13 @@ module PulpAnsibleClient
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
- # @option opts [String] :artifact Artifact file representing the physical content
27
- # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
28
26
  # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
29
27
  # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
28
+ # @option opts [String] :artifact Artifact file representing the physical content
30
29
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
31
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
32
30
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
31
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
32
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
33
33
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
34
34
  # @option opts [String] :expected_name The name of the collection.
35
35
  # @option opts [String] :expected_namespace The namespace of the collection.
@@ -44,13 +44,13 @@ module PulpAnsibleClient
44
44
  # Trigger an asynchronous task to create content,optionally create new repository version.
45
45
  # @param [Hash] opts the optional parameters
46
46
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
47
- # @option opts [String] :artifact Artifact file representing the physical content
48
- # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
49
47
  # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
50
48
  # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
49
+ # @option opts [String] :artifact Artifact file representing the physical content
51
50
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
52
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
53
51
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
52
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
53
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
54
54
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
55
55
  # @option opts [String] :expected_name The name of the collection.
56
56
  # @option opts [String] :expected_namespace The namespace of the collection.
@@ -107,13 +107,13 @@ module PulpAnsibleClient
107
107
 
108
108
  # form parameters
109
109
  form_params = opts[:form_params] || {}
110
- form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
111
- form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
112
110
  form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
113
111
  form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
112
+ form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
114
113
  form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
115
- form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
116
114
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
115
+ form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
116
+ form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
117
117
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
118
118
  form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
119
119
  form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?