pulpcore_client 3.69.2 → 3.70.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +22 -17
- data/docs/AccessPoliciesApi.md +169 -84
- data/docs/AccessPolicy.md +14 -13
- data/docs/AccessPolicyResponse.md +26 -25
- data/docs/ApiAppStatusResponse.md +12 -11
- data/docs/ArtifactDistributionResponse.md +28 -27
- data/docs/ArtifactResponse.md +30 -29
- data/docs/ArtifactsApi.md +145 -78
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/CompositeContentGuard.md +12 -11
- data/docs/CompositeContentGuardResponse.md +20 -19
- data/docs/ContentApi.md +52 -36
- data/docs/ContentAppStatusResponse.md +12 -11
- data/docs/ContentGuardResponse.md +18 -17
- data/docs/ContentOpenpgpPublickeyApi.md +111 -61
- data/docs/ContentOpenpgpPublicsubkeyApi.md +80 -47
- data/docs/ContentOpenpgpSignatureApi.md +80 -47
- data/docs/ContentOpenpgpUserattributeApi.md +80 -47
- data/docs/ContentOpenpgpUseridApi.md +89 -56
- data/docs/ContentRedirectContentGuard.md +10 -9
- data/docs/ContentRedirectContentGuardResponse.md +18 -17
- data/docs/ContentSettingsResponse.md +10 -9
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/ContentguardsApi.md +57 -41
- data/docs/ContentguardsCompositeApi.md +315 -146
- data/docs/ContentguardsContentRedirectApi.md +315 -146
- data/docs/ContentguardsHeaderApi.md +315 -146
- data/docs/ContentguardsRbacApi.md +315 -146
- data/docs/DatabaseConnectionResponse.md +8 -7
- data/docs/DistributionResponse.md +30 -29
- data/docs/DistributionsApi.md +68 -52
- data/docs/DistributionsArtifactsApi.md +95 -62
- data/docs/DistributionsOpenpgpApi.md +248 -113
- data/docs/Domain.md +18 -17
- data/docs/DomainBackendMigrator.md +10 -9
- data/docs/DomainResponse.md +26 -25
- data/docs/DomainsApi.md +224 -106
- data/docs/EvaluationResponse.md +12 -11
- data/docs/ExportersFilesystemApi.md +196 -95
- data/docs/ExportersFilesystemExportsApi.md +120 -53
- data/docs/ExportersPulpApi.md +196 -95
- data/docs/ExportersPulpExportsApi.md +120 -53
- data/docs/FilesystemExport.md +14 -13
- data/docs/FilesystemExportResponse.md +20 -19
- data/docs/FilesystemExporter.md +12 -11
- data/docs/FilesystemExporterResponse.md +20 -19
- data/docs/GenericRemoteResponse.md +58 -0
- data/docs/GenericRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/Group.md +8 -7
- data/docs/GroupProgressReportResponse.md +16 -15
- data/docs/GroupResponse.md +14 -13
- data/docs/GroupRole.md +12 -11
- data/docs/GroupRoleResponse.md +24 -23
- data/docs/GroupUser.md +8 -7
- data/docs/GroupUserResponse.md +12 -11
- data/docs/GroupsApi.md +314 -145
- data/docs/GroupsRolesApi.md +139 -72
- data/docs/GroupsUsersApi.md +90 -40
- data/docs/HeaderContentGuard.md +16 -15
- data/docs/HeaderContentGuardResponse.md +24 -23
- data/docs/ImportResponse.md +18 -17
- data/docs/ImportersPulpApi.md +195 -94
- data/docs/ImportersPulpImportCheckApi.md +29 -13
- data/docs/ImportersPulpImportsApi.md +120 -53
- data/docs/LivezApi.md +25 -8
- data/docs/LoginApi.md +204 -0
- data/docs/LoginResponse.md +22 -0
- data/docs/MethodEnum.md +4 -5
- data/docs/MinimalTaskResponse.md +26 -25
- data/docs/MultipleArtifactContentResponse.md +16 -15
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedOpenPGPPublicSubkey.md +10 -9
- data/docs/NestedOpenPGPPublicSubkeyResponse.md +12 -11
- data/docs/NestedOpenPGPSignature.md +18 -17
- data/docs/NestedOpenPGPSignatureResponse.md +20 -19
- data/docs/NestedOpenPGPUserAttribute.md +8 -7
- data/docs/NestedOpenPGPUserAttributeResponse.md +10 -9
- data/docs/NestedOpenPGPUserID.md +8 -7
- data/docs/NestedOpenPGPUserIDResponse.md +10 -9
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/OpenPGPDistribution.md +20 -19
- data/docs/OpenPGPDistributionResponse.md +32 -31
- data/docs/OpenPGPKeyring.md +16 -15
- data/docs/OpenPGPKeyringResponse.md +28 -27
- data/docs/OpenPGPPublicKeyResponse.md +24 -23
- data/docs/OpenPGPPublicSubkeyResponse.md +22 -21
- data/docs/OpenPGPSignatureResponse.md +30 -29
- data/docs/OpenPGPUserAttributeResponse.md +20 -19
- data/docs/OpenPGPUserIDResponse.md +20 -19
- data/docs/OrphansApi.md +26 -9
- data/docs/OrphansCleanup.md +10 -9
- data/docs/OrphansCleanupApi.md +29 -12
- data/docs/PaginatedAccessPolicyResponseList.md +14 -13
- data/docs/PaginatedArtifactDistributionResponseList.md +14 -13
- data/docs/PaginatedArtifactResponseList.md +14 -13
- data/docs/PaginatedCompositeContentGuardResponseList.md +14 -13
- data/docs/PaginatedContentGuardResponseList.md +14 -13
- data/docs/PaginatedContentRedirectContentGuardResponseList.md +14 -13
- data/docs/PaginatedDistributionResponseList.md +14 -13
- data/docs/PaginatedDomainResponseList.md +14 -13
- data/docs/PaginatedFilesystemExportResponseList.md +14 -13
- data/docs/PaginatedFilesystemExporterResponseList.md +14 -13
- data/docs/PaginatedGenericRemoteResponseList.md +24 -0
- data/docs/PaginatedGroupResponseList.md +14 -13
- data/docs/PaginatedGroupRoleResponseList.md +14 -13
- data/docs/PaginatedGroupUserResponseList.md +14 -13
- data/docs/PaginatedHeaderContentGuardResponseList.md +14 -13
- data/docs/PaginatedImportResponseList.md +14 -13
- data/docs/PaginatedMultipleArtifactContentResponseList.md +14 -13
- data/docs/PaginatedOpenPGPDistributionResponseList.md +14 -13
- data/docs/PaginatedOpenPGPKeyringResponseList.md +14 -13
- data/docs/PaginatedOpenPGPPublicKeyResponseList.md +14 -13
- data/docs/PaginatedOpenPGPPublicSubkeyResponseList.md +14 -13
- data/docs/PaginatedOpenPGPSignatureResponseList.md +14 -13
- data/docs/PaginatedOpenPGPUserAttributeResponseList.md +14 -13
- data/docs/PaginatedOpenPGPUserIDResponseList.md +14 -13
- data/docs/PaginatedPublicationResponseList.md +14 -13
- data/docs/PaginatedPulpExportResponseList.md +14 -13
- data/docs/PaginatedPulpExporterResponseList.md +14 -13
- data/docs/PaginatedPulpImporterResponseList.md +14 -13
- data/docs/PaginatedRBACContentGuardResponseList.md +14 -13
- data/docs/PaginatedRepositoryResponseList.md +14 -13
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedRoleResponseList.md +14 -13
- data/docs/PaginatedSigningServiceResponseList.md +14 -13
- data/docs/PaginatedTaskGroupResponseList.md +14 -13
- data/docs/PaginatedTaskResponseList.md +14 -13
- data/docs/PaginatedTaskScheduleResponseList.md +14 -13
- data/docs/PaginatedUploadResponseList.md +14 -13
- data/docs/PaginatedUpstreamPulpResponseList.md +14 -13
- data/docs/PaginatedUserResponseList.md +14 -13
- data/docs/PaginatedUserRoleResponseList.md +14 -13
- data/docs/PaginatedWorkerResponseList.md +14 -13
- data/docs/PatchedAccessPolicy.md +14 -13
- data/docs/PatchedCompositeContentGuard.md +12 -11
- data/docs/PatchedContentRedirectContentGuard.md +10 -9
- data/docs/PatchedDomain.md +18 -17
- data/docs/PatchedFilesystemExporter.md +12 -11
- data/docs/PatchedGroup.md +8 -7
- data/docs/PatchedHeaderContentGuard.md +16 -15
- data/docs/PatchedOpenPGPDistribution.md +20 -19
- data/docs/PatchedOpenPGPKeyring.md +16 -15
- data/docs/PatchedPulpExporter.md +14 -13
- data/docs/PatchedPulpImporter.md +10 -9
- data/docs/PatchedRBACContentGuard.md +10 -9
- data/docs/PatchedRole.md +12 -11
- data/docs/PatchedTaskCancel.md +8 -7
- data/docs/PatchedUpstreamPulp.md +28 -27
- data/docs/PatchedUser.md +20 -19
- data/docs/PolicyEnum.md +4 -5
- data/docs/ProfileArtifactResponse.md +8 -7
- data/docs/ProgressReportResponse.md +18 -17
- data/docs/PublicationResponse.md +18 -17
- data/docs/PublicationsApi.md +67 -49
- data/docs/PulpExport.md +18 -17
- data/docs/PulpExportResponse.md +24 -23
- data/docs/PulpExporter.md +14 -13
- data/docs/PulpExporterResponse.md +22 -21
- data/docs/PulpImport.md +12 -11
- data/docs/PulpImportCheck.md +12 -11
- data/docs/PulpImportCheckResponse.md +12 -11
- data/docs/PulpImporter.md +10 -9
- data/docs/PulpImporterResponse.md +18 -17
- data/docs/Purge.md +10 -9
- data/docs/RBACContentGuard.md +10 -9
- data/docs/RBACContentGuardResponse.md +22 -21
- data/docs/ReclaimSpace.md +10 -9
- data/docs/RedisConnectionResponse.md +8 -7
- data/docs/RemotesApi.md +73 -55
- data/docs/Repair.md +8 -7
- data/docs/RepairApi.md +29 -13
- data/docs/RepositoriesApi.md +71 -55
- data/docs/RepositoriesOpenpgpKeyringApi.md +416 -196
- data/docs/RepositoriesReclaimSpaceApi.md +30 -13
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositoryResponse.md +28 -27
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/RepositoryVersionsApi.md +65 -47
- data/docs/Role.md +12 -11
- data/docs/RoleResponse.md +22 -21
- data/docs/RolesApi.md +203 -102
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/SigningServiceResponse.md +22 -21
- data/docs/SigningServicesApi.md +75 -42
- data/docs/StatesEnum.md +4 -5
- data/docs/StatusApi.md +26 -9
- data/docs/StatusResponse.md +24 -23
- data/docs/StorageClassEnum.md +4 -5
- data/docs/StorageResponse.md +12 -11
- data/docs/TaskGroupOperationResponse.md +8 -7
- data/docs/TaskGroupResponse.md +32 -31
- data/docs/TaskGroupsApi.md +93 -43
- data/docs/TaskResponse.md +44 -43
- data/docs/TaskScheduleResponse.md +24 -23
- data/docs/TaskSchedulesApi.md +198 -97
- data/docs/TasksApi.md +382 -195
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/docs/Upload.md +8 -7
- data/docs/UploadChunkResponse.md +10 -9
- data/docs/UploadCommit.md +8 -7
- data/docs/UploadDetailResponse.md +20 -19
- data/docs/UploadResponse.md +18 -17
- data/docs/UploadsApi.md +313 -144
- data/docs/UpstreamPulp.md +28 -27
- data/docs/UpstreamPulpResponse.md +34 -33
- data/docs/UpstreamPulpsApi.md +366 -178
- data/docs/User.md +20 -19
- data/docs/UserGroup.md +8 -7
- data/docs/UserGroupResponse.md +12 -11
- data/docs/UserResponse.md +30 -29
- data/docs/UserRole.md +12 -11
- data/docs/UserRoleResponse.md +24 -23
- data/docs/UsersApi.md +211 -110
- data/docs/UsersRolesApi.md +139 -72
- data/docs/VersionResponse.md +16 -15
- data/docs/WorkerResponse.md +22 -21
- data/docs/WorkersApi.md +100 -65
- data/lib/pulpcore_client/api/access_policies_api.rb +34 -23
- data/lib/pulpcore_client/api/artifacts_api.rb +24 -17
- data/lib/pulpcore_client/api/content_api.rb +6 -5
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +20 -14
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +11 -9
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +11 -9
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +11 -9
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +11 -9
- data/lib/pulpcore_client/api/contentguards_api.rb +6 -5
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +70 -45
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +70 -45
- data/lib/pulpcore_client/api/contentguards_header_api.rb +70 -45
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +70 -45
- data/lib/pulpcore_client/api/distributions_api.rb +6 -5
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -9
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +61 -38
- data/lib/pulpcore_client/api/domains_api.rb +52 -33
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +43 -28
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +24 -17
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +43 -28
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +24 -17
- data/lib/pulpcore_client/api/groups_api.rb +70 -45
- data/lib/pulpcore_client/api/groups_roles_api.rb +24 -17
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -13
- data/lib/pulpcore_client/api/importers_pulp_api.rb +42 -27
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +10 -6
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +24 -17
- data/lib/pulpcore_client/api/livez_api.rb +5 -4
- data/lib/pulpcore_client/api/login_api.rb +179 -0
- data/lib/pulpcore_client/api/orphans_api.rb +6 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +10 -6
- data/lib/pulpcore_client/api/publications_api.rb +21 -17
- data/lib/pulpcore_client/api/remotes_api.rb +23 -19
- data/lib/pulpcore_client/api/repair_api.rb +10 -6
- data/lib/pulpcore_client/api/repositories_api.rb +6 -5
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +98 -61
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +10 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +21 -17
- data/lib/pulpcore_client/api/roles_api.rb +42 -27
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -9
- data/lib/pulpcore_client/api/status_api.rb +6 -5
- data/lib/pulpcore_client/api/task_groups_api.rb +20 -14
- data/lib/pulpcore_client/api/task_schedules_api.rb +39 -27
- data/lib/pulpcore_client/api/tasks_api.rb +117 -68
- data/lib/pulpcore_client/api/uploads_api.rb +70 -45
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +93 -64
- data/lib/pulpcore_client/api/users_api.rb +42 -27
- data/lib/pulpcore_client/api/users_roles_api.rb +24 -17
- data/lib/pulpcore_client/api/workers_api.rb +26 -21
- data/lib/pulpcore_client/api_client.rb +137 -102
- data/lib/pulpcore_client/api_error.rb +2 -1
- data/lib/pulpcore_client/configuration.rb +162 -21
- data/lib/pulpcore_client/models/access_policy.rb +32 -22
- data/lib/pulpcore_client/models/access_policy_response.rb +34 -24
- data/lib/pulpcore_client/models/api_app_status_response.rb +31 -23
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +91 -79
- data/lib/pulpcore_client/models/artifact_response.rb +34 -24
- data/lib/pulpcore_client/models/async_operation_response.rb +32 -22
- data/lib/pulpcore_client/models/composite_content_guard.rb +32 -22
- data/lib/pulpcore_client/models/composite_content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/content_app_status_response.rb +31 -23
- data/lib/pulpcore_client/models/content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/content_redirect_content_guard.rb +32 -22
- data/lib/pulpcore_client/models/content_redirect_content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/content_settings_response.rb +33 -27
- data/lib/pulpcore_client/models/content_summary_response.rb +36 -22
- data/lib/pulpcore_client/models/database_connection_response.rb +32 -22
- data/lib/pulpcore_client/models/distribution_response.rb +36 -24
- data/lib/pulpcore_client/models/domain.rb +58 -22
- data/lib/pulpcore_client/models/domain_backend_migrator.rb +56 -22
- data/lib/pulpcore_client/models/domain_response.rb +60 -24
- data/lib/pulpcore_client/models/evaluation_response.rb +36 -22
- data/lib/pulpcore_client/models/filesystem_export.rb +30 -22
- data/lib/pulpcore_client/models/filesystem_export_response.rb +32 -24
- data/lib/pulpcore_client/models/filesystem_exporter.rb +56 -22
- data/lib/pulpcore_client/models/filesystem_exporter_response.rb +58 -24
- data/lib/pulpcore_client/models/{remote_response.rb → generic_remote_response.rb} +63 -29
- data/lib/pulpcore_client/models/{remote_response_hidden_fields.rb → generic_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulpcore_client/models/group.rb +32 -22
- data/lib/pulpcore_client/models/group_progress_report_response.rb +30 -22
- data/lib/pulpcore_client/models/group_response.rb +32 -22
- data/lib/pulpcore_client/models/group_role.rb +35 -23
- data/lib/pulpcore_client/models/group_role_response.rb +36 -24
- data/lib/pulpcore_client/models/group_user.rb +32 -22
- data/lib/pulpcore_client/models/group_user_response.rb +32 -22
- data/lib/pulpcore_client/models/header_content_guard.rb +36 -22
- data/lib/pulpcore_client/models/header_content_guard_response.rb +38 -24
- data/lib/pulpcore_client/models/import_response.rb +36 -24
- data/lib/pulpcore_client/models/{upload_chunk.rb → login_response.rb} +55 -62
- data/lib/pulpcore_client/models/method_enum.rb +8 -4
- data/lib/pulpcore_client/models/minimal_task_response.rb +37 -27
- data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +34 -24
- data/lib/pulpcore_client/models/my_permissions_response.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey_response.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute_response.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_user_id.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_user_id_response.rb +32 -22
- data/lib/pulpcore_client/models/nested_role.rb +32 -22
- data/lib/pulpcore_client/models/nested_role_response.rb +32 -22
- data/lib/pulpcore_client/models/object_roles_response.rb +32 -22
- data/lib/pulpcore_client/models/open_pgp_distribution.rb +34 -22
- data/lib/pulpcore_client/models/open_pgp_distribution_response.rb +36 -24
- data/lib/pulpcore_client/models/open_pgp_keyring.rb +32 -22
- data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +34 -24
- data/lib/pulpcore_client/models/open_pgp_public_key_response.rb +38 -26
- data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +37 -25
- data/lib/pulpcore_client/models/open_pgp_signature_response.rb +37 -25
- data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +34 -24
- data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +34 -24
- data/lib/pulpcore_client/models/orphans_cleanup.rb +31 -23
- data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_composite_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_domain_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +34 -22
- data/lib/pulpcore_client/models/{paginated_remote_response_list.rb → paginated_generic_remote_response_list.rb} +38 -26
- data/lib/pulpcore_client/models/paginated_group_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_import_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_publication_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_repository_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_role_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_task_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_upload_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_user_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_worker_response_list.rb +34 -22
- data/lib/pulpcore_client/models/patched_access_policy.rb +30 -22
- data/lib/pulpcore_client/models/patched_composite_content_guard.rb +35 -23
- data/lib/pulpcore_client/models/patched_content_redirect_content_guard.rb +35 -23
- data/lib/pulpcore_client/models/patched_domain.rb +59 -25
- data/lib/pulpcore_client/models/patched_filesystem_exporter.rb +62 -24
- data/lib/pulpcore_client/models/patched_group.rb +36 -24
- data/lib/pulpcore_client/models/patched_header_content_guard.rb +45 -25
- data/lib/pulpcore_client/models/patched_open_pgp_distribution.rb +40 -24
- data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +35 -23
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +40 -24
- data/lib/pulpcore_client/models/patched_pulp_importer.rb +35 -23
- data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +35 -23
- data/lib/pulpcore_client/models/patched_role.rb +35 -23
- data/lib/pulpcore_client/models/patched_task_cancel.rb +35 -23
- data/lib/pulpcore_client/models/patched_upstream_pulp.rb +45 -25
- data/lib/pulpcore_client/models/patched_user.rb +46 -26
- data/lib/pulpcore_client/models/policy_enum.rb +10 -5
- data/lib/pulpcore_client/models/profile_artifact_response.rb +32 -22
- data/lib/pulpcore_client/models/progress_report_response.rb +30 -22
- data/lib/pulpcore_client/models/publication_response.rb +32 -24
- data/lib/pulpcore_client/models/pulp_export.rb +35 -23
- data/lib/pulpcore_client/models/pulp_export_response.rb +32 -24
- data/lib/pulpcore_client/models/pulp_exporter.rb +36 -22
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +38 -24
- data/lib/pulpcore_client/models/pulp_import.rb +40 -24
- data/lib/pulpcore_client/models/pulp_import_check.rb +45 -25
- data/lib/pulpcore_client/models/pulp_import_check_response.rb +30 -22
- data/lib/pulpcore_client/models/pulp_importer.rb +32 -22
- data/lib/pulpcore_client/models/pulp_importer_response.rb +34 -24
- data/lib/pulpcore_client/models/purge.rb +31 -23
- data/lib/pulpcore_client/models/rbac_content_guard.rb +32 -22
- data/lib/pulpcore_client/models/rbac_content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/reclaim_space.rb +33 -23
- data/lib/pulpcore_client/models/redis_connection_response.rb +32 -22
- data/lib/pulpcore_client/models/repair.rb +30 -22
- data/lib/pulpcore_client/models/repository_add_remove_content.rb +30 -22
- data/lib/pulpcore_client/models/repository_response.rb +34 -24
- data/lib/pulpcore_client/models/repository_version_response.rb +32 -24
- data/lib/pulpcore_client/models/role.rb +34 -22
- data/lib/pulpcore_client/models/role_response.rb +36 -24
- data/lib/pulpcore_client/models/set_label.rb +34 -22
- data/lib/pulpcore_client/models/set_label_response.rb +34 -22
- data/lib/pulpcore_client/models/signing_service_response.rb +40 -24
- data/lib/pulpcore_client/models/states_enum.rb +8 -4
- data/lib/pulpcore_client/models/status_response.rb +44 -22
- data/lib/pulpcore_client/models/storage_class_enum.rb +8 -4
- data/lib/pulpcore_client/models/storage_response.rb +39 -25
- data/lib/pulpcore_client/models/task_group_operation_response.rb +32 -22
- data/lib/pulpcore_client/models/task_group_response.rb +34 -22
- data/lib/pulpcore_client/models/task_response.rb +39 -27
- data/lib/pulpcore_client/models/task_schedule_response.rb +39 -25
- data/lib/pulpcore_client/models/unset_label.rb +32 -22
- data/lib/pulpcore_client/models/unset_label_response.rb +32 -22
- data/lib/pulpcore_client/models/upload.rb +32 -22
- data/lib/pulpcore_client/models/upload_chunk_response.rb +30 -22
- data/lib/pulpcore_client/models/upload_commit.rb +32 -22
- data/lib/pulpcore_client/models/upload_detail_response.rb +35 -25
- data/lib/pulpcore_client/models/upload_response.rb +35 -25
- data/lib/pulpcore_client/models/upstream_pulp.rb +36 -22
- data/lib/pulpcore_client/models/upstream_pulp_response.rb +40 -26
- data/lib/pulpcore_client/models/user.rb +42 -24
- data/lib/pulpcore_client/models/user_group.rb +32 -22
- data/lib/pulpcore_client/models/user_group_response.rb +32 -22
- data/lib/pulpcore_client/models/user_response.rb +44 -26
- data/lib/pulpcore_client/models/user_role.rb +35 -23
- data/lib/pulpcore_client/models/user_role_response.rb +36 -24
- data/lib/pulpcore_client/models/version_response.rb +40 -22
- data/lib/pulpcore_client/models/worker_response.rb +33 -25
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +6 -7
- data/pulpcore_client.gemspec +9 -6
- data/spec/api/access_policies_api_spec.rb +6 -6
- data/spec/api/artifacts_api_spec.rb +5 -5
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/content_openpgp_publickey_api_spec.rb +4 -4
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +3 -3
- data/spec/api/content_openpgp_signature_api_spec.rb +3 -3
- data/spec/api/content_openpgp_userattribute_api_spec.rb +3 -3
- data/spec/api/content_openpgp_userid_api_spec.rb +3 -3
- data/spec/api/contentguards_api_spec.rb +2 -2
- data/spec/api/contentguards_composite_api_spec.rb +11 -11
- data/spec/api/contentguards_content_redirect_api_spec.rb +11 -11
- data/spec/api/contentguards_header_api_spec.rb +11 -11
- data/spec/api/contentguards_rbac_api_spec.rb +11 -11
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/distributions_artifacts_api_spec.rb +3 -3
- data/spec/api/distributions_openpgp_api_spec.rb +9 -9
- data/spec/api/domains_api_spec.rb +8 -8
- data/spec/api/exporters_filesystem_api_spec.rb +7 -7
- data/spec/api/exporters_filesystem_exports_api_spec.rb +5 -5
- data/spec/api/exporters_pulp_api_spec.rb +7 -7
- data/spec/api/exporters_pulp_exports_api_spec.rb +5 -5
- data/spec/api/groups_api_spec.rb +11 -11
- data/spec/api/groups_roles_api_spec.rb +5 -5
- data/spec/api/groups_users_api_spec.rb +4 -4
- data/spec/api/importers_pulp_api_spec.rb +7 -7
- data/spec/api/importers_pulp_import_check_api_spec.rb +2 -2
- data/spec/api/importers_pulp_imports_api_spec.rb +5 -5
- data/spec/api/livez_api_spec.rb +2 -2
- data/spec/api/login_api_spec.rb +62 -0
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +9 -8
- data/spec/api/remotes_api_spec.rb +10 -9
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +14 -14
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +9 -8
- data/spec/api/roles_api_spec.rb +7 -7
- data/spec/api/signing_services_api_spec.rb +3 -3
- data/spec/api/status_api_spec.rb +2 -2
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +7 -7
- data/spec/api/tasks_api_spec.rb +32 -23
- data/spec/api/uploads_api_spec.rb +11 -11
- data/spec/api/upstream_pulps_api_spec.rb +20 -19
- data/spec/api/users_api_spec.rb +7 -7
- data/spec/api/users_roles_api_spec.rb +5 -5
- data/spec/api/workers_api_spec.rb +10 -9
- data/spec/models/access_policy_response_spec.rb +16 -21
- data/spec/models/access_policy_spec.rb +10 -15
- data/spec/models/api_app_status_response_spec.rb +9 -14
- data/spec/models/artifact_distribution_response_spec.rb +27 -32
- data/spec/models/artifact_response_spec.rb +18 -23
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/composite_content_guard_response_spec.rb +13 -18
- data/spec/models/composite_content_guard_spec.rb +9 -14
- data/spec/models/content_app_status_response_spec.rb +9 -14
- data/spec/models/content_guard_response_spec.rb +12 -17
- data/spec/models/content_redirect_content_guard_response_spec.rb +12 -17
- data/spec/models/content_redirect_content_guard_spec.rb +8 -13
- data/spec/models/content_settings_response_spec.rb +8 -13
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/database_connection_response_spec.rb +7 -12
- data/spec/models/distribution_response_spec.rb +18 -23
- data/spec/models/domain_backend_migrator_spec.rb +8 -13
- data/spec/models/domain_response_spec.rb +16 -21
- data/spec/models/domain_spec.rb +12 -17
- data/spec/models/evaluation_response_spec.rb +9 -14
- data/spec/models/filesystem_export_response_spec.rb +13 -18
- data/spec/models/filesystem_export_spec.rb +10 -15
- data/spec/models/filesystem_exporter_response_spec.rb +13 -18
- data/spec/models/filesystem_exporter_spec.rb +9 -14
- data/spec/models/generic_remote_response_hidden_fields_inner_spec.rb +42 -0
- data/spec/models/generic_remote_response_spec.rb +156 -0
- data/spec/models/group_progress_report_response_spec.rb +11 -16
- data/spec/models/group_response_spec.rb +10 -15
- data/spec/models/group_role_response_spec.rb +15 -20
- data/spec/models/group_role_spec.rb +9 -14
- data/spec/models/group_spec.rb +7 -12
- data/spec/models/group_user_response_spec.rb +9 -14
- data/spec/models/group_user_spec.rb +7 -12
- data/spec/models/header_content_guard_response_spec.rb +15 -20
- data/spec/models/header_content_guard_spec.rb +11 -16
- data/spec/models/import_response_spec.rb +12 -17
- data/spec/models/login_response_spec.rb +48 -0
- data/spec/models/method_enum_spec.rb +6 -11
- data/spec/models/minimal_task_response_spec.rb +16 -21
- data/spec/models/multiple_artifact_content_response_spec.rb +11 -16
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_open_pgp_public_subkey_response_spec.rb +9 -14
- data/spec/models/nested_open_pgp_public_subkey_spec.rb +8 -13
- data/spec/models/nested_open_pgp_signature_response_spec.rb +13 -18
- data/spec/models/nested_open_pgp_signature_spec.rb +12 -17
- data/spec/models/nested_open_pgp_user_attribute_response_spec.rb +8 -13
- data/spec/models/nested_open_pgp_user_attribute_spec.rb +7 -12
- data/spec/models/nested_open_pgp_user_id_response_spec.rb +8 -13
- data/spec/models/nested_open_pgp_user_id_spec.rb +7 -12
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/open_pgp_distribution_response_spec.rb +19 -24
- data/spec/models/open_pgp_distribution_spec.rb +13 -18
- data/spec/models/open_pgp_keyring_response_spec.rb +17 -22
- data/spec/models/open_pgp_keyring_spec.rb +11 -16
- data/spec/models/open_pgp_public_key_response_spec.rb +15 -20
- data/spec/models/open_pgp_public_subkey_response_spec.rb +14 -19
- data/spec/models/open_pgp_signature_response_spec.rb +18 -23
- data/spec/models/open_pgp_user_attribute_response_spec.rb +13 -18
- data/spec/models/open_pgp_user_id_response_spec.rb +13 -18
- data/spec/models/orphans_cleanup_spec.rb +8 -13
- data/spec/models/paginated_access_policy_response_list_spec.rb +10 -15
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginated_artifact_response_list_spec.rb +10 -15
- data/spec/models/paginated_composite_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_content_redirect_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginated_domain_response_list_spec.rb +10 -15
- data/spec/models/paginated_filesystem_export_response_list_spec.rb +10 -15
- data/spec/models/paginated_filesystem_exporter_response_list_spec.rb +10 -15
- data/spec/models/paginated_generic_remote_response_list_spec.rb +54 -0
- data/spec/models/paginated_group_response_list_spec.rb +10 -15
- data/spec/models/paginated_group_role_response_list_spec.rb +10 -15
- data/spec/models/paginated_group_user_response_list_spec.rb +10 -15
- data/spec/models/paginated_header_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_import_response_list_spec.rb +10 -15
- data/spec/models/paginated_multiple_artifact_content_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_keyring_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_public_key_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_public_subkey_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_signature_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_user_attribute_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_user_id_response_list_spec.rb +10 -15
- data/spec/models/paginated_publication_response_list_spec.rb +10 -15
- data/spec/models/paginated_pulp_export_response_list_spec.rb +10 -15
- data/spec/models/paginated_pulp_exporter_response_list_spec.rb +10 -15
- data/spec/models/paginated_pulp_importer_response_list_spec.rb +10 -15
- data/spec/models/paginated_rbac_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_repository_response_list_spec.rb +10 -15
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginated_role_response_list_spec.rb +10 -15
- data/spec/models/paginated_signing_service_response_list_spec.rb +10 -15
- data/spec/models/paginated_task_group_response_list_spec.rb +10 -15
- data/spec/models/paginated_task_response_list_spec.rb +10 -15
- data/spec/models/paginated_task_schedule_response_list_spec.rb +10 -15
- data/spec/models/paginated_upload_response_list_spec.rb +10 -15
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +10 -15
- data/spec/models/paginated_user_response_list_spec.rb +10 -15
- data/spec/models/paginated_user_role_response_list_spec.rb +10 -15
- data/spec/models/paginated_worker_response_list_spec.rb +10 -15
- data/spec/models/patched_access_policy_spec.rb +10 -15
- data/spec/models/patched_composite_content_guard_spec.rb +9 -14
- data/spec/models/patched_content_redirect_content_guard_spec.rb +8 -13
- data/spec/models/patched_domain_spec.rb +12 -17
- data/spec/models/patched_filesystem_exporter_spec.rb +9 -14
- data/spec/models/patched_group_spec.rb +7 -12
- data/spec/models/patched_header_content_guard_spec.rb +11 -16
- data/spec/models/patched_open_pgp_distribution_spec.rb +13 -18
- data/spec/models/patched_open_pgp_keyring_spec.rb +11 -16
- data/spec/models/patched_pulp_exporter_spec.rb +10 -15
- data/spec/models/patched_pulp_importer_spec.rb +8 -13
- data/spec/models/patched_rbac_content_guard_spec.rb +8 -13
- data/spec/models/patched_role_spec.rb +9 -14
- data/spec/models/patched_task_cancel_spec.rb +7 -12
- data/spec/models/patched_upstream_pulp_spec.rb +17 -22
- data/spec/models/patched_user_spec.rb +13 -18
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/profile_artifact_response_spec.rb +7 -12
- data/spec/models/progress_report_response_spec.rb +12 -17
- data/spec/models/publication_response_spec.rb +12 -17
- data/spec/models/pulp_export_response_spec.rb +15 -20
- data/spec/models/pulp_export_spec.rb +12 -17
- data/spec/models/pulp_exporter_response_spec.rb +14 -19
- data/spec/models/pulp_exporter_spec.rb +10 -15
- data/spec/models/pulp_import_check_response_spec.rb +9 -14
- data/spec/models/pulp_import_check_spec.rb +9 -14
- data/spec/models/pulp_import_spec.rb +9 -14
- data/spec/models/pulp_importer_response_spec.rb +12 -17
- data/spec/models/pulp_importer_spec.rb +8 -13
- data/spec/models/purge_spec.rb +8 -13
- data/spec/models/rbac_content_guard_response_spec.rb +14 -19
- data/spec/models/rbac_content_guard_spec.rb +8 -13
- data/spec/models/reclaim_space_spec.rb +8 -13
- data/spec/models/redis_connection_response_spec.rb +7 -12
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_response_spec.rb +17 -22
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/role_response_spec.rb +14 -19
- data/spec/models/role_spec.rb +9 -14
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/signing_service_response_spec.rb +14 -19
- data/spec/models/states_enum_spec.rb +6 -11
- data/spec/models/status_response_spec.rb +15 -20
- data/spec/models/storage_class_enum_spec.rb +6 -11
- data/spec/models/storage_response_spec.rb +9 -14
- data/spec/models/task_group_operation_response_spec.rb +7 -12
- data/spec/models/task_group_response_spec.rb +19 -24
- data/spec/models/task_response_spec.rb +25 -30
- data/spec/models/task_schedule_response_spec.rb +15 -20
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/models/upload_chunk_response_spec.rb +8 -13
- data/spec/models/upload_commit_spec.rb +7 -12
- data/spec/models/upload_detail_response_spec.rb +13 -18
- data/spec/models/upload_response_spec.rb +12 -17
- data/spec/models/upload_spec.rb +7 -12
- data/spec/models/upstream_pulp_response_spec.rb +20 -25
- data/spec/models/upstream_pulp_spec.rb +17 -22
- data/spec/models/user_group_response_spec.rb +9 -14
- data/spec/models/user_group_spec.rb +7 -12
- data/spec/models/user_response_spec.rb +18 -23
- data/spec/models/user_role_response_spec.rb +15 -20
- data/spec/models/user_role_spec.rb +9 -14
- data/spec/models/user_spec.rb +13 -18
- data/spec/models/version_response_spec.rb +11 -16
- data/spec/models/worker_response_spec.rb +14 -19
- data/spec/spec_helper.rb +1 -1
- metadata +61 -41
- data/docs/Artifact.md +0 -31
- data/docs/OpenPGPPublicKey.md +0 -23
- data/docs/PaginatedRemoteResponseList.md +0 -23
- data/docs/RemoteResponse.md +0 -57
- data/docs/RemoteResponseHiddenFields.md +0 -19
- data/docs/UploadChunk.md +0 -19
- data/lib/pulpcore_client/models/artifact.rb +0 -379
- data/lib/pulpcore_client/models/open_pgp_public_key.rb +0 -253
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/artifact_spec.rb +0 -83
- data/spec/models/open_pgp_public_key_spec.rb +0 -59
- data/spec/models/paginated_remote_response_list_spec.rb +0 -59
- data/spec/models/remote_response_hidden_fields_spec.rb +0 -47
- data/spec/models/remote_response_spec.rb +0 -161
- data/spec/models/upload_chunk_spec.rb +0 -47
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e7d77f93c118190c027889deac668cbb8efe584dab1ca7092acc972b18eccd4
|
4
|
+
data.tar.gz: 6fb505cd143c52443ae85d4cd2f86d76cd9a4697ed407adddbbc88c66b366454
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccf959094a946882871ea1c3eda2284c60d5c0f0e48173fc79a6d7dbdcacedf1617b350ddc905e3b4fe23afd0d5c34d6c764701679fbf71f8be586b9d3c80835
|
7
|
+
data.tar.gz: d903d5a06fc2acbc5eadd3c93e055284e41d0debd4b6b8eb316747263a86180653c35e7d046d1f446ef687158401af5dcf6b54b923f8550fa4483263be74bc61
|
data/README.md
CHANGED
@@ -7,7 +7,8 @@ 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: 3.
|
10
|
+
- Package version: 3.70.0
|
11
|
+
- Generator version: 7.10.0
|
11
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
14
|
|
@@ -24,16 +25,16 @@ gem build pulpcore_client.gemspec
|
|
24
25
|
Then either install the gem locally:
|
25
26
|
|
26
27
|
```shell
|
27
|
-
gem install ./pulpcore_client-3.
|
28
|
+
gem install ./pulpcore_client-3.70.0.gem
|
28
29
|
```
|
29
30
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
31
|
+
(for development, run `gem install --dev ./pulpcore_client-3.70.0.gem` to install the development dependencies)
|
31
32
|
|
32
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
34
|
|
34
35
|
Finally add this to the Gemfile:
|
35
36
|
|
36
|
-
gem 'pulpcore_client', '~> 3.
|
37
|
+
gem 'pulpcore_client', '~> 3.70.0'
|
37
38
|
|
38
39
|
### Install from Git
|
39
40
|
|
@@ -62,6 +63,8 @@ PulpcoreClient.configure do |config|
|
|
62
63
|
# Configure HTTP basic authorization: basicAuth
|
63
64
|
config.username = 'YOUR_USERNAME'
|
64
65
|
config.password = 'YOUR_PASSWORD'
|
66
|
+
# Configure faraday connection
|
67
|
+
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
|
65
68
|
end
|
66
69
|
|
67
70
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
@@ -69,22 +72,22 @@ opts = {
|
|
69
72
|
customized: true, # Boolean | Filter results where customized matches value
|
70
73
|
limit: 56, # Integer | Number of results to return per page.
|
71
74
|
offset: 56, # Integer | The initial index from which to return the results.
|
72
|
-
ordering: ['
|
73
|
-
prn__in: ['
|
74
|
-
pulp_href__in: ['
|
75
|
-
pulp_id__in: ['
|
75
|
+
ordering: ['-creation_hooks'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `creation_hooks` - Creation hooks * `-creation_hooks` - Creation hooks (descending) * `statements` - Statements * `-statements` - Statements (descending) * `viewset_name` - Viewset name * `-viewset_name` - Viewset name (descending) * `customized` - Customized * `-customized` - Customized (descending) * `queryset_scoping` - Queryset scoping * `-queryset_scoping` - Queryset scoping (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
76
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
77
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
78
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
76
79
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
77
80
|
viewset_name: 'viewset_name_example', # String | Filter results where viewset_name matches value
|
78
81
|
viewset_name__contains: 'viewset_name__contains_example', # String | Filter results where viewset_name contains value
|
79
82
|
viewset_name__icontains: 'viewset_name__icontains_example', # String | Filter results where viewset_name contains value
|
80
83
|
viewset_name__iexact: 'viewset_name__iexact_example', # String | Filter results where viewset_name matches value
|
81
|
-
viewset_name__in: ['
|
84
|
+
viewset_name__in: ['inner_example'], # Array<String> | Filter results where viewset_name is in a comma-separated list of values
|
82
85
|
viewset_name__iregex: 'viewset_name__iregex_example', # String | Filter results where viewset_name matches regex value
|
83
86
|
viewset_name__istartswith: 'viewset_name__istartswith_example', # String | Filter results where viewset_name starts with value
|
84
87
|
viewset_name__regex: 'viewset_name__regex_example', # String | Filter results where viewset_name matches regex value
|
85
88
|
viewset_name__startswith: 'viewset_name__startswith_example', # String | Filter results where viewset_name starts with value
|
86
|
-
fields: ['
|
87
|
-
exclude_fields: ['
|
89
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
90
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
88
91
|
}
|
89
92
|
|
90
93
|
begin
|
@@ -232,6 +235,9 @@ Class | Method | HTTP request | Description
|
|
232
235
|
*PulpcoreClient::ImportersPulpImportsApi* | [**list**](docs/ImportersPulpImportsApi.md#list) | **GET** {pulp_importer_href}imports/ | List pulp imports
|
233
236
|
*PulpcoreClient::ImportersPulpImportsApi* | [**read**](docs/ImportersPulpImportsApi.md#read) | **GET** {pulp_pulp_import_href} | Inspect a pulp import
|
234
237
|
*PulpcoreClient::LivezApi* | [**livez_read**](docs/LivezApi.md#livez_read) | **GET** /pulp/api/v3/livez/ | Inspect liveness of Pulp's REST API.
|
238
|
+
*PulpcoreClient::LoginApi* | [**login**](docs/LoginApi.md#login) | **POST** /pulp/api/v3/login/ |
|
239
|
+
*PulpcoreClient::LoginApi* | [**login_read**](docs/LoginApi.md#login_read) | **GET** /pulp/api/v3/login/ |
|
240
|
+
*PulpcoreClient::LoginApi* | [**logout**](docs/LoginApi.md#logout) | **DELETE** /pulp/api/v3/login/ |
|
235
241
|
*PulpcoreClient::OrphansApi* | [**delete**](docs/OrphansApi.md#delete) | **DELETE** /pulp/api/v3/orphans/ | Delete orphans
|
236
242
|
*PulpcoreClient::OrphansCleanupApi* | [**cleanup**](docs/OrphansCleanupApi.md#cleanup) | **POST** /pulp/api/v3/orphans/cleanup/ |
|
237
243
|
*PulpcoreClient::PublicationsApi* | [**list**](docs/PublicationsApi.md#list) | **GET** /pulp/api/v3/publications/ | List publications
|
@@ -321,7 +327,6 @@ Class | Method | HTTP request | Description
|
|
321
327
|
- [PulpcoreClient::AccessPolicy](docs/AccessPolicy.md)
|
322
328
|
- [PulpcoreClient::AccessPolicyResponse](docs/AccessPolicyResponse.md)
|
323
329
|
- [PulpcoreClient::ApiAppStatusResponse](docs/ApiAppStatusResponse.md)
|
324
|
-
- [PulpcoreClient::Artifact](docs/Artifact.md)
|
325
330
|
- [PulpcoreClient::ArtifactDistributionResponse](docs/ArtifactDistributionResponse.md)
|
326
331
|
- [PulpcoreClient::ArtifactResponse](docs/ArtifactResponse.md)
|
327
332
|
- [PulpcoreClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
@@ -343,6 +348,8 @@ Class | Method | HTTP request | Description
|
|
343
348
|
- [PulpcoreClient::FilesystemExportResponse](docs/FilesystemExportResponse.md)
|
344
349
|
- [PulpcoreClient::FilesystemExporter](docs/FilesystemExporter.md)
|
345
350
|
- [PulpcoreClient::FilesystemExporterResponse](docs/FilesystemExporterResponse.md)
|
351
|
+
- [PulpcoreClient::GenericRemoteResponse](docs/GenericRemoteResponse.md)
|
352
|
+
- [PulpcoreClient::GenericRemoteResponseHiddenFieldsInner](docs/GenericRemoteResponseHiddenFieldsInner.md)
|
346
353
|
- [PulpcoreClient::Group](docs/Group.md)
|
347
354
|
- [PulpcoreClient::GroupProgressReportResponse](docs/GroupProgressReportResponse.md)
|
348
355
|
- [PulpcoreClient::GroupResponse](docs/GroupResponse.md)
|
@@ -353,6 +360,7 @@ Class | Method | HTTP request | Description
|
|
353
360
|
- [PulpcoreClient::HeaderContentGuard](docs/HeaderContentGuard.md)
|
354
361
|
- [PulpcoreClient::HeaderContentGuardResponse](docs/HeaderContentGuardResponse.md)
|
355
362
|
- [PulpcoreClient::ImportResponse](docs/ImportResponse.md)
|
363
|
+
- [PulpcoreClient::LoginResponse](docs/LoginResponse.md)
|
356
364
|
- [PulpcoreClient::MethodEnum](docs/MethodEnum.md)
|
357
365
|
- [PulpcoreClient::MinimalTaskResponse](docs/MinimalTaskResponse.md)
|
358
366
|
- [PulpcoreClient::MultipleArtifactContentResponse](docs/MultipleArtifactContentResponse.md)
|
@@ -372,7 +380,6 @@ Class | Method | HTTP request | Description
|
|
372
380
|
- [PulpcoreClient::OpenPGPDistributionResponse](docs/OpenPGPDistributionResponse.md)
|
373
381
|
- [PulpcoreClient::OpenPGPKeyring](docs/OpenPGPKeyring.md)
|
374
382
|
- [PulpcoreClient::OpenPGPKeyringResponse](docs/OpenPGPKeyringResponse.md)
|
375
|
-
- [PulpcoreClient::OpenPGPPublicKey](docs/OpenPGPPublicKey.md)
|
376
383
|
- [PulpcoreClient::OpenPGPPublicKeyResponse](docs/OpenPGPPublicKeyResponse.md)
|
377
384
|
- [PulpcoreClient::OpenPGPPublicSubkeyResponse](docs/OpenPGPPublicSubkeyResponse.md)
|
378
385
|
- [PulpcoreClient::OpenPGPSignatureResponse](docs/OpenPGPSignatureResponse.md)
|
@@ -389,6 +396,7 @@ Class | Method | HTTP request | Description
|
|
389
396
|
- [PulpcoreClient::PaginatedDomainResponseList](docs/PaginatedDomainResponseList.md)
|
390
397
|
- [PulpcoreClient::PaginatedFilesystemExportResponseList](docs/PaginatedFilesystemExportResponseList.md)
|
391
398
|
- [PulpcoreClient::PaginatedFilesystemExporterResponseList](docs/PaginatedFilesystemExporterResponseList.md)
|
399
|
+
- [PulpcoreClient::PaginatedGenericRemoteResponseList](docs/PaginatedGenericRemoteResponseList.md)
|
392
400
|
- [PulpcoreClient::PaginatedGroupResponseList](docs/PaginatedGroupResponseList.md)
|
393
401
|
- [PulpcoreClient::PaginatedGroupRoleResponseList](docs/PaginatedGroupRoleResponseList.md)
|
394
402
|
- [PulpcoreClient::PaginatedGroupUserResponseList](docs/PaginatedGroupUserResponseList.md)
|
@@ -407,7 +415,6 @@ Class | Method | HTTP request | Description
|
|
407
415
|
- [PulpcoreClient::PaginatedPulpExporterResponseList](docs/PaginatedPulpExporterResponseList.md)
|
408
416
|
- [PulpcoreClient::PaginatedPulpImporterResponseList](docs/PaginatedPulpImporterResponseList.md)
|
409
417
|
- [PulpcoreClient::PaginatedRBACContentGuardResponseList](docs/PaginatedRBACContentGuardResponseList.md)
|
410
|
-
- [PulpcoreClient::PaginatedRemoteResponseList](docs/PaginatedRemoteResponseList.md)
|
411
418
|
- [PulpcoreClient::PaginatedRepositoryResponseList](docs/PaginatedRepositoryResponseList.md)
|
412
419
|
- [PulpcoreClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
413
420
|
- [PulpcoreClient::PaginatedRoleResponseList](docs/PaginatedRoleResponseList.md)
|
@@ -454,8 +461,6 @@ Class | Method | HTTP request | Description
|
|
454
461
|
- [PulpcoreClient::RBACContentGuardResponse](docs/RBACContentGuardResponse.md)
|
455
462
|
- [PulpcoreClient::ReclaimSpace](docs/ReclaimSpace.md)
|
456
463
|
- [PulpcoreClient::RedisConnectionResponse](docs/RedisConnectionResponse.md)
|
457
|
-
- [PulpcoreClient::RemoteResponse](docs/RemoteResponse.md)
|
458
|
-
- [PulpcoreClient::RemoteResponseHiddenFields](docs/RemoteResponseHiddenFields.md)
|
459
464
|
- [PulpcoreClient::Repair](docs/Repair.md)
|
460
465
|
- [PulpcoreClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
461
466
|
- [PulpcoreClient::RepositoryResponse](docs/RepositoryResponse.md)
|
@@ -476,7 +481,6 @@ Class | Method | HTTP request | Description
|
|
476
481
|
- [PulpcoreClient::UnsetLabel](docs/UnsetLabel.md)
|
477
482
|
- [PulpcoreClient::UnsetLabelResponse](docs/UnsetLabelResponse.md)
|
478
483
|
- [PulpcoreClient::Upload](docs/Upload.md)
|
479
|
-
- [PulpcoreClient::UploadChunk](docs/UploadChunk.md)
|
480
484
|
- [PulpcoreClient::UploadChunkResponse](docs/UploadChunkResponse.md)
|
481
485
|
- [PulpcoreClient::UploadCommit](docs/UploadCommit.md)
|
482
486
|
- [PulpcoreClient::UploadDetailResponse](docs/UploadDetailResponse.md)
|
@@ -496,6 +500,7 @@ Class | Method | HTTP request | Description
|
|
496
500
|
## Documentation for Authorization
|
497
501
|
|
498
502
|
|
503
|
+
Authentication schemes defined for the API:
|
499
504
|
### basicAuth
|
500
505
|
|
501
506
|
- **Type**: HTTP basic authentication
|
data/docs/AccessPoliciesApi.md
CHANGED
@@ -2,28 +2,27 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**list**](AccessPoliciesApi.md#list) | **GET** /pulp/api/v3/access_policies/ | List access policys
|
8
|
-
[**partial_update**](AccessPoliciesApi.md#partial_update) | **PATCH** {access_policy_href} | Update an access policy
|
9
|
-
[**read**](AccessPoliciesApi.md#read) | **GET** {access_policy_href} | Inspect an access policy
|
10
|
-
[**reset**](AccessPoliciesApi.md#reset) | **POST** {access_policy_href}reset/ |
|
11
|
-
[**update**](AccessPoliciesApi.md#update) | **PUT** {access_policy_href} | Update an access policy
|
12
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**list**](AccessPoliciesApi.md#list) | **GET** /pulp/api/v3/access_policies/ | List access policys |
|
8
|
+
| [**partial_update**](AccessPoliciesApi.md#partial_update) | **PATCH** {access_policy_href} | Update an access policy |
|
9
|
+
| [**read**](AccessPoliciesApi.md#read) | **GET** {access_policy_href} | Inspect an access policy |
|
10
|
+
| [**reset**](AccessPoliciesApi.md#reset) | **POST** {access_policy_href}reset/ | |
|
11
|
+
| [**update**](AccessPoliciesApi.md#update) | **PUT** {access_policy_href} | Update an access policy |
|
13
12
|
|
14
13
|
|
15
14
|
## list
|
16
15
|
|
17
|
-
> PaginatedAccessPolicyResponseList list(opts)
|
16
|
+
> <PaginatedAccessPolicyResponseList> list(opts)
|
18
17
|
|
19
18
|
List access policys
|
20
19
|
|
21
20
|
ViewSet for AccessPolicy.
|
22
21
|
|
23
|
-
###
|
22
|
+
### Examples
|
24
23
|
|
25
24
|
```ruby
|
26
|
-
|
25
|
+
require 'time'
|
27
26
|
require 'pulpcore_client'
|
28
27
|
# setup authorization
|
29
28
|
PulpcoreClient.configure do |config|
|
@@ -37,57 +36,74 @@ opts = {
|
|
37
36
|
customized: true, # Boolean | Filter results where customized matches value
|
38
37
|
limit: 56, # Integer | Number of results to return per page.
|
39
38
|
offset: 56, # Integer | The initial index from which to return the results.
|
40
|
-
ordering: ['
|
41
|
-
prn__in: ['
|
42
|
-
pulp_href__in: ['
|
43
|
-
pulp_id__in: ['
|
39
|
+
ordering: ['-creation_hooks'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `creation_hooks` - Creation hooks * `-creation_hooks` - Creation hooks (descending) * `statements` - Statements * `-statements` - Statements (descending) * `viewset_name` - Viewset name * `-viewset_name` - Viewset name (descending) * `customized` - Customized * `-customized` - Customized (descending) * `queryset_scoping` - Queryset scoping * `-queryset_scoping` - Queryset scoping (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
40
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
41
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
42
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
44
43
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
45
44
|
viewset_name: 'viewset_name_example', # String | Filter results where viewset_name matches value
|
46
45
|
viewset_name__contains: 'viewset_name__contains_example', # String | Filter results where viewset_name contains value
|
47
46
|
viewset_name__icontains: 'viewset_name__icontains_example', # String | Filter results where viewset_name contains value
|
48
47
|
viewset_name__iexact: 'viewset_name__iexact_example', # String | Filter results where viewset_name matches value
|
49
|
-
viewset_name__in: ['
|
48
|
+
viewset_name__in: ['inner_example'], # Array<String> | Filter results where viewset_name is in a comma-separated list of values
|
50
49
|
viewset_name__iregex: 'viewset_name__iregex_example', # String | Filter results where viewset_name matches regex value
|
51
50
|
viewset_name__istartswith: 'viewset_name__istartswith_example', # String | Filter results where viewset_name starts with value
|
52
51
|
viewset_name__regex: 'viewset_name__regex_example', # String | Filter results where viewset_name matches regex value
|
53
52
|
viewset_name__startswith: 'viewset_name__startswith_example', # String | Filter results where viewset_name starts with value
|
54
|
-
fields: ['
|
55
|
-
exclude_fields: ['
|
53
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
54
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
56
55
|
}
|
57
56
|
|
58
57
|
begin
|
59
|
-
#List access policys
|
58
|
+
# List access policys
|
60
59
|
result = api_instance.list(opts)
|
61
60
|
p result
|
62
61
|
rescue PulpcoreClient::ApiError => e
|
63
|
-
puts "
|
62
|
+
puts "Error when calling AccessPoliciesApi->list: #{e}"
|
64
63
|
end
|
65
64
|
```
|
66
65
|
|
67
|
-
|
66
|
+
#### Using the list_with_http_info variant
|
68
67
|
|
68
|
+
This returns an Array which contains the response data, status code and headers.
|
69
69
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
**
|
89
|
-
**
|
90
|
-
**
|
70
|
+
> <Array(<PaginatedAccessPolicyResponseList>, Integer, Hash)> list_with_http_info(opts)
|
71
|
+
|
72
|
+
```ruby
|
73
|
+
begin
|
74
|
+
# List access policys
|
75
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
76
|
+
p status_code # => 2xx
|
77
|
+
p headers # => { ... }
|
78
|
+
p data # => <PaginatedAccessPolicyResponseList>
|
79
|
+
rescue PulpcoreClient::ApiError => e
|
80
|
+
puts "Error when calling AccessPoliciesApi->list_with_http_info: #{e}"
|
81
|
+
end
|
82
|
+
```
|
83
|
+
|
84
|
+
### Parameters
|
85
|
+
|
86
|
+
| Name | Type | Description | Notes |
|
87
|
+
| ---- | ---- | ----------- | ----- |
|
88
|
+
| **customized** | **Boolean** | Filter results where customized matches value | [optional] |
|
89
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
90
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
91
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `creation_hooks` - Creation hooks * `-creation_hooks` - Creation hooks (descending) * `statements` - Statements * `-statements` - Statements (descending) * `viewset_name` - Viewset name * `-viewset_name` - Viewset name (descending) * `customized` - Customized * `-customized` - Customized (descending) * `queryset_scoping` - Queryset scoping * `-queryset_scoping` - Queryset scoping (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
92
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
93
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
94
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
95
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
96
|
+
| **viewset_name** | **String** | Filter results where viewset_name matches value | [optional] |
|
97
|
+
| **viewset_name__contains** | **String** | Filter results where viewset_name contains value | [optional] |
|
98
|
+
| **viewset_name__icontains** | **String** | Filter results where viewset_name contains value | [optional] |
|
99
|
+
| **viewset_name__iexact** | **String** | Filter results where viewset_name matches value | [optional] |
|
100
|
+
| **viewset_name__in** | [**Array<String>**](String.md) | Filter results where viewset_name is in a comma-separated list of values | [optional] |
|
101
|
+
| **viewset_name__iregex** | **String** | Filter results where viewset_name matches regex value | [optional] |
|
102
|
+
| **viewset_name__istartswith** | **String** | Filter results where viewset_name starts with value | [optional] |
|
103
|
+
| **viewset_name__regex** | **String** | Filter results where viewset_name matches regex value | [optional] |
|
104
|
+
| **viewset_name__startswith** | **String** | Filter results where viewset_name starts with value | [optional] |
|
105
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
106
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
91
107
|
|
92
108
|
### Return type
|
93
109
|
|
@@ -105,16 +121,16 @@ Name | Type | Description | Notes
|
|
105
121
|
|
106
122
|
## partial_update
|
107
123
|
|
108
|
-
> AccessPolicyResponse partial_update(access_policy_href, patched_access_policy)
|
124
|
+
> <AccessPolicyResponse> partial_update(access_policy_href, patched_access_policy)
|
109
125
|
|
110
126
|
Update an access policy
|
111
127
|
|
112
128
|
ViewSet for AccessPolicy.
|
113
129
|
|
114
|
-
###
|
130
|
+
### Examples
|
115
131
|
|
116
132
|
```ruby
|
117
|
-
|
133
|
+
require 'time'
|
118
134
|
require 'pulpcore_client'
|
119
135
|
# setup authorization
|
120
136
|
PulpcoreClient.configure do |config|
|
@@ -128,21 +144,38 @@ access_policy_href = 'access_policy_href_example' # String |
|
|
128
144
|
patched_access_policy = PulpcoreClient::PatchedAccessPolicy.new # PatchedAccessPolicy |
|
129
145
|
|
130
146
|
begin
|
131
|
-
#Update an access policy
|
147
|
+
# Update an access policy
|
132
148
|
result = api_instance.partial_update(access_policy_href, patched_access_policy)
|
133
149
|
p result
|
134
150
|
rescue PulpcoreClient::ApiError => e
|
135
|
-
puts "
|
151
|
+
puts "Error when calling AccessPoliciesApi->partial_update: #{e}"
|
136
152
|
end
|
137
153
|
```
|
138
154
|
|
139
|
-
|
155
|
+
#### Using the partial_update_with_http_info variant
|
156
|
+
|
157
|
+
This returns an Array which contains the response data, status code and headers.
|
140
158
|
|
159
|
+
> <Array(<AccessPolicyResponse>, Integer, Hash)> partial_update_with_http_info(access_policy_href, patched_access_policy)
|
141
160
|
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
161
|
+
```ruby
|
162
|
+
begin
|
163
|
+
# Update an access policy
|
164
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(access_policy_href, patched_access_policy)
|
165
|
+
p status_code # => 2xx
|
166
|
+
p headers # => { ... }
|
167
|
+
p data # => <AccessPolicyResponse>
|
168
|
+
rescue PulpcoreClient::ApiError => e
|
169
|
+
puts "Error when calling AccessPoliciesApi->partial_update_with_http_info: #{e}"
|
170
|
+
end
|
171
|
+
```
|
172
|
+
|
173
|
+
### Parameters
|
174
|
+
|
175
|
+
| Name | Type | Description | Notes |
|
176
|
+
| ---- | ---- | ----------- | ----- |
|
177
|
+
| **access_policy_href** | **String** | | |
|
178
|
+
| **patched_access_policy** | [**PatchedAccessPolicy**](PatchedAccessPolicy.md) | | |
|
146
179
|
|
147
180
|
### Return type
|
148
181
|
|
@@ -160,16 +193,16 @@ Name | Type | Description | Notes
|
|
160
193
|
|
161
194
|
## read
|
162
195
|
|
163
|
-
> AccessPolicyResponse read(access_policy_href, opts)
|
196
|
+
> <AccessPolicyResponse> read(access_policy_href, opts)
|
164
197
|
|
165
198
|
Inspect an access policy
|
166
199
|
|
167
200
|
ViewSet for AccessPolicy.
|
168
201
|
|
169
|
-
###
|
202
|
+
### Examples
|
170
203
|
|
171
204
|
```ruby
|
172
|
-
|
205
|
+
require 'time'
|
173
206
|
require 'pulpcore_client'
|
174
207
|
# setup authorization
|
175
208
|
PulpcoreClient.configure do |config|
|
@@ -181,27 +214,44 @@ end
|
|
181
214
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
182
215
|
access_policy_href = 'access_policy_href_example' # String |
|
183
216
|
opts = {
|
184
|
-
fields: ['
|
185
|
-
exclude_fields: ['
|
217
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
218
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
186
219
|
}
|
187
220
|
|
188
221
|
begin
|
189
|
-
#Inspect an access policy
|
222
|
+
# Inspect an access policy
|
190
223
|
result = api_instance.read(access_policy_href, opts)
|
191
224
|
p result
|
192
225
|
rescue PulpcoreClient::ApiError => e
|
193
|
-
puts "
|
226
|
+
puts "Error when calling AccessPoliciesApi->read: #{e}"
|
194
227
|
end
|
195
228
|
```
|
196
229
|
|
197
|
-
|
230
|
+
#### Using the read_with_http_info variant
|
198
231
|
|
232
|
+
This returns an Array which contains the response data, status code and headers.
|
199
233
|
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
234
|
+
> <Array(<AccessPolicyResponse>, Integer, Hash)> read_with_http_info(access_policy_href, opts)
|
235
|
+
|
236
|
+
```ruby
|
237
|
+
begin
|
238
|
+
# Inspect an access policy
|
239
|
+
data, status_code, headers = api_instance.read_with_http_info(access_policy_href, opts)
|
240
|
+
p status_code # => 2xx
|
241
|
+
p headers # => { ... }
|
242
|
+
p data # => <AccessPolicyResponse>
|
243
|
+
rescue PulpcoreClient::ApiError => e
|
244
|
+
puts "Error when calling AccessPoliciesApi->read_with_http_info: #{e}"
|
245
|
+
end
|
246
|
+
```
|
247
|
+
|
248
|
+
### Parameters
|
249
|
+
|
250
|
+
| Name | Type | Description | Notes |
|
251
|
+
| ---- | ---- | ----------- | ----- |
|
252
|
+
| **access_policy_href** | **String** | | |
|
253
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
254
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
205
255
|
|
206
256
|
### Return type
|
207
257
|
|
@@ -219,16 +269,16 @@ Name | Type | Description | Notes
|
|
219
269
|
|
220
270
|
## reset
|
221
271
|
|
222
|
-
> AccessPolicyResponse reset(access_policy_href)
|
272
|
+
> <AccessPolicyResponse> reset(access_policy_href)
|
223
273
|
|
224
274
|
|
225
275
|
|
226
276
|
Reset the access policy to its uncustomized default value.
|
227
277
|
|
228
|
-
###
|
278
|
+
### Examples
|
229
279
|
|
230
280
|
```ruby
|
231
|
-
|
281
|
+
require 'time'
|
232
282
|
require 'pulpcore_client'
|
233
283
|
# setup authorization
|
234
284
|
PulpcoreClient.configure do |config|
|
@@ -241,19 +291,37 @@ api_instance = PulpcoreClient::AccessPoliciesApi.new
|
|
241
291
|
access_policy_href = 'access_policy_href_example' # String |
|
242
292
|
|
243
293
|
begin
|
294
|
+
|
244
295
|
result = api_instance.reset(access_policy_href)
|
245
296
|
p result
|
246
297
|
rescue PulpcoreClient::ApiError => e
|
247
|
-
puts "
|
298
|
+
puts "Error when calling AccessPoliciesApi->reset: #{e}"
|
248
299
|
end
|
249
300
|
```
|
250
301
|
|
251
|
-
|
302
|
+
#### Using the reset_with_http_info variant
|
252
303
|
|
304
|
+
This returns an Array which contains the response data, status code and headers.
|
253
305
|
|
254
|
-
|
255
|
-
|
256
|
-
|
306
|
+
> <Array(<AccessPolicyResponse>, Integer, Hash)> reset_with_http_info(access_policy_href)
|
307
|
+
|
308
|
+
```ruby
|
309
|
+
begin
|
310
|
+
|
311
|
+
data, status_code, headers = api_instance.reset_with_http_info(access_policy_href)
|
312
|
+
p status_code # => 2xx
|
313
|
+
p headers # => { ... }
|
314
|
+
p data # => <AccessPolicyResponse>
|
315
|
+
rescue PulpcoreClient::ApiError => e
|
316
|
+
puts "Error when calling AccessPoliciesApi->reset_with_http_info: #{e}"
|
317
|
+
end
|
318
|
+
```
|
319
|
+
|
320
|
+
### Parameters
|
321
|
+
|
322
|
+
| Name | Type | Description | Notes |
|
323
|
+
| ---- | ---- | ----------- | ----- |
|
324
|
+
| **access_policy_href** | **String** | | |
|
257
325
|
|
258
326
|
### Return type
|
259
327
|
|
@@ -271,16 +339,16 @@ Name | Type | Description | Notes
|
|
271
339
|
|
272
340
|
## update
|
273
341
|
|
274
|
-
> AccessPolicyResponse update(access_policy_href, access_policy)
|
342
|
+
> <AccessPolicyResponse> update(access_policy_href, access_policy)
|
275
343
|
|
276
344
|
Update an access policy
|
277
345
|
|
278
346
|
ViewSet for AccessPolicy.
|
279
347
|
|
280
|
-
###
|
348
|
+
### Examples
|
281
349
|
|
282
350
|
```ruby
|
283
|
-
|
351
|
+
require 'time'
|
284
352
|
require 'pulpcore_client'
|
285
353
|
# setup authorization
|
286
354
|
PulpcoreClient.configure do |config|
|
@@ -291,24 +359,41 @@ end
|
|
291
359
|
|
292
360
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
293
361
|
access_policy_href = 'access_policy_href_example' # String |
|
294
|
-
access_policy = PulpcoreClient::AccessPolicy.new # AccessPolicy |
|
362
|
+
access_policy = PulpcoreClient::AccessPolicy.new({statements: [3.56]}) # AccessPolicy |
|
295
363
|
|
296
364
|
begin
|
297
|
-
#Update an access policy
|
365
|
+
# Update an access policy
|
298
366
|
result = api_instance.update(access_policy_href, access_policy)
|
299
367
|
p result
|
300
368
|
rescue PulpcoreClient::ApiError => e
|
301
|
-
puts "
|
369
|
+
puts "Error when calling AccessPoliciesApi->update: #{e}"
|
302
370
|
end
|
303
371
|
```
|
304
372
|
|
305
|
-
|
373
|
+
#### Using the update_with_http_info variant
|
374
|
+
|
375
|
+
This returns an Array which contains the response data, status code and headers.
|
376
|
+
|
377
|
+
> <Array(<AccessPolicyResponse>, Integer, Hash)> update_with_http_info(access_policy_href, access_policy)
|
378
|
+
|
379
|
+
```ruby
|
380
|
+
begin
|
381
|
+
# Update an access policy
|
382
|
+
data, status_code, headers = api_instance.update_with_http_info(access_policy_href, access_policy)
|
383
|
+
p status_code # => 2xx
|
384
|
+
p headers # => { ... }
|
385
|
+
p data # => <AccessPolicyResponse>
|
386
|
+
rescue PulpcoreClient::ApiError => e
|
387
|
+
puts "Error when calling AccessPoliciesApi->update_with_http_info: #{e}"
|
388
|
+
end
|
389
|
+
```
|
306
390
|
|
391
|
+
### Parameters
|
307
392
|
|
308
|
-
Name | Type | Description
|
309
|
-
|
310
|
-
**access_policy_href** | **String
|
311
|
-
**access_policy** | [**AccessPolicy**](AccessPolicy.md)| |
|
393
|
+
| Name | Type | Description | Notes |
|
394
|
+
| ---- | ---- | ----------- | ----- |
|
395
|
+
| **access_policy_href** | **String** | | |
|
396
|
+
| **access_policy** | [**AccessPolicy**](AccessPolicy.md) | | |
|
312
397
|
|
313
398
|
### Return type
|
314
399
|
|
data/docs/AccessPolicy.md
CHANGED
@@ -2,22 +2,23 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects.This is deprecated. Use `creation_hooks` instead. | [optional]
|
8
|
-
**creation_hooks** | **Array<Object>** | List of callables that may associate user roles for new objects. | [optional]
|
9
|
-
**statements** | **Array<Object>** | List of policy statements defining the policy. |
|
10
|
-
**queryset_scoping** |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects.This is deprecated. Use `creation_hooks` instead. | [optional] |
|
8
|
+
| **creation_hooks** | **Array<Object>** | List of callables that may associate user roles for new objects. | [optional] |
|
9
|
+
| **statements** | **Array<Object>** | List of policy statements defining the policy. | |
|
10
|
+
| **queryset_scoping** | **Object** | A callable for performing queryset scoping. See plugin documentation for valid callables. Set to blank to turn off queryset scoping. | [optional] |
|
11
11
|
|
12
|
-
##
|
12
|
+
## Example
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
require '
|
15
|
+
require 'pulpcore_client'
|
16
16
|
|
17
|
-
instance = PulpcoreClient::AccessPolicy.new(
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
instance = PulpcoreClient::AccessPolicy.new(
|
18
|
+
permissions_assignment: null,
|
19
|
+
creation_hooks: null,
|
20
|
+
statements: null,
|
21
|
+
queryset_scoping: null
|
22
|
+
)
|
21
23
|
```
|
22
24
|
|
23
|
-
|