pulp_ansible_client 0.29.7 → 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 (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleAnsibleCollectionDeprecated.md +2 -0
  4. data/docs/AnsibleAnsibleDistribution.md +5 -3
  5. data/docs/AnsibleAnsibleDistributionResponse.md +13 -3
  6. data/docs/AnsibleCollectionVersionResponse.md +8 -8
  7. data/docs/AnsibleGitRemote.md +28 -28
  8. data/docs/AnsibleGitRemoteResponse.md +26 -26
  9. data/docs/AnsibleRole.md +6 -4
  10. data/docs/AnsibleRoleResponse.md +8 -8
  11. data/docs/ContentCollectionSignaturesApi.md +2 -0
  12. data/docs/ContentCollectionVersionsApi.md +10 -8
  13. data/docs/PatchedansibleAnsibleDistribution.md +5 -3
  14. data/docs/PatchedansibleGitRemote.md +28 -28
  15. data/docs/RepositoryAddRemoveContent.md +3 -1
  16. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +3 -0
  17. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +15 -12
  18. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  19. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  20. data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated.rb +11 -1
  21. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +28 -16
  22. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +67 -15
  23. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
  24. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
  25. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +36 -36
  26. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +244 -244
  27. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +154 -154
  28. data/lib/pulp_ansible_client/models/ansible_role.rb +29 -19
  29. data/lib/pulp_ansible_client/models/ansible_role_response.rb +38 -38
  30. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +28 -16
  31. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +239 -239
  32. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +16 -4
  33. data/lib/pulp_ansible_client/version.rb +1 -1
  34. data/spec/api/content_collection_signatures_api_spec.rb +1 -0
  35. data/spec/api/content_collection_versions_api_spec.rb +5 -4
  36. data/spec/models/ansible_ansible_collection_deprecated_spec.rb +6 -0
  37. data/spec/models/ansible_ansible_distribution_response_spec.rb +35 -5
  38. data/spec/models/ansible_ansible_distribution_spec.rb +10 -4
  39. data/spec/models/ansible_collection_version_response_spec.rb +7 -7
  40. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  41. data/spec/models/ansible_git_remote_spec.rb +20 -20
  42. data/spec/models/ansible_role_response_spec.rb +7 -7
  43. data/spec/models/ansible_role_spec.rb +8 -2
  44. data/spec/models/patchedansible_ansible_distribution_spec.rb +10 -4
  45. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  46. data/spec/models/repository_add_remove_content_spec.rb +6 -0
  47. metadata +121 -121
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd736d182aa7e92f8b8853965775ad9c7cf78b0581685c07caf1ae9b94e5d9ce
4
- data.tar.gz: bf95085e0ccef4f5160b621225b81f7926b0682920ab35eaa8dcfaeeae61eb5f
3
+ metadata.gz: 15bd1aaac305bcafea03e26cae6e5317fc2f7cbdd407869a2d37279b1dfc96ed
4
+ data.tar.gz: c559c242ab05b0c144e26aba54a0eddbbdaa1ea39d3490fc3cb4b5fa5998cbe9
5
5
  SHA512:
6
- metadata.gz: 8071d445cf3818c96047c7ac603440c7cf5430e243fefffd04122c404f4eb045439e09cd037ac030a149fbb3f5203bfbb17a997eac5135094f0a5831320de6b0
7
- data.tar.gz: 186ac70d66565147666379ff438f6438253fd47f4a913fd4b3110145a685455b1b529df7ebeca8e8a6bedc499933a0b5b12a0726f579e0eb79cb2a78c54b0674
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.7
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.7.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.7.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.7'
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
@@ -6,10 +6,11 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
8
8
  | **content_guard** | **String** | An optional content-guard. | [optional] |
9
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
10
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
9
11
  | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
10
12
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
11
13
  | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
12
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
13
14
 
14
15
  ## Example
15
16
 
@@ -19,10 +20,11 @@ require 'pulp_ansible_client'
19
20
  instance = PulpAnsibleClient::AnsibleAnsibleDistribution.new(
20
21
  base_path: null,
21
22
  content_guard: null,
23
+ hidden: null,
24
+ pulp_labels: null,
22
25
  name: null,
23
26
  repository: null,
24
- repository_version: null,
25
- pulp_labels: null
27
+ repository_version: null
26
28
  )
27
29
  ```
28
30
 
@@ -5,14 +5,19 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **pulp_href** | **String** | | [optional][readonly] |
8
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
9
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
+ | **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] |
9
11
  | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
10
12
  | **content_guard** | **String** | An optional content-guard. | [optional] |
13
+ | **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
14
+ | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
15
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
16
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
11
17
  | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
12
18
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
13
19
  | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
14
20
  | **client_url** | **String** | The URL of a Collection content source. | [optional][readonly] |
15
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
16
21
 
17
22
  ## Example
18
23
 
@@ -21,14 +26,19 @@ require 'pulp_ansible_client'
21
26
 
22
27
  instance = PulpAnsibleClient::AnsibleAnsibleDistributionResponse.new(
23
28
  pulp_href: null,
29
+ prn: null,
24
30
  pulp_created: null,
31
+ pulp_last_updated: null,
25
32
  base_path: null,
26
33
  content_guard: null,
34
+ content_guard_prn: null,
35
+ no_content_change_since: null,
36
+ hidden: null,
37
+ pulp_labels: null,
27
38
  name: null,
28
39
  repository: null,
29
40
  repository_version: null,
30
- client_url: null,
31
- pulp_labels: null
41
+ client_url: null
32
42
  )
33
43
  ```
34
44
 
@@ -4,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
- | **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] |
7
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
10
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] |
11
10
  | **vuln_report** | **String** | | [optional][readonly] |
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] |
12
13
  | **pulp_href** | **String** | | [optional][readonly] |
13
- | **artifact** | **String** | Artifact file representing the physical content | [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
- prn: null,
42
- pulp_created: null,
43
- pulp_last_updated: null,
41
+ artifact: null,
44
42
  pulp_labels: null,
43
+ pulp_created: null,
45
44
  vuln_report: null,
45
+ pulp_last_updated: null,
46
+ prn: null,
46
47
  pulp_href: null,
47
- artifact: 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
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
8
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
9
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
10
- | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
11
- | **name** | **String** | A unique name for this remote. | |
12
7
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
13
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
15
8
  | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
16
- | **url** | **String** | The URL of an external content source. | |
17
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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] |
18
10
  | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
19
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
20
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
21
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
22
11
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
23
- | **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] |
24
- | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
12
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
13
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
25
14
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
26
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] |
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
- proxy_username: null,
37
- rate_limit: null,
38
- max_retries: null,
39
- total_timeout: null,
40
- name: null,
41
36
  client_key: null,
42
- ca_cert: null,
43
- download_concurrency: null,
44
37
  proxy_password: null,
45
- url: null,
46
- password: null,
38
+ total_timeout: null,
47
39
  username: null,
48
- client_cert: null,
49
- tls_validation: null,
50
- headers: null,
51
40
  proxy_url: null,
52
- sock_connect_timeout: null,
53
- sock_read_timeout: null,
41
+ proxy_username: null,
42
+ headers: null,
54
43
  pulp_labels: null,
55
44
  connect_timeout: null,
45
+ sock_read_timeout: null,
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
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
9
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
10
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] |
11
- | **name** | **String** | A unique name for this remote. | |
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] |
12
11
  | **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
13
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [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. | |
15
17
  | **url** | **String** | The URL of an external content source. | |
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] |
16
19
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
17
20
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
18
- | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
21
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
19
22
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
20
- | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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] |
21
25
  | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
22
- | **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] |
23
- | **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] |
24
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
25
- | **pulp_href** | **String** | | [optional][readonly] |
26
- | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
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
- prn: null,
37
- rate_limit: null,
38
- max_retries: null,
39
36
  total_timeout: null,
40
- name: null,
37
+ proxy_url: null,
38
+ prn: null,
39
+ headers: null,
41
40
  hidden_fields: null,
42
- ca_cert: null,
43
- download_concurrency: null,
41
+ pulp_labels: null,
42
+ pulp_href: null,
43
+ connect_timeout: null,
44
+ sock_read_timeout: null,
45
+ name: null,
44
46
  url: null,
47
+ sock_connect_timeout: null,
45
48
  client_cert: null,
46
49
  tls_validation: null,
47
- headers: null,
50
+ rate_limit: null,
48
51
  pulp_created: null,
49
- proxy_url: null,
52
+ max_retries: null,
53
+ download_concurrency: null,
50
54
  pulp_last_updated: null,
51
- sock_connect_timeout: null,
52
- sock_read_timeout: null,
53
- pulp_labels: null,
54
- pulp_href: null,
55
- connect_timeout: 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
- | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
8
- | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
9
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
+ | **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
- pulp_labels: null,
21
- repository: null,
22
21
  artifact: null,
22
+ repository: null,
23
+ pulp_labels: null,
24
+ overwrite: 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
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
- | **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] |
7
+ | **artifact** | **String** | Artifact file representing the physical content | |
10
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] |
11
10
  | **vuln_report** | **String** | | [optional][readonly] |
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] |
12
13
  | **pulp_href** | **String** | | [optional][readonly] |
13
- | **artifact** | **String** | Artifact file representing the physical content | |
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
- prn: null,
25
- pulp_created: null,
26
- pulp_last_updated: null,
24
+ artifact: null,
27
25
  pulp_labels: null,
26
+ pulp_created: null,
28
27
  vuln_report: null,
28
+ pulp_last_updated: null,
29
+ prn: null,
29
30
  pulp_href: null,
30
- artifact: 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
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
37
38
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
38
- downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
39
- file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
40
- pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
41
39
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
42
- artifact: 'artifact_example', # String | Artifact file representing the physical content
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.
42
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned 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] |
82
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
81
83
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
82
- | **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** | **File** | An uploaded file that may be turned into the content unit. | [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
84
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
86
- | **artifact** | **String** | Artifact file representing the physical content | [optional] |
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] |
87
+ | **file** | **File** | An uploaded file that may be turned 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] |
@@ -6,10 +6,11 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [optional] |
8
8
  | **content_guard** | **String** | An optional content-guard. | [optional] |
9
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
10
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
9
11
  | **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | [optional] |
10
12
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
11
13
  | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
12
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
13
14
 
14
15
  ## Example
15
16
 
@@ -19,10 +20,11 @@ require 'pulp_ansible_client'
19
20
  instance = PulpAnsibleClient::PatchedansibleAnsibleDistribution.new(
20
21
  base_path: null,
21
22
  content_guard: null,
23
+ hidden: null,
24
+ pulp_labels: null,
22
25
  name: null,
23
26
  repository: null,
24
- repository_version: null,
25
- pulp_labels: null
27
+ repository_version: null
26
28
  )
27
29
  ```
28
30
 
@@ -4,26 +4,26 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
8
- | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
9
- | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
10
- | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
11
- | **name** | **String** | A unique name for this remote. | [optional] |
12
7
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
13
- | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
15
8
  | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
16
- | **url** | **String** | The URL of an external content source. | [optional] |
17
- | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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] |
18
10
  | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
19
- | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
20
- | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
21
- | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
22
11
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
23
- | **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] |
24
- | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
12
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
13
+ | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
25
14
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
26
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] |
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
- proxy_username: null,
37
- rate_limit: null,
38
- max_retries: null,
39
- total_timeout: null,
40
- name: null,
41
36
  client_key: null,
42
- ca_cert: null,
43
- download_concurrency: null,
44
37
  proxy_password: null,
45
- url: null,
46
- password: null,
38
+ total_timeout: null,
47
39
  username: null,
48
- client_cert: null,
49
- tls_validation: null,
50
- headers: null,
51
40
  proxy_url: null,
52
- sock_connect_timeout: null,
53
- sock_read_timeout: null,
41
+ proxy_username: null,
42
+ headers: null,
54
43
  pulp_labels: null,
55
44
  connect_timeout: null,
45
+ sock_read_timeout: null,
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
  )
@@ -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?