pulp_rpm_client 3.18.21 → 3.19.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 +35 -296
- data/docs/AcsRpmApi.md +230 -6
- data/docs/ContentAdvisoriesApi.md +2 -6
- data/docs/ContentDistributionTreesApi.md +2 -6
- data/docs/ContentModulemdDefaultsApi.md +2 -6
- data/docs/ContentModulemdObsoletesApi.md +2 -6
- data/docs/ContentModulemdsApi.md +2 -6
- data/docs/ContentPackagecategoriesApi.md +2 -6
- data/docs/ContentPackageenvironmentsApi.md +2 -6
- data/docs/ContentPackagegroupsApi.md +2 -6
- data/docs/ContentPackagelangpacksApi.md +2 -6
- data/docs/ContentPackagesApi.md +4 -8
- data/docs/ContentRepoMetadataFilesApi.md +2 -6
- data/docs/DistributionsRpmApi.md +230 -10
- data/docs/PatchedrpmRpmRemote.md +1 -1
- data/docs/PatchedrpmRpmRepository.md +3 -3
- data/docs/PatchedrpmUlnRemote.md +1 -1
- data/docs/{MethodEnum.md → PolicyEnum.md} +2 -2
- data/docs/PublicationsRpmApi.md +230 -6
- data/docs/RemotesRpmApi.md +230 -6
- data/docs/RemotesUlnApi.md +230 -6
- data/docs/RepositoriesRpmApi.md +230 -22
- data/docs/RepositoriesRpmVersionsApi.md +2 -4
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmModulemdObsolete.md +2 -2
- data/docs/RpmModulemdObsoleteResponse.md +2 -2
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmPublication.md +2 -2
- data/docs/RpmRpmPublicationResponse.md +2 -2
- data/docs/RpmRpmRemote.md +1 -1
- data/docs/RpmRpmRemoteResponse.md +2 -2
- data/docs/{RemoteResponseHiddenFields.md → RpmRpmRemoteResponseHiddenFields.md} +2 -2
- data/docs/RpmRpmRepository.md +3 -3
- data/docs/RpmRpmRepositoryResponse.md +3 -3
- data/docs/RpmUlnRemote.md +1 -1
- data/docs/RpmUlnRemoteResponse.md +2 -2
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -10
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +2 -8
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +270 -14
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +270 -8
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +270 -32
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +2 -5
- data/lib/pulp_rpm_client/models/nested_role.rb +0 -19
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +2 -2
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +3 -3
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +2 -2
- data/lib/pulp_rpm_client/models/{policy762_enum.rb → policy_enum.rb} +3 -3
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +36 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +3 -3
- data/lib/pulp_rpm_client/models/{remote_response_hidden_fields.rb → rpm_rpm_remote_response_hidden_fields.rb} +3 -3
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +3 -3
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +2 -160
- data/spec/api/acs_rpm_api_spec.rb +51 -3
- data/spec/api/content_advisories_api_spec.rb +1 -3
- data/spec/api/content_distribution_trees_api_spec.rb +1 -3
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -3
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -3
- data/spec/api/content_modulemds_api_spec.rb +1 -3
- data/spec/api/content_packagecategories_api_spec.rb +1 -3
- data/spec/api/content_packageenvironments_api_spec.rb +1 -3
- data/spec/api/content_packagegroups_api_spec.rb +1 -3
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -3
- data/spec/api/content_packages_api_spec.rb +2 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -3
- data/spec/api/distributions_rpm_api_spec.rb +51 -5
- data/spec/api/publications_rpm_api_spec.rb +51 -3
- data/spec/api/remotes_rpm_api_spec.rb +51 -3
- data/spec/api/remotes_uln_api_spec.rb +51 -3
- data/spec/api/repositories_rpm_api_spec.rb +51 -11
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -2
- data/spec/models/{states_enum_spec.rb → policy_enum_spec.rb} +6 -6
- data/spec/models/{remote_response_hidden_fields_spec.rb → rpm_rpm_remote_response_hidden_fields_spec.rb} +6 -6
- metadata +85 -717
- data/docs/AccessPoliciesApi.md +0 -313
- data/docs/AccessPolicy.md +0 -23
- data/docs/AccessPolicyResponse.md +0 -31
- data/docs/Artifact.md +0 -31
- data/docs/ArtifactDistributionResponse.md +0 -29
- data/docs/ArtifactsApi.md +0 -273
- data/docs/ContentApi.md +0 -84
- data/docs/ContentAppStatusResponse.md +0 -19
- data/docs/ContentGuardResponse.md +0 -23
- data/docs/ContentRedirectContentGuard.md +0 -19
- data/docs/ContentRedirectContentGuardResponse.md +0 -23
- data/docs/ContentSettingsResponse.md +0 -19
- data/docs/ContentguardsApi.md +0 -88
- data/docs/ContentguardsContentRedirectApi.md +0 -593
- data/docs/ContentguardsRbacApi.md +0 -593
- data/docs/DatabaseConnectionResponse.md +0 -17
- data/docs/DistributionResponse.md +0 -31
- data/docs/DistributionsApi.md +0 -104
- data/docs/DistributionsArtifactsApi.md +0 -162
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/docs/Domain.md +0 -27
- data/docs/DomainResponse.md +0 -31
- data/docs/DomainsApi.md +0 -366
- data/docs/EvaluationResponse.md +0 -21
- data/docs/ExportersFilesystemApi.md +0 -366
- data/docs/ExportersFilesystemExportsApi.md +0 -241
- data/docs/ExportersPulpApi.md +0 -366
- data/docs/ExportersPulpExportsApi.md +0 -241
- data/docs/FilesystemExport.md +0 -23
- data/docs/FilesystemExportResponse.md +0 -25
- data/docs/FilesystemExporter.md +0 -21
- data/docs/FilesystemExporterResponse.md +0 -25
- data/docs/Group.md +0 -17
- data/docs/GroupProgressReportResponse.md +0 -25
- data/docs/GroupResponse.md +0 -21
- data/docs/GroupRole.md +0 -21
- data/docs/GroupRoleResponse.md +0 -29
- data/docs/GroupUser.md +0 -17
- data/docs/GroupUserResponse.md +0 -19
- data/docs/GroupsApi.md +0 -597
- data/docs/GroupsRolesApi.md +0 -261
- data/docs/GroupsUsersApi.md +0 -181
- data/docs/ImportResponse.md +0 -23
- data/docs/ImportersPulpApi.md +0 -365
- data/docs/ImportersPulpImportCheckApi.md +0 -62
- data/docs/ImportersPulpImportsApi.md +0 -241
- data/docs/MinimalTaskResponse.md +0 -29
- data/docs/MultipleArtifactContentResponse.md +0 -21
- data/docs/OrphansApi.md +0 -58
- data/docs/OrphansCleanup.md +0 -19
- data/docs/OrphansCleanupApi.md +0 -61
- data/docs/PaginatedAccessPolicyResponseList.md +0 -23
- data/docs/PaginatedArtifactDistributionResponseList.md +0 -23
- data/docs/PaginatedArtifactResponseList.md +0 -23
- data/docs/PaginatedContentGuardResponseList.md +0 -23
- data/docs/PaginatedContentRedirectContentGuardResponseList.md +0 -23
- data/docs/PaginatedDistributionResponseList.md +0 -23
- data/docs/PaginatedDomainResponseList.md +0 -23
- data/docs/PaginatedFilesystemExportResponseList.md +0 -23
- data/docs/PaginatedFilesystemExporterResponseList.md +0 -23
- data/docs/PaginatedGroupResponseList.md +0 -23
- data/docs/PaginatedGroupRoleResponseList.md +0 -23
- data/docs/PaginatedGroupUserResponseList.md +0 -23
- data/docs/PaginatedImportResponseList.md +0 -23
- data/docs/PaginatedMultipleArtifactContentResponseList.md +0 -23
- data/docs/PaginatedPublicationResponseList.md +0 -23
- data/docs/PaginatedPulpExportResponseList.md +0 -23
- data/docs/PaginatedPulpExporterResponseList.md +0 -23
- data/docs/PaginatedPulpImporterResponseList.md +0 -23
- data/docs/PaginatedRBACContentGuardResponseList.md +0 -23
- data/docs/PaginatedRemoteResponseList.md +0 -23
- data/docs/PaginatedRepositoryResponseList.md +0 -23
- data/docs/PaginatedRoleResponseList.md +0 -23
- data/docs/PaginatedSigningServiceResponseList.md +0 -23
- data/docs/PaginatedTaskGroupResponseList.md +0 -23
- data/docs/PaginatedTaskResponseList.md +0 -23
- data/docs/PaginatedTaskScheduleResponseList.md +0 -23
- data/docs/PaginatedUploadResponseList.md +0 -23
- data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
- data/docs/PaginatedUserResponseList.md +0 -23
- data/docs/PaginatedUserRoleResponseList.md +0 -23
- data/docs/PaginatedWorkerResponseList.md +0 -23
- data/docs/PatchedAccessPolicy.md +0 -23
- data/docs/PatchedContentRedirectContentGuard.md +0 -19
- data/docs/PatchedDomain.md +0 -27
- data/docs/PatchedFilesystemExporter.md +0 -21
- data/docs/PatchedGroup.md +0 -17
- data/docs/PatchedPulpExporter.md +0 -23
- data/docs/PatchedPulpImporter.md +0 -19
- data/docs/PatchedRBACContentGuard.md +0 -19
- data/docs/PatchedRole.md +0 -21
- data/docs/PatchedTaskCancel.md +0 -17
- data/docs/PatchedUpstreamPulp.md +0 -37
- data/docs/PatchedUser.md +0 -29
- data/docs/Policy762Enum.md +0 -16
- data/docs/ProgressReportResponse.md +0 -27
- data/docs/PublicationResponse.md +0 -23
- data/docs/PublicationsApi.md +0 -98
- data/docs/PulpExport.md +0 -27
- data/docs/PulpExportResponse.md +0 -29
- data/docs/PulpExporter.md +0 -23
- data/docs/PulpExporterResponse.md +0 -27
- data/docs/PulpImport.md +0 -21
- data/docs/PulpImportCheck.md +0 -21
- data/docs/PulpImportCheckResponse.md +0 -21
- data/docs/PulpImporter.md +0 -19
- data/docs/PulpImporterResponse.md +0 -23
- data/docs/Purge.md +0 -19
- data/docs/RBACContentGuard.md +0 -19
- data/docs/RBACContentGuardResponse.md +0 -27
- data/docs/ReclaimSpace.md +0 -19
- data/docs/RedisConnectionResponse.md +0 -17
- data/docs/RemoteResponse.md +0 -55
- data/docs/RemoteResponsePolicyEnum.md +0 -16
- data/docs/RemotesApi.md +0 -102
- data/docs/RepairApi.md +0 -62
- data/docs/RepositoriesApi.md +0 -108
- data/docs/RepositoriesReclaimSpaceApi.md +0 -61
- data/docs/RepositoryResponse.md +0 -33
- data/docs/RepositoryVersionsApi.md +0 -102
- data/docs/Role.md +0 -21
- data/docs/RoleResponse.md +0 -27
- data/docs/RolesApi.md +0 -379
- data/docs/SigningServiceResponse.md +0 -27
- data/docs/SigningServicesApi.md +0 -138
- data/docs/StatesEnum.md +0 -16
- data/docs/StatusApi.md +0 -52
- data/docs/StatusResponse.md +0 -31
- data/docs/StorageClassEnum.md +0 -16
- data/docs/StorageResponse.md +0 -21
- data/docs/TaskGroupResponse.md +0 -39
- data/docs/TaskGroupsApi.md +0 -130
- data/docs/TaskResponse.md +0 -45
- data/docs/TaskScheduleResponse.md +0 -29
- data/docs/TaskSchedulesApi.md +0 -372
- data/docs/TasksApi.md +0 -591
- data/docs/Upload.md +0 -17
- data/docs/UploadChunk.md +0 -19
- data/docs/UploadChunkResponse.md +0 -19
- data/docs/UploadCommit.md +0 -17
- data/docs/UploadDetailResponse.md +0 -25
- data/docs/UploadResponse.md +0 -23
- data/docs/UploadsApi.md +0 -597
- data/docs/UpstreamPulp.md +0 -37
- data/docs/UpstreamPulpResponse.md +0 -39
- data/docs/UpstreamPulpsApi.md +0 -405
- data/docs/User.md +0 -29
- data/docs/UserGroup.md +0 -17
- data/docs/UserGroupResponse.md +0 -19
- data/docs/UserResponse.md +0 -37
- data/docs/UserRole.md +0 -21
- data/docs/UserRoleResponse.md +0 -29
- data/docs/UsersApi.md +0 -399
- data/docs/UsersRolesApi.md +0 -261
- data/docs/VersionResponse.md +0 -23
- data/docs/WorkerResponse.md +0 -25
- data/docs/WorkersApi.md +0 -162
- data/lib/pulp_rpm_client/api/access_policies_api.rb +0 -389
- data/lib/pulp_rpm_client/api/artifacts_api.rb +0 -362
- data/lib/pulp_rpm_client/api/content_api.rb +0 -119
- data/lib/pulp_rpm_client/api/contentguards_api.rb +0 -125
- data/lib/pulp_rpm_client/api/contentguards_content_redirect_api.rb +0 -718
- data/lib/pulp_rpm_client/api/contentguards_rbac_api.rb +0 -718
- data/lib/pulp_rpm_client/api/distributions_api.rb +0 -149
- data/lib/pulp_rpm_client/api/distributions_artifacts_api.rb +0 -210
- data/lib/pulp_rpm_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulp_rpm_client/api/docs_api_yaml_api.rb +0 -89
- data/lib/pulp_rpm_client/api/domains_api.rb +0 -452
- data/lib/pulp_rpm_client/api/exporters_filesystem_api.rb +0 -452
- data/lib/pulp_rpm_client/api/exporters_filesystem_exports_api.rb +0 -294
- data/lib/pulp_rpm_client/api/exporters_pulp_api.rb +0 -452
- data/lib/pulp_rpm_client/api/exporters_pulp_exports_api.rb +0 -294
- data/lib/pulp_rpm_client/api/groups_api.rb +0 -724
- data/lib/pulp_rpm_client/api/groups_roles_api.rb +0 -328
- data/lib/pulp_rpm_client/api/groups_users_api.rb +0 -226
- data/lib/pulp_rpm_client/api/importers_pulp_api.rb +0 -450
- data/lib/pulp_rpm_client/api/importers_pulp_import_check_api.rb +0 -86
- data/lib/pulp_rpm_client/api/importers_pulp_imports_api.rb +0 -294
- data/lib/pulp_rpm_client/api/orphans_api.rb +0 -78
- data/lib/pulp_rpm_client/api/orphans_cleanup_api.rb +0 -84
- data/lib/pulp_rpm_client/api/publications_api.rb +0 -140
- data/lib/pulp_rpm_client/api/remotes_api.rb +0 -146
- data/lib/pulp_rpm_client/api/repair_api.rb +0 -86
- data/lib/pulp_rpm_client/api/repositories_api.rb +0 -155
- data/lib/pulp_rpm_client/api/repositories_reclaim_space_api.rb +0 -84
- data/lib/pulp_rpm_client/api/repository_versions_api.rb +0 -142
- data/lib/pulp_rpm_client/api/roles_api.rb +0 -471
- data/lib/pulp_rpm_client/api/signing_services_api.rb +0 -174
- data/lib/pulp_rpm_client/api/status_api.rb +0 -78
- data/lib/pulp_rpm_client/api/task_groups_api.rb +0 -158
- data/lib/pulp_rpm_client/api/task_schedules_api.rb +0 -451
- data/lib/pulp_rpm_client/api/tasks_api.rb +0 -733
- data/lib/pulp_rpm_client/api/uploads_api.rb +0 -730
- data/lib/pulp_rpm_client/api/upstream_pulps_api.rb +0 -492
- data/lib/pulp_rpm_client/api/users_api.rb +0 -501
- data/lib/pulp_rpm_client/api/users_roles_api.rb +0 -328
- data/lib/pulp_rpm_client/api/workers_api.rb +0 -210
- data/lib/pulp_rpm_client/models/access_policy.rb +0 -249
- data/lib/pulp_rpm_client/models/access_policy_response.rb +0 -288
- data/lib/pulp_rpm_client/models/artifact.rb +0 -379
- data/lib/pulp_rpm_client/models/artifact_distribution_response.rb +0 -279
- data/lib/pulp_rpm_client/models/content_app_status_response.rb +0 -218
- data/lib/pulp_rpm_client/models/content_guard_response.rb +0 -243
- data/lib/pulp_rpm_client/models/content_redirect_content_guard.rb +0 -258
- data/lib/pulp_rpm_client/models/content_redirect_content_guard_response.rb +0 -243
- data/lib/pulp_rpm_client/models/content_settings_response.rb +0 -228
- data/lib/pulp_rpm_client/models/database_connection_response.rb +0 -213
- data/lib/pulp_rpm_client/models/distribution_response.rb +0 -290
- data/lib/pulp_rpm_client/models/domain.rb +0 -323
- data/lib/pulp_rpm_client/models/domain_response.rb +0 -318
- data/lib/pulp_rpm_client/models/evaluation_response.rb +0 -245
- data/lib/pulp_rpm_client/models/filesystem_export.rb +0 -239
- data/lib/pulp_rpm_client/models/filesystem_export_response.rb +0 -250
- data/lib/pulp_rpm_client/models/filesystem_exporter.rb +0 -276
- data/lib/pulp_rpm_client/models/filesystem_exporter_response.rb +0 -257
- data/lib/pulp_rpm_client/models/group.rb +0 -241
- data/lib/pulp_rpm_client/models/group_progress_report_response.rb +0 -249
- data/lib/pulp_rpm_client/models/group_response.rb +0 -250
- data/lib/pulp_rpm_client/models/group_role.rb +0 -268
- data/lib/pulp_rpm_client/models/group_role_response.rb +0 -273
- data/lib/pulp_rpm_client/models/group_user.rb +0 -241
- data/lib/pulp_rpm_client/models/group_user_response.rb +0 -241
- data/lib/pulp_rpm_client/models/import_response.rb +0 -247
- data/lib/pulp_rpm_client/models/method_enum.rb +0 -37
- data/lib/pulp_rpm_client/models/minimal_task_response.rb +0 -272
- data/lib/pulp_rpm_client/models/multiple_artifact_content_response.rb +0 -232
- data/lib/pulp_rpm_client/models/orphans_cleanup.rb +0 -220
- data/lib/pulp_rpm_client/models/paginated_access_policy_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_artifact_distribution_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_artifact_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_content_guard_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_content_redirect_content_guard_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_distribution_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_domain_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_filesystem_export_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_filesystem_exporter_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_group_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_group_role_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_group_user_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_import_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_multiple_artifact_content_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_publication_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_pulp_export_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_pulp_exporter_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_pulp_importer_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_rbac_content_guard_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_remote_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_repository_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_role_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_signing_service_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_task_group_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_task_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_task_schedule_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_upload_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_upstream_pulp_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_user_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_user_role_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_worker_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/patched_access_policy.rb +0 -244
- data/lib/pulp_rpm_client/models/patched_content_redirect_content_guard.rb +0 -249
- data/lib/pulp_rpm_client/models/patched_domain.rb +0 -304
- data/lib/pulp_rpm_client/models/patched_filesystem_exporter.rb +0 -258
- data/lib/pulp_rpm_client/models/patched_group.rb +0 -232
- data/lib/pulp_rpm_client/models/patched_pulp_exporter.rb +0 -270
- data/lib/pulp_rpm_client/models/patched_pulp_importer.rb +0 -235
- data/lib/pulp_rpm_client/models/patched_rbac_content_guard.rb +0 -249
- data/lib/pulp_rpm_client/models/patched_role.rb +0 -261
- data/lib/pulp_rpm_client/models/patched_task_cancel.rb +0 -223
- data/lib/pulp_rpm_client/models/patched_upstream_pulp.rb +0 -450
- data/lib/pulp_rpm_client/models/patched_user.rb +0 -342
- data/lib/pulp_rpm_client/models/progress_report_response.rb +0 -259
- data/lib/pulp_rpm_client/models/publication_response.rb +0 -236
- data/lib/pulp_rpm_client/models/pulp_export.rb +0 -282
- data/lib/pulp_rpm_client/models/pulp_export_response.rb +0 -270
- data/lib/pulp_rpm_client/models/pulp_exporter.rb +0 -293
- data/lib/pulp_rpm_client/models/pulp_exporter_response.rb +0 -274
- data/lib/pulp_rpm_client/models/pulp_import.rb +0 -260
- data/lib/pulp_rpm_client/models/pulp_import_check.rb +0 -273
- data/lib/pulp_rpm_client/models/pulp_import_check_response.rb +0 -228
- data/lib/pulp_rpm_client/models/pulp_importer.rb +0 -244
- data/lib/pulp_rpm_client/models/pulp_importer_response.rb +0 -244
- data/lib/pulp_rpm_client/models/purge.rb +0 -219
- data/lib/pulp_rpm_client/models/rbac_content_guard.rb +0 -258
- data/lib/pulp_rpm_client/models/rbac_content_guard_response.rb +0 -265
- data/lib/pulp_rpm_client/models/reclaim_space.rb +0 -227
- data/lib/pulp_rpm_client/models/redis_connection_response.rb +0 -213
- data/lib/pulp_rpm_client/models/remote_response.rb +0 -497
- data/lib/pulp_rpm_client/models/remote_response_policy_enum.rb +0 -36
- data/lib/pulp_rpm_client/models/repository_response.rb +0 -309
- data/lib/pulp_rpm_client/models/role.rb +0 -275
- data/lib/pulp_rpm_client/models/role_response.rb +0 -270
- data/lib/pulp_rpm_client/models/signing_service_response.rb +0 -277
- data/lib/pulp_rpm_client/models/states_enum.rb +0 -38
- data/lib/pulp_rpm_client/models/status_response.rb +0 -314
- data/lib/pulp_rpm_client/models/storage_class_enum.rb +0 -37
- data/lib/pulp_rpm_client/models/storage_response.rb +0 -300
- data/lib/pulp_rpm_client/models/task_group_response.rb +0 -329
- data/lib/pulp_rpm_client/models/task_response.rb +0 -366
- data/lib/pulp_rpm_client/models/task_schedule_response.rb +0 -282
- data/lib/pulp_rpm_client/models/upload.rb +0 -213
- data/lib/pulp_rpm_client/models/upload_chunk.rb +0 -239
- data/lib/pulp_rpm_client/models/upload_chunk_response.rb +0 -216
- data/lib/pulp_rpm_client/models/upload_commit.rb +0 -232
- data/lib/pulp_rpm_client/models/upload_detail_response.rb +0 -253
- data/lib/pulp_rpm_client/models/upload_response.rb +0 -242
- data/lib/pulp_rpm_client/models/upstream_pulp.rb +0 -477
- data/lib/pulp_rpm_client/models/upstream_pulp_response.rb +0 -338
- data/lib/pulp_rpm_client/models/user.rb +0 -351
- data/lib/pulp_rpm_client/models/user_group.rb +0 -241
- data/lib/pulp_rpm_client/models/user_group_response.rb +0 -241
- data/lib/pulp_rpm_client/models/user_response.rb +0 -367
- data/lib/pulp_rpm_client/models/user_role.rb +0 -268
- data/lib/pulp_rpm_client/models/user_role_response.rb +0 -273
- data/lib/pulp_rpm_client/models/version_response.rb +0 -258
- data/lib/pulp_rpm_client/models/worker_response.rb +0 -247
- data/spec/api/access_policies_api_spec.rb +0 -110
- data/spec/api/artifacts_api_spec.rb +0 -105
- data/spec/api/content_api_spec.rb +0 -57
- data/spec/api/contentguards_api_spec.rb +0 -59
- data/spec/api/contentguards_content_redirect_api_spec.rb +0 -172
- data/spec/api/contentguards_rbac_api_spec.rb +0 -172
- data/spec/api/distributions_api_spec.rb +0 -67
- data/spec/api/distributions_artifacts_api_spec.rb +0 -80
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
- data/spec/api/domains_api_spec.rb +0 -122
- data/spec/api/exporters_filesystem_api_spec.rb +0 -122
- data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -90
- data/spec/api/exporters_pulp_api_spec.rb +0 -122
- data/spec/api/exporters_pulp_exports_api_spec.rb +0 -90
- data/spec/api/groups_api_spec.rb +0 -174
- data/spec/api/groups_roles_api_spec.rb +0 -100
- data/spec/api/groups_users_api_spec.rb +0 -76
- data/spec/api/importers_pulp_api_spec.rb +0 -122
- data/spec/api/importers_pulp_import_check_api_spec.rb +0 -47
- data/spec/api/importers_pulp_imports_api_spec.rb +0 -90
- data/spec/api/orphans_api_spec.rb +0 -46
- data/spec/api/orphans_cleanup_api_spec.rb +0 -46
- data/spec/api/publications_api_spec.rb +0 -64
- data/spec/api/remotes_api_spec.rb +0 -66
- data/spec/api/repair_api_spec.rb +0 -47
- data/spec/api/repositories_api_spec.rb +0 -69
- data/spec/api/repositories_reclaim_space_api_spec.rb +0 -46
- data/spec/api/repository_versions_api_spec.rb +0 -66
- data/spec/api/roles_api_spec.rb +0 -129
- data/spec/api/signing_services_api_spec.rb +0 -68
- data/spec/api/status_api_spec.rb +0 -46
- data/spec/api/task_groups_api_spec.rb +0 -64
- data/spec/api/task_schedules_api_spec.rb +0 -121
- data/spec/api/tasks_api_spec.rb +0 -186
- data/spec/api/uploads_api_spec.rb +0 -173
- data/spec/api/upstream_pulps_api_spec.rb +0 -127
- data/spec/api/users_api_spec.rb +0 -139
- data/spec/api/users_roles_api_spec.rb +0 -100
- data/spec/api/workers_api_spec.rb +0 -80
- data/spec/models/access_policy_response_spec.rb +0 -83
- data/spec/models/access_policy_spec.rb +0 -59
- data/spec/models/artifact_distribution_response_spec.rb +0 -77
- data/spec/models/artifact_spec.rb +0 -83
- data/spec/models/content_app_status_response_spec.rb +0 -47
- data/spec/models/content_guard_response_spec.rb +0 -59
- data/spec/models/content_redirect_content_guard_response_spec.rb +0 -59
- data/spec/models/content_redirect_content_guard_spec.rb +0 -47
- data/spec/models/content_settings_response_spec.rb +0 -47
- data/spec/models/database_connection_response_spec.rb +0 -41
- data/spec/models/distribution_response_spec.rb +0 -83
- data/spec/models/domain_response_spec.rb +0 -83
- data/spec/models/domain_spec.rb +0 -71
- data/spec/models/evaluation_response_spec.rb +0 -53
- data/spec/models/filesystem_export_response_spec.rb +0 -65
- data/spec/models/filesystem_export_spec.rb +0 -59
- data/spec/models/filesystem_exporter_response_spec.rb +0 -65
- data/spec/models/filesystem_exporter_spec.rb +0 -53
- data/spec/models/group_progress_report_response_spec.rb +0 -65
- data/spec/models/group_response_spec.rb +0 -53
- data/spec/models/group_role_response_spec.rb +0 -77
- data/spec/models/group_role_spec.rb +0 -53
- data/spec/models/group_spec.rb +0 -41
- data/spec/models/group_user_response_spec.rb +0 -47
- data/spec/models/group_user_spec.rb +0 -41
- data/spec/models/import_response_spec.rb +0 -59
- data/spec/models/method_enum_spec.rb +0 -35
- data/spec/models/minimal_task_response_spec.rb +0 -77
- data/spec/models/multiple_artifact_content_response_spec.rb +0 -53
- data/spec/models/orphans_cleanup_spec.rb +0 -47
- data/spec/models/paginated_access_policy_response_list_spec.rb +0 -59
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +0 -59
- data/spec/models/paginated_artifact_response_list_spec.rb +0 -59
- data/spec/models/paginated_content_guard_response_list_spec.rb +0 -59
- data/spec/models/paginated_content_redirect_content_guard_response_list_spec.rb +0 -59
- data/spec/models/paginated_distribution_response_list_spec.rb +0 -59
- data/spec/models/paginated_domain_response_list_spec.rb +0 -59
- data/spec/models/paginated_filesystem_export_response_list_spec.rb +0 -59
- data/spec/models/paginated_filesystem_exporter_response_list_spec.rb +0 -59
- data/spec/models/paginated_group_response_list_spec.rb +0 -59
- data/spec/models/paginated_group_role_response_list_spec.rb +0 -59
- data/spec/models/paginated_group_user_response_list_spec.rb +0 -59
- data/spec/models/paginated_import_response_list_spec.rb +0 -59
- data/spec/models/paginated_multiple_artifact_content_response_list_spec.rb +0 -59
- data/spec/models/paginated_publication_response_list_spec.rb +0 -59
- data/spec/models/paginated_pulp_export_response_list_spec.rb +0 -59
- data/spec/models/paginated_pulp_exporter_response_list_spec.rb +0 -59
- data/spec/models/paginated_pulp_importer_response_list_spec.rb +0 -59
- data/spec/models/paginated_rbac_content_guard_response_list_spec.rb +0 -59
- data/spec/models/paginated_remote_response_list_spec.rb +0 -59
- data/spec/models/paginated_repository_response_list_spec.rb +0 -59
- data/spec/models/paginated_role_response_list_spec.rb +0 -59
- data/spec/models/paginated_signing_service_response_list_spec.rb +0 -59
- data/spec/models/paginated_task_group_response_list_spec.rb +0 -59
- data/spec/models/paginated_task_response_list_spec.rb +0 -59
- data/spec/models/paginated_task_schedule_response_list_spec.rb +0 -59
- data/spec/models/paginated_upload_response_list_spec.rb +0 -59
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
- data/spec/models/paginated_user_response_list_spec.rb +0 -59
- data/spec/models/paginated_user_role_response_list_spec.rb +0 -59
- data/spec/models/paginated_worker_response_list_spec.rb +0 -59
- data/spec/models/patched_access_policy_spec.rb +0 -59
- data/spec/models/patched_content_redirect_content_guard_spec.rb +0 -47
- data/spec/models/patched_domain_spec.rb +0 -71
- data/spec/models/patched_filesystem_exporter_spec.rb +0 -53
- data/spec/models/patched_group_spec.rb +0 -41
- data/spec/models/patched_pulp_exporter_spec.rb +0 -59
- data/spec/models/patched_pulp_importer_spec.rb +0 -47
- data/spec/models/patched_rbac_content_guard_spec.rb +0 -47
- data/spec/models/patched_role_spec.rb +0 -53
- data/spec/models/patched_task_cancel_spec.rb +0 -41
- data/spec/models/patched_upstream_pulp_spec.rb +0 -101
- data/spec/models/patched_user_spec.rb +0 -77
- data/spec/models/policy762_enum_spec.rb +0 -35
- data/spec/models/progress_report_response_spec.rb +0 -71
- data/spec/models/publication_response_spec.rb +0 -59
- data/spec/models/pulp_export_response_spec.rb +0 -77
- data/spec/models/pulp_export_spec.rb +0 -71
- data/spec/models/pulp_exporter_response_spec.rb +0 -71
- data/spec/models/pulp_exporter_spec.rb +0 -59
- data/spec/models/pulp_import_check_response_spec.rb +0 -53
- data/spec/models/pulp_import_check_spec.rb +0 -53
- data/spec/models/pulp_import_spec.rb +0 -53
- data/spec/models/pulp_importer_response_spec.rb +0 -59
- data/spec/models/pulp_importer_spec.rb +0 -47
- data/spec/models/purge_spec.rb +0 -47
- data/spec/models/rbac_content_guard_response_spec.rb +0 -71
- data/spec/models/rbac_content_guard_spec.rb +0 -47
- data/spec/models/reclaim_space_spec.rb +0 -47
- data/spec/models/redis_connection_response_spec.rb +0 -41
- data/spec/models/remote_response_policy_enum_spec.rb +0 -35
- data/spec/models/remote_response_spec.rb +0 -155
- data/spec/models/repository_response_spec.rb +0 -89
- data/spec/models/role_response_spec.rb +0 -71
- data/spec/models/role_spec.rb +0 -53
- data/spec/models/signing_service_response_spec.rb +0 -71
- data/spec/models/status_response_spec.rb +0 -83
- data/spec/models/storage_class_enum_spec.rb +0 -35
- data/spec/models/storage_response_spec.rb +0 -53
- data/spec/models/task_group_response_spec.rb +0 -107
- data/spec/models/task_response_spec.rb +0 -125
- data/spec/models/task_schedule_response_spec.rb +0 -77
- data/spec/models/upload_chunk_response_spec.rb +0 -47
- data/spec/models/upload_chunk_spec.rb +0 -47
- data/spec/models/upload_commit_spec.rb +0 -41
- data/spec/models/upload_detail_response_spec.rb +0 -65
- data/spec/models/upload_response_spec.rb +0 -59
- data/spec/models/upload_spec.rb +0 -41
- data/spec/models/upstream_pulp_response_spec.rb +0 -107
- data/spec/models/upstream_pulp_spec.rb +0 -101
- data/spec/models/user_group_response_spec.rb +0 -47
- data/spec/models/user_group_spec.rb +0 -41
- data/spec/models/user_response_spec.rb +0 -101
- data/spec/models/user_role_response_spec.rb +0 -77
- data/spec/models/user_role_spec.rb +0 -53
- data/spec/models/user_spec.rb +0 -77
- data/spec/models/version_response_spec.rb +0 -59
- data/spec/models/worker_response_spec.rb +0 -65
data/docs/DistributionsRpmApi.md
CHANGED
@@ -4,15 +4,73 @@ All URIs are relative to *https://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**add_role**](DistributionsRpmApi.md#add_role) | **POST** {rpm_rpm_distribution_href}add_role/ |
|
7
8
|
[**create**](DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
|
8
9
|
[**delete**](DistributionsRpmApi.md#delete) | **DELETE** {rpm_rpm_distribution_href} | Delete a rpm distribution
|
9
10
|
[**list**](DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
|
11
|
+
[**list_roles**](DistributionsRpmApi.md#list_roles) | **GET** {rpm_rpm_distribution_href}list_roles/ |
|
12
|
+
[**my_permissions**](DistributionsRpmApi.md#my_permissions) | **GET** {rpm_rpm_distribution_href}my_permissions/ |
|
10
13
|
[**partial_update**](DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_rpm_distribution_href} | Update a rpm distribution
|
11
14
|
[**read**](DistributionsRpmApi.md#read) | **GET** {rpm_rpm_distribution_href} | Inspect a rpm distribution
|
15
|
+
[**remove_role**](DistributionsRpmApi.md#remove_role) | **POST** {rpm_rpm_distribution_href}remove_role/ |
|
12
16
|
[**update**](DistributionsRpmApi.md#update) | **PUT** {rpm_rpm_distribution_href} | Update a rpm distribution
|
13
17
|
|
14
18
|
|
15
19
|
|
20
|
+
## add_role
|
21
|
+
|
22
|
+
> NestedRoleResponse add_role(rpm_rpm_distribution_href, nested_role)
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
Add a role for this object to users/groups.
|
27
|
+
|
28
|
+
### Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
# load the gem
|
32
|
+
require 'pulp_rpm_client'
|
33
|
+
# setup authorization
|
34
|
+
PulpRpmClient.configure do |config|
|
35
|
+
# Configure HTTP basic authorization: basicAuth
|
36
|
+
config.username = 'YOUR USERNAME'
|
37
|
+
config.password = 'YOUR PASSWORD'
|
38
|
+
end
|
39
|
+
|
40
|
+
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
41
|
+
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
42
|
+
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
43
|
+
|
44
|
+
begin
|
45
|
+
result = api_instance.add_role(rpm_rpm_distribution_href, nested_role)
|
46
|
+
p result
|
47
|
+
rescue PulpRpmClient::ApiError => e
|
48
|
+
puts "Exception when calling DistributionsRpmApi->add_role: #{e}"
|
49
|
+
end
|
50
|
+
```
|
51
|
+
|
52
|
+
### Parameters
|
53
|
+
|
54
|
+
|
55
|
+
Name | Type | Description | Notes
|
56
|
+
------------- | ------------- | ------------- | -------------
|
57
|
+
**rpm_rpm_distribution_href** | **String**| |
|
58
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
59
|
+
|
60
|
+
### Return type
|
61
|
+
|
62
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
63
|
+
|
64
|
+
### Authorization
|
65
|
+
|
66
|
+
[basicAuth](../README.md#basicAuth)
|
67
|
+
|
68
|
+
### HTTP request headers
|
69
|
+
|
70
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
71
|
+
- **Accept**: application/json
|
72
|
+
|
73
|
+
|
16
74
|
## create
|
17
75
|
|
18
76
|
> AsyncOperationResponse create(rpm_rpm_distribution)
|
@@ -152,12 +210,8 @@ opts = {
|
|
152
210
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
153
211
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
212
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
156
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
157
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
213
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
158
214
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
159
|
-
repository: 'repository_example', # String | Filter results where repository matches value
|
160
|
-
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
161
215
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
162
216
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
163
217
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
@@ -188,12 +242,8 @@ Name | Type | Description | Notes
|
|
188
242
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
189
243
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
190
244
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
191
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
192
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
193
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
245
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
194
246
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
195
|
-
**repository** | **String**| Filter results where repository matches value | [optional]
|
196
|
-
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
197
247
|
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
198
248
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
199
249
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
@@ -212,6 +262,122 @@ Name | Type | Description | Notes
|
|
212
262
|
- **Accept**: application/json
|
213
263
|
|
214
264
|
|
265
|
+
## list_roles
|
266
|
+
|
267
|
+
> ObjectRolesResponse list_roles(rpm_rpm_distribution_href, opts)
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
List roles assigned to this object.
|
272
|
+
|
273
|
+
### Example
|
274
|
+
|
275
|
+
```ruby
|
276
|
+
# load the gem
|
277
|
+
require 'pulp_rpm_client'
|
278
|
+
# setup authorization
|
279
|
+
PulpRpmClient.configure do |config|
|
280
|
+
# Configure HTTP basic authorization: basicAuth
|
281
|
+
config.username = 'YOUR USERNAME'
|
282
|
+
config.password = 'YOUR PASSWORD'
|
283
|
+
end
|
284
|
+
|
285
|
+
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
286
|
+
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
287
|
+
opts = {
|
288
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
289
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
290
|
+
}
|
291
|
+
|
292
|
+
begin
|
293
|
+
result = api_instance.list_roles(rpm_rpm_distribution_href, opts)
|
294
|
+
p result
|
295
|
+
rescue PulpRpmClient::ApiError => e
|
296
|
+
puts "Exception when calling DistributionsRpmApi->list_roles: #{e}"
|
297
|
+
end
|
298
|
+
```
|
299
|
+
|
300
|
+
### Parameters
|
301
|
+
|
302
|
+
|
303
|
+
Name | Type | Description | Notes
|
304
|
+
------------- | ------------- | ------------- | -------------
|
305
|
+
**rpm_rpm_distribution_href** | **String**| |
|
306
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
307
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
308
|
+
|
309
|
+
### Return type
|
310
|
+
|
311
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
312
|
+
|
313
|
+
### Authorization
|
314
|
+
|
315
|
+
[basicAuth](../README.md#basicAuth)
|
316
|
+
|
317
|
+
### HTTP request headers
|
318
|
+
|
319
|
+
- **Content-Type**: Not defined
|
320
|
+
- **Accept**: application/json
|
321
|
+
|
322
|
+
|
323
|
+
## my_permissions
|
324
|
+
|
325
|
+
> MyPermissionsResponse my_permissions(rpm_rpm_distribution_href, opts)
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
List permissions available to the current user on this object.
|
330
|
+
|
331
|
+
### Example
|
332
|
+
|
333
|
+
```ruby
|
334
|
+
# load the gem
|
335
|
+
require 'pulp_rpm_client'
|
336
|
+
# setup authorization
|
337
|
+
PulpRpmClient.configure do |config|
|
338
|
+
# Configure HTTP basic authorization: basicAuth
|
339
|
+
config.username = 'YOUR USERNAME'
|
340
|
+
config.password = 'YOUR PASSWORD'
|
341
|
+
end
|
342
|
+
|
343
|
+
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
344
|
+
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
345
|
+
opts = {
|
346
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
347
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
348
|
+
}
|
349
|
+
|
350
|
+
begin
|
351
|
+
result = api_instance.my_permissions(rpm_rpm_distribution_href, opts)
|
352
|
+
p result
|
353
|
+
rescue PulpRpmClient::ApiError => e
|
354
|
+
puts "Exception when calling DistributionsRpmApi->my_permissions: #{e}"
|
355
|
+
end
|
356
|
+
```
|
357
|
+
|
358
|
+
### Parameters
|
359
|
+
|
360
|
+
|
361
|
+
Name | Type | Description | Notes
|
362
|
+
------------- | ------------- | ------------- | -------------
|
363
|
+
**rpm_rpm_distribution_href** | **String**| |
|
364
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
365
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
366
|
+
|
367
|
+
### Return type
|
368
|
+
|
369
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
370
|
+
|
371
|
+
### Authorization
|
372
|
+
|
373
|
+
[basicAuth](../README.md#basicAuth)
|
374
|
+
|
375
|
+
### HTTP request headers
|
376
|
+
|
377
|
+
- **Content-Type**: Not defined
|
378
|
+
- **Accept**: application/json
|
379
|
+
|
380
|
+
|
215
381
|
## partial_update
|
216
382
|
|
217
383
|
> AsyncOperationResponse partial_update(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
|
@@ -326,6 +492,60 @@ Name | Type | Description | Notes
|
|
326
492
|
- **Accept**: application/json
|
327
493
|
|
328
494
|
|
495
|
+
## remove_role
|
496
|
+
|
497
|
+
> NestedRoleResponse remove_role(rpm_rpm_distribution_href, nested_role)
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
Remove a role for this object from users/groups.
|
502
|
+
|
503
|
+
### Example
|
504
|
+
|
505
|
+
```ruby
|
506
|
+
# load the gem
|
507
|
+
require 'pulp_rpm_client'
|
508
|
+
# setup authorization
|
509
|
+
PulpRpmClient.configure do |config|
|
510
|
+
# Configure HTTP basic authorization: basicAuth
|
511
|
+
config.username = 'YOUR USERNAME'
|
512
|
+
config.password = 'YOUR PASSWORD'
|
513
|
+
end
|
514
|
+
|
515
|
+
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
516
|
+
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
517
|
+
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
518
|
+
|
519
|
+
begin
|
520
|
+
result = api_instance.remove_role(rpm_rpm_distribution_href, nested_role)
|
521
|
+
p result
|
522
|
+
rescue PulpRpmClient::ApiError => e
|
523
|
+
puts "Exception when calling DistributionsRpmApi->remove_role: #{e}"
|
524
|
+
end
|
525
|
+
```
|
526
|
+
|
527
|
+
### Parameters
|
528
|
+
|
529
|
+
|
530
|
+
Name | Type | Description | Notes
|
531
|
+
------------- | ------------- | ------------- | -------------
|
532
|
+
**rpm_rpm_distribution_href** | **String**| |
|
533
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
534
|
+
|
535
|
+
### Return type
|
536
|
+
|
537
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
538
|
+
|
539
|
+
### Authorization
|
540
|
+
|
541
|
+
[basicAuth](../README.md#basicAuth)
|
542
|
+
|
543
|
+
### HTTP request headers
|
544
|
+
|
545
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
546
|
+
- **Accept**: application/json
|
547
|
+
|
548
|
+
|
329
549
|
## update
|
330
550
|
|
331
551
|
> AsyncOperationResponse update(rpm_rpm_distribution_href, rpm_rpm_distribution)
|
data/docs/PatchedrpmRpmRemote.md
CHANGED
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
|
-
**policy** | [**
|
21
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
22
22
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
@@ -7,13 +7,13 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
11
11
|
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
12
|
**autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
|
13
13
|
**metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
14
14
|
**retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
|
15
|
-
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata.
|
16
|
-
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages.
|
15
|
+
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. | [optional]
|
16
|
+
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. | [optional]
|
17
17
|
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional] [default to 0]
|
18
18
|
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] [default to 0]
|
19
19
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
data/docs/PatchedrpmUlnRemote.md
CHANGED
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
|
-
**policy** | [**
|
21
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
22
22
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpRpmClient::
|
1
|
+
# PulpRpmClient::PolicyEnum
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
```ruby
|
11
11
|
require 'PulpRpmClient'
|
12
12
|
|
13
|
-
instance = PulpRpmClient::
|
13
|
+
instance = PulpRpmClient::PolicyEnum.new()
|
14
14
|
```
|
15
15
|
|
16
16
|
|
data/docs/PublicationsRpmApi.md
CHANGED
@@ -4,13 +4,71 @@ All URIs are relative to *https://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**add_role**](PublicationsRpmApi.md#add_role) | **POST** {rpm_rpm_publication_href}add_role/ |
|
7
8
|
[**create**](PublicationsRpmApi.md#create) | **POST** /pulp/api/v3/publications/rpm/rpm/ | Create a rpm publication
|
8
9
|
[**delete**](PublicationsRpmApi.md#delete) | **DELETE** {rpm_rpm_publication_href} | Delete a rpm publication
|
9
10
|
[**list**](PublicationsRpmApi.md#list) | **GET** /pulp/api/v3/publications/rpm/rpm/ | List rpm publications
|
11
|
+
[**list_roles**](PublicationsRpmApi.md#list_roles) | **GET** {rpm_rpm_publication_href}list_roles/ |
|
12
|
+
[**my_permissions**](PublicationsRpmApi.md#my_permissions) | **GET** {rpm_rpm_publication_href}my_permissions/ |
|
10
13
|
[**read**](PublicationsRpmApi.md#read) | **GET** {rpm_rpm_publication_href} | Inspect a rpm publication
|
14
|
+
[**remove_role**](PublicationsRpmApi.md#remove_role) | **POST** {rpm_rpm_publication_href}remove_role/ |
|
11
15
|
|
12
16
|
|
13
17
|
|
18
|
+
## add_role
|
19
|
+
|
20
|
+
> NestedRoleResponse add_role(rpm_rpm_publication_href, nested_role)
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
Add a role for this object to users/groups.
|
25
|
+
|
26
|
+
### Example
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
# load the gem
|
30
|
+
require 'pulp_rpm_client'
|
31
|
+
# setup authorization
|
32
|
+
PulpRpmClient.configure do |config|
|
33
|
+
# Configure HTTP basic authorization: basicAuth
|
34
|
+
config.username = 'YOUR USERNAME'
|
35
|
+
config.password = 'YOUR PASSWORD'
|
36
|
+
end
|
37
|
+
|
38
|
+
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
39
|
+
rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
|
40
|
+
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
41
|
+
|
42
|
+
begin
|
43
|
+
result = api_instance.add_role(rpm_rpm_publication_href, nested_role)
|
44
|
+
p result
|
45
|
+
rescue PulpRpmClient::ApiError => e
|
46
|
+
puts "Exception when calling PublicationsRpmApi->add_role: #{e}"
|
47
|
+
end
|
48
|
+
```
|
49
|
+
|
50
|
+
### Parameters
|
51
|
+
|
52
|
+
|
53
|
+
Name | Type | Description | Notes
|
54
|
+
------------- | ------------- | ------------- | -------------
|
55
|
+
**rpm_rpm_publication_href** | **String**| |
|
56
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
57
|
+
|
58
|
+
### Return type
|
59
|
+
|
60
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
61
|
+
|
62
|
+
### Authorization
|
63
|
+
|
64
|
+
[basicAuth](../README.md#basicAuth)
|
65
|
+
|
66
|
+
### HTTP request headers
|
67
|
+
|
68
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
69
|
+
- **Accept**: application/json
|
70
|
+
|
71
|
+
|
14
72
|
## create
|
15
73
|
|
16
74
|
> AsyncOperationResponse create(rpm_rpm_publication)
|
@@ -142,15 +200,13 @@ opts = {
|
|
142
200
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
143
201
|
limit: 56, # Integer | Number of results to return per page.
|
144
202
|
offset: 56, # Integer | The initial index from which to return the results.
|
145
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
203
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
146
204
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
|
147
205
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
148
206
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
149
207
|
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
150
208
|
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
151
209
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
152
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
153
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
154
210
|
repository: 'repository_example', # String | Repository referenced by HREF
|
155
211
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
156
212
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
@@ -175,15 +231,13 @@ Name | Type | Description | Notes
|
|
175
231
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
176
232
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
177
233
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
178
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
234
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
179
235
|
**pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
|
180
236
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
181
237
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
182
238
|
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
183
239
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
184
240
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
185
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
186
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
187
241
|
**repository** | **String**| Repository referenced by HREF | [optional]
|
188
242
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
189
243
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
@@ -203,6 +257,122 @@ Name | Type | Description | Notes
|
|
203
257
|
- **Accept**: application/json
|
204
258
|
|
205
259
|
|
260
|
+
## list_roles
|
261
|
+
|
262
|
+
> ObjectRolesResponse list_roles(rpm_rpm_publication_href, opts)
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
List roles assigned to this object.
|
267
|
+
|
268
|
+
### Example
|
269
|
+
|
270
|
+
```ruby
|
271
|
+
# load the gem
|
272
|
+
require 'pulp_rpm_client'
|
273
|
+
# setup authorization
|
274
|
+
PulpRpmClient.configure do |config|
|
275
|
+
# Configure HTTP basic authorization: basicAuth
|
276
|
+
config.username = 'YOUR USERNAME'
|
277
|
+
config.password = 'YOUR PASSWORD'
|
278
|
+
end
|
279
|
+
|
280
|
+
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
281
|
+
rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
|
282
|
+
opts = {
|
283
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
284
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
285
|
+
}
|
286
|
+
|
287
|
+
begin
|
288
|
+
result = api_instance.list_roles(rpm_rpm_publication_href, opts)
|
289
|
+
p result
|
290
|
+
rescue PulpRpmClient::ApiError => e
|
291
|
+
puts "Exception when calling PublicationsRpmApi->list_roles: #{e}"
|
292
|
+
end
|
293
|
+
```
|
294
|
+
|
295
|
+
### Parameters
|
296
|
+
|
297
|
+
|
298
|
+
Name | Type | Description | Notes
|
299
|
+
------------- | ------------- | ------------- | -------------
|
300
|
+
**rpm_rpm_publication_href** | **String**| |
|
301
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
302
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
303
|
+
|
304
|
+
### Return type
|
305
|
+
|
306
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
307
|
+
|
308
|
+
### Authorization
|
309
|
+
|
310
|
+
[basicAuth](../README.md#basicAuth)
|
311
|
+
|
312
|
+
### HTTP request headers
|
313
|
+
|
314
|
+
- **Content-Type**: Not defined
|
315
|
+
- **Accept**: application/json
|
316
|
+
|
317
|
+
|
318
|
+
## my_permissions
|
319
|
+
|
320
|
+
> MyPermissionsResponse my_permissions(rpm_rpm_publication_href, opts)
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
List permissions available to the current user on this object.
|
325
|
+
|
326
|
+
### Example
|
327
|
+
|
328
|
+
```ruby
|
329
|
+
# load the gem
|
330
|
+
require 'pulp_rpm_client'
|
331
|
+
# setup authorization
|
332
|
+
PulpRpmClient.configure do |config|
|
333
|
+
# Configure HTTP basic authorization: basicAuth
|
334
|
+
config.username = 'YOUR USERNAME'
|
335
|
+
config.password = 'YOUR PASSWORD'
|
336
|
+
end
|
337
|
+
|
338
|
+
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
339
|
+
rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
|
340
|
+
opts = {
|
341
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
342
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
343
|
+
}
|
344
|
+
|
345
|
+
begin
|
346
|
+
result = api_instance.my_permissions(rpm_rpm_publication_href, opts)
|
347
|
+
p result
|
348
|
+
rescue PulpRpmClient::ApiError => e
|
349
|
+
puts "Exception when calling PublicationsRpmApi->my_permissions: #{e}"
|
350
|
+
end
|
351
|
+
```
|
352
|
+
|
353
|
+
### Parameters
|
354
|
+
|
355
|
+
|
356
|
+
Name | Type | Description | Notes
|
357
|
+
------------- | ------------- | ------------- | -------------
|
358
|
+
**rpm_rpm_publication_href** | **String**| |
|
359
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
360
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
361
|
+
|
362
|
+
### Return type
|
363
|
+
|
364
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
365
|
+
|
366
|
+
### Authorization
|
367
|
+
|
368
|
+
[basicAuth](../README.md#basicAuth)
|
369
|
+
|
370
|
+
### HTTP request headers
|
371
|
+
|
372
|
+
- **Content-Type**: Not defined
|
373
|
+
- **Accept**: application/json
|
374
|
+
|
375
|
+
|
206
376
|
## read
|
207
377
|
|
208
378
|
> RpmRpmPublicationResponse read(rpm_rpm_publication_href, opts)
|
@@ -261,3 +431,57 @@ Name | Type | Description | Notes
|
|
261
431
|
- **Content-Type**: Not defined
|
262
432
|
- **Accept**: application/json
|
263
433
|
|
434
|
+
|
435
|
+
## remove_role
|
436
|
+
|
437
|
+
> NestedRoleResponse remove_role(rpm_rpm_publication_href, nested_role)
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
Remove a role for this object from users/groups.
|
442
|
+
|
443
|
+
### Example
|
444
|
+
|
445
|
+
```ruby
|
446
|
+
# load the gem
|
447
|
+
require 'pulp_rpm_client'
|
448
|
+
# setup authorization
|
449
|
+
PulpRpmClient.configure do |config|
|
450
|
+
# Configure HTTP basic authorization: basicAuth
|
451
|
+
config.username = 'YOUR USERNAME'
|
452
|
+
config.password = 'YOUR PASSWORD'
|
453
|
+
end
|
454
|
+
|
455
|
+
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
456
|
+
rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
|
457
|
+
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
458
|
+
|
459
|
+
begin
|
460
|
+
result = api_instance.remove_role(rpm_rpm_publication_href, nested_role)
|
461
|
+
p result
|
462
|
+
rescue PulpRpmClient::ApiError => e
|
463
|
+
puts "Exception when calling PublicationsRpmApi->remove_role: #{e}"
|
464
|
+
end
|
465
|
+
```
|
466
|
+
|
467
|
+
### Parameters
|
468
|
+
|
469
|
+
|
470
|
+
Name | Type | Description | Notes
|
471
|
+
------------- | ------------- | ------------- | -------------
|
472
|
+
**rpm_rpm_publication_href** | **String**| |
|
473
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
474
|
+
|
475
|
+
### Return type
|
476
|
+
|
477
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
478
|
+
|
479
|
+
### Authorization
|
480
|
+
|
481
|
+
[basicAuth](../README.md#basicAuth)
|
482
|
+
|
483
|
+
### HTTP request headers
|
484
|
+
|
485
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
486
|
+
- **Accept**: application/json
|
487
|
+
|