pulp_ansible_client 0.29.8 → 0.29.10

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 (38) 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 +30 -30
  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 +10 -8
  11. data/docs/PatchedansibleGitRemote.md +30 -30
  12. data/docs/RepositoryAddRemoveContent.md +3 -1
  13. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +3 -0
  14. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +15 -12
  15. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  16. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  17. data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated.rb +11 -1
  18. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
  19. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
  20. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +26 -26
  21. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +257 -257
  22. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +163 -163
  23. data/lib/pulp_ansible_client/models/ansible_role.rb +18 -8
  24. data/lib/pulp_ansible_client/models/ansible_role_response.rb +26 -26
  25. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +248 -248
  26. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +16 -4
  27. data/lib/pulp_ansible_client/version.rb +1 -1
  28. data/spec/api/content_collection_signatures_api_spec.rb +1 -0
  29. data/spec/api/content_collection_versions_api_spec.rb +5 -4
  30. data/spec/models/ansible_ansible_collection_deprecated_spec.rb +6 -0
  31. data/spec/models/ansible_collection_version_response_spec.rb +5 -5
  32. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  33. data/spec/models/ansible_git_remote_spec.rb +19 -19
  34. data/spec/models/ansible_role_response_spec.rb +5 -5
  35. data/spec/models/ansible_role_spec.rb +7 -1
  36. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  37. data/spec/models/repository_add_remove_content_spec.rb +6 -0
  38. metadata +120 -120
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d48aca16998f65761eb2bf86fb1b60899b43009d5f05b10e5b05675a6ce63e3d
4
- data.tar.gz: 6236f1974bab841d48aa1c0f007d120ffa5f962d90bd5f17b6ad6d8ecab9a3fb
3
+ metadata.gz: 34e636247f1c6970ae495fc94d77e8d5d7ffe9005b89b6a510bf5ec030135442
4
+ data.tar.gz: eb33301b3f0a0849c2f7b44564b1c8922c273692b56cc796b63bd9ecee3e86ab
5
5
  SHA512:
6
- metadata.gz: e2a0b2c833e1507d3f30f56dd63e26445f113b9e603f06db49321347531ed792a3161ed31950def5e425add0dff7473f4250192c7cff1c28a9f78bab95a29c6e
7
- data.tar.gz: 4f57c38b25655c5df6e75257847c8fba6aec094ee05f07cb19e3b15b61aa7de70942a76736fa8e660a7bf86190506fa440a582d1f3dd676693d3dc50ecb2ba09
6
+ metadata.gz: 8baef4a9c47a9eea65347d5b1079a7b96a40db41398d5169ca71549709302a8e2ef01f376713dd56292601033dd0caed4042d80b293e9b0a34e7fd9cdbbd2720
7
+ data.tar.gz: 294be247afd9195f53ea3edd500b2db074510cb0e808bc289c82133a4aaf1d79c61c42328c24bca87a0a629a73f0d51dfe3e0b964facfd5c6cdfb73e69166dab
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.10
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.10.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.10.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.10'
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,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
7
8
  | **vuln_report** | **String** | | [optional][readonly] |
8
9
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
9
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
10
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
11
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
12
- | **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] |
13
11
  | **pulp_href** | **String** | | [optional][readonly] |
12
+ | **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] |
13
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
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_created: null,
41
42
  vuln_report: null,
42
43
  artifact: null,
43
- pulp_created: null,
44
44
  prn: null,
45
- pulp_labels: null,
46
- pulp_last_updated: null,
47
45
  pulp_href: null,
46
+ pulp_last_updated: null,
47
+ pulp_labels: 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
- | **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
- | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
7
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
11
8
  | **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
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
15
9
  | **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] |
17
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
18
10
  | **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] |
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
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
24
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
25
11
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
12
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
13
+ | **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] |
14
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
15
+ | **url** | **String** | The URL of an external content source. | |
16
+ | **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] |
26
17
  | **name** | **String** | A unique name for this remote. | |
18
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
19
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
20
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [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
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
23
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
24
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
25
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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
- client_key: null,
36
+ max_retries: null,
40
37
  tls_validation: null,
41
- total_timeout: null,
42
- ca_cert: null,
43
- proxy_password: null,
44
38
  password: null,
45
- rate_limit: null,
46
- proxy_username: null,
47
39
  sock_read_timeout: null,
48
- headers: null,
49
- max_retries: null,
50
- connect_timeout: null,
51
- username: null,
52
- pulp_labels: null,
53
- client_cert: null,
54
40
  proxy_url: null,
41
+ pulp_labels: null,
42
+ sock_connect_timeout: null,
43
+ username: null,
44
+ url: null,
45
+ total_timeout: null,
55
46
  name: null,
47
+ client_cert: null,
48
+ proxy_password: null,
49
+ client_key: null,
50
+ connect_timeout: null,
51
+ headers: null,
52
+ proxy_username: null,
53
+ download_concurrency: null,
54
+ rate_limit: 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
- | **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
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
7
+ | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
8
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
11
9
  | **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
10
  | **pulp_href** | **String** | | [optional][readonly] |
16
- | **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
11
  | **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] |
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
- | **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
12
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
13
+ | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
14
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
15
+ | **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] |
16
+ | **url** | **String** | The URL of an external content source. | |
17
+ | **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] |
18
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
26
19
  | **name** | **String** | A unique name for this remote. | |
20
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
21
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
22
+ | **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] |
23
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
24
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
25
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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::AnsibleGitRemoteResponse.new(
36
- url: null,
37
- download_concurrency: null,
38
- sock_connect_timeout: null,
39
- pulp_created: null,
36
+ hidden_fields: null,
37
+ max_retries: null,
40
38
  tls_validation: null,
41
- total_timeout: null,
42
- ca_cert: null,
43
- pulp_last_updated: null,
44
39
  pulp_href: null,
45
- rate_limit: null,
46
- hidden_fields: null,
47
40
  sock_read_timeout: null,
48
- headers: null,
49
- max_retries: null,
50
- connect_timeout: null,
51
- prn: null,
52
- pulp_labels: null,
53
- client_cert: null,
54
41
  proxy_url: null,
42
+ pulp_last_updated: null,
43
+ pulp_labels: null,
44
+ sock_connect_timeout: null,
45
+ url: null,
46
+ total_timeout: null,
47
+ pulp_created: null,
55
48
  name: null,
49
+ client_cert: null,
50
+ prn: null,
51
+ connect_timeout: null,
52
+ headers: null,
53
+ download_concurrency: null,
54
+ rate_limit: 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] |
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] |
8
8
  | **artifact** | **String** | Artifact file representing the physical content | |
9
9
  | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
10
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [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
+ overwrite: null,
21
22
  artifact: null,
22
23
  pulp_labels: null,
24
+ repository: null,
23
25
  version: null,
24
26
  name: null,
25
27
  namespace: null
@@ -4,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
7
8
  | **vuln_report** | **String** | | [optional][readonly] |
8
9
  | **artifact** | **String** | Artifact file representing the physical content | |
9
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
10
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
11
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
12
- | **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] |
13
11
  | **pulp_href** | **String** | | [optional][readonly] |
12
+ | **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] |
13
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
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_created: null,
24
25
  vuln_report: null,
25
26
  artifact: null,
26
- pulp_created: null,
27
27
  prn: null,
28
- pulp_labels: null,
29
- pulp_last_updated: null,
30
28
  pulp_href: null,
29
+ pulp_last_updated: null,
30
+ pulp_labels: null,
31
31
  version: null,
32
32
  name: null,
33
33
  namespace: 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
- artifact: 'artifact_example', # String | Artifact file representing the physical content
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.
39
38
  downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
40
- pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
41
- file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
39
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
42
40
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
41
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
43
42
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
43
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
44
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
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
- | **artifact** | **String** | Artifact file representing the physical content | [optional] |
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] |
83
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
- | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
85
- | **file** | **File** | An uploaded file that may be turned into the content unit. | [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] |
86
+ | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
87
87
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
88
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
89
+ | **file** | **File** | An uploaded file that may be turned into the content unit. | [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
- | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
7
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
11
8
  | **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
- | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
15
9
  | **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] |
17
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
18
10
  | **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&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
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
24
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
25
11
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
12
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
13
+ | **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] |
14
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
15
+ | **url** | **String** | The URL of an external content source. | [optional] |
16
+ | **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] |
26
17
  | **name** | **String** | A unique name for this remote. | [optional] |
18
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
19
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
20
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [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
+ | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
23
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
24
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
25
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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
- client_key: null,
36
+ max_retries: null,
40
37
  tls_validation: null,
41
- total_timeout: null,
42
- ca_cert: null,
43
- proxy_password: null,
44
38
  password: null,
45
- rate_limit: null,
46
- proxy_username: null,
47
39
  sock_read_timeout: null,
48
- headers: null,
49
- max_retries: null,
50
- connect_timeout: null,
51
- username: null,
52
- pulp_labels: null,
53
- client_cert: null,
54
40
  proxy_url: null,
41
+ pulp_labels: null,
42
+ sock_connect_timeout: null,
43
+ username: null,
44
+ url: null,
45
+ total_timeout: null,
55
46
  name: null,
47
+ client_cert: null,
48
+ proxy_password: null,
49
+ client_key: null,
50
+ connect_timeout: null,
51
+ headers: null,
52
+ proxy_username: null,
53
+ download_concurrency: null,
54
+ rate_limit: null,
55
+ ca_cert: null,
56
56
  metadata_only: null,
57
57
  git_ref: null
58
58
  )
@@ -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
- # @option opts [String] :artifact Artifact file representing the physical content
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.
28
27
  # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
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 [File] :file An uploaded file that may be turned into the content unit.
28
+ # @option opts [String] :artifact Artifact file representing the physical content
31
29
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
30
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
32
31
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
32
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
33
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
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
- # @option opts [String] :artifact Artifact file representing the physical content
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.
48
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 [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
50
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
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.
51
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
52
52
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
53
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
54
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
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
- form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
110
+ form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
110
111
  form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
111
- form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
112
- form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
112
+ form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
113
113
  form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
114
+ form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
114
115
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
116
+ form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
117
+ form_params['file'] = opts[:'file'] if !opts[:'file'].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