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
@@ -2,33 +2,32 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**add_role**](ContentguardsRbacApi.md#add_role) | **POST** {r_b_a_c_content_guard_href}add_role/ | Add a role
|
8
|
-
[**create**](ContentguardsRbacApi.md#create) | **POST** /pulp/api/v3/contentguards/core/rbac/ | Create a rbac content guard
|
9
|
-
[**delete**](ContentguardsRbacApi.md#delete) | **DELETE** {r_b_a_c_content_guard_href} | Delete a rbac content guard
|
10
|
-
[**list**](ContentguardsRbacApi.md#list) | **GET** /pulp/api/v3/contentguards/core/rbac/ | List rbac content guards
|
11
|
-
[**list_roles**](ContentguardsRbacApi.md#list_roles) | **GET** {r_b_a_c_content_guard_href}list_roles/ | List roles
|
12
|
-
[**my_permissions**](ContentguardsRbacApi.md#my_permissions) | **GET** {r_b_a_c_content_guard_href}my_permissions/ | List user permissions
|
13
|
-
[**partial_update**](ContentguardsRbacApi.md#partial_update) | **PATCH** {r_b_a_c_content_guard_href} | Update a rbac content guard
|
14
|
-
[**read**](ContentguardsRbacApi.md#read) | **GET** {r_b_a_c_content_guard_href} | Inspect a rbac content guard
|
15
|
-
[**remove_role**](ContentguardsRbacApi.md#remove_role) | **POST** {r_b_a_c_content_guard_href}remove_role/ | Remove a role
|
16
|
-
[**update**](ContentguardsRbacApi.md#update) | **PUT** {r_b_a_c_content_guard_href} | Update a rbac content guard
|
17
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**add_role**](ContentguardsRbacApi.md#add_role) | **POST** {r_b_a_c_content_guard_href}add_role/ | Add a role |
|
8
|
+
| [**create**](ContentguardsRbacApi.md#create) | **POST** /pulp/api/v3/contentguards/core/rbac/ | Create a rbac content guard |
|
9
|
+
| [**delete**](ContentguardsRbacApi.md#delete) | **DELETE** {r_b_a_c_content_guard_href} | Delete a rbac content guard |
|
10
|
+
| [**list**](ContentguardsRbacApi.md#list) | **GET** /pulp/api/v3/contentguards/core/rbac/ | List rbac content guards |
|
11
|
+
| [**list_roles**](ContentguardsRbacApi.md#list_roles) | **GET** {r_b_a_c_content_guard_href}list_roles/ | List roles |
|
12
|
+
| [**my_permissions**](ContentguardsRbacApi.md#my_permissions) | **GET** {r_b_a_c_content_guard_href}my_permissions/ | List user permissions |
|
13
|
+
| [**partial_update**](ContentguardsRbacApi.md#partial_update) | **PATCH** {r_b_a_c_content_guard_href} | Update a rbac content guard |
|
14
|
+
| [**read**](ContentguardsRbacApi.md#read) | **GET** {r_b_a_c_content_guard_href} | Inspect a rbac content guard |
|
15
|
+
| [**remove_role**](ContentguardsRbacApi.md#remove_role) | **POST** {r_b_a_c_content_guard_href}remove_role/ | Remove a role |
|
16
|
+
| [**update**](ContentguardsRbacApi.md#update) | **PUT** {r_b_a_c_content_guard_href} | Update a rbac content guard |
|
18
17
|
|
19
18
|
|
20
19
|
## add_role
|
21
20
|
|
22
|
-
> NestedRoleResponse add_role(r_b_a_c_content_guard_href, nested_role)
|
21
|
+
> <NestedRoleResponse> add_role(r_b_a_c_content_guard_href, nested_role)
|
23
22
|
|
24
23
|
Add a role
|
25
24
|
|
26
25
|
Add a role for this object to users/groups.
|
27
26
|
|
28
|
-
###
|
27
|
+
### Examples
|
29
28
|
|
30
29
|
```ruby
|
31
|
-
|
30
|
+
require 'time'
|
32
31
|
require 'pulpcore_client'
|
33
32
|
# setup authorization
|
34
33
|
PulpcoreClient.configure do |config|
|
@@ -39,24 +38,41 @@ end
|
|
39
38
|
|
40
39
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
41
40
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
42
|
-
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
41
|
+
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
43
42
|
|
44
43
|
begin
|
45
|
-
#Add a role
|
44
|
+
# Add a role
|
46
45
|
result = api_instance.add_role(r_b_a_c_content_guard_href, nested_role)
|
47
46
|
p result
|
48
47
|
rescue PulpcoreClient::ApiError => e
|
49
|
-
puts "
|
48
|
+
puts "Error when calling ContentguardsRbacApi->add_role: #{e}"
|
50
49
|
end
|
51
50
|
```
|
52
51
|
|
53
|
-
|
52
|
+
#### Using the add_role_with_http_info variant
|
54
53
|
|
54
|
+
This returns an Array which contains the response data, status code and headers.
|
55
55
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
56
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(r_b_a_c_content_guard_href, nested_role)
|
57
|
+
|
58
|
+
```ruby
|
59
|
+
begin
|
60
|
+
# Add a role
|
61
|
+
data, status_code, headers = api_instance.add_role_with_http_info(r_b_a_c_content_guard_href, nested_role)
|
62
|
+
p status_code # => 2xx
|
63
|
+
p headers # => { ... }
|
64
|
+
p data # => <NestedRoleResponse>
|
65
|
+
rescue PulpcoreClient::ApiError => e
|
66
|
+
puts "Error when calling ContentguardsRbacApi->add_role_with_http_info: #{e}"
|
67
|
+
end
|
68
|
+
```
|
69
|
+
|
70
|
+
### Parameters
|
71
|
+
|
72
|
+
| Name | Type | Description | Notes |
|
73
|
+
| ---- | ---- | ----------- | ----- |
|
74
|
+
| **r_b_a_c_content_guard_href** | **String** | | |
|
75
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
60
76
|
|
61
77
|
### Return type
|
62
78
|
|
@@ -74,16 +90,16 @@ Name | Type | Description | Notes
|
|
74
90
|
|
75
91
|
## create
|
76
92
|
|
77
|
-
> RBACContentGuardResponse create(rbac_content_guard)
|
93
|
+
> <RBACContentGuardResponse> create(rbac_content_guard)
|
78
94
|
|
79
95
|
Create a rbac content guard
|
80
96
|
|
81
97
|
Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
82
98
|
|
83
|
-
###
|
99
|
+
### Examples
|
84
100
|
|
85
101
|
```ruby
|
86
|
-
|
102
|
+
require 'time'
|
87
103
|
require 'pulpcore_client'
|
88
104
|
# setup authorization
|
89
105
|
PulpcoreClient.configure do |config|
|
@@ -93,23 +109,40 @@ PulpcoreClient.configure do |config|
|
|
93
109
|
end
|
94
110
|
|
95
111
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
96
|
-
rbac_content_guard = PulpcoreClient::RBACContentGuard.new # RBACContentGuard |
|
112
|
+
rbac_content_guard = PulpcoreClient::RBACContentGuard.new({name: 'name_example'}) # RBACContentGuard |
|
97
113
|
|
98
114
|
begin
|
99
|
-
#Create a rbac content guard
|
115
|
+
# Create a rbac content guard
|
100
116
|
result = api_instance.create(rbac_content_guard)
|
101
117
|
p result
|
102
118
|
rescue PulpcoreClient::ApiError => e
|
103
|
-
puts "
|
119
|
+
puts "Error when calling ContentguardsRbacApi->create: #{e}"
|
104
120
|
end
|
105
121
|
```
|
106
122
|
|
107
|
-
|
123
|
+
#### Using the create_with_http_info variant
|
124
|
+
|
125
|
+
This returns an Array which contains the response data, status code and headers.
|
108
126
|
|
127
|
+
> <Array(<RBACContentGuardResponse>, Integer, Hash)> create_with_http_info(rbac_content_guard)
|
109
128
|
|
110
|
-
|
111
|
-
|
112
|
-
|
129
|
+
```ruby
|
130
|
+
begin
|
131
|
+
# Create a rbac content guard
|
132
|
+
data, status_code, headers = api_instance.create_with_http_info(rbac_content_guard)
|
133
|
+
p status_code # => 2xx
|
134
|
+
p headers # => { ... }
|
135
|
+
p data # => <RBACContentGuardResponse>
|
136
|
+
rescue PulpcoreClient::ApiError => e
|
137
|
+
puts "Error when calling ContentguardsRbacApi->create_with_http_info: #{e}"
|
138
|
+
end
|
139
|
+
```
|
140
|
+
|
141
|
+
### Parameters
|
142
|
+
|
143
|
+
| Name | Type | Description | Notes |
|
144
|
+
| ---- | ---- | ----------- | ----- |
|
145
|
+
| **rbac_content_guard** | [**RBACContentGuard**](RBACContentGuard.md) | | |
|
113
146
|
|
114
147
|
### Return type
|
115
148
|
|
@@ -133,10 +166,10 @@ Delete a rbac content guard
|
|
133
166
|
|
134
167
|
Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
135
168
|
|
136
|
-
###
|
169
|
+
### Examples
|
137
170
|
|
138
171
|
```ruby
|
139
|
-
|
172
|
+
require 'time'
|
140
173
|
require 'pulpcore_client'
|
141
174
|
# setup authorization
|
142
175
|
PulpcoreClient.configure do |config|
|
@@ -149,19 +182,36 @@ api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
|
149
182
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
150
183
|
|
151
184
|
begin
|
152
|
-
#Delete a rbac content guard
|
185
|
+
# Delete a rbac content guard
|
153
186
|
api_instance.delete(r_b_a_c_content_guard_href)
|
154
187
|
rescue PulpcoreClient::ApiError => e
|
155
|
-
puts "
|
188
|
+
puts "Error when calling ContentguardsRbacApi->delete: #{e}"
|
156
189
|
end
|
157
190
|
```
|
158
191
|
|
159
|
-
|
192
|
+
#### Using the delete_with_http_info variant
|
160
193
|
|
194
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
161
195
|
|
162
|
-
|
163
|
-
|
164
|
-
|
196
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(r_b_a_c_content_guard_href)
|
197
|
+
|
198
|
+
```ruby
|
199
|
+
begin
|
200
|
+
# Delete a rbac content guard
|
201
|
+
data, status_code, headers = api_instance.delete_with_http_info(r_b_a_c_content_guard_href)
|
202
|
+
p status_code # => 2xx
|
203
|
+
p headers # => { ... }
|
204
|
+
p data # => nil
|
205
|
+
rescue PulpcoreClient::ApiError => e
|
206
|
+
puts "Error when calling ContentguardsRbacApi->delete_with_http_info: #{e}"
|
207
|
+
end
|
208
|
+
```
|
209
|
+
|
210
|
+
### Parameters
|
211
|
+
|
212
|
+
| Name | Type | Description | Notes |
|
213
|
+
| ---- | ---- | ----------- | ----- |
|
214
|
+
| **r_b_a_c_content_guard_href** | **String** | | |
|
165
215
|
|
166
216
|
### Return type
|
167
217
|
|
@@ -179,16 +229,16 @@ nil (empty response body)
|
|
179
229
|
|
180
230
|
## list
|
181
231
|
|
182
|
-
> PaginatedRBACContentGuardResponseList list(opts)
|
232
|
+
> <PaginatedRBACContentGuardResponseList> list(opts)
|
183
233
|
|
184
234
|
List rbac content guards
|
185
235
|
|
186
236
|
Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
187
237
|
|
188
|
-
###
|
238
|
+
### Examples
|
189
239
|
|
190
240
|
```ruby
|
191
|
-
|
241
|
+
require 'time'
|
192
242
|
require 'pulpcore_client'
|
193
243
|
# setup authorization
|
194
244
|
PulpcoreClient.configure do |config|
|
@@ -204,53 +254,70 @@ opts = {
|
|
204
254
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
205
255
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
206
256
|
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
207
|
-
name__in: ['
|
257
|
+
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
208
258
|
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
209
259
|
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
210
260
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
211
261
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
212
262
|
offset: 56, # Integer | The initial index from which to return the results.
|
213
|
-
ordering: ['
|
214
|
-
prn__in: ['
|
215
|
-
pulp_href__in: ['
|
216
|
-
pulp_id__in: ['
|
263
|
+
ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
264
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
265
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
266
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
217
267
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
218
|
-
fields: ['
|
219
|
-
exclude_fields: ['
|
268
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
269
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
220
270
|
}
|
221
271
|
|
222
272
|
begin
|
223
|
-
#List rbac content guards
|
273
|
+
# List rbac content guards
|
224
274
|
result = api_instance.list(opts)
|
225
275
|
p result
|
226
276
|
rescue PulpcoreClient::ApiError => e
|
227
|
-
puts "
|
277
|
+
puts "Error when calling ContentguardsRbacApi->list: #{e}"
|
228
278
|
end
|
229
279
|
```
|
230
280
|
|
231
|
-
|
281
|
+
#### Using the list_with_http_info variant
|
232
282
|
|
283
|
+
This returns an Array which contains the response data, status code and headers.
|
233
284
|
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
**
|
253
|
-
**
|
285
|
+
> <Array(<PaginatedRBACContentGuardResponseList>, Integer, Hash)> list_with_http_info(opts)
|
286
|
+
|
287
|
+
```ruby
|
288
|
+
begin
|
289
|
+
# List rbac content guards
|
290
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
291
|
+
p status_code # => 2xx
|
292
|
+
p headers # => { ... }
|
293
|
+
p data # => <PaginatedRBACContentGuardResponseList>
|
294
|
+
rescue PulpcoreClient::ApiError => e
|
295
|
+
puts "Error when calling ContentguardsRbacApi->list_with_http_info: #{e}"
|
296
|
+
end
|
297
|
+
```
|
298
|
+
|
299
|
+
### Parameters
|
300
|
+
|
301
|
+
| Name | Type | Description | Notes |
|
302
|
+
| ---- | ---- | ----------- | ----- |
|
303
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
304
|
+
| **name** | **String** | Filter results where name matches value | [optional] |
|
305
|
+
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
306
|
+
| **name__icontains** | **String** | Filter results where name contains value | [optional] |
|
307
|
+
| **name__iexact** | **String** | Filter results where name matches value | [optional] |
|
308
|
+
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
309
|
+
| **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
|
310
|
+
| **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
|
311
|
+
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
312
|
+
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
313
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
314
|
+
| **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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
315
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
316
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
317
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
318
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
319
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
320
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
254
321
|
|
255
322
|
### Return type
|
256
323
|
|
@@ -268,16 +335,16 @@ Name | Type | Description | Notes
|
|
268
335
|
|
269
336
|
## list_roles
|
270
337
|
|
271
|
-
> ObjectRolesResponse list_roles(r_b_a_c_content_guard_href, opts)
|
338
|
+
> <ObjectRolesResponse> list_roles(r_b_a_c_content_guard_href, opts)
|
272
339
|
|
273
340
|
List roles
|
274
341
|
|
275
342
|
List roles assigned to this object.
|
276
343
|
|
277
|
-
###
|
344
|
+
### Examples
|
278
345
|
|
279
346
|
```ruby
|
280
|
-
|
347
|
+
require 'time'
|
281
348
|
require 'pulpcore_client'
|
282
349
|
# setup authorization
|
283
350
|
PulpcoreClient.configure do |config|
|
@@ -289,27 +356,44 @@ end
|
|
289
356
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
290
357
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
291
358
|
opts = {
|
292
|
-
fields: ['
|
293
|
-
exclude_fields: ['
|
359
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
360
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
294
361
|
}
|
295
362
|
|
296
363
|
begin
|
297
|
-
#List roles
|
364
|
+
# List roles
|
298
365
|
result = api_instance.list_roles(r_b_a_c_content_guard_href, opts)
|
299
366
|
p result
|
300
367
|
rescue PulpcoreClient::ApiError => e
|
301
|
-
puts "
|
368
|
+
puts "Error when calling ContentguardsRbacApi->list_roles: #{e}"
|
302
369
|
end
|
303
370
|
```
|
304
371
|
|
305
|
-
|
372
|
+
#### Using the list_roles_with_http_info variant
|
373
|
+
|
374
|
+
This returns an Array which contains the response data, status code and headers.
|
375
|
+
|
376
|
+
> <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(r_b_a_c_content_guard_href, opts)
|
377
|
+
|
378
|
+
```ruby
|
379
|
+
begin
|
380
|
+
# List roles
|
381
|
+
data, status_code, headers = api_instance.list_roles_with_http_info(r_b_a_c_content_guard_href, opts)
|
382
|
+
p status_code # => 2xx
|
383
|
+
p headers # => { ... }
|
384
|
+
p data # => <ObjectRolesResponse>
|
385
|
+
rescue PulpcoreClient::ApiError => e
|
386
|
+
puts "Error when calling ContentguardsRbacApi->list_roles_with_http_info: #{e}"
|
387
|
+
end
|
388
|
+
```
|
306
389
|
|
390
|
+
### Parameters
|
307
391
|
|
308
|
-
Name | Type | Description
|
309
|
-
|
310
|
-
**r_b_a_c_content_guard_href** | **String
|
311
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
312
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
392
|
+
| Name | Type | Description | Notes |
|
393
|
+
| ---- | ---- | ----------- | ----- |
|
394
|
+
| **r_b_a_c_content_guard_href** | **String** | | |
|
395
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
396
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
313
397
|
|
314
398
|
### Return type
|
315
399
|
|
@@ -327,16 +411,16 @@ Name | Type | Description | Notes
|
|
327
411
|
|
328
412
|
## my_permissions
|
329
413
|
|
330
|
-
> MyPermissionsResponse my_permissions(r_b_a_c_content_guard_href, opts)
|
414
|
+
> <MyPermissionsResponse> my_permissions(r_b_a_c_content_guard_href, opts)
|
331
415
|
|
332
416
|
List user permissions
|
333
417
|
|
334
418
|
List permissions available to the current user on this object.
|
335
419
|
|
336
|
-
###
|
420
|
+
### Examples
|
337
421
|
|
338
422
|
```ruby
|
339
|
-
|
423
|
+
require 'time'
|
340
424
|
require 'pulpcore_client'
|
341
425
|
# setup authorization
|
342
426
|
PulpcoreClient.configure do |config|
|
@@ -348,27 +432,44 @@ end
|
|
348
432
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
349
433
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
350
434
|
opts = {
|
351
|
-
fields: ['
|
352
|
-
exclude_fields: ['
|
435
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
436
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
353
437
|
}
|
354
438
|
|
355
439
|
begin
|
356
|
-
#List user permissions
|
440
|
+
# List user permissions
|
357
441
|
result = api_instance.my_permissions(r_b_a_c_content_guard_href, opts)
|
358
442
|
p result
|
359
443
|
rescue PulpcoreClient::ApiError => e
|
360
|
-
puts "
|
444
|
+
puts "Error when calling ContentguardsRbacApi->my_permissions: #{e}"
|
361
445
|
end
|
362
446
|
```
|
363
447
|
|
364
|
-
|
448
|
+
#### Using the my_permissions_with_http_info variant
|
449
|
+
|
450
|
+
This returns an Array which contains the response data, status code and headers.
|
365
451
|
|
452
|
+
> <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(r_b_a_c_content_guard_href, opts)
|
366
453
|
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
454
|
+
```ruby
|
455
|
+
begin
|
456
|
+
# List user permissions
|
457
|
+
data, status_code, headers = api_instance.my_permissions_with_http_info(r_b_a_c_content_guard_href, opts)
|
458
|
+
p status_code # => 2xx
|
459
|
+
p headers # => { ... }
|
460
|
+
p data # => <MyPermissionsResponse>
|
461
|
+
rescue PulpcoreClient::ApiError => e
|
462
|
+
puts "Error when calling ContentguardsRbacApi->my_permissions_with_http_info: #{e}"
|
463
|
+
end
|
464
|
+
```
|
465
|
+
|
466
|
+
### Parameters
|
467
|
+
|
468
|
+
| Name | Type | Description | Notes |
|
469
|
+
| ---- | ---- | ----------- | ----- |
|
470
|
+
| **r_b_a_c_content_guard_href** | **String** | | |
|
471
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
472
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
372
473
|
|
373
474
|
### Return type
|
374
475
|
|
@@ -386,16 +487,16 @@ Name | Type | Description | Notes
|
|
386
487
|
|
387
488
|
## partial_update
|
388
489
|
|
389
|
-
> RBACContentGuardResponse partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard)
|
490
|
+
> <RBACContentGuardResponse> partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard)
|
390
491
|
|
391
492
|
Update a rbac content guard
|
392
493
|
|
393
494
|
Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
394
495
|
|
395
|
-
###
|
496
|
+
### Examples
|
396
497
|
|
397
498
|
```ruby
|
398
|
-
|
499
|
+
require 'time'
|
399
500
|
require 'pulpcore_client'
|
400
501
|
# setup authorization
|
401
502
|
PulpcoreClient.configure do |config|
|
@@ -409,21 +510,38 @@ r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
|
409
510
|
patched_rbac_content_guard = PulpcoreClient::PatchedRBACContentGuard.new # PatchedRBACContentGuard |
|
410
511
|
|
411
512
|
begin
|
412
|
-
#Update a rbac content guard
|
513
|
+
# Update a rbac content guard
|
413
514
|
result = api_instance.partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard)
|
414
515
|
p result
|
415
516
|
rescue PulpcoreClient::ApiError => e
|
416
|
-
puts "
|
517
|
+
puts "Error when calling ContentguardsRbacApi->partial_update: #{e}"
|
417
518
|
end
|
418
519
|
```
|
419
520
|
|
420
|
-
|
521
|
+
#### Using the partial_update_with_http_info variant
|
421
522
|
|
523
|
+
This returns an Array which contains the response data, status code and headers.
|
422
524
|
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
525
|
+
> <Array(<RBACContentGuardResponse>, Integer, Hash)> partial_update_with_http_info(r_b_a_c_content_guard_href, patched_rbac_content_guard)
|
526
|
+
|
527
|
+
```ruby
|
528
|
+
begin
|
529
|
+
# Update a rbac content guard
|
530
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(r_b_a_c_content_guard_href, patched_rbac_content_guard)
|
531
|
+
p status_code # => 2xx
|
532
|
+
p headers # => { ... }
|
533
|
+
p data # => <RBACContentGuardResponse>
|
534
|
+
rescue PulpcoreClient::ApiError => e
|
535
|
+
puts "Error when calling ContentguardsRbacApi->partial_update_with_http_info: #{e}"
|
536
|
+
end
|
537
|
+
```
|
538
|
+
|
539
|
+
### Parameters
|
540
|
+
|
541
|
+
| Name | Type | Description | Notes |
|
542
|
+
| ---- | ---- | ----------- | ----- |
|
543
|
+
| **r_b_a_c_content_guard_href** | **String** | | |
|
544
|
+
| **patched_rbac_content_guard** | [**PatchedRBACContentGuard**](PatchedRBACContentGuard.md) | | |
|
427
545
|
|
428
546
|
### Return type
|
429
547
|
|
@@ -441,16 +559,16 @@ Name | Type | Description | Notes
|
|
441
559
|
|
442
560
|
## read
|
443
561
|
|
444
|
-
> RBACContentGuardResponse read(r_b_a_c_content_guard_href, opts)
|
562
|
+
> <RBACContentGuardResponse> read(r_b_a_c_content_guard_href, opts)
|
445
563
|
|
446
564
|
Inspect a rbac content guard
|
447
565
|
|
448
566
|
Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
449
567
|
|
450
|
-
###
|
568
|
+
### Examples
|
451
569
|
|
452
570
|
```ruby
|
453
|
-
|
571
|
+
require 'time'
|
454
572
|
require 'pulpcore_client'
|
455
573
|
# setup authorization
|
456
574
|
PulpcoreClient.configure do |config|
|
@@ -462,27 +580,44 @@ end
|
|
462
580
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
463
581
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
464
582
|
opts = {
|
465
|
-
fields: ['
|
466
|
-
exclude_fields: ['
|
583
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
584
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
467
585
|
}
|
468
586
|
|
469
587
|
begin
|
470
|
-
#Inspect a rbac content guard
|
588
|
+
# Inspect a rbac content guard
|
471
589
|
result = api_instance.read(r_b_a_c_content_guard_href, opts)
|
472
590
|
p result
|
473
591
|
rescue PulpcoreClient::ApiError => e
|
474
|
-
puts "
|
592
|
+
puts "Error when calling ContentguardsRbacApi->read: #{e}"
|
475
593
|
end
|
476
594
|
```
|
477
595
|
|
478
|
-
|
596
|
+
#### Using the read_with_http_info variant
|
597
|
+
|
598
|
+
This returns an Array which contains the response data, status code and headers.
|
599
|
+
|
600
|
+
> <Array(<RBACContentGuardResponse>, Integer, Hash)> read_with_http_info(r_b_a_c_content_guard_href, opts)
|
601
|
+
|
602
|
+
```ruby
|
603
|
+
begin
|
604
|
+
# Inspect a rbac content guard
|
605
|
+
data, status_code, headers = api_instance.read_with_http_info(r_b_a_c_content_guard_href, opts)
|
606
|
+
p status_code # => 2xx
|
607
|
+
p headers # => { ... }
|
608
|
+
p data # => <RBACContentGuardResponse>
|
609
|
+
rescue PulpcoreClient::ApiError => e
|
610
|
+
puts "Error when calling ContentguardsRbacApi->read_with_http_info: #{e}"
|
611
|
+
end
|
612
|
+
```
|
479
613
|
|
614
|
+
### Parameters
|
480
615
|
|
481
|
-
Name | Type | Description
|
482
|
-
|
483
|
-
**r_b_a_c_content_guard_href** | **String
|
484
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
485
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
616
|
+
| Name | Type | Description | Notes |
|
617
|
+
| ---- | ---- | ----------- | ----- |
|
618
|
+
| **r_b_a_c_content_guard_href** | **String** | | |
|
619
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
620
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
486
621
|
|
487
622
|
### Return type
|
488
623
|
|
@@ -500,16 +635,16 @@ Name | Type | Description | Notes
|
|
500
635
|
|
501
636
|
## remove_role
|
502
637
|
|
503
|
-
> NestedRoleResponse remove_role(r_b_a_c_content_guard_href, nested_role)
|
638
|
+
> <NestedRoleResponse> remove_role(r_b_a_c_content_guard_href, nested_role)
|
504
639
|
|
505
640
|
Remove a role
|
506
641
|
|
507
642
|
Remove a role for this object from users/groups.
|
508
643
|
|
509
|
-
###
|
644
|
+
### Examples
|
510
645
|
|
511
646
|
```ruby
|
512
|
-
|
647
|
+
require 'time'
|
513
648
|
require 'pulpcore_client'
|
514
649
|
# setup authorization
|
515
650
|
PulpcoreClient.configure do |config|
|
@@ -520,24 +655,41 @@ end
|
|
520
655
|
|
521
656
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
522
657
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
523
|
-
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
658
|
+
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
524
659
|
|
525
660
|
begin
|
526
|
-
#Remove a role
|
661
|
+
# Remove a role
|
527
662
|
result = api_instance.remove_role(r_b_a_c_content_guard_href, nested_role)
|
528
663
|
p result
|
529
664
|
rescue PulpcoreClient::ApiError => e
|
530
|
-
puts "
|
665
|
+
puts "Error when calling ContentguardsRbacApi->remove_role: #{e}"
|
531
666
|
end
|
532
667
|
```
|
533
668
|
|
534
|
-
|
669
|
+
#### Using the remove_role_with_http_info variant
|
535
670
|
|
671
|
+
This returns an Array which contains the response data, status code and headers.
|
536
672
|
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
673
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(r_b_a_c_content_guard_href, nested_role)
|
674
|
+
|
675
|
+
```ruby
|
676
|
+
begin
|
677
|
+
# Remove a role
|
678
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(r_b_a_c_content_guard_href, nested_role)
|
679
|
+
p status_code # => 2xx
|
680
|
+
p headers # => { ... }
|
681
|
+
p data # => <NestedRoleResponse>
|
682
|
+
rescue PulpcoreClient::ApiError => e
|
683
|
+
puts "Error when calling ContentguardsRbacApi->remove_role_with_http_info: #{e}"
|
684
|
+
end
|
685
|
+
```
|
686
|
+
|
687
|
+
### Parameters
|
688
|
+
|
689
|
+
| Name | Type | Description | Notes |
|
690
|
+
| ---- | ---- | ----------- | ----- |
|
691
|
+
| **r_b_a_c_content_guard_href** | **String** | | |
|
692
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
541
693
|
|
542
694
|
### Return type
|
543
695
|
|
@@ -555,16 +707,16 @@ Name | Type | Description | Notes
|
|
555
707
|
|
556
708
|
## update
|
557
709
|
|
558
|
-
> RBACContentGuardResponse update(r_b_a_c_content_guard_href, rbac_content_guard)
|
710
|
+
> <RBACContentGuardResponse> update(r_b_a_c_content_guard_href, rbac_content_guard)
|
559
711
|
|
560
712
|
Update a rbac content guard
|
561
713
|
|
562
714
|
Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
563
715
|
|
564
|
-
###
|
716
|
+
### Examples
|
565
717
|
|
566
718
|
```ruby
|
567
|
-
|
719
|
+
require 'time'
|
568
720
|
require 'pulpcore_client'
|
569
721
|
# setup authorization
|
570
722
|
PulpcoreClient.configure do |config|
|
@@ -575,24 +727,41 @@ end
|
|
575
727
|
|
576
728
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
577
729
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
578
|
-
rbac_content_guard = PulpcoreClient::RBACContentGuard.new # RBACContentGuard |
|
730
|
+
rbac_content_guard = PulpcoreClient::RBACContentGuard.new({name: 'name_example'}) # RBACContentGuard |
|
579
731
|
|
580
732
|
begin
|
581
|
-
#Update a rbac content guard
|
733
|
+
# Update a rbac content guard
|
582
734
|
result = api_instance.update(r_b_a_c_content_guard_href, rbac_content_guard)
|
583
735
|
p result
|
584
736
|
rescue PulpcoreClient::ApiError => e
|
585
|
-
puts "
|
737
|
+
puts "Error when calling ContentguardsRbacApi->update: #{e}"
|
586
738
|
end
|
587
739
|
```
|
588
740
|
|
589
|
-
|
741
|
+
#### Using the update_with_http_info variant
|
742
|
+
|
743
|
+
This returns an Array which contains the response data, status code and headers.
|
744
|
+
|
745
|
+
> <Array(<RBACContentGuardResponse>, Integer, Hash)> update_with_http_info(r_b_a_c_content_guard_href, rbac_content_guard)
|
746
|
+
|
747
|
+
```ruby
|
748
|
+
begin
|
749
|
+
# Update a rbac content guard
|
750
|
+
data, status_code, headers = api_instance.update_with_http_info(r_b_a_c_content_guard_href, rbac_content_guard)
|
751
|
+
p status_code # => 2xx
|
752
|
+
p headers # => { ... }
|
753
|
+
p data # => <RBACContentGuardResponse>
|
754
|
+
rescue PulpcoreClient::ApiError => e
|
755
|
+
puts "Error when calling ContentguardsRbacApi->update_with_http_info: #{e}"
|
756
|
+
end
|
757
|
+
```
|
590
758
|
|
759
|
+
### Parameters
|
591
760
|
|
592
|
-
Name | Type | Description
|
593
|
-
|
594
|
-
**r_b_a_c_content_guard_href** | **String
|
595
|
-
**rbac_content_guard** | [**RBACContentGuard**](RBACContentGuard.md)| |
|
761
|
+
| Name | Type | Description | Notes |
|
762
|
+
| ---- | ---- | ----------- | ----- |
|
763
|
+
| **r_b_a_c_content_guard_href** | **String** | | |
|
764
|
+
| **rbac_content_guard** | [**RBACContentGuard**](RBACContentGuard.md) | | |
|
596
765
|
|
597
766
|
### Return type
|
598
767
|
|