ibm_cloud_iam 1.0.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (491) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +548 -36
  3. data/docs/APIKeysApi.md +714 -0
  4. data/docs/AccessGroupCount.md +20 -0
  5. data/docs/AccountBasedMfaEnrollment.md +24 -0
  6. data/docs/AccountIdpSettings.md +32 -0
  7. data/docs/AccountLimitsApi.md +173 -0
  8. data/docs/AccountLoginSettings.md +18 -0
  9. data/docs/AccountSettingsApi.md +224 -0
  10. data/docs/AccountSettingsAssignedTemplatesSection.md +46 -0
  11. data/docs/AccountSettingsEffectiveSection.md +38 -0
  12. data/docs/AccountSettingsForIdPApi.md +489 -0
  13. data/docs/AccountSettingsMeta.md +24 -0
  14. data/docs/AccountSettingsRequest.md +40 -0
  15. data/docs/AccountSettingsResponse.md +48 -0
  16. data/docs/AccountSettingsTemplateApi.md +720 -0
  17. data/docs/AccountSettingsTemplateAssignmentsApi.md +376 -0
  18. data/docs/AccountSettingsTemplateList.md +30 -0
  19. data/docs/AccountSettingsTemplateRequest.md +24 -0
  20. data/docs/AccountSettingsTemplateResponse.md +44 -0
  21. data/docs/AccountSettingsUserDomainRestriction.md +22 -0
  22. data/docs/AccountSettingsUserMFAResponse.md +28 -0
  23. data/docs/ActionControls.md +22 -0
  24. data/docs/ActionControlsIdentities.md +20 -0
  25. data/docs/ActivitiesApi.md +149 -0
  26. data/docs/Activity.md +20 -0
  27. data/docs/AddAccountIdpSettingRequest.md +22 -0
  28. data/docs/ApiKey.md +44 -33
  29. data/docs/ApiKeyInsideCreateServiceIdRequest.md +18 -13
  30. data/docs/ApiKeyList.md +20 -19
  31. data/docs/ApikeyActivity.md +28 -0
  32. data/docs/ApikeyActivityServiceid.md +20 -0
  33. data/docs/ApikeyActivityUser.md +24 -0
  34. data/docs/AssignedTemplatesAccountSettings.md +40 -0
  35. data/docs/CommonAccountSettingsRequest.md +36 -0
  36. data/docs/CommonAccountSettingsResponse.md +34 -0
  37. data/docs/ConsumersResponse.md +20 -0
  38. data/docs/ConsumersResponseConsumersInner.md +20 -0
  39. data/docs/CreateApiKeyRequest.md +24 -17
  40. data/docs/CreateIdpRequest.md +30 -0
  41. data/docs/CreateIdpRequestProperties.md +20 -0
  42. data/docs/CreateIdpRequestPropertiesIdp.md +26 -0
  43. data/docs/CreateIdpRequestPropertiesSp.md +32 -0
  44. data/docs/CreateIdpRequestPropertiesSpAuthnContext.md +20 -0
  45. data/docs/CreateIdpRequestSecrets.md +20 -0
  46. data/docs/CreateIdpRequestSecretsIdp.md +22 -0
  47. data/docs/CreateIdpRequestSecretsIdpSigningInner.md +20 -0
  48. data/docs/CreateIdpRequestSecretsSp.md +18 -0
  49. data/docs/CreateIdpRequestSecretsSpSigningInner.md +24 -0
  50. data/docs/CreateProfileLinkRequest.md +24 -0
  51. data/docs/CreateProfileLinkRequestLink.md +26 -0
  52. data/docs/CreateServiceIdGroupRequest.md +22 -0
  53. data/docs/CreateServiceIdRequest.md +18 -15
  54. data/docs/CreateTemplateAssignmentRequest.md +24 -0
  55. data/docs/CreateTrustedProfileRequest.md +24 -0
  56. data/docs/EffectiveAccountSettingsResponse.md +26 -0
  57. data/docs/EnityHistoryRecord.md +18 -17
  58. data/docs/EntityActivity.md +22 -0
  59. data/docs/Error.md +14 -13
  60. data/docs/ExceptionResponse.md +14 -13
  61. data/docs/ExceptionResponseContext.md +30 -29
  62. data/docs/IDPManagementApi.md +692 -0
  63. data/docs/IdBasedMfaEnrollment.md +26 -0
  64. data/docs/IdentityCount.md +20 -0
  65. data/docs/IdentityLimitsUsageRequest.md +42 -0
  66. data/docs/IdentityLimitsUsageResponse.md +44 -0
  67. data/docs/IdentityLimitsUsageResponseApikeysPerIdentity.md +20 -0
  68. data/docs/IdentityLimitsUsageResponseClaimRulesPerGroup.md +20 -0
  69. data/docs/IdentityLimitsUsageResponseClaimRulesPerProfile.md +20 -0
  70. data/docs/IdentityLimitsUsageResponseServiceidsPerGroup.md +20 -0
  71. data/docs/IdentityLimitsUsageResponseTemplateVersionsPerTemplate.md +20 -0
  72. data/docs/IdentityPreferenceResponse.md +28 -0
  73. data/docs/IdentityPreferencesApi.md +304 -0
  74. data/docs/IdentityPreferencesResponse.md +18 -0
  75. data/docs/Idp.md +38 -0
  76. data/docs/LimitCount.md +20 -0
  77. data/docs/ListIdPSettings200Response.md +18 -0
  78. data/docs/ListIdps200Response.md +18 -0
  79. data/docs/MFAEnrollmentStatusApi.md +216 -0
  80. data/docs/MFARequirementsResponse.md +12 -11
  81. data/docs/MfaEnrollmentTypeStatus.md +20 -0
  82. data/docs/MfaOptions.md +15 -0
  83. data/docs/OidcExceptionResponse.md +16 -15
  84. data/docs/PolicyTemplateReference.md +20 -0
  85. data/docs/ProfileClaimRule.md +36 -0
  86. data/docs/ProfileClaimRuleConditions.md +22 -0
  87. data/docs/ProfileClaimRuleList.md +20 -0
  88. data/docs/ProfileClaimRuleRequest.md +30 -0
  89. data/docs/ProfileCount.md +20 -0
  90. data/docs/ProfileIdentitiesResponse.md +20 -0
  91. data/docs/ProfileIdentitiesUpdateRequest.md +18 -0
  92. data/docs/ProfileIdentityRequest.md +24 -0
  93. data/docs/ProfileIdentityResponse.md +26 -0
  94. data/docs/ProfileLink.md +32 -0
  95. data/docs/ProfileLinkLink.md +26 -0
  96. data/docs/ProfileLinkList.md +18 -0
  97. data/docs/Report.md +34 -0
  98. data/docs/ReportMfaEnrollmentStatus.md +28 -0
  99. data/docs/ReportReference.md +18 -0
  100. data/docs/ResponseContext.md +28 -27
  101. data/docs/RetrictActions.md +15 -0
  102. data/docs/SamlMetadataImportResponse.md +42 -0
  103. data/docs/ServiceIDGroupsApi.md +347 -0
  104. data/docs/ServiceIDsApi.md +515 -0
  105. data/docs/ServiceId.md +38 -33
  106. data/docs/ServiceIdGroup.md +34 -0
  107. data/docs/ServiceIdGroupCount.md +20 -0
  108. data/docs/ServiceIdGroupList.md +18 -0
  109. data/docs/ServiceIdList.md +20 -19
  110. data/docs/ShareScope.md +20 -0
  111. data/docs/TemplateAccountSettings.md +40 -0
  112. data/docs/TemplateAccountSettingsAllOfRestrictUserDomains.md +20 -0
  113. data/docs/TemplateAssignmentListResponse.md +30 -0
  114. data/docs/TemplateAssignmentResource.md +18 -0
  115. data/docs/TemplateAssignmentResourceError.md +24 -0
  116. data/docs/TemplateAssignmentResponse.md +48 -0
  117. data/docs/TemplateAssignmentResponseResource.md +24 -0
  118. data/docs/TemplateAssignmentResponseResourceDetail.md +26 -0
  119. data/docs/TemplateCount.md +20 -0
  120. data/docs/TemplateProfileComponentRequest.md +26 -0
  121. data/docs/TemplateProfileComponentResponse.md +26 -0
  122. data/docs/TestResult.md +28 -0
  123. data/docs/TestResultStepsInner.md +24 -0
  124. data/docs/TestTriggerResponse.md +20 -0
  125. data/docs/TokenResponse.md +18 -17
  126. data/docs/TokenRetrievalApi.md +461 -0
  127. data/docs/TrustedProfile.md +50 -0
  128. data/docs/TrustedProfileTemplateApi.md +720 -0
  129. data/docs/TrustedProfileTemplateAssignmentsApi.md +376 -0
  130. data/docs/TrustedProfileTemplateClaimRule.md +26 -0
  131. data/docs/TrustedProfileTemplateList.md +30 -0
  132. data/docs/TrustedProfileTemplateRequest.md +28 -0
  133. data/docs/TrustedProfileTemplateResponse.md +48 -0
  134. data/docs/TrustedProfilesApi.md +1414 -0
  135. data/docs/TrustedProfilesList.md +30 -0
  136. data/docs/UpdateAccountIdpSettingRequest.md +22 -0
  137. data/docs/UpdateAccountLoginSettings.md +18 -0
  138. data/docs/UpdateApiKeyRequest.md +16 -9
  139. data/docs/UpdateIdPRequest.md +28 -0
  140. data/docs/UpdateIdPRequestProperties.md +20 -0
  141. data/docs/UpdateIdPRequestPropertiesIdp.md +24 -0
  142. data/docs/UpdateIdPRequestSecrets.md +20 -0
  143. data/docs/UpdateIdPRequestSecretsIdp.md +20 -0
  144. data/docs/UpdatePreferenceRequest.md +20 -0
  145. data/docs/UpdateServiceIdGroupRequest.md +20 -0
  146. data/docs/UpdateServiceIdRequest.md +12 -11
  147. data/docs/UpdateTemplateAssignmentRequest.md +18 -0
  148. data/docs/UpdateTrustedProfileRequest.md +22 -0
  149. data/docs/UserActivity.md +26 -0
  150. data/docs/UserMFAResolved.md +24 -0
  151. data/docs/UserMfa.md +20 -0
  152. data/docs/UserMfaEnrollments.md +24 -0
  153. data/docs/UserReportMfaEnrollmentStatus.md +30 -0
  154. data/docs/UserVisbilityRetrictActions.md +15 -0
  155. data/docs/UserVisbilityRetrictActionsForTemplate.md +15 -0
  156. data/git_push.sh +3 -4
  157. data/ibm_cloud_iam.gemspec +6 -6
  158. data/lib/ibm_cloud_iam/api/account_limits_api.rb +208 -0
  159. data/lib/ibm_cloud_iam/api/account_settings_api.rb +262 -0
  160. data/lib/ibm_cloud_iam/api/account_settings_for_id_p_api.rb +571 -0
  161. data/lib/ibm_cloud_iam/api/account_settings_template_api.rb +823 -0
  162. data/lib/ibm_cloud_iam/api/account_settings_template_assignments_api.rb +422 -0
  163. data/lib/ibm_cloud_iam/api/activities_api.rb +174 -0
  164. data/lib/ibm_cloud_iam/api/api_keys_api.rb +786 -0
  165. data/lib/ibm_cloud_iam/api/identity_preferences_api.rb +357 -0
  166. data/lib/ibm_cloud_iam/api/idp_management_api.rb +744 -0
  167. data/lib/ibm_cloud_iam/api/mfa_enrollment_status_api.rb +248 -0
  168. data/lib/ibm_cloud_iam/api/service_id_groups_api.rb +392 -0
  169. data/lib/ibm_cloud_iam/api/service_ids_api.rb +575 -0
  170. data/lib/ibm_cloud_iam/api/token_retrieval_api.rb +557 -0
  171. data/lib/ibm_cloud_iam/api/trusted_profile_template_api.rb +823 -0
  172. data/lib/ibm_cloud_iam/api/trusted_profile_template_assignments_api.rb +422 -0
  173. data/lib/ibm_cloud_iam/api/trusted_profiles_api.rb +1630 -0
  174. data/lib/ibm_cloud_iam/api_client.rb +74 -65
  175. data/lib/ibm_cloud_iam/api_error.rb +4 -3
  176. data/lib/ibm_cloud_iam/api_model_base.rb +88 -0
  177. data/lib/ibm_cloud_iam/configuration.rb +75 -15
  178. data/lib/ibm_cloud_iam/models/access_group_count.rb +159 -0
  179. data/lib/ibm_cloud_iam/models/account_based_mfa_enrollment.rb +243 -0
  180. data/lib/ibm_cloud_iam/models/account_idp_settings.rb +244 -0
  181. data/lib/ibm_cloud_iam/models/account_login_settings.rb +147 -0
  182. data/lib/ibm_cloud_iam/models/account_settings_assigned_templates_section.rb +377 -0
  183. data/lib/ibm_cloud_iam/models/account_settings_effective_section.rb +282 -0
  184. data/lib/ibm_cloud_iam/models/account_settings_meta.rb +179 -0
  185. data/lib/ibm_cloud_iam/models/account_settings_request.rb +301 -0
  186. data/lib/ibm_cloud_iam/models/account_settings_response.rb +567 -0
  187. data/lib/ibm_cloud_iam/models/account_settings_template_list.rb +256 -0
  188. data/lib/ibm_cloud_iam/models/account_settings_template_request.rb +178 -0
  189. data/lib/ibm_cloud_iam/models/account_settings_template_response.rb +416 -0
  190. data/lib/ibm_cloud_iam/models/account_settings_user_domain_restriction.rb +188 -0
  191. data/lib/ibm_cloud_iam/models/account_settings_user_mfa_response.rb +261 -0
  192. data/lib/ibm_cloud_iam/models/action_controls.rb +199 -0
  193. data/lib/ibm_cloud_iam/models/action_controls_identities.rb +190 -0
  194. data/lib/ibm_cloud_iam/models/activity.rb +175 -0
  195. data/lib/ibm_cloud_iam/models/add_account_idp_setting_request.rb +243 -0
  196. data/lib/ibm_cloud_iam/models/api_key.rb +188 -104
  197. data/lib/ibm_cloud_iam/models/api_key_inside_create_service_id_request.rb +70 -99
  198. data/lib/ibm_cloud_iam/models/api_key_list.rb +46 -95
  199. data/lib/ibm_cloud_iam/models/apikey_activity.rb +231 -0
  200. data/lib/ibm_cloud_iam/models/apikey_activity_serviceid.rb +159 -0
  201. data/lib/ibm_cloud_iam/models/apikey_activity_user.rb +179 -0
  202. data/lib/ibm_cloud_iam/models/assigned_templates_account_settings.rb +296 -0
  203. data/lib/ibm_cloud_iam/models/common_account_settings_request.rb +272 -0
  204. data/lib/ibm_cloud_iam/models/common_account_settings_response.rb +260 -0
  205. data/lib/ibm_cloud_iam/models/consumers_response.rb +158 -0
  206. data/lib/ibm_cloud_iam/models/consumers_response_consumers_inner.rb +158 -0
  207. data/lib/ibm_cloud_iam/models/create_api_key_request.rb +92 -99
  208. data/lib/ibm_cloud_iam/models/create_idp_request.rb +283 -0
  209. data/lib/ibm_cloud_iam/models/create_idp_request_properties.rb +157 -0
  210. data/lib/ibm_cloud_iam/models/create_idp_request_properties_idp.rb +189 -0
  211. data/lib/ibm_cloud_iam/models/create_idp_request_properties_sp.rb +222 -0
  212. data/lib/ibm_cloud_iam/models/create_idp_request_properties_sp_authn_context.rb +163 -0
  213. data/lib/ibm_cloud_iam/models/create_idp_request_secrets.rb +157 -0
  214. data/lib/ibm_cloud_iam/models/create_idp_request_secrets_idp.rb +173 -0
  215. data/lib/ibm_cloud_iam/models/create_idp_request_secrets_idp_signing_inner.rb +192 -0
  216. data/lib/ibm_cloud_iam/models/create_idp_request_secrets_sp.rb +151 -0
  217. data/lib/ibm_cloud_iam/models/create_idp_request_secrets_sp_signing_inner.rb +212 -0
  218. data/lib/ibm_cloud_iam/models/create_profile_link_request.rb +211 -0
  219. data/lib/ibm_cloud_iam/models/create_profile_link_request_link.rb +206 -0
  220. data/lib/ibm_cloud_iam/models/create_service_id_group_request.rb +203 -0
  221. data/lib/ibm_cloud_iam/models/create_service_id_request.rb +68 -95
  222. data/lib/ibm_cloud_iam/models/create_template_assignment_request.rb +280 -0
  223. data/lib/ibm_cloud_iam/models/create_trusted_profile_request.rb +213 -0
  224. data/lib/ibm_cloud_iam/models/effective_account_settings_response.rb +239 -0
  225. data/lib/ibm_cloud_iam/models/enity_history_record.rb +112 -101
  226. data/lib/ibm_cloud_iam/models/entity_activity.rb +185 -0
  227. data/lib/ibm_cloud_iam/models/error.rb +69 -94
  228. data/lib/ibm_cloud_iam/models/exception_response.rb +57 -94
  229. data/lib/ibm_cloud_iam/models/exception_response_context.rb +33 -94
  230. data/lib/ibm_cloud_iam/models/id_based_mfa_enrollment.rb +270 -0
  231. data/lib/ibm_cloud_iam/models/identity_count.rb +159 -0
  232. data/lib/ibm_cloud_iam/models/identity_limits_usage_request.rb +283 -0
  233. data/lib/ibm_cloud_iam/models/identity_limits_usage_response.rb +265 -0
  234. data/lib/ibm_cloud_iam/models/identity_limits_usage_response_apikeys_per_identity.rb +178 -0
  235. data/lib/ibm_cloud_iam/models/identity_limits_usage_response_claim_rules_per_group.rb +178 -0
  236. data/lib/ibm_cloud_iam/models/identity_limits_usage_response_claim_rules_per_profile.rb +178 -0
  237. data/lib/ibm_cloud_iam/models/identity_limits_usage_response_serviceids_per_group.rb +178 -0
  238. data/lib/ibm_cloud_iam/models/identity_limits_usage_response_template_versions_per_template.rb +178 -0
  239. data/lib/ibm_cloud_iam/models/identity_preference_response.rb +200 -0
  240. data/lib/ibm_cloud_iam/models/identity_preferences_response.rb +167 -0
  241. data/lib/ibm_cloud_iam/models/idp.rb +239 -0
  242. data/lib/ibm_cloud_iam/models/limit_count.rb +176 -0
  243. data/lib/ibm_cloud_iam/models/list_id_p_settings200_response.rb +149 -0
  244. data/lib/ibm_cloud_iam/models/list_idps200_response.rb +149 -0
  245. data/lib/ibm_cloud_iam/models/mfa_enrollment_type_status.rb +192 -0
  246. data/lib/ibm_cloud_iam/models/mfa_options.rb +45 -0
  247. data/lib/ibm_cloud_iam/models/mfa_requirements_response.rb +69 -94
  248. data/lib/ibm_cloud_iam/models/oidc_exception_response.rb +57 -94
  249. data/lib/ibm_cloud_iam/models/policy_template_reference.rb +193 -0
  250. data/lib/ibm_cloud_iam/models/profile_claim_rule.rb +342 -0
  251. data/lib/ibm_cloud_iam/models/profile_claim_rule_conditions.rb +219 -0
  252. data/lib/ibm_cloud_iam/models/profile_claim_rule_list.rb +176 -0
  253. data/lib/ibm_cloud_iam/models/profile_claim_rule_request.rb +243 -0
  254. data/lib/ibm_cloud_iam/models/profile_count.rb +159 -0
  255. data/lib/ibm_cloud_iam/models/profile_identities_response.rb +160 -0
  256. data/lib/ibm_cloud_iam/models/profile_identities_update_request.rb +150 -0
  257. data/lib/ibm_cloud_iam/models/profile_identity_request.rb +238 -0
  258. data/lib/ibm_cloud_iam/models/profile_identity_response.rb +265 -0
  259. data/lib/ibm_cloud_iam/models/profile_link.rb +320 -0
  260. data/lib/ibm_cloud_iam/models/profile_link_link.rb +188 -0
  261. data/lib/ibm_cloud_iam/models/profile_link_list.rb +167 -0
  262. data/lib/ibm_cloud_iam/models/report.rb +321 -0
  263. data/lib/ibm_cloud_iam/models/report_mfa_enrollment_status.rb +268 -0
  264. data/lib/ibm_cloud_iam/models/report_reference.rb +165 -0
  265. data/lib/ibm_cloud_iam/models/response_context.rb +33 -94
  266. data/lib/ibm_cloud_iam/models/retrict_actions.rb +41 -0
  267. data/lib/ibm_cloud_iam/models/saml_metadata_import_response.rb +494 -0
  268. data/lib/ibm_cloud_iam/models/service_id.rb +184 -108
  269. data/lib/ibm_cloud_iam/models/service_id_group.rb +313 -0
  270. data/lib/ibm_cloud_iam/models/service_id_group_count.rb +159 -0
  271. data/lib/ibm_cloud_iam/models/service_id_group_list.rb +167 -0
  272. data/lib/ibm_cloud_iam/models/service_id_list.rb +47 -96
  273. data/lib/ibm_cloud_iam/models/share_scope.rb +190 -0
  274. data/lib/ibm_cloud_iam/models/template_account_settings.rb +296 -0
  275. data/lib/ibm_cloud_iam/models/template_account_settings_all_of_restrict_user_domains.rb +159 -0
  276. data/lib/ibm_cloud_iam/models/template_assignment_list_response.rb +227 -0
  277. data/lib/ibm_cloud_iam/models/template_assignment_resource.rb +149 -0
  278. data/lib/ibm_cloud_iam/models/template_assignment_resource_error.rb +179 -0
  279. data/lib/ibm_cloud_iam/models/template_assignment_response.rb +506 -0
  280. data/lib/ibm_cloud_iam/models/template_assignment_response_resource.rb +196 -0
  281. data/lib/ibm_cloud_iam/models/template_assignment_response_resource_detail.rb +203 -0
  282. data/lib/ibm_cloud_iam/models/template_count.rb +159 -0
  283. data/lib/ibm_cloud_iam/models/template_profile_component_request.rb +210 -0
  284. data/lib/ibm_cloud_iam/models/template_profile_component_response.rb +210 -0
  285. data/lib/ibm_cloud_iam/models/test_result.rb +194 -0
  286. data/lib/ibm_cloud_iam/models/test_result_steps_inner.rb +174 -0
  287. data/lib/ibm_cloud_iam/models/test_trigger_response.rb +156 -0
  288. data/lib/ibm_cloud_iam/models/token_response.rb +34 -105
  289. data/lib/ibm_cloud_iam/models/trusted_profile.rb +411 -0
  290. data/lib/ibm_cloud_iam/models/trusted_profile_template_claim_rule.rb +248 -0
  291. data/lib/ibm_cloud_iam/models/trusted_profile_template_list.rb +256 -0
  292. data/lib/ibm_cloud_iam/models/trusted_profile_template_request.rb +199 -0
  293. data/lib/ibm_cloud_iam/models/trusted_profile_template_response.rb +369 -0
  294. data/lib/ibm_cloud_iam/models/trusted_profiles_list.rb +227 -0
  295. data/lib/ibm_cloud_iam/models/update_account_idp_setting_request.rb +202 -0
  296. data/lib/ibm_cloud_iam/models/update_account_login_settings.rb +148 -0
  297. data/lib/ibm_cloud_iam/models/update_api_key_request.rb +68 -99
  298. data/lib/ibm_cloud_iam/models/update_id_p_request.rb +198 -0
  299. data/lib/ibm_cloud_iam/models/update_id_p_request_properties.rb +157 -0
  300. data/lib/ibm_cloud_iam/models/update_id_p_request_properties_idp.rb +179 -0
  301. data/lib/ibm_cloud_iam/models/update_id_p_request_secrets.rb +157 -0
  302. data/lib/ibm_cloud_iam/models/update_id_p_request_secrets_idp.rb +163 -0
  303. data/lib/ibm_cloud_iam/models/update_preference_request.rb +161 -0
  304. data/lib/ibm_cloud_iam/models/update_service_id_group_request.rb +176 -0
  305. data/lib/ibm_cloud_iam/models/update_service_id_request.rb +34 -95
  306. data/lib/ibm_cloud_iam/models/update_template_assignment_request.rb +175 -0
  307. data/lib/ibm_cloud_iam/models/update_trusted_profile_request.rb +169 -0
  308. data/lib/ibm_cloud_iam/models/user_activity.rb +222 -0
  309. data/lib/ibm_cloud_iam/models/user_mfa.rb +179 -0
  310. data/lib/ibm_cloud_iam/models/user_mfa_enrollments.rb +193 -0
  311. data/lib/ibm_cloud_iam/models/user_mfa_resolved.rb +178 -0
  312. data/lib/ibm_cloud_iam/models/user_report_mfa_enrollment_status.rb +291 -0
  313. data/lib/ibm_cloud_iam/models/user_visbility_retrict_actions.rb +40 -0
  314. data/lib/ibm_cloud_iam/models/user_visbility_retrict_actions_for_template.rb +41 -0
  315. data/lib/ibm_cloud_iam/version.rb +4 -4
  316. data/lib/ibm_cloud_iam.rb +140 -9
  317. data/spec/api/account_limits_api_spec.rb +75 -0
  318. data/spec/api/account_settings_api_spec.rb +80 -0
  319. data/spec/api/account_settings_for_id_p_api_spec.rb +132 -0
  320. data/spec/api/account_settings_template_api_spec.rb +184 -0
  321. data/spec/api/account_settings_template_assignments_api_spec.rb +112 -0
  322. data/spec/api/activities_api_spec.rb +64 -0
  323. data/spec/api/api_keys_api_spec.rb +182 -0
  324. data/spec/api/identity_preferences_api_spec.rb +98 -0
  325. data/spec/api/idp_management_api_spec.rb +166 -0
  326. data/spec/api/mfa_enrollment_status_api_spec.rb +77 -0
  327. data/spec/api/service_id_groups_api_spec.rb +102 -0
  328. data/spec/api/service_ids_api_spec.rb +143 -0
  329. data/spec/api/token_retrieval_api_spec.rb +134 -0
  330. data/spec/api/trusted_profile_template_api_spec.rb +184 -0
  331. data/spec/api/trusted_profile_template_assignments_api_spec.rb +112 -0
  332. data/spec/api/trusted_profiles_api_spec.rb +328 -0
  333. data/spec/models/access_group_count_spec.rb +42 -0
  334. data/spec/models/account_based_mfa_enrollment_spec.rb +54 -0
  335. data/spec/models/account_idp_settings_spec.rb +82 -0
  336. data/spec/models/account_login_settings_spec.rb +36 -0
  337. data/spec/models/account_settings_assigned_templates_section_spec.rb +120 -0
  338. data/spec/models/account_settings_effective_section_spec.rb +96 -0
  339. data/spec/models/account_settings_meta_spec.rb +54 -0
  340. data/spec/models/account_settings_request_spec.rb +102 -0
  341. data/spec/models/account_settings_response_spec.rb +126 -0
  342. data/spec/models/account_settings_template_list_spec.rb +72 -0
  343. data/spec/models/account_settings_template_request_spec.rb +54 -0
  344. data/spec/models/account_settings_template_response_spec.rb +114 -0
  345. data/spec/models/account_settings_user_domain_restriction_spec.rb +48 -0
  346. data/spec/models/account_settings_user_mfa_response_spec.rb +66 -0
  347. data/spec/models/action_controls_identities_spec.rb +42 -0
  348. data/spec/models/action_controls_spec.rb +48 -0
  349. data/spec/models/activity_spec.rb +42 -0
  350. data/spec/models/add_account_idp_setting_request_spec.rb +52 -0
  351. data/spec/models/api_key_inside_create_service_id_request_spec.rb +24 -17
  352. data/spec/models/api_key_list_spec.rb +15 -20
  353. data/spec/models/api_key_spec.rb +52 -27
  354. data/spec/models/apikey_activity_serviceid_spec.rb +42 -0
  355. data/spec/models/apikey_activity_spec.rb +66 -0
  356. data/spec/models/apikey_activity_user_spec.rb +54 -0
  357. data/spec/models/assigned_templates_account_settings_spec.rb +102 -0
  358. data/spec/models/common_account_settings_request_spec.rb +90 -0
  359. data/spec/models/common_account_settings_response_spec.rb +84 -0
  360. data/spec/models/consumers_response_consumers_inner_spec.rb +42 -0
  361. data/spec/models/consumers_response_spec.rb +42 -0
  362. data/spec/models/create_api_key_request_spec.rb +32 -19
  363. data/spec/models/create_idp_request_properties_idp_spec.rb +60 -0
  364. data/spec/models/create_idp_request_properties_sp_authn_context_spec.rb +42 -0
  365. data/spec/models/create_idp_request_properties_sp_spec.rb +78 -0
  366. data/spec/models/create_idp_request_properties_spec.rb +42 -0
  367. data/spec/models/create_idp_request_secrets_idp_signing_inner_spec.rb +46 -0
  368. data/spec/models/create_idp_request_secrets_idp_spec.rb +48 -0
  369. data/spec/models/create_idp_request_secrets_sp_signing_inner_spec.rb +58 -0
  370. data/spec/models/create_idp_request_secrets_sp_spec.rb +36 -0
  371. data/spec/models/create_idp_request_secrets_spec.rb +42 -0
  372. data/spec/models/create_idp_request_spec.rb +76 -0
  373. data/spec/models/create_profile_link_request_link_spec.rb +60 -0
  374. data/spec/models/create_profile_link_request_spec.rb +54 -0
  375. data/spec/models/create_service_id_group_request_spec.rb +48 -0
  376. data/spec/models/create_service_id_request_spec.rb +19 -18
  377. data/spec/models/create_template_assignment_request_spec.rb +58 -0
  378. data/spec/models/create_trusted_profile_request_spec.rb +54 -0
  379. data/spec/models/effective_account_settings_response_spec.rb +60 -0
  380. data/spec/models/enity_history_record_spec.rb +14 -19
  381. data/spec/models/entity_activity_spec.rb +48 -0
  382. data/spec/models/error_spec.rb +12 -17
  383. data/spec/models/exception_response_context_spec.rb +20 -25
  384. data/spec/models/exception_response_spec.rb +12 -17
  385. data/spec/models/id_based_mfa_enrollment_spec.rb +64 -0
  386. data/spec/models/identity_count_spec.rb +42 -0
  387. data/spec/models/identity_limits_usage_request_spec.rb +108 -0
  388. data/spec/models/identity_limits_usage_response_apikeys_per_identity_spec.rb +42 -0
  389. data/spec/models/identity_limits_usage_response_claim_rules_per_group_spec.rb +42 -0
  390. data/spec/models/identity_limits_usage_response_claim_rules_per_profile_spec.rb +42 -0
  391. data/spec/models/identity_limits_usage_response_serviceids_per_group_spec.rb +42 -0
  392. data/spec/models/identity_limits_usage_response_spec.rb +114 -0
  393. data/spec/models/identity_limits_usage_response_template_versions_per_template_spec.rb +42 -0
  394. data/spec/models/identity_preference_response_spec.rb +66 -0
  395. data/spec/models/identity_preferences_response_spec.rb +36 -0
  396. data/spec/models/idp_spec.rb +96 -0
  397. data/spec/models/limit_count_spec.rb +42 -0
  398. data/spec/models/list_id_p_settings200_response_spec.rb +36 -0
  399. data/spec/models/list_idps200_response_spec.rb +36 -0
  400. data/spec/models/mfa_enrollment_type_status_spec.rb +42 -0
  401. data/spec/models/mfa_options_spec.rb +30 -0
  402. data/spec/models/mfa_requirements_response_spec.rb +11 -16
  403. data/spec/models/oidc_exception_response_spec.rb +13 -18
  404. data/spec/models/policy_template_reference_spec.rb +42 -0
  405. data/spec/models/profile_claim_rule_conditions_spec.rb +48 -0
  406. data/spec/models/profile_claim_rule_list_spec.rb +42 -0
  407. data/spec/models/profile_claim_rule_request_spec.rb +72 -0
  408. data/spec/models/profile_claim_rule_spec.rb +90 -0
  409. data/spec/models/profile_count_spec.rb +42 -0
  410. data/spec/models/profile_identities_response_spec.rb +42 -0
  411. data/spec/models/profile_identities_update_request_spec.rb +36 -0
  412. data/spec/models/profile_identity_request_spec.rb +58 -0
  413. data/spec/models/profile_identity_response_spec.rb +64 -0
  414. data/spec/models/profile_link_link_spec.rb +60 -0
  415. data/spec/models/profile_link_list_spec.rb +36 -0
  416. data/spec/models/profile_link_spec.rb +78 -0
  417. data/spec/models/report_mfa_enrollment_status_spec.rb +66 -0
  418. data/spec/models/report_reference_spec.rb +36 -0
  419. data/spec/models/report_spec.rb +84 -0
  420. data/spec/models/response_context_spec.rb +19 -24
  421. data/spec/models/retrict_actions_spec.rb +30 -0
  422. data/spec/models/saml_metadata_import_response_spec.rb +112 -0
  423. data/spec/models/service_id_group_count_spec.rb +42 -0
  424. data/spec/models/service_id_group_list_spec.rb +36 -0
  425. data/spec/models/service_id_group_spec.rb +84 -0
  426. data/spec/models/service_id_list_spec.rb +15 -20
  427. data/spec/models/service_id_spec.rb +34 -27
  428. data/spec/models/share_scope_spec.rb +46 -0
  429. data/spec/models/template_account_settings_all_of_restrict_user_domains_spec.rb +42 -0
  430. data/spec/models/template_account_settings_spec.rb +102 -0
  431. data/spec/models/template_assignment_list_response_spec.rb +72 -0
  432. data/spec/models/template_assignment_resource_error_spec.rb +54 -0
  433. data/spec/models/template_assignment_resource_spec.rb +36 -0
  434. data/spec/models/template_assignment_response_resource_detail_spec.rb +60 -0
  435. data/spec/models/template_assignment_response_resource_spec.rb +54 -0
  436. data/spec/models/template_assignment_response_spec.rb +126 -0
  437. data/spec/models/template_count_spec.rb +42 -0
  438. data/spec/models/template_profile_component_request_spec.rb +60 -0
  439. data/spec/models/template_profile_component_response_spec.rb +60 -0
  440. data/spec/models/test_result_spec.rb +66 -0
  441. data/spec/models/test_result_steps_inner_spec.rb +54 -0
  442. data/spec/models/test_trigger_response_spec.rb +42 -0
  443. data/spec/models/token_response_spec.rb +14 -19
  444. data/spec/models/trusted_profile_spec.rb +132 -0
  445. data/spec/models/trusted_profile_template_claim_rule_spec.rb +64 -0
  446. data/spec/models/trusted_profile_template_list_spec.rb +72 -0
  447. data/spec/models/trusted_profile_template_request_spec.rb +66 -0
  448. data/spec/models/trusted_profile_template_response_spec.rb +126 -0
  449. data/spec/models/trusted_profiles_list_spec.rb +72 -0
  450. data/spec/models/update_account_idp_setting_request_spec.rb +52 -0
  451. data/spec/models/update_account_login_settings_spec.rb +36 -0
  452. data/spec/models/update_api_key_request_spec.rb +28 -15
  453. data/spec/models/update_id_p_request_properties_idp_spec.rb +54 -0
  454. data/spec/models/update_id_p_request_properties_spec.rb +42 -0
  455. data/spec/models/update_id_p_request_secrets_idp_spec.rb +42 -0
  456. data/spec/models/update_id_p_request_secrets_spec.rb +42 -0
  457. data/spec/models/update_id_p_request_spec.rb +66 -0
  458. data/spec/models/update_preference_request_spec.rb +42 -0
  459. data/spec/models/update_service_id_group_request_spec.rb +42 -0
  460. data/spec/models/update_service_id_request_spec.rb +11 -16
  461. data/spec/models/update_template_assignment_request_spec.rb +36 -0
  462. data/spec/models/update_trusted_profile_request_spec.rb +48 -0
  463. data/spec/models/user_activity_spec.rb +60 -0
  464. data/spec/models/user_mfa_enrollments_spec.rb +54 -0
  465. data/spec/models/user_mfa_resolved_spec.rb +54 -0
  466. data/spec/models/user_mfa_spec.rb +42 -0
  467. data/spec/models/user_report_mfa_enrollment_status_spec.rb +72 -0
  468. data/spec/models/user_visbility_retrict_actions_for_template_spec.rb +30 -0
  469. data/spec/models/user_visbility_retrict_actions_spec.rb +30 -0
  470. data/spec/spec_helper.rb +3 -3
  471. metadata +549 -35
  472. data/docs/IdentityOperationsApi.md +0 -828
  473. data/docs/InlineObject.md +0 -19
  474. data/docs/InlineObject1.md +0 -23
  475. data/docs/InlineObject2.md +0 -21
  476. data/docs/InlineObject3.md +0 -25
  477. data/docs/TokenOperationsApi.md +0 -226
  478. data/lib/ibm_cloud_iam/api/identity_operations_api.rb +0 -1083
  479. data/lib/ibm_cloud_iam/api/token_operations_api.rb +0 -351
  480. data/lib/ibm_cloud_iam/models/inline_object.rb +0 -229
  481. data/lib/ibm_cloud_iam/models/inline_object1.rb +0 -254
  482. data/lib/ibm_cloud_iam/models/inline_object2.rb +0 -244
  483. data/lib/ibm_cloud_iam/models/inline_object3.rb +0 -269
  484. data/spec/api/identity_operations_api_spec.rb +0 -253
  485. data/spec/api/token_operations_api_spec.rb +0 -94
  486. data/spec/api_client_spec.rb +0 -226
  487. data/spec/configuration_spec.rb +0 -42
  488. data/spec/models/inline_object1_spec.rb +0 -59
  489. data/spec/models/inline_object2_spec.rb +0 -53
  490. data/spec/models/inline_object3_spec.rb +0 -65
  491. data/spec/models/inline_object_spec.rb +0 -47
@@ -0,0 +1,26 @@
1
+ # IbmCloudIam::IdBasedMfaEnrollment
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **trait_account_default** | [**MfaOptions**](MfaOptions.md) | | |
8
+ | **trait_user_specific** | [**MfaOptions**](MfaOptions.md) | | [optional] |
9
+ | **trait_effective** | [**MfaOptions**](MfaOptions.md) | | |
10
+ | **complies** | **Boolean** | The enrollment complies to the effective requirement. | |
11
+ | **comply_state** | **String** | Defines comply state for the account. Valid values: * NO - User does not comply in the given account. * ACCOUNT- User complies in the given account, but does not comply in at least one of the other account memberships. * CROSS_ACCOUNT - User complies in the given account and across all other account memberships. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'ibm_cloud_iam'
17
+
18
+ instance = IbmCloudIam::IdBasedMfaEnrollment.new(
19
+ trait_account_default: null,
20
+ trait_user_specific: null,
21
+ trait_effective: null,
22
+ complies: null,
23
+ comply_state: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,20 @@
1
+ # IbmCloudIam::IdentityCount
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **iam_id** | **String** | IAM identifier of the identity | [optional] |
8
+ | **count** | **Integer** | Number of API keys for the identity | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ibm_cloud_iam'
14
+
15
+ instance = IbmCloudIam::IdentityCount.new(
16
+ iam_id: null,
17
+ count: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,42 @@
1
+ # IbmCloudIam::IdentityLimitsUsageRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **serviceid_groups** | **Boolean** | Flag to include service ID groups usage | [optional] |
8
+ | **serviceids_per_group** | **Array<String>** | List of service ID group IDs to get usage for | [optional] |
9
+ | **profiles** | **Boolean** | Flag to include trusted profiles usage | [optional] |
10
+ | **apikeys_per_identity** | **Array<String>** | List of identity IDs to get API key usage for | [optional] |
11
+ | **templates** | **Boolean** | Flag to include templates usage | [optional] |
12
+ | **template_versions_per_template** | **Array<String>** | List of template IDs to get version usage for | [optional] |
13
+ | **idps** | **Boolean** | Flag to include identity providers usage | [optional] |
14
+ | **claim_rules_per_group** | **Array<String>** | List of access group IDs to get claim rules usage for | [optional] |
15
+ | **claim_rules_per_profile** | **Array<String>** | List of profile IDs to get claim rules usage for | [optional] |
16
+ | **cr_links** | **Boolean** | Flag to include compute resource links usage | [optional] |
17
+ | **cr_links_per_profile** | **Array<String>** | List of profile IDs to get compute resource links usage for | [optional] |
18
+ | **cr_rules** | **Boolean** | Flag to include compute resource rules usage | [optional] |
19
+ | **cr_rules_per_profile** | **Array<String>** | List of profile IDs to get compute resource rules usage for | [optional] |
20
+
21
+ ## Example
22
+
23
+ ```ruby
24
+ require 'ibm_cloud_iam'
25
+
26
+ instance = IbmCloudIam::IdentityLimitsUsageRequest.new(
27
+ serviceid_groups: null,
28
+ serviceids_per_group: null,
29
+ profiles: null,
30
+ apikeys_per_identity: null,
31
+ templates: null,
32
+ template_versions_per_template: null,
33
+ idps: null,
34
+ claim_rules_per_group: null,
35
+ claim_rules_per_profile: null,
36
+ cr_links: null,
37
+ cr_links_per_profile: null,
38
+ cr_rules: null,
39
+ cr_rules_per_profile: null
40
+ )
41
+ ```
42
+
@@ -0,0 +1,44 @@
1
+ # IbmCloudIam::IdentityLimitsUsageResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **serviceid_groups** | [**LimitCount**](LimitCount.md) | | [optional] |
8
+ | **serviceids_per_group** | [**IdentityLimitsUsageResponseServiceidsPerGroup**](IdentityLimitsUsageResponseServiceidsPerGroup.md) | | [optional] |
9
+ | **profiles** | [**LimitCount**](LimitCount.md) | | [optional] |
10
+ | **apikeys_per_identity** | [**IdentityLimitsUsageResponseApikeysPerIdentity**](IdentityLimitsUsageResponseApikeysPerIdentity.md) | | [optional] |
11
+ | **profile_templates** | [**LimitCount**](LimitCount.md) | | [optional] |
12
+ | **account_settings_templates** | [**LimitCount**](LimitCount.md) | | [optional] |
13
+ | **template_versions_per_template** | [**IdentityLimitsUsageResponseTemplateVersionsPerTemplate**](IdentityLimitsUsageResponseTemplateVersionsPerTemplate.md) | | [optional] |
14
+ | **idps** | [**LimitCount**](LimitCount.md) | | [optional] |
15
+ | **claim_rules_per_group** | [**IdentityLimitsUsageResponseClaimRulesPerGroup**](IdentityLimitsUsageResponseClaimRulesPerGroup.md) | | [optional] |
16
+ | **claim_rules_per_profile** | [**IdentityLimitsUsageResponseClaimRulesPerProfile**](IdentityLimitsUsageResponseClaimRulesPerProfile.md) | | [optional] |
17
+ | **cr_links** | [**LimitCount**](LimitCount.md) | | [optional] |
18
+ | **cr_links_per_profile** | [**IdentityLimitsUsageResponseClaimRulesPerProfile**](IdentityLimitsUsageResponseClaimRulesPerProfile.md) | | [optional] |
19
+ | **cr_rules** | [**LimitCount**](LimitCount.md) | | [optional] |
20
+ | **cr_rules_per_profile** | [**IdentityLimitsUsageResponseClaimRulesPerProfile**](IdentityLimitsUsageResponseClaimRulesPerProfile.md) | | [optional] |
21
+
22
+ ## Example
23
+
24
+ ```ruby
25
+ require 'ibm_cloud_iam'
26
+
27
+ instance = IbmCloudIam::IdentityLimitsUsageResponse.new(
28
+ serviceid_groups: null,
29
+ serviceids_per_group: null,
30
+ profiles: null,
31
+ apikeys_per_identity: null,
32
+ profile_templates: null,
33
+ account_settings_templates: null,
34
+ template_versions_per_template: null,
35
+ idps: null,
36
+ claim_rules_per_group: null,
37
+ claim_rules_per_profile: null,
38
+ cr_links: null,
39
+ cr_links_per_profile: null,
40
+ cr_rules: null,
41
+ cr_rules_per_profile: null
42
+ )
43
+ ```
44
+
@@ -0,0 +1,20 @@
1
+ # IbmCloudIam::IdentityLimitsUsageResponseApikeysPerIdentity
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **limit** | **Integer** | Maximum allowed API keys per identity | |
8
+ | **identities** | [**Array<IdentityCount>**](IdentityCount.md) | List of identities with their API key usage counts | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ibm_cloud_iam'
14
+
15
+ instance = IbmCloudIam::IdentityLimitsUsageResponseApikeysPerIdentity.new(
16
+ limit: null,
17
+ identities: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # IbmCloudIam::IdentityLimitsUsageResponseClaimRulesPerGroup
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **limit** | **Integer** | Maximum allowed claim rules per access group | |
8
+ | **access_groups** | [**Array<AccessGroupCount>**](AccessGroupCount.md) | List of access groups with their claim rules usage counts | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ibm_cloud_iam'
14
+
15
+ instance = IbmCloudIam::IdentityLimitsUsageResponseClaimRulesPerGroup.new(
16
+ limit: null,
17
+ access_groups: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # IbmCloudIam::IdentityLimitsUsageResponseClaimRulesPerProfile
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **limit** | **Integer** | Maximum allowed claim rules per profile | |
8
+ | **profiles** | [**Array<ProfileCount>**](ProfileCount.md) | List of profiles with their claim rules usage counts | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ibm_cloud_iam'
14
+
15
+ instance = IbmCloudIam::IdentityLimitsUsageResponseClaimRulesPerProfile.new(
16
+ limit: null,
17
+ profiles: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # IbmCloudIam::IdentityLimitsUsageResponseServiceidsPerGroup
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **limit** | **Integer** | Maximum allowed service IDs per group | |
8
+ | **serviceid_groups** | [**Array<ServiceIdGroupCount>**](ServiceIdGroupCount.md) | List of service ID groups with their usage counts | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ibm_cloud_iam'
14
+
15
+ instance = IbmCloudIam::IdentityLimitsUsageResponseServiceidsPerGroup.new(
16
+ limit: null,
17
+ serviceid_groups: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # IbmCloudIam::IdentityLimitsUsageResponseTemplateVersionsPerTemplate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **limit** | **Integer** | Maximum allowed versions per template | |
8
+ | **templates** | [**Array<TemplateCount>**](TemplateCount.md) | List of templates with their version usage counts | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ibm_cloud_iam'
14
+
15
+ instance = IbmCloudIam::IdentityLimitsUsageResponseTemplateVersionsPerTemplate.new(
16
+ limit: null,
17
+ templates: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,28 @@
1
+ # IbmCloudIam::IdentityPreferenceResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **service** | **String** | Service of the preference | [optional] |
8
+ | **id** | **String** | Unique ID of the preference | [optional] |
9
+ | **account_id** | **String** | Account ID of the preference, only present for scope 'account' | [optional] |
10
+ | **scope** | **String** | Scope of the preference, 'global' or 'account' | [optional] |
11
+ | **value_string** | **String** | String value of the preference, only one value property is set, either 'value_string' or 'value_list_of_strings' is present. | [optional] |
12
+ | **value_list_of_strings** | **Array<String>** | List of values of the preference, only one value property is set, either 'value_string' or 'value_list_of_strings' is present. | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'ibm_cloud_iam'
18
+
19
+ instance = IbmCloudIam::IdentityPreferenceResponse.new(
20
+ service: null,
21
+ id: null,
22
+ account_id: null,
23
+ scope: null,
24
+ value_string: null,
25
+ value_list_of_strings: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,304 @@
1
+ # IbmCloudIam::IdentityPreferencesApi
2
+
3
+ All URIs are relative to *https://iam.cloud.ibm.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**delete_preferences_on_scope_account**](IdentityPreferencesApi.md#delete_preferences_on_scope_account) | **DELETE** /v1/preferences/accounts/{account_id}/identities/{iam_id}/{service}/{preference_id} | Delete Identity Preference on scope account |
8
+ | [**get_all_preferences_on_scope_account**](IdentityPreferencesApi.md#get_all_preferences_on_scope_account) | **GET** /v1/preferences/accounts/{account_id}/identities/{iam_id} | Get all Identity Preferences on scope account |
9
+ | [**get_preferences_on_scope_account**](IdentityPreferencesApi.md#get_preferences_on_scope_account) | **GET** /v1/preferences/accounts/{account_id}/identities/{iam_id}/{service}/{preference_id} | Get Identity Preference on scope account |
10
+ | [**update_preference_on_scope_account**](IdentityPreferencesApi.md#update_preference_on_scope_account) | **PUT** /v1/preferences/accounts/{account_id}/identities/{iam_id}/{service}/{preference_id} | Update Identity Preference on scope account |
11
+
12
+
13
+ ## delete_preferences_on_scope_account
14
+
15
+ > delete_preferences_on_scope_account(account_id, iam_id, service, preference_id, opts)
16
+
17
+ Delete Identity Preference on scope account
18
+
19
+ Delete one Identity Preference on scope `account`. For details about the preferences supported and how the method request is authorized, refer to the description of operation `Update Identity Preference on scope account`.
20
+
21
+ ### Examples
22
+
23
+ ```ruby
24
+ require 'time'
25
+ require 'ibm_cloud_iam'
26
+
27
+ api_instance = IbmCloudIam::IdentityPreferencesApi.new
28
+ account_id = 'account_id_example' # String | Account id to delete preference for
29
+ iam_id = 'iam_id_example' # String | IAM id to delete the preference for
30
+ service = 'service_example' # String | Service of the preference to be deleted
31
+ preference_id = 'preference_id_example' # String | Identifier of preference to be deleted
32
+ opts = {
33
+ authorization: 'authorization_example' # String | Authorization Token used for the request. The supported token type is a Cloud IAM Access Token. If the token is omitted the request will fail with BXNIM0308E: 'No authorization header found'. Make sure that the provided token has the required authority for the request.
34
+ }
35
+
36
+ begin
37
+ # Delete Identity Preference on scope account
38
+ api_instance.delete_preferences_on_scope_account(account_id, iam_id, service, preference_id, opts)
39
+ rescue IbmCloudIam::ApiError => e
40
+ puts "Error when calling IdentityPreferencesApi->delete_preferences_on_scope_account: #{e}"
41
+ end
42
+ ```
43
+
44
+ #### Using the delete_preferences_on_scope_account_with_http_info variant
45
+
46
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
47
+
48
+ > <Array(nil, Integer, Hash)> delete_preferences_on_scope_account_with_http_info(account_id, iam_id, service, preference_id, opts)
49
+
50
+ ```ruby
51
+ begin
52
+ # Delete Identity Preference on scope account
53
+ data, status_code, headers = api_instance.delete_preferences_on_scope_account_with_http_info(account_id, iam_id, service, preference_id, opts)
54
+ p status_code # => 2xx
55
+ p headers # => { ... }
56
+ p data # => nil
57
+ rescue IbmCloudIam::ApiError => e
58
+ puts "Error when calling IdentityPreferencesApi->delete_preferences_on_scope_account_with_http_info: #{e}"
59
+ end
60
+ ```
61
+
62
+ ### Parameters
63
+
64
+ | Name | Type | Description | Notes |
65
+ | ---- | ---- | ----------- | ----- |
66
+ | **account_id** | **String** | Account id to delete preference for | |
67
+ | **iam_id** | **String** | IAM id to delete the preference for | |
68
+ | **service** | **String** | Service of the preference to be deleted | |
69
+ | **preference_id** | **String** | Identifier of preference to be deleted | |
70
+ | **authorization** | **String** | Authorization Token used for the request. The supported token type is a Cloud IAM Access Token. If the token is omitted the request will fail with BXNIM0308E: &#39;No authorization header found&#39;. Make sure that the provided token has the required authority for the request. | [optional] |
71
+
72
+ ### Return type
73
+
74
+ nil (empty response body)
75
+
76
+ ### Authorization
77
+
78
+ No authorization required
79
+
80
+ ### HTTP request headers
81
+
82
+ - **Content-Type**: Not defined
83
+ - **Accept**: application/json
84
+
85
+
86
+ ## get_all_preferences_on_scope_account
87
+
88
+ > <IdentityPreferencesResponse> get_all_preferences_on_scope_account(account_id, iam_id, opts)
89
+
90
+ Get all Identity Preferences on scope account
91
+
92
+ Get all Identity Preferences for one account / identity combination. For details about the preferences supported and how the method request is authorized, refer to the description of operation `Get Identity Preference on scope account`. If you are not allowed to read a preference, the call will not fail. Instead, this preference is/ these preferences are not returned in the list call.
93
+
94
+ ### Examples
95
+
96
+ ```ruby
97
+ require 'time'
98
+ require 'ibm_cloud_iam'
99
+
100
+ api_instance = IbmCloudIam::IdentityPreferencesApi.new
101
+ account_id = 'account_id_example' # String | Account id to get preferences for
102
+ iam_id = 'iam_id_example' # String | IAM id to get the preferences for
103
+ opts = {
104
+ authorization: 'authorization_example' # String | Authorization Token used for the request. The supported token type is a Cloud IAM Access Token. If the token is omitted the request will fail with BXNIM0308E: 'No authorization header found'. Make sure that the provided token has the required authority for the request.
105
+ }
106
+
107
+ begin
108
+ # Get all Identity Preferences on scope account
109
+ result = api_instance.get_all_preferences_on_scope_account(account_id, iam_id, opts)
110
+ p result
111
+ rescue IbmCloudIam::ApiError => e
112
+ puts "Error when calling IdentityPreferencesApi->get_all_preferences_on_scope_account: #{e}"
113
+ end
114
+ ```
115
+
116
+ #### Using the get_all_preferences_on_scope_account_with_http_info variant
117
+
118
+ This returns an Array which contains the response data, status code and headers.
119
+
120
+ > <Array(<IdentityPreferencesResponse>, Integer, Hash)> get_all_preferences_on_scope_account_with_http_info(account_id, iam_id, opts)
121
+
122
+ ```ruby
123
+ begin
124
+ # Get all Identity Preferences on scope account
125
+ data, status_code, headers = api_instance.get_all_preferences_on_scope_account_with_http_info(account_id, iam_id, opts)
126
+ p status_code # => 2xx
127
+ p headers # => { ... }
128
+ p data # => <IdentityPreferencesResponse>
129
+ rescue IbmCloudIam::ApiError => e
130
+ puts "Error when calling IdentityPreferencesApi->get_all_preferences_on_scope_account_with_http_info: #{e}"
131
+ end
132
+ ```
133
+
134
+ ### Parameters
135
+
136
+ | Name | Type | Description | Notes |
137
+ | ---- | ---- | ----------- | ----- |
138
+ | **account_id** | **String** | Account id to get preferences for | |
139
+ | **iam_id** | **String** | IAM id to get the preferences for | |
140
+ | **authorization** | **String** | Authorization Token used for the request. The supported token type is a Cloud IAM Access Token. If the token is omitted the request will fail with BXNIM0308E: &#39;No authorization header found&#39;. Make sure that the provided token has the required authority for the request. | [optional] |
141
+
142
+ ### Return type
143
+
144
+ [**IdentityPreferencesResponse**](IdentityPreferencesResponse.md)
145
+
146
+ ### Authorization
147
+
148
+ No authorization required
149
+
150
+ ### HTTP request headers
151
+
152
+ - **Content-Type**: Not defined
153
+ - **Accept**: application/json
154
+
155
+
156
+ ## get_preferences_on_scope_account
157
+
158
+ > <IdentityPreferenceResponse> get_preferences_on_scope_account(account_id, iam_id, service, preference_id, opts)
159
+
160
+ Get Identity Preference on scope account
161
+
162
+ Get one Identity Preference on scope `account`. For details about the preferences supported, refer to the description of operation `Update Identity Preference on scope account`. ### Authorization To call this method for the identity type `Trusted Profile`, one of the following conditions must be true: - the Authorization token represents the trusted profile which is addressed by this request - you must be assigned one or more IAM access roles that include the following action on the target resource `account` and resource type `preferences`: - iam-identity.preferences.update By default, the `Administrator` role on service `iam-identity` contains this action. - Services inside the IBM Cloud Console can call this method.
163
+
164
+ ### Examples
165
+
166
+ ```ruby
167
+ require 'time'
168
+ require 'ibm_cloud_iam'
169
+
170
+ api_instance = IbmCloudIam::IdentityPreferencesApi.new
171
+ account_id = 'account_id_example' # String | Account id to get preference for
172
+ iam_id = 'iam_id_example' # String | IAM id to get the preference for
173
+ service = 'service_example' # String | Service of the preference to be fetched
174
+ preference_id = 'preference_id_example' # String | Identifier of preference to be fetched
175
+ opts = {
176
+ authorization: 'authorization_example' # String | Authorization Token used for the request. The supported token type is a Cloud IAM Access Token. If the token is omitted the request will fail with BXNIM0308E: 'No authorization header found'. Make sure that the provided token has the required authority for the request.
177
+ }
178
+
179
+ begin
180
+ # Get Identity Preference on scope account
181
+ result = api_instance.get_preferences_on_scope_account(account_id, iam_id, service, preference_id, opts)
182
+ p result
183
+ rescue IbmCloudIam::ApiError => e
184
+ puts "Error when calling IdentityPreferencesApi->get_preferences_on_scope_account: #{e}"
185
+ end
186
+ ```
187
+
188
+ #### Using the get_preferences_on_scope_account_with_http_info variant
189
+
190
+ This returns an Array which contains the response data, status code and headers.
191
+
192
+ > <Array(<IdentityPreferenceResponse>, Integer, Hash)> get_preferences_on_scope_account_with_http_info(account_id, iam_id, service, preference_id, opts)
193
+
194
+ ```ruby
195
+ begin
196
+ # Get Identity Preference on scope account
197
+ data, status_code, headers = api_instance.get_preferences_on_scope_account_with_http_info(account_id, iam_id, service, preference_id, opts)
198
+ p status_code # => 2xx
199
+ p headers # => { ... }
200
+ p data # => <IdentityPreferenceResponse>
201
+ rescue IbmCloudIam::ApiError => e
202
+ puts "Error when calling IdentityPreferencesApi->get_preferences_on_scope_account_with_http_info: #{e}"
203
+ end
204
+ ```
205
+
206
+ ### Parameters
207
+
208
+ | Name | Type | Description | Notes |
209
+ | ---- | ---- | ----------- | ----- |
210
+ | **account_id** | **String** | Account id to get preference for | |
211
+ | **iam_id** | **String** | IAM id to get the preference for | |
212
+ | **service** | **String** | Service of the preference to be fetched | |
213
+ | **preference_id** | **String** | Identifier of preference to be fetched | |
214
+ | **authorization** | **String** | Authorization Token used for the request. The supported token type is a Cloud IAM Access Token. If the token is omitted the request will fail with BXNIM0308E: &#39;No authorization header found&#39;. Make sure that the provided token has the required authority for the request. | [optional] |
215
+
216
+ ### Return type
217
+
218
+ [**IdentityPreferenceResponse**](IdentityPreferenceResponse.md)
219
+
220
+ ### Authorization
221
+
222
+ No authorization required
223
+
224
+ ### HTTP request headers
225
+
226
+ - **Content-Type**: Not defined
227
+ - **Accept**: application/json
228
+
229
+
230
+ ## update_preference_on_scope_account
231
+
232
+ > <IdentityPreferenceResponse> update_preference_on_scope_account(account_id, iam_id, service, preference_id, update_preference_request, opts)
233
+
234
+ Update Identity Preference on scope account
235
+
236
+ Update one Identity Preference on scope `account`. The following preferences are storing values for identities inside an account, i.e. for each account that an identity is member of, the value stored might be different. This means, **users** who might be member of multiple accounts can have multiple preferences, one per account. Identities like **Service Ids** or **Trusted Profiles** can only exist in one account, therefore they can only have one preference inside their related account. ### Preferences - **console/landing_page** service: `console` preference_id: `landing_page` supported identity types: `Trusted Profile` type: `string` validation: valid path for the IBM Cloud Console (without host part), e.g. `/billing` or `/iam` - **console/global_left_navigation** service: `console` preference_id: `global_left_navigation` supported identity types: `Trusted Profile` type: `list of strings` validation: each entry in the list of strings must match the identifier of one navigation entry in the console; these identifiers are defined and interpreted by the IBM Cloud Console; currently the following entries are supported: `slash,projects,rex,containers,databases,is,logmet,automation,complianceAndSecurity,apis,cp4d,partner-center,sap,satellite,vmWare,watsonx` ### Authorization To call this method for the identity type `Trusted Profile`, you must be assigned one or more IAM access roles that include the following action on the target resource `account` and resource type `preferences`: - iam-identity.preferences.update By default, the `Administrator` role on service `iam-identity` contains this action.
237
+
238
+ ### Examples
239
+
240
+ ```ruby
241
+ require 'time'
242
+ require 'ibm_cloud_iam'
243
+
244
+ api_instance = IbmCloudIam::IdentityPreferencesApi.new
245
+ account_id = 'account_id_example' # String | Account id to update preference for
246
+ iam_id = 'iam_id_example' # String | IAM id to update the preference for
247
+ service = 'service_example' # String | Service of the preference to be updated
248
+ preference_id = 'preference_id_example' # String | Identifier of preference to be updated
249
+ update_preference_request = IbmCloudIam::UpdatePreferenceRequest.new # UpdatePreferenceRequest | Request to update one identity preference on scope 'acount'.
250
+ opts = {
251
+ authorization: 'authorization_example' # String | Authorization Token used for the request. The supported token type is a Cloud IAM Access Token. If the token is omitted the request will fail with BXNIM0308E: 'No authorization header found'. Make sure that the provided token has the required authority for the request.
252
+ }
253
+
254
+ begin
255
+ # Update Identity Preference on scope account
256
+ result = api_instance.update_preference_on_scope_account(account_id, iam_id, service, preference_id, update_preference_request, opts)
257
+ p result
258
+ rescue IbmCloudIam::ApiError => e
259
+ puts "Error when calling IdentityPreferencesApi->update_preference_on_scope_account: #{e}"
260
+ end
261
+ ```
262
+
263
+ #### Using the update_preference_on_scope_account_with_http_info variant
264
+
265
+ This returns an Array which contains the response data, status code and headers.
266
+
267
+ > <Array(<IdentityPreferenceResponse>, Integer, Hash)> update_preference_on_scope_account_with_http_info(account_id, iam_id, service, preference_id, update_preference_request, opts)
268
+
269
+ ```ruby
270
+ begin
271
+ # Update Identity Preference on scope account
272
+ data, status_code, headers = api_instance.update_preference_on_scope_account_with_http_info(account_id, iam_id, service, preference_id, update_preference_request, opts)
273
+ p status_code # => 2xx
274
+ p headers # => { ... }
275
+ p data # => <IdentityPreferenceResponse>
276
+ rescue IbmCloudIam::ApiError => e
277
+ puts "Error when calling IdentityPreferencesApi->update_preference_on_scope_account_with_http_info: #{e}"
278
+ end
279
+ ```
280
+
281
+ ### Parameters
282
+
283
+ | Name | Type | Description | Notes |
284
+ | ---- | ---- | ----------- | ----- |
285
+ | **account_id** | **String** | Account id to update preference for | |
286
+ | **iam_id** | **String** | IAM id to update the preference for | |
287
+ | **service** | **String** | Service of the preference to be updated | |
288
+ | **preference_id** | **String** | Identifier of preference to be updated | |
289
+ | **update_preference_request** | [**UpdatePreferenceRequest**](UpdatePreferenceRequest.md) | Request to update one identity preference on scope &#39;acount&#39;. | |
290
+ | **authorization** | **String** | Authorization Token used for the request. The supported token type is a Cloud IAM Access Token. If the token is omitted the request will fail with BXNIM0308E: &#39;No authorization header found&#39;. Make sure that the provided token has the required authority for the request. | [optional] |
291
+
292
+ ### Return type
293
+
294
+ [**IdentityPreferenceResponse**](IdentityPreferenceResponse.md)
295
+
296
+ ### Authorization
297
+
298
+ No authorization required
299
+
300
+ ### HTTP request headers
301
+
302
+ - **Content-Type**: application/json
303
+ - **Accept**: application/json
304
+
@@ -0,0 +1,18 @@
1
+ # IbmCloudIam::IdentityPreferencesResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **preferences** | [**Array&lt;IdentityPreferenceResponse&gt;**](IdentityPreferenceResponse.md) | List of Identity Preferences | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ibm_cloud_iam'
13
+
14
+ instance = IbmCloudIam::IdentityPreferencesResponse.new(
15
+ preferences: null
16
+ )
17
+ ```
18
+
data/docs/Idp.md ADDED
@@ -0,0 +1,38 @@
1
+ # IbmCloudIam::Idp
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **idp_id** | **String** | | [optional] |
8
+ | **entity_tag** | **String** | | [optional] |
9
+ | **account_id** | **String** | | [optional] |
10
+ | **name** | **String** | | [optional] |
11
+ | **type** | **String** | | [optional] |
12
+ | **properties** | **Object** | | [optional] |
13
+ | **secrets** | **Object** | | [optional] |
14
+ | **share_scope** | [**Array&lt;ShareScope&gt;**](ShareScope.md) | | [optional] |
15
+ | **active** | **Boolean** | | [optional] |
16
+ | **created_at** | **Time** | | [optional] |
17
+ | **modified_at** | **Time** | | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'ibm_cloud_iam'
23
+
24
+ instance = IbmCloudIam::Idp.new(
25
+ idp_id: null,
26
+ entity_tag: null,
27
+ account_id: null,
28
+ name: null,
29
+ type: saml,
30
+ properties: null,
31
+ secrets: null,
32
+ share_scope: null,
33
+ active: null,
34
+ created_at: null,
35
+ modified_at: null
36
+ )
37
+ ```
38
+
@@ -0,0 +1,20 @@
1
+ # IbmCloudIam::LimitCount
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **limit** | **Integer** | Maximum allowed value for the resource | |
8
+ | **count** | **Integer** | Current usage count for the resource | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ibm_cloud_iam'
14
+
15
+ instance = IbmCloudIam::LimitCount.new(
16
+ limit: null,
17
+ count: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # IbmCloudIam::ListIdPSettings200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **idps** | [**Array&lt;AccountIdpSettings&gt;**](AccountIdpSettings.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ibm_cloud_iam'
13
+
14
+ instance = IbmCloudIam::ListIdPSettings200Response.new(
15
+ idps: null
16
+ )
17
+ ```
18
+