pulp_ansible_client 0.29.8 → 0.29.9

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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleAnsibleCollectionDeprecated.md +2 -0
  4. data/docs/AnsibleCollectionVersionResponse.md +6 -6
  5. data/docs/AnsibleGitRemote.md +28 -28
  6. data/docs/AnsibleGitRemoteResponse.md +30 -30
  7. data/docs/AnsibleRole.md +4 -2
  8. data/docs/AnsibleRoleResponse.md +6 -6
  9. data/docs/ContentCollectionSignaturesApi.md +2 -0
  10. data/docs/ContentCollectionVersionsApi.md +8 -6
  11. data/docs/PatchedansibleGitRemote.md +28 -28
  12. data/docs/RemotesGitApi.md +2 -2
  13. data/docs/RepositoryAddRemoveContent.md +3 -1
  14. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +3 -0
  15. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -9
  16. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  17. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  18. data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated.rb +11 -1
  19. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
  20. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
  21. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +29 -29
  22. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +251 -251
  23. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +183 -183
  24. data/lib/pulp_ansible_client/models/ansible_role.rb +21 -11
  25. data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -29
  26. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +242 -242
  27. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +16 -4
  28. data/lib/pulp_ansible_client/version.rb +1 -1
  29. data/spec/api/content_collection_signatures_api_spec.rb +1 -0
  30. data/spec/api/content_collection_versions_api_spec.rb +4 -3
  31. data/spec/models/ansible_ansible_collection_deprecated_spec.rb +6 -0
  32. data/spec/models/ansible_collection_version_response_spec.rb +5 -5
  33. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  34. data/spec/models/ansible_git_remote_spec.rb +20 -20
  35. data/spec/models/ansible_role_response_spec.rb +5 -5
  36. data/spec/models/ansible_role_spec.rb +8 -2
  37. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  38. data/spec/models/repository_add_remove_content_spec.rb +6 -0
  39. metadata +121 -121
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d48aca16998f65761eb2bf86fb1b60899b43009d5f05b10e5b05675a6ce63e3d
4
- data.tar.gz: 6236f1974bab841d48aa1c0f007d120ffa5f962d90bd5f17b6ad6d8ecab9a3fb
3
+ metadata.gz: 15bd1aaac305bcafea03e26cae6e5317fc2f7cbdd407869a2d37279b1dfc96ed
4
+ data.tar.gz: c559c242ab05b0c144e26aba54a0eddbbdaa1ea39d3490fc3cb4b5fa5998cbe9
5
5
  SHA512:
6
- metadata.gz: e2a0b2c833e1507d3f30f56dd63e26445f113b9e603f06db49321347531ed792a3161ed31950def5e425add0dff7473f4250192c7cff1c28a9f78bab95a29c6e
7
- data.tar.gz: 4f57c38b25655c5df6e75257847c8fba6aec094ee05f07cb19e3b15b61aa7de70942a76736fa8e660a7bf86190506fa440a582d1f3dd676693d3dc50ecb2ba09
6
+ metadata.gz: 6dcd1cd325685522fc7beb1b257e289b3c1fd31264cd0036314e3ab908aa92647764e39a92795cbdb35a40fbc8caae7c2244c4df2d2b123c077d0ec2025f4216
7
+ data.tar.gz: 8e4d28719a4f0d8ad6ed288614a2fc06eb997917a1f9596eca270fefa8dd23cbe95790e85f80e17afa89079ffff5b6bbe3f42538b2f6e1b48cdd8cb6ffc03ebc
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.8
10
+ - Package version: 0.29.9
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.8.gem
28
+ gem install ./pulp_ansible_client-0.29.9.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_ansible_client-0.29.8.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_ansible_client-0.29.9.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.8'
37
+ gem 'pulp_ansible_client', '~> 0.29.9'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
8
+ | **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] |
8
9
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
9
10
  | **name** | **String** | The name of the Collection. | |
10
11
  | **namespace** | **String** | The namespace of the Collection. | |
@@ -16,6 +17,7 @@ require 'pulp_ansible_client'
16
17
 
17
18
  instance = PulpAnsibleClient::AnsibleAnsibleCollectionDeprecated.new(
18
19
  repository: null,
20
+ overwrite: null,
19
21
  pulp_labels: null,
20
22
  name: null,
21
23
  namespace: null
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **vuln_report** | **String** | | [optional][readonly] |
8
7
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
9
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
11
8
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
9
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
+ | **vuln_report** | **String** | | [optional][readonly] |
12
11
  | **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] |
12
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
13
13
  | **pulp_href** | **String** | | [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] |
@@ -38,12 +38,12 @@
38
38
  require 'pulp_ansible_client'
39
39
 
40
40
  instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
41
- vuln_report: null,
42
41
  artifact: null,
43
- pulp_created: null,
44
- prn: null,
45
42
  pulp_labels: null,
43
+ pulp_created: null,
44
+ vuln_report: null,
46
45
  pulp_last_updated: null,
46
+ prn: null,
47
47
  pulp_href: null,
48
48
  sha256: null,
49
49
  md5: null,
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **url** | **String** | The URL of an external content source. | |
8
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
9
- | **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] |
10
7
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
11
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
12
- | **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] |
13
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
8
  | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
15
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
16
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
9
+ | **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] |
10
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
11
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
17
12
  | **proxy_username** | **String** | The username to authenticte to the proxy. | [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] |
19
13
  | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
20
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
21
- | **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] |
22
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
23
14
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
24
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
25
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
15
+ | **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] |
16
+ | **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] |
26
17
  | **name** | **String** | A unique name for this remote. | |
18
+ | **url** | **String** | The URL of an external content source. | |
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
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
21
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [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
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
25
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
26
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [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
- url: null,
37
- download_concurrency: null,
38
- sock_connect_timeout: null,
39
36
  client_key: null,
40
- tls_validation: null,
41
- total_timeout: null,
42
- ca_cert: null,
43
37
  proxy_password: null,
44
- password: null,
45
- rate_limit: null,
38
+ total_timeout: null,
39
+ username: null,
40
+ proxy_url: null,
46
41
  proxy_username: null,
47
- sock_read_timeout: null,
48
42
  headers: null,
49
- max_retries: null,
50
- connect_timeout: null,
51
- username: null,
52
43
  pulp_labels: null,
53
- client_cert: null,
54
- proxy_url: null,
44
+ connect_timeout: null,
45
+ sock_read_timeout: null,
55
46
  name: null,
47
+ url: null,
48
+ sock_connect_timeout: null,
49
+ client_cert: null,
50
+ tls_validation: null,
51
+ rate_limit: null,
52
+ max_retries: null,
53
+ download_concurrency: null,
54
+ password: null,
55
+ ca_cert: 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
+ | **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] |
8
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
9
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
10
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
11
+ | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
12
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
13
+ | **pulp_href** | **String** | | [optional][readonly] |
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
+ | **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] |
16
+ | **name** | **String** | A unique name for this remote. | |
7
17
  | **url** | **String** | The URL of an external content source. | |
8
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
9
18
  | **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] |
10
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
19
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
11
20
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
12
- | **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] |
13
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
- | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
15
- | **pulp_href** | **String** | | [optional][readonly] |
16
21
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
17
- | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [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] |
19
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
22
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
20
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] |
21
- | **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] |
22
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
23
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
24
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
25
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
26
- | **name** | **String** | A unique name for this remote. | |
24
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
25
+ | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
26
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [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
+ total_timeout: null,
37
+ proxy_url: null,
38
+ prn: null,
39
+ headers: null,
40
+ hidden_fields: null,
41
+ pulp_labels: null,
42
+ pulp_href: null,
43
+ connect_timeout: null,
44
+ sock_read_timeout: null,
45
+ name: null,
36
46
  url: null,
37
- download_concurrency: null,
38
47
  sock_connect_timeout: null,
39
- pulp_created: null,
48
+ client_cert: null,
40
49
  tls_validation: null,
41
- total_timeout: null,
42
- ca_cert: null,
43
- pulp_last_updated: null,
44
- pulp_href: null,
45
50
  rate_limit: null,
46
- hidden_fields: null,
47
- sock_read_timeout: null,
48
- headers: null,
51
+ pulp_created: null,
49
52
  max_retries: null,
50
- connect_timeout: null,
51
- prn: null,
52
- pulp_labels: null,
53
- client_cert: null,
54
- proxy_url: null,
55
- name: null,
53
+ download_concurrency: null,
54
+ pulp_last_updated: null,
55
+ ca_cert: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
data/docs/AnsibleRole.md CHANGED
@@ -4,9 +4,10 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
8
7
  | **artifact** | **String** | Artifact file representing the physical content | |
8
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
9
9
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
10
+ | **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
11
  | **version** | **String** | | |
11
12
  | **name** | **String** | | |
12
13
  | **namespace** | **String** | | |
@@ -17,9 +18,10 @@
17
18
  require 'pulp_ansible_client'
18
19
 
19
20
  instance = PulpAnsibleClient::AnsibleRole.new(
20
- repository: null,
21
21
  artifact: null,
22
+ repository: null,
22
23
  pulp_labels: null,
24
+ overwrite: null,
23
25
  version: null,
24
26
  name: null,
25
27
  namespace: null
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **vuln_report** | **String** | | [optional][readonly] |
8
7
  | **artifact** | **String** | Artifact file representing the physical content | |
9
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
11
8
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
9
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
+ | **vuln_report** | **String** | | [optional][readonly] |
12
11
  | **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] |
12
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
13
13
  | **pulp_href** | **String** | | [optional][readonly] |
14
14
  | **version** | **String** | | |
15
15
  | **name** | **String** | | |
@@ -21,12 +21,12 @@
21
21
  require 'pulp_ansible_client'
22
22
 
23
23
  instance = PulpAnsibleClient::AnsibleRoleResponse.new(
24
- vuln_report: null,
25
24
  artifact: null,
26
- pulp_created: null,
27
- prn: null,
28
25
  pulp_labels: null,
26
+ pulp_created: null,
27
+ vuln_report: null,
29
28
  pulp_last_updated: null,
29
+ prn: null,
30
30
  pulp_href: null,
31
31
  version: null,
32
32
  name: null,
@@ -36,6 +36,7 @@ signed_collection = 'signed_collection_example' # String | The content this sign
36
36
  opts = {
37
37
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
38
38
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
39
+ 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.
39
40
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
40
41
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
41
42
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
@@ -77,6 +78,7 @@ end
77
78
  | **signed_collection** | **String** | The content this signature is pointing to. | |
78
79
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
79
80
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
81
+ | **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] |
80
82
  | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
81
83
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
82
84
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
@@ -34,13 +34,14 @@ 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
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
38
37
  artifact: 'artifact_example', # String | Artifact file representing the physical content
39
- downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
38
+ file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
39
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
40
40
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
41
+ 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.
41
42
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
42
- file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
43
43
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
44
+ downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
44
45
  expected_name: 'expected_name_example', # String | The name of the collection.
45
46
  expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
46
47
  expected_version: 'expected_version_example' # String | The version of the collection.
@@ -78,13 +79,14 @@ end
78
79
  | Name | Type | Description | Notes |
79
80
  | ---- | ---- | ----------- | ----- |
80
81
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
81
- | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
82
82
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
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] |
83
+ | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
84
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
84
85
  | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
86
+ | **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
87
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
86
- | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
87
88
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
89
+ | **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url. | [optional] |
88
90
  | **expected_name** | **String** | The name of the collection. | [optional] |
89
91
  | **expected_namespace** | **String** | The namespace of the collection. | [optional] |
90
92
  | **expected_version** | **String** | The version of the collection. | [optional] |
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **url** | **String** | The URL of an external content source. | [optional] |
8
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
9
- | **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] |
10
7
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
11
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
12
- | **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] |
13
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
8
  | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
15
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
16
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
9
+ | **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] |
10
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
11
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
17
12
  | **proxy_username** | **String** | The username to authenticte to the proxy. | [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] |
19
13
  | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
20
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
21
- | **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] |
22
- | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
23
14
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
24
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
25
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
15
+ | **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] |
16
+ | **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] |
26
17
  | **name** | **String** | A unique name for this remote. | [optional] |
18
+ | **url** | **String** | The URL of an external content source. | [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
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
21
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [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
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
25
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
26
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [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
- url: null,
37
- download_concurrency: null,
38
- sock_connect_timeout: null,
39
36
  client_key: null,
40
- tls_validation: null,
41
- total_timeout: null,
42
- ca_cert: null,
43
37
  proxy_password: null,
44
- password: null,
45
- rate_limit: null,
38
+ total_timeout: null,
39
+ username: null,
40
+ proxy_url: null,
46
41
  proxy_username: null,
47
- sock_read_timeout: null,
48
42
  headers: null,
49
- max_retries: null,
50
- connect_timeout: null,
51
- username: null,
52
43
  pulp_labels: null,
53
- client_cert: null,
54
- proxy_url: null,
44
+ connect_timeout: null,
45
+ sock_read_timeout: null,
55
46
  name: null,
47
+ url: null,
48
+ sock_connect_timeout: null,
49
+ client_cert: null,
50
+ tls_validation: null,
51
+ rate_limit: null,
52
+ max_retries: null,
53
+ download_concurrency: null,
54
+ password: null,
55
+ ca_cert: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -115,7 +115,7 @@ PulpAnsibleClient.configure do |config|
115
115
  end
116
116
 
117
117
  api_instance = PulpAnsibleClient::RemotesGitApi.new
118
- ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
118
+ ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleGitRemote |
119
119
  opts = {
120
120
  x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
121
121
  }
@@ -926,7 +926,7 @@ end
926
926
 
927
927
  api_instance = PulpAnsibleClient::RemotesGitApi.new
928
928
  ansible_git_remote_href = 'ansible_git_remote_href_example' # String |
929
- ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
929
+ ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleGitRemote |
930
930
  opts = {
931
931
  x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
932
932
  }
@@ -7,6 +7,7 @@
7
7
  | **add_content_units** | **Array&lt;String&gt;** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional] |
8
8
  | **remove_content_units** | **Array&lt;String&gt;** | A list of content units to remove from the latest repository version. You may also specify &#39;*&#39; as an entry to remove all content. This content is removed before add_content_units are added. | [optional] |
9
9
  | **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional] |
10
+ | **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. Defaults to true. | [optional][default to true] |
10
11
 
11
12
  ## Example
12
13
 
@@ -16,7 +17,8 @@ require 'pulp_ansible_client'
16
17
  instance = PulpAnsibleClient::RepositoryAddRemoveContent.new(
17
18
  add_content_units: null,
18
19
  remove_content_units: null,
19
- base_version: null
20
+ base_version: null,
21
+ overwrite: null
20
22
  )
21
23
  ```
22
24
 
@@ -25,6 +25,7 @@ module PulpAnsibleClient
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
27
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
28
+ # @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.
28
29
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
29
30
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
30
31
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
@@ -42,6 +43,7 @@ module PulpAnsibleClient
42
43
  # @param [Hash] opts the optional parameters
43
44
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
44
45
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
46
+ # @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.
45
47
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
46
48
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
47
49
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
@@ -81,6 +83,7 @@ module PulpAnsibleClient
81
83
  form_params = opts[:form_params] || {}
82
84
  form_params['signed_collection'] = signed_collection
83
85
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
86
+ form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
84
87
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
85
88
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
86
89
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
@@ -23,13 +23,14 @@ 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] :repository A URI of a repository the new content unit should be associated with.
27
26
  # @option opts [String] :artifact Artifact file representing the physical content
28
- # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
27
+ # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
28
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
29
29
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
30
+ # @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.
30
31
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
31
- # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
32
32
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
33
+ # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
33
34
  # @option opts [String] :expected_name The name of the collection.
34
35
  # @option opts [String] :expected_namespace The namespace of the collection.
35
36
  # @option opts [String] :expected_version The version of the collection.
@@ -43,13 +44,14 @@ module PulpAnsibleClient
43
44
  # Trigger an asynchronous task to create content,optionally create new repository version.
44
45
  # @param [Hash] opts the optional parameters
45
46
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
46
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
47
47
  # @option opts [String] :artifact Artifact file representing the physical content
48
- # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
48
+ # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
49
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
49
50
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
51
+ # @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
52
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
51
- # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
52
53
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
54
+ # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
53
55
  # @option opts [String] :expected_name The name of the collection.
54
56
  # @option opts [String] :expected_namespace The namespace of the collection.
55
57
  # @option opts [String] :expected_version The version of the collection.
@@ -105,13 +107,14 @@ module PulpAnsibleClient
105
107
 
106
108
  # form parameters
107
109
  form_params = opts[:form_params] || {}
108
- form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
109
110
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
110
- form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
111
+ form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
112
+ form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
111
113
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
114
+ form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
112
115
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
113
- form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
114
116
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
117
+ form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
115
118
  form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
116
119
  form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
117
120
  form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
@@ -74,7 +74,7 @@ module PulpAnsibleClient
74
74
  fail ArgumentError, 'invalid value for "name" when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.create, the character length must be great than or equal to 3.'
75
75
  end
76
76
 
77
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
77
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
78
78
  if @api_client.config.client_side_validation && name !~ pattern
79
79
  fail ArgumentError, "invalid value for 'name' when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.create, must conform to the pattern #{pattern}."
80
80
  end
@@ -438,7 +438,7 @@ module PulpAnsibleClient
438
438
  fail ArgumentError, 'invalid value for "opts[:"name2"]" when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.partial_update, the character length must be great than or equal to 3.'
439
439
  end
440
440
 
441
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
441
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
442
442
  if @api_client.config.client_side_validation && !opts[:'name2'].nil? && opts[:'name2'] !~ pattern
443
443
  fail ArgumentError, "invalid value for 'opts[:\"name2\"]' when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.partial_update, must conform to the pattern #{pattern}."
444
444
  end
@@ -68,7 +68,7 @@ module PulpAnsibleClient
68
68
  fail ArgumentError, 'invalid value for "name" when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.create, the character length must be great than or equal to 3.'
69
69
  end
70
70
 
71
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
71
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
72
72
  if @api_client.config.client_side_validation && name !~ pattern
73
73
  fail ArgumentError, "invalid value for 'name' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.create, must conform to the pattern #{pattern}."
74
74
  end
@@ -414,7 +414,7 @@ module PulpAnsibleClient
414
414
  fail ArgumentError, 'invalid value for "opts[:"name2"]" when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.partial_update, the character length must be great than or equal to 3.'
415
415
  end
416
416
 
417
- pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
417
+ pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
418
418
  if @api_client.config.client_side_validation && !opts[:'name2'].nil? && opts[:'name2'] !~ pattern
419
419
  fail ArgumentError, "invalid value for 'opts[:\"name2\"]' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.partial_update, must conform to the pattern #{pattern}."
420
420
  end