Class: OCI::IdentityDomains::IdentityDomainsClient
- Inherits:
-
Object
- Object
- OCI::IdentityDomains::IdentityDomainsClient
- Defined in:
- lib/oci/identity_domains/identity_domains_client.rb
Overview
Use the Identity Domains API to manage resources within an identity domain, for example, users, dynamic resource groups, groups, and identity providers. For information about managing resources within identity domains, see Identity and Access Management (with identity domains). This REST API is SCIM compliant. Use the table of contents and search tool to explore the Identity Domains API.
Instance Attribute Summary collapse
-
#api_client ⇒ OCI::ApiClient
readonly
Client used to make HTTP requests.
-
#endpoint ⇒ String
readonly
Fully qualified endpoint URL.
-
#retry_config ⇒ OCI::Retry::RetryConfig
readonly
The default retry configuration to apply to all operations in this service client.
Instance Method Summary collapse
-
#create_api_key(opts = {}) ⇒ Response
Create a user's API key.
-
#create_app(opts = {}) ⇒ Response
Create an App.
-
#create_app_role(opts = {}) ⇒ Response
Create an AppRole.
-
#create_approval_workflow(opts = {}) ⇒ Response
Create ApprovalWorkflow.
-
#create_approval_workflow_assignment(opts = {}) ⇒ Response
Create Approval Workflow Assignment.
-
#create_approval_workflow_step(opts = {}) ⇒ Response
Create ApprovalWorkflowStep.
-
#create_auth_token(opts = {}) ⇒ Response
Create a user's Auth token.
-
#create_authentication_factors_remover(opts = {}) ⇒ Response
Remove All Authentication Factor Channels for a User.
-
#create_cloud_gate(opts = {}) ⇒ Response
Create a Cloud Gate.
-
#create_cloud_gate_mapping(opts = {}) ⇒ Response
Create a Cloud Gate mapping.
-
#create_cloud_gate_server(opts = {}) ⇒ Response
Create a Cloud Gate server.
-
#create_condition(opts = {}) ⇒ Response
Create a Condition.
-
#create_customer_secret_key(opts = {}) ⇒ Response
Create a user's customer secret key.
-
#create_dynamic_resource_group(opts = {}) ⇒ Response
Create a Dynamic Resource Group.
-
#create_grant(opts = {}) ⇒ Response
Add a Grantee to an AppRole.
-
#create_group(opts = {}) ⇒ Response
Create a group.
-
#create_identity_provider(opts = {}) ⇒ Response
Create an Identity Provider.
-
#create_me(opts = {}) ⇒ Response
Self register a user.
-
#create_my_api_key(opts = {}) ⇒ Response
Add a user's own API key.
-
#create_my_auth_token(opts = {}) ⇒ Response
Create a user's own Auth token.
-
#create_my_authentication_factor_initiator(opts = {}) ⇒ Response
Initiate Self Service Enrollment using the Requested MFA Factor.
-
#create_my_authentication_factor_validator(opts = {}) ⇒ Response
Validate Self Service Enrollment using the Requested MFA Factor.
-
#create_my_authentication_factors_remover(opts = {}) ⇒ Response
Remove All Authentication Factor Channels for a User.
-
#create_my_customer_secret_key(opts = {}) ⇒ Response
Add a user's own customer secret key.
-
#create_my_o_auth2_client_credential(opts = {}) ⇒ Response
Create a user's own OAuth2 client credential.
-
#create_my_request(opts = {}) ⇒ Response
Create a Request.
-
#create_my_smtp_credential(opts = {}) ⇒ Response
Create a user's own SMTP credential.
-
#create_my_support_account(opts = {}) ⇒ Response
Create a user's own support account.
-
#create_my_user_db_credential(opts = {}) ⇒ Response
Create a user's own database (DB) credential.
-
#create_network_perimeter(opts = {}) ⇒ Response
Create a NetworkPerimeter.
-
#create_o_auth2_client_credential(opts = {}) ⇒ Response
Add a user's OAuth2 client credentials.
-
#create_o_auth_client_certificate(opts = {}) ⇒ Response
Create an OAuth Client Certificate.
-
#create_o_auth_partner_certificate(opts = {}) ⇒ Response
Create an OAuth Partner Certificate.
-
#create_password_policy(opts = {}) ⇒ Response
Create a password policy.
-
#create_policy(opts = {}) ⇒ Response
Create a Policy.
-
#create_rule(opts = {}) ⇒ Response
Create a Rule.
-
#create_security_question(opts = {}) ⇒ Response
Create a security question.
-
#create_self_registration_profile(opts = {}) ⇒ Response
Create a self-registration profile.
-
#create_smtp_credential(opts = {}) ⇒ Response
Create a user's SMTP credentials.
-
#create_user(opts = {}) ⇒ Response
Create a user.
-
#create_user_db_credential(opts = {}) ⇒ Response
Create a user's database (DB) credentials.
-
#delete_api_key(api_key_id, opts = {}) ⇒ Response
Delete a user's API key.
-
#delete_app(app_id, opts = {}) ⇒ Response
Delete an App.
-
#delete_app_role(app_role_id, opts = {}) ⇒ Response
Delete an AppRole.
-
#delete_approval_workflow(approval_workflow_id, opts = {}) ⇒ Response
Delete ApprovalWorkflow.
-
#delete_approval_workflow_assignment(approval_workflow_assignment_id, opts = {}) ⇒ Response
Delete Approval Workflow Assignment.
-
#delete_approval_workflow_step(approval_workflow_step_id, opts = {}) ⇒ Response
Delete ApprovalWorkflowStep.
-
#delete_auth_token(auth_token_id, opts = {}) ⇒ Response
Delete a user's Auth token.
-
#delete_cloud_gate(cloud_gate_id, opts = {}) ⇒ Response
Delete a Cloud Gate.
-
#delete_cloud_gate_mapping(cloud_gate_mapping_id, opts = {}) ⇒ Response
Delete a Cloud Gate mapping.
-
#delete_cloud_gate_server(cloud_gate_server_id, opts = {}) ⇒ Response
Delete a Cloud Gate server.
-
#delete_condition(condition_id, opts = {}) ⇒ Response
Delete a Condition.
-
#delete_customer_secret_key(customer_secret_key_id, opts = {}) ⇒ Response
Delete a user's customer secret key.
-
#delete_dynamic_resource_group(dynamic_resource_group_id, opts = {}) ⇒ Response
Delete a Dynamic Resource Group.
-
#delete_grant(grant_id, opts = {}) ⇒ Response
Remove a Grantee from an AppRole.
-
#delete_group(group_id, opts = {}) ⇒ Response
Delete a group.
-
#delete_identity_provider(identity_provider_id, opts = {}) ⇒ Response
Delete an Identity Provider.
-
#delete_my_api_key(my_api_key_id, opts = {}) ⇒ Response
Delete a user's own API key.
-
#delete_my_auth_token(my_auth_token_id, opts = {}) ⇒ Response
Delete a user's own Auth token.
-
#delete_my_customer_secret_key(my_customer_secret_key_id, opts = {}) ⇒ Response
Delete a user's own customer secret key.
-
#delete_my_device(my_device_id, opts = {}) ⇒ Response
Delete a Device.
-
#delete_my_o_auth2_client_credential(my_o_auth2_client_credential_id, opts = {}) ⇒ Response
Delete a user's own OAuth2 client credential.
-
#delete_my_smtp_credential(my_smtp_credential_id, opts = {}) ⇒ Response
Delete a user's own SMTP credential.
-
#delete_my_support_account(my_support_account_id, opts = {}) ⇒ Response
Delete a user's own support account.
-
#delete_my_trusted_user_agent(my_trusted_user_agent_id, opts = {}) ⇒ Response
Delete a Trusted User Agent.
-
#delete_my_user_db_credential(my_user_db_credential_id, opts = {}) ⇒ Response
Delete a user's own database (DB) credential.
-
#delete_network_perimeter(network_perimeter_id, opts = {}) ⇒ Response
Delete a NetworkPerimeter.
-
#delete_o_auth2_client_credential(o_auth2_client_credential_id, opts = {}) ⇒ Response
Delete a user's OAuth2 client credentials.
-
#delete_o_auth_client_certificate(o_auth_client_certificate_id, opts = {}) ⇒ Response
Delete an OAuth Client Certificate.
-
#delete_o_auth_partner_certificate(o_auth_partner_certificate_id, opts = {}) ⇒ Response
Delete an OAuth Partner Certificate.
-
#delete_password_policy(password_policy_id, opts = {}) ⇒ Response
Delete a password policy.
-
#delete_policy(policy_id, opts = {}) ⇒ Response
Delete a Policy.
-
#delete_rule(rule_id, opts = {}) ⇒ Response
Delete a Rule.
-
#delete_security_question(security_question_id, opts = {}) ⇒ Response
Delete a security question.
-
#delete_self_registration_profile(self_registration_profile_id, opts = {}) ⇒ Response
Delete a self-registration profile.
-
#delete_smtp_credential(smtp_credential_id, opts = {}) ⇒ Response
Delete a user's SMTP credentials.
-
#delete_user(user_id, opts = {}) ⇒ Response
Delete a user.
-
#delete_user_db_credential(user_db_credential_id, opts = {}) ⇒ Response
Delete a user's database (DB) credentials.
-
#get_account_mgmt_info(account_mgmt_info_id, opts = {}) ⇒ Response
Get Account Mgmt Info.
-
#get_account_recovery_setting(account_recovery_setting_id, opts = {}) ⇒ Response
Get an account recovery setting.
-
#get_api_key(api_key_id, opts = {}) ⇒ Response
Get a user's API key.
-
#get_app(app_id, opts = {}) ⇒ Response
Get an App.
-
#get_app_role(app_role_id, opts = {}) ⇒ Response
Get an AppRole.
-
#get_approval_workflow(approval_workflow_id, opts = {}) ⇒ Response
Get ApprovalWorkflow.
-
#get_approval_workflow_assignment(approval_workflow_assignment_id, opts = {}) ⇒ Response
Get an Approval Workflow Assignment.
-
#get_approval_workflow_step(approval_workflow_step_id, opts = {}) ⇒ Response
Get ApprovalWorkflowStep.
-
#get_auth_token(auth_token_id, opts = {}) ⇒ Response
Get a user's Auth token.
-
#get_authentication_factor_setting(authentication_factor_setting_id, opts = {}) ⇒ Response
Get Authentication Factor Settings.
-
#get_branding_setting(branding_setting_id, opts = {}) ⇒ Response
Get Branding Settings.
-
#get_cloud_gate(cloud_gate_id, opts = {}) ⇒ Response
Get a Cloud Gate.
-
#get_cloud_gate_mapping(cloud_gate_mapping_id, opts = {}) ⇒ Response
Get a Cloud Gate mapping.
-
#get_cloud_gate_server(cloud_gate_server_id, opts = {}) ⇒ Response
Get a Cloud Gate server.
-
#get_condition(condition_id, opts = {}) ⇒ Response
Get a Condition.
-
#get_customer_secret_key(customer_secret_key_id, opts = {}) ⇒ Response
Get a user's customer secret key.
-
#get_dynamic_resource_group(dynamic_resource_group_id, opts = {}) ⇒ Response
Get a Dynamic Resource Group.
-
#get_grant(grant_id, opts = {}) ⇒ Response
Get a Grant.
-
#get_group(group_id, opts = {}) ⇒ Response
Get a group.
-
#get_identity_provider(identity_provider_id, opts = {}) ⇒ Response
Get an Identity Provider.
-
#get_identity_setting(identity_setting_id, opts = {}) ⇒ Response
Get an Identity setting.
-
#get_kmsi_setting(kmsi_setting_id, opts = {}) ⇒ Response
Get KmsiSettings.
-
#get_me(opts = {}) ⇒ Response
Get a user's own information.
-
#get_my_api_key(my_api_key_id, opts = {}) ⇒ Response
Get a user's own API key.
-
#get_my_auth_token(my_auth_token_id, opts = {}) ⇒ Response
Get a user's own Auth token.
-
#get_my_completed_approval(my_completed_approval_id, opts = {}) ⇒ Response
Get My MyCompletedApproval.
-
#get_my_customer_secret_key(my_customer_secret_key_id, opts = {}) ⇒ Response
Get a user's own customer secret key.
-
#get_my_device(my_device_id, opts = {}) ⇒ Response
Get a Device.
-
#get_my_o_auth2_client_credential(my_o_auth2_client_credential_id, opts = {}) ⇒ Response
Get a user's own OAuth2 client credential.
-
#get_my_pending_approval(my_pending_approval_id, opts = {}) ⇒ Response
Get My MyPendingApproval.
-
#get_my_request(my_request_id, opts = {}) ⇒ Response
Get My Requests.
-
#get_my_smtp_credential(my_smtp_credential_id, opts = {}) ⇒ Response
Get a user's own SMTP credential.
-
#get_my_support_account(my_support_account_id, opts = {}) ⇒ Response
Get a user's own support account.
-
#get_my_trusted_user_agent(my_trusted_user_agent_id, opts = {}) ⇒ Response
Get a Trusted User Agent.
-
#get_my_user_db_credential(my_user_db_credential_id, opts = {}) ⇒ Response
Get a user's own database (DB) credential.
-
#get_network_perimeter(network_perimeter_id, opts = {}) ⇒ Response
Get a NetworkPerimeter.
-
#get_notification_setting(notification_setting_id, opts = {}) ⇒ Response
Get Notification Settings.
-
#get_o_auth2_client_credential(o_auth2_client_credential_id, opts = {}) ⇒ Response
Get a user's OAuth2 client credentials.
-
#get_o_auth_client_certificate(o_auth_client_certificate_id, opts = {}) ⇒ Response
Get OAuth Client Certificates.
-
#get_o_auth_partner_certificate(o_auth_partner_certificate_id, opts = {}) ⇒ Response
Get an OAuth Partner Certificate.
-
#get_password_policy(password_policy_id, opts = {}) ⇒ Response
Get a password policy.
-
#get_policy(policy_id, opts = {}) ⇒ Response
Get a Policy.
-
#get_rule(rule_id, opts = {}) ⇒ Response
Get a Rule.
-
#get_schema(schema_id, opts = {}) ⇒ Response
Get a Schema.
-
#get_security_question(security_question_id, opts = {}) ⇒ Response
Get a security question.
-
#get_security_question_setting(security_question_setting_id, opts = {}) ⇒ Response
Get a security question setting.
-
#get_self_registration_profile(self_registration_profile_id, opts = {}) ⇒ Response
Get a self-registration profile.
-
#get_setting(setting_id, opts = {}) ⇒ Response
Get Settings.
-
#get_smtp_credential(smtp_credential_id, opts = {}) ⇒ Response
Get a user's SMTP credentials.
-
#get_user(user_id, opts = {}) ⇒ Response
Get a user.
-
#get_user_attributes_setting(user_attributes_setting_id, opts = {}) ⇒ Response
Get User Schema Attribute Settings.
-
#get_user_db_credential(user_db_credential_id, opts = {}) ⇒ Response
Get a user's database (DB) credentials.
-
#initialize(config: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil) ⇒ IdentityDomainsClient
constructor
Creates a new IdentityDomainsClient.
-
#list_account_mgmt_infos(opts = {}) ⇒ Response
Search Account Mgmt Info.
-
#list_account_recovery_settings(opts = {}) ⇒ Response
Search for account recovery settings.
-
#list_api_keys(opts = {}) ⇒ Response
Search API keys.
-
#list_app_roles(opts = {}) ⇒ Response
Search AppRoles.
-
#list_approval_workflow_assignments(opts = {}) ⇒ Response
Search Approval Workflow Assignments.
-
#list_approval_workflow_steps(opts = {}) ⇒ Response
Search ApprovalWorkflowStep.
-
#list_approval_workflows(opts = {}) ⇒ Response
Search ApprovalWorkflow.
-
#list_apps(opts = {}) ⇒ Response
Search Apps.
-
#list_auth_tokens(opts = {}) ⇒ Response
Search for Auth tokens.
-
#list_authentication_factor_settings(opts = {}) ⇒ Response
Search Authentication Factor Settings.
-
#list_branding_settings(opts = {}) ⇒ Response
Search Branding Settings.
-
#list_cloud_gate_mappings(opts = {}) ⇒ Response
Search Cloud Gate mappings.
-
#list_cloud_gate_servers(opts = {}) ⇒ Response
Search Cloud Gate servers.
-
#list_cloud_gates(opts = {}) ⇒ Response
Search Cloud Gates.
-
#list_conditions(opts = {}) ⇒ Response
Search Conditions.
-
#list_customer_secret_keys(opts = {}) ⇒ Response
Search for a user's customer secret keys.
-
#list_dynamic_resource_groups(opts = {}) ⇒ Response
Search for Dynamic Resource Groups.
-
#list_grants(opts = {}) ⇒ Response
Search Grants.
-
#list_groups(opts = {}) ⇒ Response
Search for groups.
-
#list_identity_providers(opts = {}) ⇒ Response
Search Identity Providers.
-
#list_identity_settings(opts = {}) ⇒ Response
Search for Identity settings.
-
#list_kmsi_settings(opts = {}) ⇒ Response
Search KmsiSettings.
-
#list_my_api_keys(opts = {}) ⇒ Response
Search for a user's own API key.
-
#list_my_apps(opts = {}) ⇒ Response
Search My Apps.
-
#list_my_auth_tokens(opts = {}) ⇒ Response
Search for a user's own Auth token.
-
#list_my_completed_approvals(opts = {}) ⇒ Response
Search My MyCompletedApproval.
-
#list_my_customer_secret_keys(opts = {}) ⇒ Response
Search for a user's own customer secret key.
-
#list_my_devices(opts = {}) ⇒ Response
Search Devices.
-
#list_my_groups(opts = {}) ⇒ Response
Search for 'My Groups'.
-
#list_my_o_auth2_client_credentials(opts = {}) ⇒ Response
Search for a user's own OAuth2 client credential.
-
#list_my_pending_approvals(opts = {}) ⇒ Response
Search My Approvals.
-
#list_my_requestable_groups(opts = {}) ⇒ Response
Search My Requestable Groups.
-
#list_my_requests(opts = {}) ⇒ Response
Search My Requests.
-
#list_my_smtp_credentials(opts = {}) ⇒ Response
Search for a user's own SMTP credential.
-
#list_my_support_accounts(opts = {}) ⇒ Response
Search for a user's own support account.
-
#list_my_trusted_user_agents(opts = {}) ⇒ Response
Search Trusted User Agents.
-
#list_my_user_db_credentials(opts = {}) ⇒ Response
Search for a user's own database (DB) credential.
-
#list_network_perimeters(opts = {}) ⇒ Response
Search NetworkPerimeters.
-
#list_notification_settings(opts = {}) ⇒ Response
Search Notification Settings.
-
#list_o_auth2_client_credentials(opts = {}) ⇒ Response
Search for a user's OAuth2 client credentials.
-
#list_o_auth_client_certificates(opts = {}) ⇒ Response
Search OAuth Client Certificates.
-
#list_o_auth_partner_certificates(opts = {}) ⇒ Response
Search OAuth Partner Certificates.
-
#list_password_policies(opts = {}) ⇒ Response
Search for password policies.
-
#list_policies(opts = {}) ⇒ Response
Search Policies.
-
#list_resource_type_schema_attributes(opts = {}) ⇒ Response
Search Resource Type Schema Attributes.
-
#list_rules(opts = {}) ⇒ Response
Search Rules.
-
#list_schemas(opts = {}) ⇒ Response
Search Schemas.
-
#list_security_question_settings(opts = {}) ⇒ Response
Search for security question settings.
-
#list_security_questions(opts = {}) ⇒ Response
Search for security questions.
-
#list_self_registration_profiles(opts = {}) ⇒ Response
Search for self-registration profiles.
-
#list_settings(opts = {}) ⇒ Response
Search Settings.
-
#list_smtp_credentials(opts = {}) ⇒ Response
Search for SMTP credentials.
-
#list_user_attributes_settings(opts = {}) ⇒ Response
Search User Schema Attribute Settings.
-
#list_user_db_credentials(opts = {}) ⇒ Response
Search for a user's database (DB) credentials.
-
#list_users(opts = {}) ⇒ Response
Search for users.
-
#logger ⇒ Logger
The logger for this client.
-
#patch_account_recovery_setting(account_recovery_setting_id, opts = {}) ⇒ Response
Update an account recovery setting.
-
#patch_api_key(api_key_id, opts = {}) ⇒ Response
Update a user's API key.
-
#patch_app(app_id, opts = {}) ⇒ Response
Update an App.
-
#patch_app_role(app_role_id, opts = {}) ⇒ Response
Update an AppRole.
-
#patch_approval_workflow(approval_workflow_id, opts = {}) ⇒ Response
Update ApprovalWorkflow.
-
#patch_approval_workflow_step(approval_workflow_step_id, opts = {}) ⇒ Response
Update ApprovalWorkflowStep.
-
#patch_auth_token(auth_token_id, opts = {}) ⇒ Response
Update a user's Auth token.
-
#patch_cloud_gate(cloud_gate_id, opts = {}) ⇒ Response
Update a Cloud Gate.
-
#patch_cloud_gate_mapping(cloud_gate_mapping_id, opts = {}) ⇒ Response
Update a Cloud Gate mapping.
-
#patch_cloud_gate_server(cloud_gate_server_id, opts = {}) ⇒ Response
Update a Cloud Gate server.
-
#patch_condition(condition_id, opts = {}) ⇒ Response
Update a Condition.
-
#patch_customer_secret_key(customer_secret_key_id, opts = {}) ⇒ Response
Update a user's customer secret key.
-
#patch_dynamic_resource_group(dynamic_resource_group_id, opts = {}) ⇒ Response
Update a Dynamic Resource Group.
-
#patch_grant(grant_id, opts = {}) ⇒ Response
Update a Grant.
-
#patch_group(group_id, opts = {}) ⇒ Response
Update a group.
-
#patch_identity_provider(identity_provider_id, opts = {}) ⇒ Response
Update an Identity Provider.
-
#patch_identity_setting(identity_setting_id, opts = {}) ⇒ Response
Update an Identity setting.
-
#patch_kmsi_setting(kmsi_setting_id, opts = {}) ⇒ Response
Update a Setting.
-
#patch_me(opts = {}) ⇒ Response
Update a user's own information.
-
#patch_my_api_key(my_api_key_id, opts = {}) ⇒ Response
Update a user's own API key.
-
#patch_my_auth_token(my_auth_token_id, opts = {}) ⇒ Response
Update a user's own Auth token.
-
#patch_my_customer_secret_key(my_customer_secret_key_id, opts = {}) ⇒ Response
Update a user's own customer secret key.
-
#patch_my_device(my_device_id, opts = {}) ⇒ Response
Update a Device.
-
#patch_my_o_auth2_client_credential(my_o_auth2_client_credential_id, opts = {}) ⇒ Response
Update a user's own OAuth2 client credential.
-
#patch_my_pending_approval(my_pending_approval_id, opts = {}) ⇒ Response
Update MyPendingApproval.
-
#patch_my_request(my_request_id, opts = {}) ⇒ Response
Update My Requests.
-
#patch_my_smtp_credential(my_smtp_credential_id, opts = {}) ⇒ Response
Update a user's own SMTP credential.
-
#patch_network_perimeter(network_perimeter_id, opts = {}) ⇒ Response
Update a NetworkPerimeter.
-
#patch_o_auth2_client_credential(o_auth2_client_credential_id, opts = {}) ⇒ Response
Update a user's OAuth2 client credentials.
-
#patch_password_policy(password_policy_id, opts = {}) ⇒ Response
Update a password policy.
-
#patch_policy(policy_id, opts = {}) ⇒ Response
Update a Policy.
-
#patch_rule(rule_id, opts = {}) ⇒ Response
Update a Rule.
-
#patch_schema(schema_id, opts = {}) ⇒ Response
Update a Schema Def.
-
#patch_security_question(security_question_id, opts = {}) ⇒ Response
Update a security question.
-
#patch_security_question_setting(security_question_setting_id, opts = {}) ⇒ Response
Update a security question setting.
-
#patch_self_registration_profile(self_registration_profile_id, opts = {}) ⇒ Response
Update a self-registration profile.
-
#patch_setting(setting_id, opts = {}) ⇒ Response
Update a Setting.
-
#patch_smtp_credential(smtp_credential_id, opts = {}) ⇒ Response
Update a user's SMTP credentials.
-
#patch_user(user_id, opts = {}) ⇒ Response
Update a user.
-
#patch_user_attributes_setting(user_attributes_setting_id, opts = {}) ⇒ Response
Update User Schema Attribute Settings.
-
#put_account_recovery_setting(account_recovery_setting_id, opts = {}) ⇒ Response
Replace an account recovery setting.
-
#put_app(app_id, opts = {}) ⇒ Response
Replace an App.
-
#put_app_status_changer(app_status_changer_id, opts = {}) ⇒ Response
Activate/Deactivate an App.
-
#put_approval_workflow(approval_workflow_id, opts = {}) ⇒ Response
Replace ApprovalWorkflow.
-
#put_authentication_factor_setting(authentication_factor_setting_id, opts = {}) ⇒ Response
Replace Authentication Factor Settings.
-
#put_cloud_gate(cloud_gate_id, opts = {}) ⇒ Response
Replace a Cloud Gate.
-
#put_cloud_gate_mapping(cloud_gate_mapping_id, opts = {}) ⇒ Response
Replace a Cloud Gate mapping.
-
#put_cloud_gate_server(cloud_gate_server_id, opts = {}) ⇒ Response
Replace a Cloud Gate server.
-
#put_condition(condition_id, opts = {}) ⇒ Response
Replace a Condition.
-
#put_dynamic_resource_group(dynamic_resource_group_id, opts = {}) ⇒ Response
Replace a Dynamic Resource Group.
-
#put_group(group_id, opts = {}) ⇒ Response
Replace a group.
-
#put_identity_provider(identity_provider_id, opts = {}) ⇒ Response
Replace an Identity Provider.
-
#put_identity_setting(identity_setting_id, opts = {}) ⇒ Response
Replace an Identity setting.
-
#put_kmsi_setting(kmsi_setting_id, opts = {}) ⇒ Response
Replace KmsiSettings.
-
#put_me(opts = {}) ⇒ Response
Replace a user's own information.
-
#put_me_password_changer(opts = {}) ⇒ Response
Update a user's own password.
-
#put_network_perimeter(network_perimeter_id, opts = {}) ⇒ Response
Replace a NetworkPerimeter.
-
#put_notification_setting(notification_setting_id, opts = {}) ⇒ Response
Replace Notification Settings.
-
#put_password_policy(password_policy_id, opts = {}) ⇒ Response
Replace a password policy.
-
#put_policy(policy_id, opts = {}) ⇒ Response
Replace a Policy.
-
#put_rule(rule_id, opts = {}) ⇒ Response
Replace a Rule.
-
#put_schema(schema_id, opts = {}) ⇒ Response
Replace a Schema Def.
-
#put_security_question_setting(security_question_setting_id, opts = {}) ⇒ Response
Replace a security question setting.
-
#put_self_registration_profile(self_registration_profile_id, opts = {}) ⇒ Response
Replace a self-registration profile.
-
#put_setting(setting_id, opts = {}) ⇒ Response
Replace Settings.
-
#put_user(user_id, opts = {}) ⇒ Response
Replace a user.
-
#put_user_capabilities_changer(user_capabilities_changer_id, opts = {}) ⇒ Response
Change a user's capabilities.
-
#put_user_password_changer(user_password_changer_id, opts = {}) ⇒ Response
Change a user's password to a known value.
-
#put_user_password_resetter(user_password_resetter_id, opts = {}) ⇒ Response
Reset a user's password to a randomly-generated value.
-
#put_user_status_changer(user_status_changer_id, opts = {}) ⇒ Response
Change a user's status.
-
#search_account_mgmt_infos(opts = {}) ⇒ Response
Search Account Mgmt Info Using POST.
-
#search_api_keys(opts = {}) ⇒ Response
Search for API keys using POST.
-
#search_app_roles(opts = {}) ⇒ Response
Search AppRoles Using POST.
-
#search_apps(opts = {}) ⇒ Response
Search Apps Using POST.
-
#search_auth_tokens(opts = {}) ⇒ Response
Search for Auth tokens using POST.
-
#search_authentication_factor_settings(opts = {}) ⇒ Response
Search Authentication Factor Settings Using POST.
-
#search_cloud_gate_mappings(opts = {}) ⇒ Response
Search Cloud Gate mappings Using POST.
-
#search_cloud_gate_servers(opts = {}) ⇒ Response
Search Cloud Gate servers Using POST.
-
#search_cloud_gates(opts = {}) ⇒ Response
Search Cloud Gates Using POST.
-
#search_conditions(opts = {}) ⇒ Response
Search Conditions Using POST.
-
#search_customer_secret_keys(opts = {}) ⇒ Response
Search for customer secret keys using POST.
-
#search_dynamic_resource_groups(opts = {}) ⇒ Response
Search for Dynamic Resource Groups using POST.
-
#search_grants(opts = {}) ⇒ Response
Search Grants Using POST.
-
#search_groups(opts = {}) ⇒ Response
Search for groups using POST.
-
#search_identity_providers(opts = {}) ⇒ Response
Search Identity Providers Using POST.
-
#search_identity_settings(opts = {}) ⇒ Response
Search for Identity settings using POST.
-
#search_kmsi_settings(opts = {}) ⇒ Response
Search KmsiSettings Using POST.
-
#search_my_apps(opts = {}) ⇒ Response
Search My Apps Using POST.
-
#search_my_groups(opts = {}) ⇒ Response
Search for 'My Groups' using POST.
-
#search_my_requestable_groups(opts = {}) ⇒ Response
Search My Requestable Groups Using POST.
-
#search_my_requests(opts = {}) ⇒ Response
Search My Requests Using POST.
-
#search_network_perimeters(opts = {}) ⇒ Response
Search NetworkPerimeters Using POST.
-
#search_notification_settings(opts = {}) ⇒ Response
Search Notification Settings Using POST.
-
#search_o_auth2_client_credentials(opts = {}) ⇒ Response
Search for OAuth2 client credentials using POST.
-
#search_o_auth_client_certificates(opts = {}) ⇒ Response
Search OAuth Client Certificates Using POST.
-
#search_o_auth_partner_certificates(opts = {}) ⇒ Response
Search OAuth Partner Certificates Using POST.
-
#search_password_policies(opts = {}) ⇒ Response
Search for password policies using POST.
-
#search_policies(opts = {}) ⇒ Response
Search Policies Using POST.
-
#search_resource_type_schema_attributes(opts = {}) ⇒ Response
Search Resource Type Schema Attributes Using POST.
-
#search_rules(opts = {}) ⇒ Response
Search Rules Using POST.
-
#search_schemas(opts = {}) ⇒ Response
Search Schemas Using POST.
-
#search_security_question_settings(opts = {}) ⇒ Response
Search for security question settings using POST.
-
#search_security_questions(opts = {}) ⇒ Response
Search for security questions using POST.
-
#search_self_registration_profiles(opts = {}) ⇒ Response
Search for self-registration profile using POST.
-
#search_settings(opts = {}) ⇒ Response
Search Settings Using POST.
-
#search_smtp_credentials(opts = {}) ⇒ Response
Search for SMTP credentials using POST.
-
#search_user_attributes_settings(opts = {}) ⇒ Response
Search User Schema Attribute Settings Using POST.
-
#search_user_db_credentials(opts = {}) ⇒ Response
Search for a user's database (DB) credentials using POST.
-
#search_users(opts = {}) ⇒ Response
Search for users using POST.
Constructor Details
#initialize(config: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil) ⇒ IdentityDomainsClient
Creates a new IdentityDomainsClient. Notes: If a config is not specified, then the global OCI.config will be used.
This client is not thread-safe
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 46 def initialize(config: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil) raise 'A fully qualified endpoint URL must be defined' unless endpoint @endpoint = endpoint + '' # If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers) # then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals # and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then # pass it to this constructor. # # If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid # so try and load the config from the default file. config = OCI::Config.validate_and_build_config_with_signer(config, signer) signer = OCI::Signer.config_file_auth_builder(config) if signer.nil? @api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings) @retry_config = retry_config logger.info "IdentityDomainsClient endpoint set to '#{@endpoint}'." if logger end |
Instance Attribute Details
#api_client ⇒ OCI::ApiClient (readonly)
Client used to make HTTP requests.
16 17 18 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 16 def api_client @api_client end |
#endpoint ⇒ String (readonly)
Fully qualified endpoint URL
20 21 22 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20 def endpoint @endpoint end |
#retry_config ⇒ OCI::Retry::RetryConfig (readonly)
The default retry configuration to apply to all operations in this service client. This can be overridden on a per-operation basis. The default retry configuration value is nil
, which means that an operation will not perform any retries
26 27 28 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 26 def retry_config @retry_config end |
Instance Method Details
#create_api_key(opts = {}) ⇒ Response
Click here to see an example of how to use create_api_key API.
Create a user's API key.
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 104 def create_api_key(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_api_key.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/ApiKeys' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:api_key]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_api_key') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApiKey' ) end # rubocop:enable Metrics/BlockLength end |
#create_app(opts = {}) ⇒ Response
Click here to see an example of how to use create_app API.
Create an App
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 189 def create_app(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_app.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Apps' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:app]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_app') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::App' ) end # rubocop:enable Metrics/BlockLength end |
#create_app_role(opts = {}) ⇒ Response
Click here to see an example of how to use create_app_role API.
Create an AppRole
274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 274 def create_app_role(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_app_role.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/AppRoles' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:app_role]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_app_role') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AppRole' ) end # rubocop:enable Metrics/BlockLength end |
#create_approval_workflow(opts = {}) ⇒ Response
Click here to see an example of how to use create_approval_workflow API.
Create ApprovalWorkflow
359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 359 def create_approval_workflow(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_approval_workflow.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/ApprovalWorkflows' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:approval_workflow]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_approval_workflow') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApprovalWorkflow' ) end # rubocop:enable Metrics/BlockLength end |
#create_approval_workflow_assignment(opts = {}) ⇒ Response
Click here to see an example of how to use create_approval_workflow_assignment API.
Create Approval Workflow Assignment
444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 444 def create_approval_workflow_assignment(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_approval_workflow_assignment.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/ApprovalWorkflowAssignments' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:approval_workflow_assignment]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_approval_workflow_assignment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApprovalWorkflowAssignment' ) end # rubocop:enable Metrics/BlockLength end |
#create_approval_workflow_step(opts = {}) ⇒ Response
Click here to see an example of how to use create_approval_workflow_step API.
Create ApprovalWorkflowStep
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 529 def create_approval_workflow_step(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_approval_workflow_step.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/ApprovalWorkflowSteps' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:approval_workflow_step]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_approval_workflow_step') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApprovalWorkflowStep' ) end # rubocop:enable Metrics/BlockLength end |
#create_auth_token(opts = {}) ⇒ Response
Click here to see an example of how to use create_auth_token API.
Create a user's Auth token.
614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 614 def create_auth_token(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_auth_token.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/AuthTokens' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:auth_token]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_auth_token') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AuthToken' ) end # rubocop:enable Metrics/BlockLength end |
#create_authentication_factors_remover(opts = {}) ⇒ Response
Click here to see an example of how to use create_authentication_factors_remover API.
Remove All Authentication Factor Channels for a User
696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 696 def create_authentication_factors_remover(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_authentication_factors_remover.' if logger path = '/admin/v1/AuthenticationFactorsRemover' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:authentication_factors_remover]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_authentication_factors_remover') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AuthenticationFactorsRemover' ) end # rubocop:enable Metrics/BlockLength end |
#create_cloud_gate(opts = {}) ⇒ Response
Click here to see an example of how to use create_cloud_gate API.
Create a Cloud Gate
769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 769 def create_cloud_gate(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_cloud_gate.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/CloudGates' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:cloud_gate]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_cloud_gate') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGate' ) end # rubocop:enable Metrics/BlockLength end |
#create_cloud_gate_mapping(opts = {}) ⇒ Response
Click here to see an example of how to use create_cloud_gate_mapping API.
Create a Cloud Gate mapping
854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 854 def create_cloud_gate_mapping(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_cloud_gate_mapping.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/CloudGateMappings' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:cloud_gate_mapping]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_cloud_gate_mapping') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGateMapping' ) end # rubocop:enable Metrics/BlockLength end |
#create_cloud_gate_server(opts = {}) ⇒ Response
Click here to see an example of how to use create_cloud_gate_server API.
Create a Cloud Gate server
939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 939 def create_cloud_gate_server(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_cloud_gate_server.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/CloudGateServers' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:cloud_gate_server]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_cloud_gate_server') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGateServer' ) end # rubocop:enable Metrics/BlockLength end |
#create_condition(opts = {}) ⇒ Response
Click here to see an example of how to use create_condition API.
Create a Condition
1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 1024 def create_condition(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_condition.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Conditions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:condition]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_condition') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Condition' ) end # rubocop:enable Metrics/BlockLength end |
#create_customer_secret_key(opts = {}) ⇒ Response
Click here to see an example of how to use create_customer_secret_key API.
Create a user's customer secret key.
1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 1109 def create_customer_secret_key(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_customer_secret_key.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/CustomerSecretKeys' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:customer_secret_key]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_customer_secret_key') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CustomerSecretKey' ) end # rubocop:enable Metrics/BlockLength end |
#create_dynamic_resource_group(opts = {}) ⇒ Response
Click here to see an example of how to use create_dynamic_resource_group API.
Create a Dynamic Resource Group.
1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 1194 def create_dynamic_resource_group(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_dynamic_resource_group.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/DynamicResourceGroups' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:dynamic_resource_group]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_dynamic_resource_group') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::DynamicResourceGroup' ) end # rubocop:enable Metrics/BlockLength end |
#create_grant(opts = {}) ⇒ Response
Click here to see an example of how to use create_grant API.
Add a Grantee to an AppRole
1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 1279 def create_grant(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_grant.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Grants' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:grant]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_grant') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Grant' ) end # rubocop:enable Metrics/BlockLength end |
#create_group(opts = {}) ⇒ Response
Click here to see an example of how to use create_group API.
Create a group.
1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 1364 def create_group(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_group.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Groups' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:group]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_group') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Group' ) end # rubocop:enable Metrics/BlockLength end |
#create_identity_provider(opts = {}) ⇒ Response
Click here to see an example of how to use create_identity_provider API.
Create an Identity Provider
1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 1449 def create_identity_provider(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_identity_provider.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/IdentityProviders' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:identity_provider]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_identity_provider') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::IdentityProvider' ) end # rubocop:enable Metrics/BlockLength end |
#create_me(opts = {}) ⇒ Response
Click here to see an example of how to use create_me API.
Self register a user.
1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 1534 def create_me(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_me.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Me' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:me]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_me') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Me' ) end # rubocop:enable Metrics/BlockLength end |
#create_my_api_key(opts = {}) ⇒ Response
Click here to see an example of how to use create_my_api_key API.
Add a user's own API key.
1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 1616 def create_my_api_key(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_my_api_key.' if logger path = '/admin/v1/MyApiKeys' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_api_key]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_my_api_key') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyApiKey' ) end # rubocop:enable Metrics/BlockLength end |
#create_my_auth_token(opts = {}) ⇒ Response
Click here to see an example of how to use create_my_auth_token API.
Create a user's own Auth token.
1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 1686 def create_my_auth_token(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_my_auth_token.' if logger path = '/admin/v1/MyAuthTokens' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_auth_token]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_my_auth_token') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyAuthToken' ) end # rubocop:enable Metrics/BlockLength end |
#create_my_authentication_factor_initiator(opts = {}) ⇒ Response
Click here to see an example of how to use create_my_authentication_factor_initiator API.
Initiate Self Service Enrollment using the Requested MFA Factor
1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 1756 def create_my_authentication_factor_initiator(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_my_authentication_factor_initiator.' if logger path = '/admin/v1/MyAuthenticationFactorInitiator' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_authentication_factor_initiator]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_my_authentication_factor_initiator') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyAuthenticationFactorInitiator' ) end # rubocop:enable Metrics/BlockLength end |
#create_my_authentication_factor_validator(opts = {}) ⇒ Response
Click here to see an example of how to use create_my_authentication_factor_validator API.
Validate Self Service Enrollment using the Requested MFA Factor
1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 1826 def create_my_authentication_factor_validator(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_my_authentication_factor_validator.' if logger path = '/admin/v1/MyAuthenticationFactorValidator' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_authentication_factor_validator]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_my_authentication_factor_validator') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyAuthenticationFactorValidator' ) end # rubocop:enable Metrics/BlockLength end |
#create_my_authentication_factors_remover(opts = {}) ⇒ Response
Click here to see an example of how to use create_my_authentication_factors_remover API.
Remove All Authentication Factor Channels for a User
1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 1896 def create_my_authentication_factors_remover(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_my_authentication_factors_remover.' if logger path = '/admin/v1/MyAuthenticationFactorsRemover' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_authentication_factors_remover]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_my_authentication_factors_remover') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyAuthenticationFactorsRemover' ) end # rubocop:enable Metrics/BlockLength end |
#create_my_customer_secret_key(opts = {}) ⇒ Response
Click here to see an example of how to use create_my_customer_secret_key API.
Add a user's own customer secret key.
1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 1966 def create_my_customer_secret_key(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_my_customer_secret_key.' if logger path = '/admin/v1/MyCustomerSecretKeys' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_customer_secret_key]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_my_customer_secret_key') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyCustomerSecretKey' ) end # rubocop:enable Metrics/BlockLength end |
#create_my_o_auth2_client_credential(opts = {}) ⇒ Response
Click here to see an example of how to use create_my_o_auth2_client_credential API.
Create a user's own OAuth2 client credential.
2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 2036 def create_my_o_auth2_client_credential(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_my_o_auth2_client_credential.' if logger path = '/admin/v1/MyOAuth2ClientCredentials' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_o_auth2_client_credential]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_my_o_auth2_client_credential') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyOAuth2ClientCredential' ) end # rubocop:enable Metrics/BlockLength end |
#create_my_request(opts = {}) ⇒ Response
Click here to see an example of how to use create_my_request API.
Create a Request
2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 2109 def create_my_request(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_my_request.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/MyRequests' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_my_request') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyRequest' ) end # rubocop:enable Metrics/BlockLength end |
#create_my_smtp_credential(opts = {}) ⇒ Response
Click here to see an example of how to use create_my_smtp_credential API.
Create a user's own SMTP credential.
2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 2191 def create_my_smtp_credential(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_my_smtp_credential.' if logger path = '/admin/v1/MySmtpCredentials' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_smtp_credential]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_my_smtp_credential') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MySmtpCredential' ) end # rubocop:enable Metrics/BlockLength end |
#create_my_support_account(opts = {}) ⇒ Response
Click here to see an example of how to use create_my_support_account API.
Create a user's own support account.
2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 2261 def create_my_support_account(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_my_support_account.' if logger path = '/admin/v1/MySupportAccounts' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_support_account]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_my_support_account') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MySupportAccount' ) end # rubocop:enable Metrics/BlockLength end |
#create_my_user_db_credential(opts = {}) ⇒ Response
Click here to see an example of how to use create_my_user_db_credential API.
Create a user's own database (DB) credential.
2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 2331 def create_my_user_db_credential(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_my_user_db_credential.' if logger path = '/admin/v1/MyUserDbCredentials' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_user_db_credential]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_my_user_db_credential') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyUserDbCredential' ) end # rubocop:enable Metrics/BlockLength end |
#create_network_perimeter(opts = {}) ⇒ Response
Click here to see an example of how to use create_network_perimeter API.
Create a NetworkPerimeter
2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 2404 def create_network_perimeter(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_network_perimeter.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/NetworkPerimeters' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:network_perimeter]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_network_perimeter') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::NetworkPerimeter' ) end # rubocop:enable Metrics/BlockLength end |
#create_o_auth2_client_credential(opts = {}) ⇒ Response
Click here to see an example of how to use create_o_auth2_client_credential API.
Add a user's OAuth2 client credentials.
2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 2489 def create_o_auth2_client_credential(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_o_auth2_client_credential.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/OAuth2ClientCredentials' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:o_auth2_client_credential]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_o_auth2_client_credential') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::OAuth2ClientCredential' ) end # rubocop:enable Metrics/BlockLength end |
#create_o_auth_client_certificate(opts = {}) ⇒ Response
Click here to see an example of how to use create_o_auth_client_certificate API.
Create an OAuth Client Certificate
2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 2571 def create_o_auth_client_certificate(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_o_auth_client_certificate.' if logger path = '/admin/v1/OAuthClientCertificates' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:o_auth_client_certificate]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_o_auth_client_certificate') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::OAuthClientCertificate' ) end # rubocop:enable Metrics/BlockLength end |
#create_o_auth_partner_certificate(opts = {}) ⇒ Response
Click here to see an example of how to use create_o_auth_partner_certificate API.
Create an OAuth Partner Certificate
2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 2641 def create_o_auth_partner_certificate(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_o_auth_partner_certificate.' if logger path = '/admin/v1/OAuthPartnerCertificates' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:o_auth_partner_certificate]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_o_auth_partner_certificate') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::OAuthPartnerCertificate' ) end # rubocop:enable Metrics/BlockLength end |
#create_password_policy(opts = {}) ⇒ Response
Click here to see an example of how to use create_password_policy API.
Create a password policy.
2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 2714 def create_password_policy(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_password_policy.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/PasswordPolicies' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:password_policy]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_password_policy') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::PasswordPolicy' ) end # rubocop:enable Metrics/BlockLength end |
#create_policy(opts = {}) ⇒ Response
Click here to see an example of how to use create_policy API.
Create a Policy
2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 2799 def create_policy(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_policy.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Policies' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:policy]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_policy') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Policy' ) end # rubocop:enable Metrics/BlockLength end |
#create_rule(opts = {}) ⇒ Response
Click here to see an example of how to use create_rule API.
Create a Rule
2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 2884 def create_rule(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_rule.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Rules' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:rule]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_rule') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Rule' ) end # rubocop:enable Metrics/BlockLength end |
#create_security_question(opts = {}) ⇒ Response
Click here to see an example of how to use create_security_question API.
Create a security question.
2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 2969 def create_security_question(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_security_question.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/SecurityQuestions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:security_question]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_security_question') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SecurityQuestion' ) end # rubocop:enable Metrics/BlockLength end |
#create_self_registration_profile(opts = {}) ⇒ Response
Click here to see an example of how to use create_self_registration_profile API.
Create a self-registration profile.
3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 3054 def create_self_registration_profile(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_self_registration_profile.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/SelfRegistrationProfiles' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:self_registration_profile]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_self_registration_profile') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SelfRegistrationProfile' ) end # rubocop:enable Metrics/BlockLength end |
#create_smtp_credential(opts = {}) ⇒ Response
Click here to see an example of how to use create_smtp_credential API.
Create a user's SMTP credentials.
3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 3139 def create_smtp_credential(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_smtp_credential.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/SmtpCredentials' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:smtp_credential]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_smtp_credential') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SmtpCredential' ) end # rubocop:enable Metrics/BlockLength end |
#create_user(opts = {}) ⇒ Response
Click here to see an example of how to use create_user API.
Create a user.
3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 3224 def create_user(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_user.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Users' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:user]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_user') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::User' ) end # rubocop:enable Metrics/BlockLength end |
#create_user_db_credential(opts = {}) ⇒ Response
Click here to see an example of how to use create_user_db_credential API.
Create a user's database (DB) credentials.
3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 3309 def create_user_db_credential(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#create_user_db_credential.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/UserDbCredentials' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:user_db_credential]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#create_user_db_credential') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::UserDbCredential' ) end # rubocop:enable Metrics/BlockLength end |
#delete_api_key(api_key_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_api_key API.
Delete a user's API key.
3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 3380 def delete_api_key(api_key_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_api_key.' if logger raise "Missing the required parameter 'api_key_id' when calling delete_api_key." if api_key_id.nil? raise "Parameter value for 'api_key_id' must not be blank" if OCI::Internal::Util.blank_string?(api_key_id) path = '/admin/v1/ApiKeys/{apiKeyId}'.sub('{apiKeyId}', api_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_api_key') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_app(app_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_app API.
Delete an App
3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 3442 def delete_app(app_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_app.' if logger raise "Missing the required parameter 'app_id' when calling delete_app." if app_id.nil? raise "Parameter value for 'app_id' must not be blank" if OCI::Internal::Util.blank_string?(app_id) path = '/admin/v1/Apps/{appId}'.sub('{appId}', app_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_app') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_app_role(app_role_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_app_role API.
Delete an AppRole
3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 3504 def delete_app_role(app_role_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_app_role.' if logger raise "Missing the required parameter 'app_role_id' when calling delete_app_role." if app_role_id.nil? raise "Parameter value for 'app_role_id' must not be blank" if OCI::Internal::Util.blank_string?(app_role_id) path = '/admin/v1/AppRoles/{appRoleId}'.sub('{appRoleId}', app_role_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_app_role') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_approval_workflow(approval_workflow_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_approval_workflow API.
Delete ApprovalWorkflow
3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 3566 def delete_approval_workflow(approval_workflow_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_approval_workflow.' if logger raise "Missing the required parameter 'approval_workflow_id' when calling delete_approval_workflow." if approval_workflow_id.nil? raise "Parameter value for 'approval_workflow_id' must not be blank" if OCI::Internal::Util.blank_string?(approval_workflow_id) path = '/admin/v1/ApprovalWorkflows/{approvalWorkflowId}'.sub('{approvalWorkflowId}', approval_workflow_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_approval_workflow') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_approval_workflow_assignment(approval_workflow_assignment_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_approval_workflow_assignment API.
Delete Approval Workflow Assignment
3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 3628 def delete_approval_workflow_assignment(approval_workflow_assignment_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_approval_workflow_assignment.' if logger raise "Missing the required parameter 'approval_workflow_assignment_id' when calling delete_approval_workflow_assignment." if approval_workflow_assignment_id.nil? raise "Parameter value for 'approval_workflow_assignment_id' must not be blank" if OCI::Internal::Util.blank_string?(approval_workflow_assignment_id) path = '/admin/v1/ApprovalWorkflowAssignments/{approvalWorkflowAssignmentId}'.sub('{approvalWorkflowAssignmentId}', approval_workflow_assignment_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_approval_workflow_assignment') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_approval_workflow_step(approval_workflow_step_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_approval_workflow_step API.
Delete ApprovalWorkflowStep
3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 3690 def delete_approval_workflow_step(approval_workflow_step_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_approval_workflow_step.' if logger raise "Missing the required parameter 'approval_workflow_step_id' when calling delete_approval_workflow_step." if approval_workflow_step_id.nil? raise "Parameter value for 'approval_workflow_step_id' must not be blank" if OCI::Internal::Util.blank_string?(approval_workflow_step_id) path = '/admin/v1/ApprovalWorkflowSteps/{approvalWorkflowStepId}'.sub('{approvalWorkflowStepId}', approval_workflow_step_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_approval_workflow_step') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_auth_token(auth_token_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_auth_token API.
Delete a user's Auth token.
3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 3752 def delete_auth_token(auth_token_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_auth_token.' if logger raise "Missing the required parameter 'auth_token_id' when calling delete_auth_token." if auth_token_id.nil? raise "Parameter value for 'auth_token_id' must not be blank" if OCI::Internal::Util.blank_string?(auth_token_id) path = '/admin/v1/AuthTokens/{authTokenId}'.sub('{authTokenId}', auth_token_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_auth_token') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_cloud_gate(cloud_gate_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_cloud_gate API.
Delete a Cloud Gate
3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 3814 def delete_cloud_gate(cloud_gate_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_cloud_gate.' if logger raise "Missing the required parameter 'cloud_gate_id' when calling delete_cloud_gate." if cloud_gate_id.nil? raise "Parameter value for 'cloud_gate_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_gate_id) path = '/admin/v1/CloudGates/{cloudGateId}'.sub('{cloudGateId}', cloud_gate_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_cloud_gate') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_cloud_gate_mapping(cloud_gate_mapping_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_cloud_gate_mapping API.
Delete a Cloud Gate mapping
3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 3876 def delete_cloud_gate_mapping(cloud_gate_mapping_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_cloud_gate_mapping.' if logger raise "Missing the required parameter 'cloud_gate_mapping_id' when calling delete_cloud_gate_mapping." if cloud_gate_mapping_id.nil? raise "Parameter value for 'cloud_gate_mapping_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_gate_mapping_id) path = '/admin/v1/CloudGateMappings/{cloudGateMappingId}'.sub('{cloudGateMappingId}', cloud_gate_mapping_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_cloud_gate_mapping') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_cloud_gate_server(cloud_gate_server_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_cloud_gate_server API.
Delete a Cloud Gate server
3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 3938 def delete_cloud_gate_server(cloud_gate_server_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_cloud_gate_server.' if logger raise "Missing the required parameter 'cloud_gate_server_id' when calling delete_cloud_gate_server." if cloud_gate_server_id.nil? raise "Parameter value for 'cloud_gate_server_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_gate_server_id) path = '/admin/v1/CloudGateServers/{cloudGateServerId}'.sub('{cloudGateServerId}', cloud_gate_server_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_cloud_gate_server') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_condition(condition_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_condition API.
Delete a Condition
4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4000 def delete_condition(condition_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_condition.' if logger raise "Missing the required parameter 'condition_id' when calling delete_condition." if condition_id.nil? raise "Parameter value for 'condition_id' must not be blank" if OCI::Internal::Util.blank_string?(condition_id) path = '/admin/v1/Conditions/{conditionId}'.sub('{conditionId}', condition_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_condition') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_customer_secret_key(customer_secret_key_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_customer_secret_key API.
Delete a user's customer secret key.
4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4062 def delete_customer_secret_key(customer_secret_key_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_customer_secret_key.' if logger raise "Missing the required parameter 'customer_secret_key_id' when calling delete_customer_secret_key." if customer_secret_key_id.nil? raise "Parameter value for 'customer_secret_key_id' must not be blank" if OCI::Internal::Util.blank_string?(customer_secret_key_id) path = '/admin/v1/CustomerSecretKeys/{customerSecretKeyId}'.sub('{customerSecretKeyId}', customer_secret_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_customer_secret_key') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_dynamic_resource_group(dynamic_resource_group_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_dynamic_resource_group API.
Delete a Dynamic Resource Group.
4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4124 def delete_dynamic_resource_group(dynamic_resource_group_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_dynamic_resource_group.' if logger raise "Missing the required parameter 'dynamic_resource_group_id' when calling delete_dynamic_resource_group." if dynamic_resource_group_id.nil? raise "Parameter value for 'dynamic_resource_group_id' must not be blank" if OCI::Internal::Util.blank_string?(dynamic_resource_group_id) path = '/admin/v1/DynamicResourceGroups/{dynamicResourceGroupId}'.sub('{dynamicResourceGroupId}', dynamic_resource_group_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_dynamic_resource_group') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_grant(grant_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_grant API.
Remove a Grantee from an AppRole
4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4186 def delete_grant(grant_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_grant.' if logger raise "Missing the required parameter 'grant_id' when calling delete_grant." if grant_id.nil? raise "Parameter value for 'grant_id' must not be blank" if OCI::Internal::Util.blank_string?(grant_id) path = '/admin/v1/Grants/{grantId}'.sub('{grantId}', grant_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_grant') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_group(group_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_group API.
Delete a group.
4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4248 def delete_group(group_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_group.' if logger raise "Missing the required parameter 'group_id' when calling delete_group." if group_id.nil? raise "Parameter value for 'group_id' must not be blank" if OCI::Internal::Util.blank_string?(group_id) path = '/admin/v1/Groups/{groupId}'.sub('{groupId}', group_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_group') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_identity_provider(identity_provider_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_identity_provider API.
Delete an Identity Provider
4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4310 def delete_identity_provider(identity_provider_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_identity_provider.' if logger raise "Missing the required parameter 'identity_provider_id' when calling delete_identity_provider." if identity_provider_id.nil? raise "Parameter value for 'identity_provider_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_provider_id) path = '/admin/v1/IdentityProviders/{identityProviderId}'.sub('{identityProviderId}', identity_provider_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_identity_provider') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_my_api_key(my_api_key_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_my_api_key API.
Delete a user's own API key.
4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4372 def delete_my_api_key(my_api_key_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_my_api_key.' if logger raise "Missing the required parameter 'my_api_key_id' when calling delete_my_api_key." if my_api_key_id.nil? raise "Parameter value for 'my_api_key_id' must not be blank" if OCI::Internal::Util.blank_string?(my_api_key_id) path = '/admin/v1/MyApiKeys/{myApiKeyId}'.sub('{myApiKeyId}', my_api_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_my_api_key') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_my_auth_token(my_auth_token_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_my_auth_token API.
Delete a user's own Auth token.
4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4434 def delete_my_auth_token(my_auth_token_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_my_auth_token.' if logger raise "Missing the required parameter 'my_auth_token_id' when calling delete_my_auth_token." if my_auth_token_id.nil? raise "Parameter value for 'my_auth_token_id' must not be blank" if OCI::Internal::Util.blank_string?(my_auth_token_id) path = '/admin/v1/MyAuthTokens/{myAuthTokenId}'.sub('{myAuthTokenId}', my_auth_token_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_my_auth_token') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_my_customer_secret_key(my_customer_secret_key_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_my_customer_secret_key API.
Delete a user's own customer secret key.
4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4496 def delete_my_customer_secret_key(my_customer_secret_key_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_my_customer_secret_key.' if logger raise "Missing the required parameter 'my_customer_secret_key_id' when calling delete_my_customer_secret_key." if my_customer_secret_key_id.nil? raise "Parameter value for 'my_customer_secret_key_id' must not be blank" if OCI::Internal::Util.blank_string?(my_customer_secret_key_id) path = '/admin/v1/MyCustomerSecretKeys/{myCustomerSecretKeyId}'.sub('{myCustomerSecretKeyId}', my_customer_secret_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_my_customer_secret_key') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_my_device(my_device_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_my_device API.
Delete a Device
4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4558 def delete_my_device(my_device_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_my_device.' if logger raise "Missing the required parameter 'my_device_id' when calling delete_my_device." if my_device_id.nil? raise "Parameter value for 'my_device_id' must not be blank" if OCI::Internal::Util.blank_string?(my_device_id) path = '/admin/v1/MyDevices/{myDeviceId}'.sub('{myDeviceId}', my_device_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_my_device') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_my_o_auth2_client_credential(my_o_auth2_client_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_my_o_auth2_client_credential API.
Delete a user's own OAuth2 client credential.
4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4620 def delete_my_o_auth2_client_credential(my_o_auth2_client_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_my_o_auth2_client_credential.' if logger raise "Missing the required parameter 'my_o_auth2_client_credential_id' when calling delete_my_o_auth2_client_credential." if my_o_auth2_client_credential_id.nil? raise "Parameter value for 'my_o_auth2_client_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(my_o_auth2_client_credential_id) path = '/admin/v1/MyOAuth2ClientCredentials/{myOAuth2ClientCredentialId}'.sub('{myOAuth2ClientCredentialId}', my_o_auth2_client_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_my_o_auth2_client_credential') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_my_smtp_credential(my_smtp_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_my_smtp_credential API.
Delete a user's own SMTP credential.
4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4682 def delete_my_smtp_credential(my_smtp_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_my_smtp_credential.' if logger raise "Missing the required parameter 'my_smtp_credential_id' when calling delete_my_smtp_credential." if my_smtp_credential_id.nil? raise "Parameter value for 'my_smtp_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(my_smtp_credential_id) path = '/admin/v1/MySmtpCredentials/{mySmtpCredentialId}'.sub('{mySmtpCredentialId}', my_smtp_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_my_smtp_credential') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_my_support_account(my_support_account_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_my_support_account API.
Delete a user's own support account.
4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4744 def delete_my_support_account(my_support_account_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_my_support_account.' if logger raise "Missing the required parameter 'my_support_account_id' when calling delete_my_support_account." if my_support_account_id.nil? raise "Parameter value for 'my_support_account_id' must not be blank" if OCI::Internal::Util.blank_string?(my_support_account_id) path = '/admin/v1/MySupportAccounts/{mySupportAccountId}'.sub('{mySupportAccountId}', my_support_account_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_my_support_account') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_my_trusted_user_agent(my_trusted_user_agent_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_my_trusted_user_agent API.
Delete a Trusted User Agent
4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4806 def delete_my_trusted_user_agent(my_trusted_user_agent_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_my_trusted_user_agent.' if logger raise "Missing the required parameter 'my_trusted_user_agent_id' when calling delete_my_trusted_user_agent." if my_trusted_user_agent_id.nil? raise "Parameter value for 'my_trusted_user_agent_id' must not be blank" if OCI::Internal::Util.blank_string?(my_trusted_user_agent_id) path = '/admin/v1/MyTrustedUserAgents/{myTrustedUserAgentId}'.sub('{myTrustedUserAgentId}', my_trusted_user_agent_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_my_trusted_user_agent') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_my_user_db_credential(my_user_db_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_my_user_db_credential API.
Delete a user's own database (DB) credential.
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4868 def delete_my_user_db_credential(my_user_db_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_my_user_db_credential.' if logger raise "Missing the required parameter 'my_user_db_credential_id' when calling delete_my_user_db_credential." if my_user_db_credential_id.nil? raise "Parameter value for 'my_user_db_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(my_user_db_credential_id) path = '/admin/v1/MyUserDbCredentials/{myUserDbCredentialId}'.sub('{myUserDbCredentialId}', my_user_db_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_my_user_db_credential') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_network_perimeter(network_perimeter_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_network_perimeter API.
Delete a NetworkPerimeter
4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4930 def delete_network_perimeter(network_perimeter_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_network_perimeter.' if logger raise "Missing the required parameter 'network_perimeter_id' when calling delete_network_perimeter." if network_perimeter_id.nil? raise "Parameter value for 'network_perimeter_id' must not be blank" if OCI::Internal::Util.blank_string?(network_perimeter_id) path = '/admin/v1/NetworkPerimeters/{networkPerimeterId}'.sub('{networkPerimeterId}', network_perimeter_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_network_perimeter') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_o_auth2_client_credential(o_auth2_client_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_o_auth2_client_credential API.
Delete a user's OAuth2 client credentials.
4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 4992 def delete_o_auth2_client_credential(o_auth2_client_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_o_auth2_client_credential.' if logger raise "Missing the required parameter 'o_auth2_client_credential_id' when calling delete_o_auth2_client_credential." if o_auth2_client_credential_id.nil? raise "Parameter value for 'o_auth2_client_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(o_auth2_client_credential_id) path = '/admin/v1/OAuth2ClientCredentials/{oAuth2ClientCredentialId}'.sub('{oAuth2ClientCredentialId}', o_auth2_client_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_o_auth2_client_credential') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_o_auth_client_certificate(o_auth_client_certificate_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_o_auth_client_certificate API.
Delete an OAuth Client Certificate
5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5054 def delete_o_auth_client_certificate(o_auth_client_certificate_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_o_auth_client_certificate.' if logger raise "Missing the required parameter 'o_auth_client_certificate_id' when calling delete_o_auth_client_certificate." if o_auth_client_certificate_id.nil? raise "Parameter value for 'o_auth_client_certificate_id' must not be blank" if OCI::Internal::Util.blank_string?(o_auth_client_certificate_id) path = '/admin/v1/OAuthClientCertificates/{oAuthClientCertificateId}'.sub('{oAuthClientCertificateId}', o_auth_client_certificate_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_o_auth_client_certificate') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_o_auth_partner_certificate(o_auth_partner_certificate_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_o_auth_partner_certificate API.
Delete an OAuth Partner Certificate
5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5116 def delete_o_auth_partner_certificate(o_auth_partner_certificate_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_o_auth_partner_certificate.' if logger raise "Missing the required parameter 'o_auth_partner_certificate_id' when calling delete_o_auth_partner_certificate." if o_auth_partner_certificate_id.nil? raise "Parameter value for 'o_auth_partner_certificate_id' must not be blank" if OCI::Internal::Util.blank_string?(o_auth_partner_certificate_id) path = '/admin/v1/OAuthPartnerCertificates/{oAuthPartnerCertificateId}'.sub('{oAuthPartnerCertificateId}', o_auth_partner_certificate_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_o_auth_partner_certificate') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_password_policy(password_policy_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_password_policy API.
Delete a password policy.
5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5178 def delete_password_policy(password_policy_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_password_policy.' if logger raise "Missing the required parameter 'password_policy_id' when calling delete_password_policy." if password_policy_id.nil? raise "Parameter value for 'password_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(password_policy_id) path = '/admin/v1/PasswordPolicies/{passwordPolicyId}'.sub('{passwordPolicyId}', password_policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_password_policy') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_policy(policy_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_policy API.
Delete a Policy
5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5240 def delete_policy(policy_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_policy.' if logger raise "Missing the required parameter 'policy_id' when calling delete_policy." if policy_id.nil? raise "Parameter value for 'policy_id' must not be blank" if OCI::Internal::Util.blank_string?(policy_id) path = '/admin/v1/Policies/{policyId}'.sub('{policyId}', policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_policy') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_rule(rule_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_rule API.
Delete a Rule
5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5302 def delete_rule(rule_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_rule.' if logger raise "Missing the required parameter 'rule_id' when calling delete_rule." if rule_id.nil? raise "Parameter value for 'rule_id' must not be blank" if OCI::Internal::Util.blank_string?(rule_id) path = '/admin/v1/Rules/{ruleId}'.sub('{ruleId}', rule_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_rule') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_security_question(security_question_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_security_question API.
Delete a security question.
5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5364 def delete_security_question(security_question_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_security_question.' if logger raise "Missing the required parameter 'security_question_id' when calling delete_security_question." if security_question_id.nil? raise "Parameter value for 'security_question_id' must not be blank" if OCI::Internal::Util.blank_string?(security_question_id) path = '/admin/v1/SecurityQuestions/{securityQuestionId}'.sub('{securityQuestionId}', security_question_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_security_question') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_self_registration_profile(self_registration_profile_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_self_registration_profile API.
Delete a self-registration profile.
5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5426 def delete_self_registration_profile(self_registration_profile_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_self_registration_profile.' if logger raise "Missing the required parameter 'self_registration_profile_id' when calling delete_self_registration_profile." if self_registration_profile_id.nil? raise "Parameter value for 'self_registration_profile_id' must not be blank" if OCI::Internal::Util.blank_string?(self_registration_profile_id) path = '/admin/v1/SelfRegistrationProfiles/{selfRegistrationProfileId}'.sub('{selfRegistrationProfileId}', self_registration_profile_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_self_registration_profile') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_smtp_credential(smtp_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_smtp_credential API.
Delete a user's SMTP credentials.
5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5488 def delete_smtp_credential(smtp_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_smtp_credential.' if logger raise "Missing the required parameter 'smtp_credential_id' when calling delete_smtp_credential." if smtp_credential_id.nil? raise "Parameter value for 'smtp_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(smtp_credential_id) path = '/admin/v1/SmtpCredentials/{smtpCredentialId}'.sub('{smtpCredentialId}', smtp_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_smtp_credential') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_user(user_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_user API.
Delete a user.
5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5550 def delete_user(user_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_user.' if logger raise "Missing the required parameter 'user_id' when calling delete_user." if user_id.nil? raise "Parameter value for 'user_id' must not be blank" if OCI::Internal::Util.blank_string?(user_id) path = '/admin/v1/Users/{userId}'.sub('{userId}', user_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_user') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_user_db_credential(user_db_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_user_db_credential API.
Delete a user's database (DB) credentials.
5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5612 def delete_user_db_credential(user_db_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#delete_user_db_credential.' if logger raise "Missing the required parameter 'user_db_credential_id' when calling delete_user_db_credential." if user_db_credential_id.nil? raise "Parameter value for 'user_db_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(user_db_credential_id) path = '/admin/v1/UserDbCredentials/{userDbCredentialId}'.sub('{userDbCredentialId}', user_db_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:forceDelete] = opts[:force_delete] if !opts[:force_delete].nil? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#delete_user_db_credential') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#get_account_mgmt_info(account_mgmt_info_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_account_mgmt_info API.
Get Account Mgmt Info
5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5675 def get_account_mgmt_info(account_mgmt_info_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_account_mgmt_info.' if logger raise "Missing the required parameter 'account_mgmt_info_id' when calling get_account_mgmt_info." if account_mgmt_info_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'account_mgmt_info_id' must not be blank" if OCI::Internal::Util.blank_string?(account_mgmt_info_id) path = '/admin/v1/AccountMgmtInfos/{accountMgmtInfoId}'.sub('{accountMgmtInfoId}', account_mgmt_info_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_account_mgmt_info') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AccountMgmtInfo' ) end # rubocop:enable Metrics/BlockLength end |
#get_account_recovery_setting(account_recovery_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_account_recovery_setting API.
Get an account recovery setting.
5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5749 def get_account_recovery_setting(account_recovery_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_account_recovery_setting.' if logger raise "Missing the required parameter 'account_recovery_setting_id' when calling get_account_recovery_setting." if account_recovery_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'account_recovery_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(account_recovery_setting_id) path = '/admin/v1/AccountRecoverySettings/{accountRecoverySettingId}'.sub('{accountRecoverySettingId}', account_recovery_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_account_recovery_setting') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AccountRecoverySetting' ) end # rubocop:enable Metrics/BlockLength end |
#get_api_key(api_key_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_api_key API.
Get a user's API key.
5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5823 def get_api_key(api_key_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_api_key.' if logger raise "Missing the required parameter 'api_key_id' when calling get_api_key." if api_key_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'api_key_id' must not be blank" if OCI::Internal::Util.blank_string?(api_key_id) path = '/admin/v1/ApiKeys/{apiKeyId}'.sub('{apiKeyId}', api_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_api_key') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApiKey' ) end # rubocop:enable Metrics/BlockLength end |
#get_app(app_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_app API.
Get an App
5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5897 def get_app(app_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_app.' if logger raise "Missing the required parameter 'app_id' when calling get_app." if app_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'app_id' must not be blank" if OCI::Internal::Util.blank_string?(app_id) path = '/admin/v1/Apps/{appId}'.sub('{appId}', app_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_app') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::App' ) end # rubocop:enable Metrics/BlockLength end |
#get_app_role(app_role_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_app_role API.
Get an AppRole
5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 5971 def get_app_role(app_role_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_app_role.' if logger raise "Missing the required parameter 'app_role_id' when calling get_app_role." if app_role_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'app_role_id' must not be blank" if OCI::Internal::Util.blank_string?(app_role_id) path = '/admin/v1/AppRoles/{appRoleId}'.sub('{appRoleId}', app_role_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_app_role') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AppRole' ) end # rubocop:enable Metrics/BlockLength end |
#get_approval_workflow(approval_workflow_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_approval_workflow API.
Get ApprovalWorkflow
6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 6045 def get_approval_workflow(approval_workflow_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_approval_workflow.' if logger raise "Missing the required parameter 'approval_workflow_id' when calling get_approval_workflow." if approval_workflow_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'approval_workflow_id' must not be blank" if OCI::Internal::Util.blank_string?(approval_workflow_id) path = '/admin/v1/ApprovalWorkflows/{approvalWorkflowId}'.sub('{approvalWorkflowId}', approval_workflow_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_approval_workflow') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApprovalWorkflow' ) end # rubocop:enable Metrics/BlockLength end |
#get_approval_workflow_assignment(approval_workflow_assignment_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_approval_workflow_assignment API.
Get an Approval Workflow Assignment
6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 6119 def get_approval_workflow_assignment(approval_workflow_assignment_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_approval_workflow_assignment.' if logger raise "Missing the required parameter 'approval_workflow_assignment_id' when calling get_approval_workflow_assignment." if approval_workflow_assignment_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'approval_workflow_assignment_id' must not be blank" if OCI::Internal::Util.blank_string?(approval_workflow_assignment_id) path = '/admin/v1/ApprovalWorkflowAssignments/{approvalWorkflowAssignmentId}'.sub('{approvalWorkflowAssignmentId}', approval_workflow_assignment_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_approval_workflow_assignment') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApprovalWorkflowAssignment' ) end # rubocop:enable Metrics/BlockLength end |
#get_approval_workflow_step(approval_workflow_step_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_approval_workflow_step API.
Get ApprovalWorkflowStep
6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 6193 def get_approval_workflow_step(approval_workflow_step_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_approval_workflow_step.' if logger raise "Missing the required parameter 'approval_workflow_step_id' when calling get_approval_workflow_step." if approval_workflow_step_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'approval_workflow_step_id' must not be blank" if OCI::Internal::Util.blank_string?(approval_workflow_step_id) path = '/admin/v1/ApprovalWorkflowSteps/{approvalWorkflowStepId}'.sub('{approvalWorkflowStepId}', approval_workflow_step_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_approval_workflow_step') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApprovalWorkflowStep' ) end # rubocop:enable Metrics/BlockLength end |
#get_auth_token(auth_token_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_auth_token API.
Get a user's Auth token.
6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 6267 def get_auth_token(auth_token_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_auth_token.' if logger raise "Missing the required parameter 'auth_token_id' when calling get_auth_token." if auth_token_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'auth_token_id' must not be blank" if OCI::Internal::Util.blank_string?(auth_token_id) path = '/admin/v1/AuthTokens/{authTokenId}'.sub('{authTokenId}', auth_token_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_auth_token') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AuthToken' ) end # rubocop:enable Metrics/BlockLength end |
#get_authentication_factor_setting(authentication_factor_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_authentication_factor_setting API.
Get Authentication Factor Settings
6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 6341 def get_authentication_factor_setting(authentication_factor_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_authentication_factor_setting.' if logger raise "Missing the required parameter 'authentication_factor_setting_id' when calling get_authentication_factor_setting." if authentication_factor_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'authentication_factor_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(authentication_factor_setting_id) path = '/admin/v1/AuthenticationFactorSettings/{authenticationFactorSettingId}'.sub('{authenticationFactorSettingId}', authentication_factor_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_authentication_factor_setting') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AuthenticationFactorSetting' ) end # rubocop:enable Metrics/BlockLength end |
#get_branding_setting(branding_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_branding_setting API.
Get Branding Settings
6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 6415 def get_branding_setting(branding_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_branding_setting.' if logger raise "Missing the required parameter 'branding_setting_id' when calling get_branding_setting." if branding_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'branding_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(branding_setting_id) path = '/admin/v1/BrandingSettings/{brandingSettingId}'.sub('{brandingSettingId}', branding_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_branding_setting') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::BrandingSetting' ) end # rubocop:enable Metrics/BlockLength end |
#get_cloud_gate(cloud_gate_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_cloud_gate API.
Get a Cloud Gate
6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 6489 def get_cloud_gate(cloud_gate_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_cloud_gate.' if logger raise "Missing the required parameter 'cloud_gate_id' when calling get_cloud_gate." if cloud_gate_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'cloud_gate_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_gate_id) path = '/admin/v1/CloudGates/{cloudGateId}'.sub('{cloudGateId}', cloud_gate_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_cloud_gate') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGate' ) end # rubocop:enable Metrics/BlockLength end |
#get_cloud_gate_mapping(cloud_gate_mapping_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_cloud_gate_mapping API.
Get a Cloud Gate mapping
6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 6563 def get_cloud_gate_mapping(cloud_gate_mapping_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_cloud_gate_mapping.' if logger raise "Missing the required parameter 'cloud_gate_mapping_id' when calling get_cloud_gate_mapping." if cloud_gate_mapping_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'cloud_gate_mapping_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_gate_mapping_id) path = '/admin/v1/CloudGateMappings/{cloudGateMappingId}'.sub('{cloudGateMappingId}', cloud_gate_mapping_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_cloud_gate_mapping') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGateMapping' ) end # rubocop:enable Metrics/BlockLength end |
#get_cloud_gate_server(cloud_gate_server_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_cloud_gate_server API.
Get a Cloud Gate server
6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 6637 def get_cloud_gate_server(cloud_gate_server_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_cloud_gate_server.' if logger raise "Missing the required parameter 'cloud_gate_server_id' when calling get_cloud_gate_server." if cloud_gate_server_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'cloud_gate_server_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_gate_server_id) path = '/admin/v1/CloudGateServers/{cloudGateServerId}'.sub('{cloudGateServerId}', cloud_gate_server_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_cloud_gate_server') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGateServer' ) end # rubocop:enable Metrics/BlockLength end |
#get_condition(condition_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_condition API.
Get a Condition
6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 6711 def get_condition(condition_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_condition.' if logger raise "Missing the required parameter 'condition_id' when calling get_condition." if condition_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'condition_id' must not be blank" if OCI::Internal::Util.blank_string?(condition_id) path = '/admin/v1/Conditions/{conditionId}'.sub('{conditionId}', condition_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_condition') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Condition' ) end # rubocop:enable Metrics/BlockLength end |
#get_customer_secret_key(customer_secret_key_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_customer_secret_key API.
Get a user's customer secret key.
6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 6785 def get_customer_secret_key(customer_secret_key_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_customer_secret_key.' if logger raise "Missing the required parameter 'customer_secret_key_id' when calling get_customer_secret_key." if customer_secret_key_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'customer_secret_key_id' must not be blank" if OCI::Internal::Util.blank_string?(customer_secret_key_id) path = '/admin/v1/CustomerSecretKeys/{customerSecretKeyId}'.sub('{customerSecretKeyId}', customer_secret_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_customer_secret_key') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CustomerSecretKey' ) end # rubocop:enable Metrics/BlockLength end |
#get_dynamic_resource_group(dynamic_resource_group_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_dynamic_resource_group API.
Get a Dynamic Resource Group.
6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 6859 def get_dynamic_resource_group(dynamic_resource_group_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_dynamic_resource_group.' if logger raise "Missing the required parameter 'dynamic_resource_group_id' when calling get_dynamic_resource_group." if dynamic_resource_group_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'dynamic_resource_group_id' must not be blank" if OCI::Internal::Util.blank_string?(dynamic_resource_group_id) path = '/admin/v1/DynamicResourceGroups/{dynamicResourceGroupId}'.sub('{dynamicResourceGroupId}', dynamic_resource_group_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_dynamic_resource_group') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::DynamicResourceGroup' ) end # rubocop:enable Metrics/BlockLength end |
#get_grant(grant_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_grant API.
Get a Grant
6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 6933 def get_grant(grant_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_grant.' if logger raise "Missing the required parameter 'grant_id' when calling get_grant." if grant_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'grant_id' must not be blank" if OCI::Internal::Util.blank_string?(grant_id) path = '/admin/v1/Grants/{grantId}'.sub('{grantId}', grant_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_grant') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Grant' ) end # rubocop:enable Metrics/BlockLength end |
#get_group(group_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_group API.
Get a group. Important: The Group SEARCH and GET operations on users and members will throw an exception if the response has more than 10,000 members. To avoid the exception, use the pagination filter to GET or SEARCH group members.
7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7007 def get_group(group_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_group.' if logger raise "Missing the required parameter 'group_id' when calling get_group." if group_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'group_id' must not be blank" if OCI::Internal::Util.blank_string?(group_id) path = '/admin/v1/Groups/{groupId}'.sub('{groupId}', group_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_group') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Group' ) end # rubocop:enable Metrics/BlockLength end |
#get_identity_provider(identity_provider_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_identity_provider API.
Get an Identity Provider
7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7081 def get_identity_provider(identity_provider_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_identity_provider.' if logger raise "Missing the required parameter 'identity_provider_id' when calling get_identity_provider." if identity_provider_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'identity_provider_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_provider_id) path = '/admin/v1/IdentityProviders/{identityProviderId}'.sub('{identityProviderId}', identity_provider_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_identity_provider') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::IdentityProvider' ) end # rubocop:enable Metrics/BlockLength end |
#get_identity_setting(identity_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_identity_setting API.
Get an Identity setting.
7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7155 def get_identity_setting(identity_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_identity_setting.' if logger raise "Missing the required parameter 'identity_setting_id' when calling get_identity_setting." if identity_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'identity_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_setting_id) path = '/admin/v1/IdentitySettings/{identitySettingId}'.sub('{identitySettingId}', identity_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_identity_setting') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::IdentitySetting' ) end # rubocop:enable Metrics/BlockLength end |
#get_kmsi_setting(kmsi_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_kmsi_setting API.
Get KmsiSettings
7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7229 def get_kmsi_setting(kmsi_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_kmsi_setting.' if logger raise "Missing the required parameter 'kmsi_setting_id' when calling get_kmsi_setting." if kmsi_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'kmsi_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(kmsi_setting_id) path = '/admin/v1/KmsiSettings/{kmsiSettingId}'.sub('{kmsiSettingId}', kmsi_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_kmsi_setting') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::KmsiSetting' ) end # rubocop:enable Metrics/BlockLength end |
#get_me(opts = {}) ⇒ Response
Click here to see an example of how to use get_me API.
Get a user's own information.
7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7302 def get_me(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_me.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Me' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_me') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Me' ) end # rubocop:enable Metrics/BlockLength end |
#get_my_api_key(my_api_key_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_my_api_key API.
Get a user's own API key.
7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7371 def get_my_api_key(my_api_key_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_my_api_key.' if logger raise "Missing the required parameter 'my_api_key_id' when calling get_my_api_key." if my_api_key_id.nil? raise "Parameter value for 'my_api_key_id' must not be blank" if OCI::Internal::Util.blank_string?(my_api_key_id) path = '/admin/v1/MyApiKeys/{myApiKeyId}'.sub('{myApiKeyId}', my_api_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_my_api_key') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyApiKey' ) end # rubocop:enable Metrics/BlockLength end |
#get_my_auth_token(my_auth_token_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_my_auth_token API.
Get a user's own Auth token.
7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7430 def get_my_auth_token(my_auth_token_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_my_auth_token.' if logger raise "Missing the required parameter 'my_auth_token_id' when calling get_my_auth_token." if my_auth_token_id.nil? raise "Parameter value for 'my_auth_token_id' must not be blank" if OCI::Internal::Util.blank_string?(my_auth_token_id) path = '/admin/v1/MyAuthTokens/{myAuthTokenId}'.sub('{myAuthTokenId}', my_auth_token_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_my_auth_token') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyAuthToken' ) end # rubocop:enable Metrics/BlockLength end |
#get_my_completed_approval(my_completed_approval_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_my_completed_approval API.
Get My MyCompletedApproval
7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7489 def get_my_completed_approval(my_completed_approval_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_my_completed_approval.' if logger raise "Missing the required parameter 'my_completed_approval_id' when calling get_my_completed_approval." if my_completed_approval_id.nil? raise "Parameter value for 'my_completed_approval_id' must not be blank" if OCI::Internal::Util.blank_string?(my_completed_approval_id) path = '/admin/v1/MyCompletedApprovals/{myCompletedApprovalId}'.sub('{myCompletedApprovalId}', my_completed_approval_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_my_completed_approval') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyCompletedApproval' ) end # rubocop:enable Metrics/BlockLength end |
#get_my_customer_secret_key(my_customer_secret_key_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_my_customer_secret_key API.
Get a user's own customer secret key.
7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7548 def get_my_customer_secret_key(my_customer_secret_key_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_my_customer_secret_key.' if logger raise "Missing the required parameter 'my_customer_secret_key_id' when calling get_my_customer_secret_key." if my_customer_secret_key_id.nil? raise "Parameter value for 'my_customer_secret_key_id' must not be blank" if OCI::Internal::Util.blank_string?(my_customer_secret_key_id) path = '/admin/v1/MyCustomerSecretKeys/{myCustomerSecretKeyId}'.sub('{myCustomerSecretKeyId}', my_customer_secret_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_my_customer_secret_key') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyCustomerSecretKey' ) end # rubocop:enable Metrics/BlockLength end |
#get_my_device(my_device_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_my_device API.
Get a Device
7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7610 def get_my_device(my_device_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_my_device.' if logger raise "Missing the required parameter 'my_device_id' when calling get_my_device." if my_device_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'my_device_id' must not be blank" if OCI::Internal::Util.blank_string?(my_device_id) path = '/admin/v1/MyDevices/{myDeviceId}'.sub('{myDeviceId}', my_device_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_my_device') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyDevice' ) end # rubocop:enable Metrics/BlockLength end |
#get_my_o_auth2_client_credential(my_o_auth2_client_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_my_o_auth2_client_credential API.
Get a user's own OAuth2 client credential.
7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7681 def get_my_o_auth2_client_credential(my_o_auth2_client_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_my_o_auth2_client_credential.' if logger raise "Missing the required parameter 'my_o_auth2_client_credential_id' when calling get_my_o_auth2_client_credential." if my_o_auth2_client_credential_id.nil? raise "Parameter value for 'my_o_auth2_client_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(my_o_auth2_client_credential_id) path = '/admin/v1/MyOAuth2ClientCredentials/{myOAuth2ClientCredentialId}'.sub('{myOAuth2ClientCredentialId}', my_o_auth2_client_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_my_o_auth2_client_credential') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyOAuth2ClientCredential' ) end # rubocop:enable Metrics/BlockLength end |
#get_my_pending_approval(my_pending_approval_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_my_pending_approval API.
Get My MyPendingApproval
7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7740 def get_my_pending_approval(my_pending_approval_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_my_pending_approval.' if logger raise "Missing the required parameter 'my_pending_approval_id' when calling get_my_pending_approval." if my_pending_approval_id.nil? raise "Parameter value for 'my_pending_approval_id' must not be blank" if OCI::Internal::Util.blank_string?(my_pending_approval_id) path = '/admin/v1/MyPendingApprovals/{myPendingApprovalId}'.sub('{myPendingApprovalId}', my_pending_approval_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_my_pending_approval') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyPendingApproval' ) end # rubocop:enable Metrics/BlockLength end |
#get_my_request(my_request_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_my_request API.
Get My Requests
7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7802 def get_my_request(my_request_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_my_request.' if logger raise "Missing the required parameter 'my_request_id' when calling get_my_request." if my_request_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'my_request_id' must not be blank" if OCI::Internal::Util.blank_string?(my_request_id) path = '/admin/v1/MyRequests/{myRequestId}'.sub('{myRequestId}', my_request_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_my_request') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyRequest' ) end # rubocop:enable Metrics/BlockLength end |
#get_my_smtp_credential(my_smtp_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_my_smtp_credential API.
Get a user's own SMTP credential.
7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7873 def get_my_smtp_credential(my_smtp_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_my_smtp_credential.' if logger raise "Missing the required parameter 'my_smtp_credential_id' when calling get_my_smtp_credential." if my_smtp_credential_id.nil? raise "Parameter value for 'my_smtp_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(my_smtp_credential_id) path = '/admin/v1/MySmtpCredentials/{mySmtpCredentialId}'.sub('{mySmtpCredentialId}', my_smtp_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_my_smtp_credential') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MySmtpCredential' ) end # rubocop:enable Metrics/BlockLength end |
#get_my_support_account(my_support_account_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_my_support_account API.
Get a user's own support account.
7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7932 def get_my_support_account(my_support_account_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_my_support_account.' if logger raise "Missing the required parameter 'my_support_account_id' when calling get_my_support_account." if my_support_account_id.nil? raise "Parameter value for 'my_support_account_id' must not be blank" if OCI::Internal::Util.blank_string?(my_support_account_id) path = '/admin/v1/MySupportAccounts/{mySupportAccountId}'.sub('{mySupportAccountId}', my_support_account_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_my_support_account') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MySupportAccount' ) end # rubocop:enable Metrics/BlockLength end |
#get_my_trusted_user_agent(my_trusted_user_agent_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_my_trusted_user_agent API.
Get a Trusted User Agent
7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 7994 def get_my_trusted_user_agent(my_trusted_user_agent_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_my_trusted_user_agent.' if logger raise "Missing the required parameter 'my_trusted_user_agent_id' when calling get_my_trusted_user_agent." if my_trusted_user_agent_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'my_trusted_user_agent_id' must not be blank" if OCI::Internal::Util.blank_string?(my_trusted_user_agent_id) path = '/admin/v1/MyTrustedUserAgents/{myTrustedUserAgentId}'.sub('{myTrustedUserAgentId}', my_trusted_user_agent_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_my_trusted_user_agent') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyTrustedUserAgent' ) end # rubocop:enable Metrics/BlockLength end |
#get_my_user_db_credential(my_user_db_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_my_user_db_credential API.
Get a user's own database (DB) credential.
8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 8065 def get_my_user_db_credential(my_user_db_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_my_user_db_credential.' if logger raise "Missing the required parameter 'my_user_db_credential_id' when calling get_my_user_db_credential." if my_user_db_credential_id.nil? raise "Parameter value for 'my_user_db_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(my_user_db_credential_id) path = '/admin/v1/MyUserDbCredentials/{myUserDbCredentialId}'.sub('{myUserDbCredentialId}', my_user_db_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_my_user_db_credential') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyUserDbCredential' ) end # rubocop:enable Metrics/BlockLength end |
#get_network_perimeter(network_perimeter_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_network_perimeter API.
Get a NetworkPerimeter
8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 8127 def get_network_perimeter(network_perimeter_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_network_perimeter.' if logger raise "Missing the required parameter 'network_perimeter_id' when calling get_network_perimeter." if network_perimeter_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'network_perimeter_id' must not be blank" if OCI::Internal::Util.blank_string?(network_perimeter_id) path = '/admin/v1/NetworkPerimeters/{networkPerimeterId}'.sub('{networkPerimeterId}', network_perimeter_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_network_perimeter') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::NetworkPerimeter' ) end # rubocop:enable Metrics/BlockLength end |
#get_notification_setting(notification_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_notification_setting API.
Get Notification Settings
8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 8201 def get_notification_setting(notification_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_notification_setting.' if logger raise "Missing the required parameter 'notification_setting_id' when calling get_notification_setting." if notification_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'notification_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(notification_setting_id) path = '/admin/v1/NotificationSettings/{notificationSettingId}'.sub('{notificationSettingId}', notification_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_notification_setting') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::NotificationSetting' ) end # rubocop:enable Metrics/BlockLength end |
#get_o_auth2_client_credential(o_auth2_client_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_o_auth2_client_credential API.
Get a user's OAuth2 client credentials.
8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 8275 def get_o_auth2_client_credential(o_auth2_client_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_o_auth2_client_credential.' if logger raise "Missing the required parameter 'o_auth2_client_credential_id' when calling get_o_auth2_client_credential." if o_auth2_client_credential_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'o_auth2_client_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(o_auth2_client_credential_id) path = '/admin/v1/OAuth2ClientCredentials/{oAuth2ClientCredentialId}'.sub('{oAuth2ClientCredentialId}', o_auth2_client_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_o_auth2_client_credential') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::OAuth2ClientCredential' ) end # rubocop:enable Metrics/BlockLength end |
#get_o_auth_client_certificate(o_auth_client_certificate_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_o_auth_client_certificate API.
Get OAuth Client Certificates
8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 8346 def get_o_auth_client_certificate(o_auth_client_certificate_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_o_auth_client_certificate.' if logger raise "Missing the required parameter 'o_auth_client_certificate_id' when calling get_o_auth_client_certificate." if o_auth_client_certificate_id.nil? raise "Parameter value for 'o_auth_client_certificate_id' must not be blank" if OCI::Internal::Util.blank_string?(o_auth_client_certificate_id) path = '/admin/v1/OAuthClientCertificates/{oAuthClientCertificateId}'.sub('{oAuthClientCertificateId}', o_auth_client_certificate_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_o_auth_client_certificate') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::OAuthClientCertificate' ) end # rubocop:enable Metrics/BlockLength end |
#get_o_auth_partner_certificate(o_auth_partner_certificate_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_o_auth_partner_certificate API.
Get an OAuth Partner Certificate
8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 8405 def get_o_auth_partner_certificate(o_auth_partner_certificate_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_o_auth_partner_certificate.' if logger raise "Missing the required parameter 'o_auth_partner_certificate_id' when calling get_o_auth_partner_certificate." if o_auth_partner_certificate_id.nil? raise "Parameter value for 'o_auth_partner_certificate_id' must not be blank" if OCI::Internal::Util.blank_string?(o_auth_partner_certificate_id) path = '/admin/v1/OAuthPartnerCertificates/{oAuthPartnerCertificateId}'.sub('{oAuthPartnerCertificateId}', o_auth_partner_certificate_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_o_auth_partner_certificate') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::OAuthPartnerCertificate' ) end # rubocop:enable Metrics/BlockLength end |
#get_password_policy(password_policy_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_password_policy API.
Get a password policy.
8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 8467 def get_password_policy(password_policy_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_password_policy.' if logger raise "Missing the required parameter 'password_policy_id' when calling get_password_policy." if password_policy_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'password_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(password_policy_id) path = '/admin/v1/PasswordPolicies/{passwordPolicyId}'.sub('{passwordPolicyId}', password_policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_password_policy') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::PasswordPolicy' ) end # rubocop:enable Metrics/BlockLength end |
#get_policy(policy_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_policy API.
Get a Policy
8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 8541 def get_policy(policy_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_policy.' if logger raise "Missing the required parameter 'policy_id' when calling get_policy." if policy_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'policy_id' must not be blank" if OCI::Internal::Util.blank_string?(policy_id) path = '/admin/v1/Policies/{policyId}'.sub('{policyId}', policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_policy') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Policy' ) end # rubocop:enable Metrics/BlockLength end |
#get_rule(rule_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_rule API.
Get a Rule
8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 8615 def get_rule(rule_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_rule.' if logger raise "Missing the required parameter 'rule_id' when calling get_rule." if rule_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'rule_id' must not be blank" if OCI::Internal::Util.blank_string?(rule_id) path = '/admin/v1/Rules/{ruleId}'.sub('{ruleId}', rule_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_rule') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Rule' ) end # rubocop:enable Metrics/BlockLength end |
#get_schema(schema_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_schema API.
Get a Schema
8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 8686 def get_schema(schema_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_schema.' if logger raise "Missing the required parameter 'schema_id' when calling get_schema." if schema_id.nil? raise "Parameter value for 'schema_id' must not be blank" if OCI::Internal::Util.blank_string?(schema_id) path = '/admin/v1/Schemas/{schemaId}'.sub('{schemaId}', schema_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_schema') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Schema' ) end # rubocop:enable Metrics/BlockLength end |
#get_security_question(security_question_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_security_question API.
Get a security question.
8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 8748 def get_security_question(security_question_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_security_question.' if logger raise "Missing the required parameter 'security_question_id' when calling get_security_question." if security_question_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'security_question_id' must not be blank" if OCI::Internal::Util.blank_string?(security_question_id) path = '/admin/v1/SecurityQuestions/{securityQuestionId}'.sub('{securityQuestionId}', security_question_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_security_question') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SecurityQuestion' ) end # rubocop:enable Metrics/BlockLength end |
#get_security_question_setting(security_question_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_security_question_setting API.
Get a security question setting.
8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 8822 def get_security_question_setting(security_question_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_security_question_setting.' if logger raise "Missing the required parameter 'security_question_setting_id' when calling get_security_question_setting." if security_question_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'security_question_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(security_question_setting_id) path = '/admin/v1/SecurityQuestionSettings/{securityQuestionSettingId}'.sub('{securityQuestionSettingId}', security_question_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_security_question_setting') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SecurityQuestionSetting' ) end # rubocop:enable Metrics/BlockLength end |
#get_self_registration_profile(self_registration_profile_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_self_registration_profile API.
Get a self-registration profile.
8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 8896 def get_self_registration_profile(self_registration_profile_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_self_registration_profile.' if logger raise "Missing the required parameter 'self_registration_profile_id' when calling get_self_registration_profile." if self_registration_profile_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'self_registration_profile_id' must not be blank" if OCI::Internal::Util.blank_string?(self_registration_profile_id) path = '/admin/v1/SelfRegistrationProfiles/{selfRegistrationProfileId}'.sub('{selfRegistrationProfileId}', self_registration_profile_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_self_registration_profile') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SelfRegistrationProfile' ) end # rubocop:enable Metrics/BlockLength end |
#get_setting(setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_setting API.
Get Settings
8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 8970 def get_setting(setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_setting.' if logger raise "Missing the required parameter 'setting_id' when calling get_setting." if setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'setting_id' must not be blank" if OCI::Internal::Util.blank_string?(setting_id) path = '/admin/v1/Settings/{settingId}'.sub('{settingId}', setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_setting') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Setting' ) end # rubocop:enable Metrics/BlockLength end |
#get_smtp_credential(smtp_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_smtp_credential API.
Get a user's SMTP credentials.
9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 9044 def get_smtp_credential(smtp_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_smtp_credential.' if logger raise "Missing the required parameter 'smtp_credential_id' when calling get_smtp_credential." if smtp_credential_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'smtp_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(smtp_credential_id) path = '/admin/v1/SmtpCredentials/{smtpCredentialId}'.sub('{smtpCredentialId}', smtp_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_smtp_credential') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SmtpCredential' ) end # rubocop:enable Metrics/BlockLength end |
#get_user(user_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_user API.
Get a user.
9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 9118 def get_user(user_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_user.' if logger raise "Missing the required parameter 'user_id' when calling get_user." if user_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'user_id' must not be blank" if OCI::Internal::Util.blank_string?(user_id) path = '/admin/v1/Users/{userId}'.sub('{userId}', user_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_user') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::User' ) end # rubocop:enable Metrics/BlockLength end |
#get_user_attributes_setting(user_attributes_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_user_attributes_setting API.
Get User Schema Attribute Settings
9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 9192 def get_user_attributes_setting(user_attributes_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_user_attributes_setting.' if logger raise "Missing the required parameter 'user_attributes_setting_id' when calling get_user_attributes_setting." if user_attributes_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'user_attributes_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(user_attributes_setting_id) path = '/admin/v1/UserAttributesSettings/{userAttributesSettingId}'.sub('{userAttributesSettingId}', user_attributes_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_user_attributes_setting') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::UserAttributesSetting' ) end # rubocop:enable Metrics/BlockLength end |
#get_user_db_credential(user_db_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_user_db_credential API.
Get a user's database (DB) credentials.
9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 9266 def get_user_db_credential(user_db_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#get_user_db_credential.' if logger raise "Missing the required parameter 'user_db_credential_id' when calling get_user_db_credential." if user_db_credential_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'user_db_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(user_db_credential_id) path = '/admin/v1/UserDbCredentials/{userDbCredentialId}'.sub('{userDbCredentialId}', user_db_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#get_user_db_credential') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::UserDbCredential' ) end # rubocop:enable Metrics/BlockLength end |
#list_account_mgmt_infos(opts = {}) ⇒ Response
Click here to see an example of how to use list_account_mgmt_infos API.
Search Account Mgmt Info
9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 9346 def list_account_mgmt_infos(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_account_mgmt_infos.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/AccountMgmtInfos' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_account_mgmt_infos') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AccountMgmtInfos' ) end # rubocop:enable Metrics/BlockLength end |
#list_account_recovery_settings(opts = {}) ⇒ Response
Click here to see an example of how to use list_account_recovery_settings API.
Search for account recovery settings.
9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 9430 def list_account_recovery_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_account_recovery_settings.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/AccountRecoverySettings' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_account_recovery_settings') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AccountRecoverySettings' ) end # rubocop:enable Metrics/BlockLength end |
#list_api_keys(opts = {}) ⇒ Response
Click here to see an example of how to use list_api_keys API.
Search API keys.
9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 9510 def list_api_keys(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_api_keys.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/ApiKeys' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_api_keys') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApiKeys' ) end # rubocop:enable Metrics/BlockLength end |
#list_app_roles(opts = {}) ⇒ Response
Click here to see an example of how to use list_app_roles API.
Search AppRoles
9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 9599 def list_app_roles(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_app_roles.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/AppRoles' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_app_roles') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AppRoles' ) end # rubocop:enable Metrics/BlockLength end |
#list_approval_workflow_assignments(opts = {}) ⇒ Response
Click here to see an example of how to use list_approval_workflow_assignments API.
Search Approval Workflow Assignments
9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 9688 def list_approval_workflow_assignments(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_approval_workflow_assignments.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/ApprovalWorkflowAssignments' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_approval_workflow_assignments') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApprovalWorkflowAssignments' ) end # rubocop:enable Metrics/BlockLength end |
#list_approval_workflow_steps(opts = {}) ⇒ Response
Click here to see an example of how to use list_approval_workflow_steps API.
Search ApprovalWorkflowStep
9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 9777 def list_approval_workflow_steps(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_approval_workflow_steps.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/ApprovalWorkflowSteps' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_approval_workflow_steps') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApprovalWorkflowSteps' ) end # rubocop:enable Metrics/BlockLength end |
#list_approval_workflows(opts = {}) ⇒ Response
Click here to see an example of how to use list_approval_workflows API.
Search ApprovalWorkflow
9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 9866 def list_approval_workflows(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_approval_workflows.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/ApprovalWorkflows' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_approval_workflows') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApprovalWorkflows' ) end # rubocop:enable Metrics/BlockLength end |
#list_apps(opts = {}) ⇒ Response
Click here to see an example of how to use list_apps API.
Search Apps
9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 9955 def list_apps(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_apps.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Apps' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_apps') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Apps' ) end # rubocop:enable Metrics/BlockLength end |
#list_auth_tokens(opts = {}) ⇒ Response
Click here to see an example of how to use list_auth_tokens API.
Search for Auth tokens.
10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 10044 def list_auth_tokens(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_auth_tokens.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/AuthTokens' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_auth_tokens') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AuthTokens' ) end # rubocop:enable Metrics/BlockLength end |
#list_authentication_factor_settings(opts = {}) ⇒ Response
Click here to see an example of how to use list_authentication_factor_settings API.
Search Authentication Factor Settings
10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 10128 def list_authentication_factor_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_authentication_factor_settings.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/AuthenticationFactorSettings' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_authentication_factor_settings') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AuthenticationFactorSettings' ) end # rubocop:enable Metrics/BlockLength end |
#list_branding_settings(opts = {}) ⇒ Response
Click here to see an example of how to use list_branding_settings API.
Search Branding Settings
10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 10203 def list_branding_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_branding_settings.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/BrandingSettings' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_branding_settings') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::BrandingSettings' ) end # rubocop:enable Metrics/BlockLength end |
#list_cloud_gate_mappings(opts = {}) ⇒ Response
Click here to see an example of how to use list_cloud_gate_mappings API.
Search Cloud Gate mappings
10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 10283 def list_cloud_gate_mappings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_cloud_gate_mappings.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/CloudGateMappings' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_cloud_gate_mappings') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGateMappings' ) end # rubocop:enable Metrics/BlockLength end |
#list_cloud_gate_servers(opts = {}) ⇒ Response
Click here to see an example of how to use list_cloud_gate_servers API.
Search Cloud Gate servers
10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 10372 def list_cloud_gate_servers(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_cloud_gate_servers.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/CloudGateServers' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_cloud_gate_servers') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGateServers' ) end # rubocop:enable Metrics/BlockLength end |
#list_cloud_gates(opts = {}) ⇒ Response
Click here to see an example of how to use list_cloud_gates API.
Search Cloud Gates
10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 10461 def list_cloud_gates(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_cloud_gates.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/CloudGates' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_cloud_gates') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGates' ) end # rubocop:enable Metrics/BlockLength end |
#list_conditions(opts = {}) ⇒ Response
Click here to see an example of how to use list_conditions API.
Search Conditions
10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 10550 def list_conditions(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_conditions.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Conditions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_conditions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Conditions' ) end # rubocop:enable Metrics/BlockLength end |
#list_customer_secret_keys(opts = {}) ⇒ Response
Click here to see an example of how to use list_customer_secret_keys API.
Search for a user's customer secret keys.
10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 10639 def list_customer_secret_keys(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_customer_secret_keys.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/CustomerSecretKeys' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_customer_secret_keys') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CustomerSecretKeys' ) end # rubocop:enable Metrics/BlockLength end |
#list_dynamic_resource_groups(opts = {}) ⇒ Response
Click here to see an example of how to use list_dynamic_resource_groups API.
Search for Dynamic Resource Groups.
10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 10728 def list_dynamic_resource_groups(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_dynamic_resource_groups.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/DynamicResourceGroups' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_dynamic_resource_groups') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::DynamicResourceGroups' ) end # rubocop:enable Metrics/BlockLength end |
#list_grants(opts = {}) ⇒ Response
Click here to see an example of how to use list_grants API.
Search Grants
10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 10817 def list_grants(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_grants.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Grants' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_grants') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Grants' ) end # rubocop:enable Metrics/BlockLength end |
#list_groups(opts = {}) ⇒ Response
Click here to see an example of how to use list_groups API.
Search for groups. Important: The Group SEARCH and GET operations on users and members will throw an exception if the response has more than 10,000 members. To avoid the exception, use the pagination filter to GET or SEARCH group members.
10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 10906 def list_groups(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_groups.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Groups' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_groups') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Groups' ) end # rubocop:enable Metrics/BlockLength end |
#list_identity_providers(opts = {}) ⇒ Response
Click here to see an example of how to use list_identity_providers API.
Search Identity Providers
10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 10995 def list_identity_providers(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_identity_providers.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/IdentityProviders' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_identity_providers') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::IdentityProviders' ) end # rubocop:enable Metrics/BlockLength end |
#list_identity_settings(opts = {}) ⇒ Response
Click here to see an example of how to use list_identity_settings API.
Search for Identity settings.
11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 11079 def list_identity_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_identity_settings.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/IdentitySettings' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_identity_settings') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::IdentitySettings' ) end # rubocop:enable Metrics/BlockLength end |
#list_kmsi_settings(opts = {}) ⇒ Response
Click here to see an example of how to use list_kmsi_settings API.
Search KmsiSettings
11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 11154 def list_kmsi_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_kmsi_settings.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/KmsiSettings' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_kmsi_settings') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::KmsiSettings' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_api_keys(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_api_keys API.
Search for a user's own API key.
11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 11231 def list_my_api_keys(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_api_keys.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end path = '/admin/v1/MyApiKeys' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_api_keys') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyApiKeys' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_apps(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_apps API.
Search My Apps
11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 11305 def list_my_apps(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_apps.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end path = '/admin/v1/MyApps' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_apps') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyApps' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_auth_tokens(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_auth_tokens API.
Search for a user's own Auth token.
11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 11379 def list_my_auth_tokens(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_auth_tokens.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end path = '/admin/v1/MyAuthTokens' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_auth_tokens') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyAuthTokens' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_completed_approvals(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_completed_approvals API.
Search My MyCompletedApproval
11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 11453 def list_my_completed_approvals(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_completed_approvals.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end path = '/admin/v1/MyCompletedApprovals' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_completed_approvals') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyCompletedApprovals' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_customer_secret_keys(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_customer_secret_keys API.
Search for a user's own customer secret key.
11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 11527 def list_my_customer_secret_keys(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_customer_secret_keys.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end path = '/admin/v1/MyCustomerSecretKeys' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_customer_secret_keys') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyCustomerSecretKeys' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_devices(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_devices API.
Search Devices
11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 11604 def list_my_devices(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_devices.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/MyDevices' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_devices') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyDevices' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_groups(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_groups API.
Search for 'My Groups'.
11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 11693 def list_my_groups(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_groups.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/MyGroups' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_groups') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyGroups' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_o_auth2_client_credentials(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_o_auth2_client_credentials API.
Search for a user's own OAuth2 client credential.
11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 11779 def list_my_o_auth2_client_credentials(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_o_auth2_client_credentials.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end path = '/admin/v1/MyOAuth2ClientCredentials' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_o_auth2_client_credentials') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyOAuth2ClientCredentials' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_pending_approvals(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_pending_approvals API.
Search My Approvals
11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 11853 def list_my_pending_approvals(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_pending_approvals.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end path = '/admin/v1/MyPendingApprovals' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_pending_approvals') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyPendingApprovals' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_requestable_groups(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_requestable_groups API.
Search My Requestable Groups
11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 11927 def list_my_requestable_groups(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_requestable_groups.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end path = '/admin/v1/MyRequestableGroups' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_requestable_groups') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyRequestableGroups' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_requests(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_requests API.
Search My Requests
12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 12004 def list_my_requests(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_requests.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/MyRequests' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_requests') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyRequests' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_smtp_credentials(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_smtp_credentials API.
Search for a user's own SMTP credential.
12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 12090 def list_my_smtp_credentials(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_smtp_credentials.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end path = '/admin/v1/MySmtpCredentials' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_smtp_credentials') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MySmtpCredentials' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_support_accounts(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_support_accounts API.
Search for a user's own support account.
12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 12164 def list_my_support_accounts(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_support_accounts.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end path = '/admin/v1/MySupportAccounts' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_support_accounts') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MySupportAccounts' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_trusted_user_agents(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_trusted_user_agents API.
Search Trusted User Agents
12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 12241 def list_my_trusted_user_agents(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_trusted_user_agents.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/MyTrustedUserAgents' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_trusted_user_agents') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyTrustedUserAgents' ) end # rubocop:enable Metrics/BlockLength end |
#list_my_user_db_credentials(opts = {}) ⇒ Response
Click here to see an example of how to use list_my_user_db_credentials API.
Search for a user's own database (DB) credential.
12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 12327 def list_my_user_db_credentials(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_my_user_db_credentials.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end path = '/admin/v1/MyUserDbCredentials' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_my_user_db_credentials') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyUserDbCredentials' ) end # rubocop:enable Metrics/BlockLength end |
#list_network_perimeters(opts = {}) ⇒ Response
Click here to see an example of how to use list_network_perimeters API.
Search NetworkPerimeters
12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 12404 def list_network_perimeters(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_network_perimeters.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/NetworkPerimeters' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_network_perimeters') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::NetworkPerimeters' ) end # rubocop:enable Metrics/BlockLength end |
#list_notification_settings(opts = {}) ⇒ Response
Click here to see an example of how to use list_notification_settings API.
Search Notification Settings
12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 12488 def list_notification_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_notification_settings.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/NotificationSettings' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_notification_settings') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::NotificationSettings' ) end # rubocop:enable Metrics/BlockLength end |
#list_o_auth2_client_credentials(opts = {}) ⇒ Response
Click here to see an example of how to use list_o_auth2_client_credentials API.
Search for a user's OAuth2 client credentials.
12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 12568 def list_o_auth2_client_credentials(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_o_auth2_client_credentials.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/OAuth2ClientCredentials' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_o_auth2_client_credentials') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::OAuth2ClientCredentials' ) end # rubocop:enable Metrics/BlockLength end |
#list_o_auth_client_certificates(opts = {}) ⇒ Response
Click here to see an example of how to use list_o_auth_client_certificates API.
Search OAuth Client Certificates
12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 12654 def list_o_auth_client_certificates(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_o_auth_client_certificates.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end path = '/admin/v1/OAuthClientCertificates' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_o_auth_client_certificates') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::OAuthClientCertificates' ) end # rubocop:enable Metrics/BlockLength end |
#list_o_auth_partner_certificates(opts = {}) ⇒ Response
Click here to see an example of how to use list_o_auth_partner_certificates API.
Search OAuth Partner Certificates
12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 12728 def list_o_auth_partner_certificates(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_o_auth_partner_certificates.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end path = '/admin/v1/OAuthPartnerCertificates' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_o_auth_partner_certificates') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::OAuthPartnerCertificates' ) end # rubocop:enable Metrics/BlockLength end |
#list_password_policies(opts = {}) ⇒ Response
Click here to see an example of how to use list_password_policies API.
Search for password policies.
12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 12805 def list_password_policies(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_password_policies.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/PasswordPolicies' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_password_policies') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::PasswordPolicies' ) end # rubocop:enable Metrics/BlockLength end |
#list_policies(opts = {}) ⇒ Response
Click here to see an example of how to use list_policies API.
Search Policies
12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 12894 def list_policies(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_policies.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Policies' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_policies') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Policies' ) end # rubocop:enable Metrics/BlockLength end |
#list_resource_type_schema_attributes(opts = {}) ⇒ Response
Click here to see an example of how to use list_resource_type_schema_attributes API.
Search Resource Type Schema Attributes
12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 12983 def list_resource_type_schema_attributes(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_resource_type_schema_attributes.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/ResourceTypeSchemaAttributes' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_resource_type_schema_attributes') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ResourceTypeSchemaAttributes' ) end # rubocop:enable Metrics/BlockLength end |
#list_rules(opts = {}) ⇒ Response
Click here to see an example of how to use list_rules API.
Search Rules
13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 13072 def list_rules(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_rules.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Rules' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_rules') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Rules' ) end # rubocop:enable Metrics/BlockLength end |
#list_schemas(opts = {}) ⇒ Response
Click here to see an example of how to use list_schemas API.
Search Schemas
13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 13157 def list_schemas(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_schemas.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end path = '/admin/v1/Schemas' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_schemas') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Schemas' ) end # rubocop:enable Metrics/BlockLength end |
#list_security_question_settings(opts = {}) ⇒ Response
Click here to see an example of how to use list_security_question_settings API.
Search for security question settings.
13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 13228 def list_security_question_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_security_question_settings.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/SecurityQuestionSettings' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_security_question_settings') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SecurityQuestionSettings' ) end # rubocop:enable Metrics/BlockLength end |
#list_security_questions(opts = {}) ⇒ Response
Click here to see an example of how to use list_security_questions API.
Search for security questions.
13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 13308 def list_security_questions(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_security_questions.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/SecurityQuestions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_security_questions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SecurityQuestions' ) end # rubocop:enable Metrics/BlockLength end |
#list_self_registration_profiles(opts = {}) ⇒ Response
Click here to see an example of how to use list_self_registration_profiles API.
Search for self-registration profiles.
13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 13397 def list_self_registration_profiles(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_self_registration_profiles.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/SelfRegistrationProfiles' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_self_registration_profiles') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SelfRegistrationProfiles' ) end # rubocop:enable Metrics/BlockLength end |
#list_settings(opts = {}) ⇒ Response
Click here to see an example of how to use list_settings API.
Search Settings
13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 13481 def list_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_settings.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Settings' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_settings') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Settings' ) end # rubocop:enable Metrics/BlockLength end |
#list_smtp_credentials(opts = {}) ⇒ Response
Click here to see an example of how to use list_smtp_credentials API.
Search for SMTP credentials.
13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 13561 def list_smtp_credentials(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_smtp_credentials.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/SmtpCredentials' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_smtp_credentials') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SmtpCredentials' ) end # rubocop:enable Metrics/BlockLength end |
#list_user_attributes_settings(opts = {}) ⇒ Response
Click here to see an example of how to use list_user_attributes_settings API.
Search User Schema Attribute Settings
13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 13645 def list_user_attributes_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_user_attributes_settings.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/UserAttributesSettings' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_user_attributes_settings') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::UserAttributesSettings' ) end # rubocop:enable Metrics/BlockLength end |
#list_user_db_credentials(opts = {}) ⇒ Response
Click here to see an example of how to use list_user_db_credentials API.
Search for a user's database (DB) credentials.
13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 13725 def list_user_db_credentials(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_user_db_credentials.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/UserDbCredentials' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_user_db_credentials') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::UserDbCredentials' ) end # rubocop:enable Metrics/BlockLength end |
#list_users(opts = {}) ⇒ Response
Click here to see an example of how to use list_users API.
Search for users.
13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 13814 def list_users(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#list_users.' if logger if opts[:sort_order] && !OCI::IdentityDomains::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::IdentityDomains::Models::SORT_ORDER_ENUM.' end attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Users' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:filter] = opts[:filter] if opts[:filter] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:startIndex] = opts[:start_index] if opts[:start_index] query_params[:count] = opts[:count] if opts[:count] query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#list_users') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Users' ) end # rubocop:enable Metrics/BlockLength end |
#logger ⇒ Logger
Returns The logger for this client. May be nil.
69 70 71 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 69 def logger @api_client.config.logger end |
#patch_account_recovery_setting(account_recovery_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_account_recovery_setting API.
Update an account recovery setting.
13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 13912 def patch_account_recovery_setting(account_recovery_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_account_recovery_setting.' if logger raise "Missing the required parameter 'account_recovery_setting_id' when calling patch_account_recovery_setting." if account_recovery_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'account_recovery_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(account_recovery_setting_id) path = '/admin/v1/AccountRecoverySettings/{accountRecoverySettingId}'.sub('{accountRecoverySettingId}', account_recovery_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_account_recovery_setting') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AccountRecoverySetting' ) end # rubocop:enable Metrics/BlockLength end |
#patch_api_key(api_key_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_api_key API.
Update a user's API key.
14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 14002 def patch_api_key(api_key_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_api_key.' if logger raise "Missing the required parameter 'api_key_id' when calling patch_api_key." if api_key_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'api_key_id' must not be blank" if OCI::Internal::Util.blank_string?(api_key_id) path = '/admin/v1/ApiKeys/{apiKeyId}'.sub('{apiKeyId}', api_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_api_key') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApiKey' ) end # rubocop:enable Metrics/BlockLength end |
#patch_app(app_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_app API.
Update an App
14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 14092 def patch_app(app_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_app.' if logger raise "Missing the required parameter 'app_id' when calling patch_app." if app_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'app_id' must not be blank" if OCI::Internal::Util.blank_string?(app_id) path = '/admin/v1/Apps/{appId}'.sub('{appId}', app_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_app') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::App' ) end # rubocop:enable Metrics/BlockLength end |
#patch_app_role(app_role_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_app_role API.
Update an AppRole
14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 14182 def patch_app_role(app_role_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_app_role.' if logger raise "Missing the required parameter 'app_role_id' when calling patch_app_role." if app_role_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'app_role_id' must not be blank" if OCI::Internal::Util.blank_string?(app_role_id) path = '/admin/v1/AppRoles/{appRoleId}'.sub('{appRoleId}', app_role_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_app_role') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AppRole' ) end # rubocop:enable Metrics/BlockLength end |
#patch_approval_workflow(approval_workflow_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_approval_workflow API.
Update ApprovalWorkflow
14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 14272 def patch_approval_workflow(approval_workflow_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_approval_workflow.' if logger raise "Missing the required parameter 'approval_workflow_id' when calling patch_approval_workflow." if approval_workflow_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'approval_workflow_id' must not be blank" if OCI::Internal::Util.blank_string?(approval_workflow_id) path = '/admin/v1/ApprovalWorkflows/{approvalWorkflowId}'.sub('{approvalWorkflowId}', approval_workflow_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_approval_workflow') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApprovalWorkflow' ) end # rubocop:enable Metrics/BlockLength end |
#patch_approval_workflow_step(approval_workflow_step_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_approval_workflow_step API.
Update ApprovalWorkflowStep
14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 14362 def patch_approval_workflow_step(approval_workflow_step_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_approval_workflow_step.' if logger raise "Missing the required parameter 'approval_workflow_step_id' when calling patch_approval_workflow_step." if approval_workflow_step_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'approval_workflow_step_id' must not be blank" if OCI::Internal::Util.blank_string?(approval_workflow_step_id) path = '/admin/v1/ApprovalWorkflowSteps/{approvalWorkflowStepId}'.sub('{approvalWorkflowStepId}', approval_workflow_step_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_approval_workflow_step') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApprovalWorkflowStep' ) end # rubocop:enable Metrics/BlockLength end |
#patch_auth_token(auth_token_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_auth_token API.
Update a user's Auth token.
14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 14452 def patch_auth_token(auth_token_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_auth_token.' if logger raise "Missing the required parameter 'auth_token_id' when calling patch_auth_token." if auth_token_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'auth_token_id' must not be blank" if OCI::Internal::Util.blank_string?(auth_token_id) path = '/admin/v1/AuthTokens/{authTokenId}'.sub('{authTokenId}', auth_token_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_auth_token') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AuthToken' ) end # rubocop:enable Metrics/BlockLength end |
#patch_cloud_gate(cloud_gate_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_cloud_gate API.
Update a Cloud Gate
14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 14542 def patch_cloud_gate(cloud_gate_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_cloud_gate.' if logger raise "Missing the required parameter 'cloud_gate_id' when calling patch_cloud_gate." if cloud_gate_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'cloud_gate_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_gate_id) path = '/admin/v1/CloudGates/{cloudGateId}'.sub('{cloudGateId}', cloud_gate_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_cloud_gate') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGate' ) end # rubocop:enable Metrics/BlockLength end |
#patch_cloud_gate_mapping(cloud_gate_mapping_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_cloud_gate_mapping API.
Update a Cloud Gate mapping
14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 14632 def patch_cloud_gate_mapping(cloud_gate_mapping_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_cloud_gate_mapping.' if logger raise "Missing the required parameter 'cloud_gate_mapping_id' when calling patch_cloud_gate_mapping." if cloud_gate_mapping_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'cloud_gate_mapping_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_gate_mapping_id) path = '/admin/v1/CloudGateMappings/{cloudGateMappingId}'.sub('{cloudGateMappingId}', cloud_gate_mapping_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_cloud_gate_mapping') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGateMapping' ) end # rubocop:enable Metrics/BlockLength end |
#patch_cloud_gate_server(cloud_gate_server_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_cloud_gate_server API.
Update a Cloud Gate server
14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 14722 def patch_cloud_gate_server(cloud_gate_server_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_cloud_gate_server.' if logger raise "Missing the required parameter 'cloud_gate_server_id' when calling patch_cloud_gate_server." if cloud_gate_server_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'cloud_gate_server_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_gate_server_id) path = '/admin/v1/CloudGateServers/{cloudGateServerId}'.sub('{cloudGateServerId}', cloud_gate_server_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_cloud_gate_server') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGateServer' ) end # rubocop:enable Metrics/BlockLength end |
#patch_condition(condition_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_condition API.
Update a Condition
14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 14812 def patch_condition(condition_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_condition.' if logger raise "Missing the required parameter 'condition_id' when calling patch_condition." if condition_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'condition_id' must not be blank" if OCI::Internal::Util.blank_string?(condition_id) path = '/admin/v1/Conditions/{conditionId}'.sub('{conditionId}', condition_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_condition') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Condition' ) end # rubocop:enable Metrics/BlockLength end |
#patch_customer_secret_key(customer_secret_key_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_customer_secret_key API.
Update a user's customer secret key.
14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 14902 def patch_customer_secret_key(customer_secret_key_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_customer_secret_key.' if logger raise "Missing the required parameter 'customer_secret_key_id' when calling patch_customer_secret_key." if customer_secret_key_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'customer_secret_key_id' must not be blank" if OCI::Internal::Util.blank_string?(customer_secret_key_id) path = '/admin/v1/CustomerSecretKeys/{customerSecretKeyId}'.sub('{customerSecretKeyId}', customer_secret_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_customer_secret_key') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CustomerSecretKey' ) end # rubocop:enable Metrics/BlockLength end |
#patch_dynamic_resource_group(dynamic_resource_group_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_dynamic_resource_group API.
Update a Dynamic Resource Group.
14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 14992 def patch_dynamic_resource_group(dynamic_resource_group_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_dynamic_resource_group.' if logger raise "Missing the required parameter 'dynamic_resource_group_id' when calling patch_dynamic_resource_group." if dynamic_resource_group_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'dynamic_resource_group_id' must not be blank" if OCI::Internal::Util.blank_string?(dynamic_resource_group_id) path = '/admin/v1/DynamicResourceGroups/{dynamicResourceGroupId}'.sub('{dynamicResourceGroupId}', dynamic_resource_group_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_dynamic_resource_group') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::DynamicResourceGroup' ) end # rubocop:enable Metrics/BlockLength end |
#patch_grant(grant_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_grant API.
Update a Grant
15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 15082 def patch_grant(grant_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_grant.' if logger raise "Missing the required parameter 'grant_id' when calling patch_grant." if grant_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'grant_id' must not be blank" if OCI::Internal::Util.blank_string?(grant_id) path = '/admin/v1/Grants/{grantId}'.sub('{grantId}', grant_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_grant') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Grant' ) end # rubocop:enable Metrics/BlockLength end |
#patch_group(group_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_group API.
Update a group.
15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 15172 def patch_group(group_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_group.' if logger raise "Missing the required parameter 'group_id' when calling patch_group." if group_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'group_id' must not be blank" if OCI::Internal::Util.blank_string?(group_id) path = '/admin/v1/Groups/{groupId}'.sub('{groupId}', group_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_group') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Group' ) end # rubocop:enable Metrics/BlockLength end |
#patch_identity_provider(identity_provider_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_identity_provider API.
Update an Identity Provider
15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 15262 def patch_identity_provider(identity_provider_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_identity_provider.' if logger raise "Missing the required parameter 'identity_provider_id' when calling patch_identity_provider." if identity_provider_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'identity_provider_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_provider_id) path = '/admin/v1/IdentityProviders/{identityProviderId}'.sub('{identityProviderId}', identity_provider_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_identity_provider') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::IdentityProvider' ) end # rubocop:enable Metrics/BlockLength end |
#patch_identity_setting(identity_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_identity_setting API.
Update an Identity setting.
15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 15352 def patch_identity_setting(identity_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_identity_setting.' if logger raise "Missing the required parameter 'identity_setting_id' when calling patch_identity_setting." if identity_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'identity_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_setting_id) path = '/admin/v1/IdentitySettings/{identitySettingId}'.sub('{identitySettingId}', identity_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_identity_setting') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::IdentitySetting' ) end # rubocop:enable Metrics/BlockLength end |
#patch_kmsi_setting(kmsi_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_kmsi_setting API.
Update a Setting
15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 15442 def patch_kmsi_setting(kmsi_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_kmsi_setting.' if logger raise "Missing the required parameter 'kmsi_setting_id' when calling patch_kmsi_setting." if kmsi_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'kmsi_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(kmsi_setting_id) path = '/admin/v1/KmsiSettings/{kmsiSettingId}'.sub('{kmsiSettingId}', kmsi_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_kmsi_setting') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::KmsiSetting' ) end # rubocop:enable Metrics/BlockLength end |
#patch_me(opts = {}) ⇒ Response
Click here to see an example of how to use patch_me API.
Update a user's own information.
15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 15531 def patch_me(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_me.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Me' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_me') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Me' ) end # rubocop:enable Metrics/BlockLength end |
#patch_my_api_key(my_api_key_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_my_api_key API.
Update a user's own API key.
15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 15616 def patch_my_api_key(my_api_key_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_my_api_key.' if logger raise "Missing the required parameter 'my_api_key_id' when calling patch_my_api_key." if my_api_key_id.nil? raise "Parameter value for 'my_api_key_id' must not be blank" if OCI::Internal::Util.blank_string?(my_api_key_id) path = '/admin/v1/MyApiKeys/{myApiKeyId}'.sub('{myApiKeyId}', my_api_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_my_api_key') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyApiKey' ) end # rubocop:enable Metrics/BlockLength end |
#patch_my_auth_token(my_auth_token_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_my_auth_token API.
Update a user's own Auth token.
15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 15691 def patch_my_auth_token(my_auth_token_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_my_auth_token.' if logger raise "Missing the required parameter 'my_auth_token_id' when calling patch_my_auth_token." if my_auth_token_id.nil? raise "Parameter value for 'my_auth_token_id' must not be blank" if OCI::Internal::Util.blank_string?(my_auth_token_id) path = '/admin/v1/MyAuthTokens/{myAuthTokenId}'.sub('{myAuthTokenId}', my_auth_token_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_my_auth_token') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyAuthToken' ) end # rubocop:enable Metrics/BlockLength end |
#patch_my_customer_secret_key(my_customer_secret_key_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_my_customer_secret_key API.
Update a user's own customer secret key.
15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 15766 def patch_my_customer_secret_key(my_customer_secret_key_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_my_customer_secret_key.' if logger raise "Missing the required parameter 'my_customer_secret_key_id' when calling patch_my_customer_secret_key." if my_customer_secret_key_id.nil? raise "Parameter value for 'my_customer_secret_key_id' must not be blank" if OCI::Internal::Util.blank_string?(my_customer_secret_key_id) path = '/admin/v1/MyCustomerSecretKeys/{myCustomerSecretKeyId}'.sub('{myCustomerSecretKeyId}', my_customer_secret_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_my_customer_secret_key') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyCustomerSecretKey' ) end # rubocop:enable Metrics/BlockLength end |
#patch_my_device(my_device_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_my_device API.
Update a Device
15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 15844 def patch_my_device(my_device_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_my_device.' if logger raise "Missing the required parameter 'my_device_id' when calling patch_my_device." if my_device_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'my_device_id' must not be blank" if OCI::Internal::Util.blank_string?(my_device_id) path = '/admin/v1/MyDevices/{myDeviceId}'.sub('{myDeviceId}', my_device_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_my_device') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyDevice' ) end # rubocop:enable Metrics/BlockLength end |
#patch_my_o_auth2_client_credential(my_o_auth2_client_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_my_o_auth2_client_credential API.
Update a user's own OAuth2 client credential.
15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 15931 def patch_my_o_auth2_client_credential(my_o_auth2_client_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_my_o_auth2_client_credential.' if logger raise "Missing the required parameter 'my_o_auth2_client_credential_id' when calling patch_my_o_auth2_client_credential." if my_o_auth2_client_credential_id.nil? raise "Parameter value for 'my_o_auth2_client_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(my_o_auth2_client_credential_id) path = '/admin/v1/MyOAuth2ClientCredentials/{myOAuth2ClientCredentialId}'.sub('{myOAuth2ClientCredentialId}', my_o_auth2_client_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_my_o_auth2_client_credential') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyOAuth2ClientCredential' ) end # rubocop:enable Metrics/BlockLength end |
#patch_my_pending_approval(my_pending_approval_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_my_pending_approval API.
Update MyPendingApproval
16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 16006 def patch_my_pending_approval(my_pending_approval_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_my_pending_approval.' if logger raise "Missing the required parameter 'my_pending_approval_id' when calling patch_my_pending_approval." if my_pending_approval_id.nil? raise "Parameter value for 'my_pending_approval_id' must not be blank" if OCI::Internal::Util.blank_string?(my_pending_approval_id) path = '/admin/v1/MyPendingApprovals/{myPendingApprovalId}'.sub('{myPendingApprovalId}', my_pending_approval_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_my_pending_approval') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyPendingApproval' ) end # rubocop:enable Metrics/BlockLength end |
#patch_my_request(my_request_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_my_request API.
Update My Requests
16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 16084 def patch_my_request(my_request_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_my_request.' if logger raise "Missing the required parameter 'my_request_id' when calling patch_my_request." if my_request_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'my_request_id' must not be blank" if OCI::Internal::Util.blank_string?(my_request_id) path = '/admin/v1/MyRequests/{myRequestId}'.sub('{myRequestId}', my_request_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_my_request') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyRequest' ) end # rubocop:enable Metrics/BlockLength end |
#patch_my_smtp_credential(my_smtp_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_my_smtp_credential API.
Update a user's own SMTP credential.
16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 16171 def patch_my_smtp_credential(my_smtp_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_my_smtp_credential.' if logger raise "Missing the required parameter 'my_smtp_credential_id' when calling patch_my_smtp_credential." if my_smtp_credential_id.nil? raise "Parameter value for 'my_smtp_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(my_smtp_credential_id) path = '/admin/v1/MySmtpCredentials/{mySmtpCredentialId}'.sub('{mySmtpCredentialId}', my_smtp_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_my_smtp_credential') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MySmtpCredential' ) end # rubocop:enable Metrics/BlockLength end |
#patch_network_perimeter(network_perimeter_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_network_perimeter API.
Update a NetworkPerimeter
16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 16249 def patch_network_perimeter(network_perimeter_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_network_perimeter.' if logger raise "Missing the required parameter 'network_perimeter_id' when calling patch_network_perimeter." if network_perimeter_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'network_perimeter_id' must not be blank" if OCI::Internal::Util.blank_string?(network_perimeter_id) path = '/admin/v1/NetworkPerimeters/{networkPerimeterId}'.sub('{networkPerimeterId}', network_perimeter_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_network_perimeter') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::NetworkPerimeter' ) end # rubocop:enable Metrics/BlockLength end |
#patch_o_auth2_client_credential(o_auth2_client_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_o_auth2_client_credential API.
Update a user's OAuth2 client credentials.
16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 16339 def patch_o_auth2_client_credential(o_auth2_client_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_o_auth2_client_credential.' if logger raise "Missing the required parameter 'o_auth2_client_credential_id' when calling patch_o_auth2_client_credential." if o_auth2_client_credential_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'o_auth2_client_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(o_auth2_client_credential_id) path = '/admin/v1/OAuth2ClientCredentials/{oAuth2ClientCredentialId}'.sub('{oAuth2ClientCredentialId}', o_auth2_client_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_o_auth2_client_credential') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::OAuth2ClientCredential' ) end # rubocop:enable Metrics/BlockLength end |
#patch_password_policy(password_policy_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_password_policy API.
Update a password policy.
16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 16429 def patch_password_policy(password_policy_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_password_policy.' if logger raise "Missing the required parameter 'password_policy_id' when calling patch_password_policy." if password_policy_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'password_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(password_policy_id) path = '/admin/v1/PasswordPolicies/{passwordPolicyId}'.sub('{passwordPolicyId}', password_policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_password_policy') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::PasswordPolicy' ) end # rubocop:enable Metrics/BlockLength end |
#patch_policy(policy_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_policy API.
Update a Policy
16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 16519 def patch_policy(policy_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_policy.' if logger raise "Missing the required parameter 'policy_id' when calling patch_policy." if policy_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'policy_id' must not be blank" if OCI::Internal::Util.blank_string?(policy_id) path = '/admin/v1/Policies/{policyId}'.sub('{policyId}', policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_policy') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Policy' ) end # rubocop:enable Metrics/BlockLength end |
#patch_rule(rule_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_rule API.
Update a Rule
16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 16609 def patch_rule(rule_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_rule.' if logger raise "Missing the required parameter 'rule_id' when calling patch_rule." if rule_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'rule_id' must not be blank" if OCI::Internal::Util.blank_string?(rule_id) path = '/admin/v1/Rules/{ruleId}'.sub('{ruleId}', rule_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_rule') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Rule' ) end # rubocop:enable Metrics/BlockLength end |
#patch_schema(schema_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_schema API.
Update a Schema Def
16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 16696 def patch_schema(schema_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_schema.' if logger raise "Missing the required parameter 'schema_id' when calling patch_schema." if schema_id.nil? raise "Parameter value for 'schema_id' must not be blank" if OCI::Internal::Util.blank_string?(schema_id) path = '/admin/v1/Schemas/{schemaId}'.sub('{schemaId}', schema_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_schema') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Schema' ) end # rubocop:enable Metrics/BlockLength end |
#patch_security_question(security_question_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_security_question API.
Update a security question.
16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 16774 def patch_security_question(security_question_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_security_question.' if logger raise "Missing the required parameter 'security_question_id' when calling patch_security_question." if security_question_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'security_question_id' must not be blank" if OCI::Internal::Util.blank_string?(security_question_id) path = '/admin/v1/SecurityQuestions/{securityQuestionId}'.sub('{securityQuestionId}', security_question_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_security_question') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SecurityQuestion' ) end # rubocop:enable Metrics/BlockLength end |
#patch_security_question_setting(security_question_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_security_question_setting API.
Update a security question setting.
16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 16864 def patch_security_question_setting(security_question_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_security_question_setting.' if logger raise "Missing the required parameter 'security_question_setting_id' when calling patch_security_question_setting." if security_question_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'security_question_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(security_question_setting_id) path = '/admin/v1/SecurityQuestionSettings/{securityQuestionSettingId}'.sub('{securityQuestionSettingId}', security_question_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_security_question_setting') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SecurityQuestionSetting' ) end # rubocop:enable Metrics/BlockLength end |
#patch_self_registration_profile(self_registration_profile_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_self_registration_profile API.
Update a self-registration profile.
16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 16954 def patch_self_registration_profile(self_registration_profile_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_self_registration_profile.' if logger raise "Missing the required parameter 'self_registration_profile_id' when calling patch_self_registration_profile." if self_registration_profile_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'self_registration_profile_id' must not be blank" if OCI::Internal::Util.blank_string?(self_registration_profile_id) path = '/admin/v1/SelfRegistrationProfiles/{selfRegistrationProfileId}'.sub('{selfRegistrationProfileId}', self_registration_profile_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_self_registration_profile') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SelfRegistrationProfile' ) end # rubocop:enable Metrics/BlockLength end |
#patch_setting(setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_setting API.
Update a Setting
17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 17044 def patch_setting(setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_setting.' if logger raise "Missing the required parameter 'setting_id' when calling patch_setting." if setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'setting_id' must not be blank" if OCI::Internal::Util.blank_string?(setting_id) path = '/admin/v1/Settings/{settingId}'.sub('{settingId}', setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_setting') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Setting' ) end # rubocop:enable Metrics/BlockLength end |
#patch_smtp_credential(smtp_credential_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_smtp_credential API.
Update a user's SMTP credentials.
17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 17134 def patch_smtp_credential(smtp_credential_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_smtp_credential.' if logger raise "Missing the required parameter 'smtp_credential_id' when calling patch_smtp_credential." if smtp_credential_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'smtp_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(smtp_credential_id) path = '/admin/v1/SmtpCredentials/{smtpCredentialId}'.sub('{smtpCredentialId}', smtp_credential_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_smtp_credential') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SmtpCredential' ) end # rubocop:enable Metrics/BlockLength end |
#patch_user(user_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_user API.
Update a user.
17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 17224 def patch_user(user_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_user.' if logger raise "Missing the required parameter 'user_id' when calling patch_user." if user_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'user_id' must not be blank" if OCI::Internal::Util.blank_string?(user_id) path = '/admin/v1/Users/{userId}'.sub('{userId}', user_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_user') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::User' ) end # rubocop:enable Metrics/BlockLength end |
#patch_user_attributes_setting(user_attributes_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use patch_user_attributes_setting API.
Update User Schema Attribute Settings
17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 17314 def patch_user_attributes_setting(user_attributes_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#patch_user_attributes_setting.' if logger raise "Missing the required parameter 'user_attributes_setting_id' when calling patch_user_attributes_setting." if user_attributes_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'user_attributes_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(user_attributes_setting_id) path = '/admin/v1/UserAttributesSettings/{userAttributesSettingId}'.sub('{userAttributesSettingId}', user_attributes_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:patch_op]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#patch_user_attributes_setting') do @api_client.call_api( :PATCH, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::UserAttributesSetting' ) end # rubocop:enable Metrics/BlockLength end |
#put_account_recovery_setting(account_recovery_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_account_recovery_setting API.
Replace an account recovery setting.
17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 17404 def put_account_recovery_setting(account_recovery_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_account_recovery_setting.' if logger raise "Missing the required parameter 'account_recovery_setting_id' when calling put_account_recovery_setting." if account_recovery_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'account_recovery_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(account_recovery_setting_id) path = '/admin/v1/AccountRecoverySettings/{accountRecoverySettingId}'.sub('{accountRecoverySettingId}', account_recovery_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:account_recovery_setting]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_account_recovery_setting') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AccountRecoverySetting' ) end # rubocop:enable Metrics/BlockLength end |
#put_app(app_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_app API.
Replace an App
17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 17494 def put_app(app_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_app.' if logger raise "Missing the required parameter 'app_id' when calling put_app." if app_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'app_id' must not be blank" if OCI::Internal::Util.blank_string?(app_id) path = '/admin/v1/Apps/{appId}'.sub('{appId}', app_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:app]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_app') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::App' ) end # rubocop:enable Metrics/BlockLength end |
#put_app_status_changer(app_status_changer_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_app_status_changer API.
Activate/Deactivate an App
17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 17584 def put_app_status_changer(app_status_changer_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_app_status_changer.' if logger raise "Missing the required parameter 'app_status_changer_id' when calling put_app_status_changer." if app_status_changer_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'app_status_changer_id' must not be blank" if OCI::Internal::Util.blank_string?(app_status_changer_id) path = '/admin/v1/AppStatusChanger/{appStatusChangerId}'.sub('{appStatusChangerId}', app_status_changer_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:app_status_changer]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_app_status_changer') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AppStatusChanger' ) end # rubocop:enable Metrics/BlockLength end |
#put_approval_workflow(approval_workflow_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_approval_workflow API.
Replace ApprovalWorkflow
17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 17674 def put_approval_workflow(approval_workflow_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_approval_workflow.' if logger raise "Missing the required parameter 'approval_workflow_id' when calling put_approval_workflow." if approval_workflow_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'approval_workflow_id' must not be blank" if OCI::Internal::Util.blank_string?(approval_workflow_id) path = '/admin/v1/ApprovalWorkflows/{approvalWorkflowId}'.sub('{approvalWorkflowId}', approval_workflow_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:approval_workflow]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_approval_workflow') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApprovalWorkflow' ) end # rubocop:enable Metrics/BlockLength end |
#put_authentication_factor_setting(authentication_factor_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_authentication_factor_setting API.
Replace Authentication Factor Settings
17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 17764 def put_authentication_factor_setting(authentication_factor_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_authentication_factor_setting.' if logger raise "Missing the required parameter 'authentication_factor_setting_id' when calling put_authentication_factor_setting." if authentication_factor_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'authentication_factor_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(authentication_factor_setting_id) path = '/admin/v1/AuthenticationFactorSettings/{authenticationFactorSettingId}'.sub('{authenticationFactorSettingId}', authentication_factor_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:authentication_factor_setting]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_authentication_factor_setting') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AuthenticationFactorSetting' ) end # rubocop:enable Metrics/BlockLength end |
#put_cloud_gate(cloud_gate_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_cloud_gate API.
Replace a Cloud Gate
17854 17855 17856 17857 17858 17859 17860 17861 17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 17905 17906 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 17854 def put_cloud_gate(cloud_gate_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_cloud_gate.' if logger raise "Missing the required parameter 'cloud_gate_id' when calling put_cloud_gate." if cloud_gate_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'cloud_gate_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_gate_id) path = '/admin/v1/CloudGates/{cloudGateId}'.sub('{cloudGateId}', cloud_gate_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:cloud_gate]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_cloud_gate') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGate' ) end # rubocop:enable Metrics/BlockLength end |
#put_cloud_gate_mapping(cloud_gate_mapping_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_cloud_gate_mapping API.
Replace a Cloud Gate mapping
17944 17945 17946 17947 17948 17949 17950 17951 17952 17953 17954 17955 17956 17957 17958 17959 17960 17961 17962 17963 17964 17965 17966 17967 17968 17969 17970 17971 17972 17973 17974 17975 17976 17977 17978 17979 17980 17981 17982 17983 17984 17985 17986 17987 17988 17989 17990 17991 17992 17993 17994 17995 17996 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 17944 def put_cloud_gate_mapping(cloud_gate_mapping_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_cloud_gate_mapping.' if logger raise "Missing the required parameter 'cloud_gate_mapping_id' when calling put_cloud_gate_mapping." if cloud_gate_mapping_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'cloud_gate_mapping_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_gate_mapping_id) path = '/admin/v1/CloudGateMappings/{cloudGateMappingId}'.sub('{cloudGateMappingId}', cloud_gate_mapping_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:cloud_gate_mapping]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_cloud_gate_mapping') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGateMapping' ) end # rubocop:enable Metrics/BlockLength end |
#put_cloud_gate_server(cloud_gate_server_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_cloud_gate_server API.
Replace a Cloud Gate server
18034 18035 18036 18037 18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 18034 def put_cloud_gate_server(cloud_gate_server_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_cloud_gate_server.' if logger raise "Missing the required parameter 'cloud_gate_server_id' when calling put_cloud_gate_server." if cloud_gate_server_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'cloud_gate_server_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_gate_server_id) path = '/admin/v1/CloudGateServers/{cloudGateServerId}'.sub('{cloudGateServerId}', cloud_gate_server_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:cloud_gate_server]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_cloud_gate_server') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGateServer' ) end # rubocop:enable Metrics/BlockLength end |
#put_condition(condition_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_condition API.
Replace a Condition
18124 18125 18126 18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 18124 def put_condition(condition_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_condition.' if logger raise "Missing the required parameter 'condition_id' when calling put_condition." if condition_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'condition_id' must not be blank" if OCI::Internal::Util.blank_string?(condition_id) path = '/admin/v1/Conditions/{conditionId}'.sub('{conditionId}', condition_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:condition]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_condition') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Condition' ) end # rubocop:enable Metrics/BlockLength end |
#put_dynamic_resource_group(dynamic_resource_group_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_dynamic_resource_group API.
Replace a Dynamic Resource Group.
18214 18215 18216 18217 18218 18219 18220 18221 18222 18223 18224 18225 18226 18227 18228 18229 18230 18231 18232 18233 18234 18235 18236 18237 18238 18239 18240 18241 18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 18252 18253 18254 18255 18256 18257 18258 18259 18260 18261 18262 18263 18264 18265 18266 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 18214 def put_dynamic_resource_group(dynamic_resource_group_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_dynamic_resource_group.' if logger raise "Missing the required parameter 'dynamic_resource_group_id' when calling put_dynamic_resource_group." if dynamic_resource_group_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'dynamic_resource_group_id' must not be blank" if OCI::Internal::Util.blank_string?(dynamic_resource_group_id) path = '/admin/v1/DynamicResourceGroups/{dynamicResourceGroupId}'.sub('{dynamicResourceGroupId}', dynamic_resource_group_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:dynamic_resource_group]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_dynamic_resource_group') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::DynamicResourceGroup' ) end # rubocop:enable Metrics/BlockLength end |
#put_group(group_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_group API.
Replace a group.
18304 18305 18306 18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 18324 18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 18304 def put_group(group_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_group.' if logger raise "Missing the required parameter 'group_id' when calling put_group." if group_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'group_id' must not be blank" if OCI::Internal::Util.blank_string?(group_id) path = '/admin/v1/Groups/{groupId}'.sub('{groupId}', group_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:group]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_group') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Group' ) end # rubocop:enable Metrics/BlockLength end |
#put_identity_provider(identity_provider_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_identity_provider API.
Replace an Identity Provider
18394 18395 18396 18397 18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 18394 def put_identity_provider(identity_provider_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_identity_provider.' if logger raise "Missing the required parameter 'identity_provider_id' when calling put_identity_provider." if identity_provider_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'identity_provider_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_provider_id) path = '/admin/v1/IdentityProviders/{identityProviderId}'.sub('{identityProviderId}', identity_provider_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:identity_provider]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_identity_provider') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::IdentityProvider' ) end # rubocop:enable Metrics/BlockLength end |
#put_identity_setting(identity_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_identity_setting API.
Replace an Identity setting.
18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 18484 def put_identity_setting(identity_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_identity_setting.' if logger raise "Missing the required parameter 'identity_setting_id' when calling put_identity_setting." if identity_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'identity_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_setting_id) path = '/admin/v1/IdentitySettings/{identitySettingId}'.sub('{identitySettingId}', identity_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:identity_setting]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_identity_setting') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::IdentitySetting' ) end # rubocop:enable Metrics/BlockLength end |
#put_kmsi_setting(kmsi_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_kmsi_setting API.
Replace KmsiSettings
18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 18599 18600 18601 18602 18603 18604 18605 18606 18607 18608 18609 18610 18611 18612 18613 18614 18615 18616 18617 18618 18619 18620 18621 18622 18623 18624 18625 18626 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 18574 def put_kmsi_setting(kmsi_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_kmsi_setting.' if logger raise "Missing the required parameter 'kmsi_setting_id' when calling put_kmsi_setting." if kmsi_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'kmsi_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(kmsi_setting_id) path = '/admin/v1/KmsiSettings/{kmsiSettingId}'.sub('{kmsiSettingId}', kmsi_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:kmsi_setting]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_kmsi_setting') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::KmsiSetting' ) end # rubocop:enable Metrics/BlockLength end |
#put_me(opts = {}) ⇒ Response
Click here to see an example of how to use put_me API.
Replace a user's own information.
18663 18664 18665 18666 18667 18668 18669 18670 18671 18672 18673 18674 18675 18676 18677 18678 18679 18680 18681 18682 18683 18684 18685 18686 18687 18688 18689 18690 18691 18692 18693 18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 18705 18706 18707 18708 18709 18710 18711 18712 18713 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 18663 def put_me(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_me.' if logger attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end path = '/admin/v1/Me' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:me]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_me') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Me' ) end # rubocop:enable Metrics/BlockLength end |
#put_me_password_changer(opts = {}) ⇒ Response
Click here to see an example of how to use put_me_password_changer API.
Update a user's own password.
18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 18780 18781 18782 18783 18784 18785 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 18747 def put_me_password_changer(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_me_password_changer.' if logger path = '/admin/v1/MePasswordChanger' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:me_password_changer]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_me_password_changer') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MePasswordChanger' ) end # rubocop:enable Metrics/BlockLength end |
#put_network_perimeter(network_perimeter_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_network_perimeter API.
Replace a NetworkPerimeter
18823 18824 18825 18826 18827 18828 18829 18830 18831 18832 18833 18834 18835 18836 18837 18838 18839 18840 18841 18842 18843 18844 18845 18846 18847 18848 18849 18850 18851 18852 18853 18854 18855 18856 18857 18858 18859 18860 18861 18862 18863 18864 18865 18866 18867 18868 18869 18870 18871 18872 18873 18874 18875 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 18823 def put_network_perimeter(network_perimeter_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_network_perimeter.' if logger raise "Missing the required parameter 'network_perimeter_id' when calling put_network_perimeter." if network_perimeter_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'network_perimeter_id' must not be blank" if OCI::Internal::Util.blank_string?(network_perimeter_id) path = '/admin/v1/NetworkPerimeters/{networkPerimeterId}'.sub('{networkPerimeterId}', network_perimeter_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:network_perimeter]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_network_perimeter') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::NetworkPerimeter' ) end # rubocop:enable Metrics/BlockLength end |
#put_notification_setting(notification_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_notification_setting API.
Replace Notification Settings
18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 18913 def put_notification_setting(notification_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_notification_setting.' if logger raise "Missing the required parameter 'notification_setting_id' when calling put_notification_setting." if notification_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'notification_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(notification_setting_id) path = '/admin/v1/NotificationSettings/{notificationSettingId}'.sub('{notificationSettingId}', notification_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:notification_setting]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_notification_setting') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::NotificationSetting' ) end # rubocop:enable Metrics/BlockLength end |
#put_password_policy(password_policy_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_password_policy API.
Replace a password policy.
19003 19004 19005 19006 19007 19008 19009 19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 19038 19039 19040 19041 19042 19043 19044 19045 19046 19047 19048 19049 19050 19051 19052 19053 19054 19055 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 19003 def put_password_policy(password_policy_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_password_policy.' if logger raise "Missing the required parameter 'password_policy_id' when calling put_password_policy." if password_policy_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'password_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(password_policy_id) path = '/admin/v1/PasswordPolicies/{passwordPolicyId}'.sub('{passwordPolicyId}', password_policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:password_policy]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_password_policy') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::PasswordPolicy' ) end # rubocop:enable Metrics/BlockLength end |
#put_policy(policy_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_policy API.
Replace a Policy
19093 19094 19095 19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 19093 def put_policy(policy_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_policy.' if logger raise "Missing the required parameter 'policy_id' when calling put_policy." if policy_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'policy_id' must not be blank" if OCI::Internal::Util.blank_string?(policy_id) path = '/admin/v1/Policies/{policyId}'.sub('{policyId}', policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:policy]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_policy') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Policy' ) end # rubocop:enable Metrics/BlockLength end |
#put_rule(rule_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_rule API.
Replace a Rule
19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 19218 19219 19220 19221 19222 19223 19224 19225 19226 19227 19228 19229 19230 19231 19232 19233 19234 19235 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 19183 def put_rule(rule_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_rule.' if logger raise "Missing the required parameter 'rule_id' when calling put_rule." if rule_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'rule_id' must not be blank" if OCI::Internal::Util.blank_string?(rule_id) path = '/admin/v1/Rules/{ruleId}'.sub('{ruleId}', rule_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:rule]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_rule') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Rule' ) end # rubocop:enable Metrics/BlockLength end |
#put_schema(schema_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_schema API.
Replace a Schema Def
19270 19271 19272 19273 19274 19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 19297 19298 19299 19300 19301 19302 19303 19304 19305 19306 19307 19308 19309 19310 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 19270 def put_schema(schema_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_schema.' if logger raise "Missing the required parameter 'schema_id' when calling put_schema." if schema_id.nil? raise "Parameter value for 'schema_id' must not be blank" if OCI::Internal::Util.blank_string?(schema_id) path = '/admin/v1/Schemas/{schemaId}'.sub('{schemaId}', schema_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:schema]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_schema') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Schema' ) end # rubocop:enable Metrics/BlockLength end |
#put_security_question_setting(security_question_setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_security_question_setting API.
Replace a security question setting.
19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 19348 def put_security_question_setting(security_question_setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_security_question_setting.' if logger raise "Missing the required parameter 'security_question_setting_id' when calling put_security_question_setting." if security_question_setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'security_question_setting_id' must not be blank" if OCI::Internal::Util.blank_string?(security_question_setting_id) path = '/admin/v1/SecurityQuestionSettings/{securityQuestionSettingId}'.sub('{securityQuestionSettingId}', security_question_setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:security_question_setting]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_security_question_setting') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SecurityQuestionSetting' ) end # rubocop:enable Metrics/BlockLength end |
#put_self_registration_profile(self_registration_profile_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_self_registration_profile API.
Replace a self-registration profile.
19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 19475 19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 19486 19487 19488 19489 19490 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 19438 def put_self_registration_profile(self_registration_profile_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_self_registration_profile.' if logger raise "Missing the required parameter 'self_registration_profile_id' when calling put_self_registration_profile." if self_registration_profile_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'self_registration_profile_id' must not be blank" if OCI::Internal::Util.blank_string?(self_registration_profile_id) path = '/admin/v1/SelfRegistrationProfiles/{selfRegistrationProfileId}'.sub('{selfRegistrationProfileId}', self_registration_profile_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:self_registration_profile]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_self_registration_profile') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SelfRegistrationProfile' ) end # rubocop:enable Metrics/BlockLength end |
#put_setting(setting_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_setting API.
Replace Settings
19528 19529 19530 19531 19532 19533 19534 19535 19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 19528 def put_setting(setting_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_setting.' if logger raise "Missing the required parameter 'setting_id' when calling put_setting." if setting_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'setting_id' must not be blank" if OCI::Internal::Util.blank_string?(setting_id) path = '/admin/v1/Settings/{settingId}'.sub('{settingId}', setting_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:setting]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_setting') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Setting' ) end # rubocop:enable Metrics/BlockLength end |
#put_user(user_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_user API.
Replace a user.
19618 19619 19620 19621 19622 19623 19624 19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 19650 19651 19652 19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 19664 19665 19666 19667 19668 19669 19670 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 19618 def put_user(user_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_user.' if logger raise "Missing the required parameter 'user_id' when calling put_user." if user_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'user_id' must not be blank" if OCI::Internal::Util.blank_string?(user_id) path = '/admin/v1/Users/{userId}'.sub('{userId}', user_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:user]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_user') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::User' ) end # rubocop:enable Metrics/BlockLength end |
#put_user_capabilities_changer(user_capabilities_changer_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_user_capabilities_changer API.
Change a user's capabilities.
19705 19706 19707 19708 19709 19710 19711 19712 19713 19714 19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 19731 19732 19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 19705 def put_user_capabilities_changer(user_capabilities_changer_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_user_capabilities_changer.' if logger raise "Missing the required parameter 'user_capabilities_changer_id' when calling put_user_capabilities_changer." if user_capabilities_changer_id.nil? raise "Parameter value for 'user_capabilities_changer_id' must not be blank" if OCI::Internal::Util.blank_string?(user_capabilities_changer_id) path = '/admin/v1/UserCapabilitiesChanger/{userCapabilitiesChangerId}'.sub('{userCapabilitiesChangerId}', user_capabilities_changer_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:user_capabilities_changer]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_user_capabilities_changer') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::UserCapabilitiesChanger' ) end # rubocop:enable Metrics/BlockLength end |
#put_user_password_changer(user_password_changer_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_user_password_changer API.
Change a user's password to a known value.
19780 19781 19782 19783 19784 19785 19786 19787 19788 19789 19790 19791 19792 19793 19794 19795 19796 19797 19798 19799 19800 19801 19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 19815 19816 19817 19818 19819 19820 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 19780 def put_user_password_changer(user_password_changer_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_user_password_changer.' if logger raise "Missing the required parameter 'user_password_changer_id' when calling put_user_password_changer." if user_password_changer_id.nil? raise "Parameter value for 'user_password_changer_id' must not be blank" if OCI::Internal::Util.blank_string?(user_password_changer_id) path = '/admin/v1/UserPasswordChanger/{userPasswordChangerId}'.sub('{userPasswordChangerId}', user_password_changer_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:user_password_changer]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_user_password_changer') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::UserPasswordChanger' ) end # rubocop:enable Metrics/BlockLength end |
#put_user_password_resetter(user_password_resetter_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_user_password_resetter API.
Reset a user's password to a randomly-generated value.
19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 19893 19894 19895 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 19855 def put_user_password_resetter(user_password_resetter_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_user_password_resetter.' if logger raise "Missing the required parameter 'user_password_resetter_id' when calling put_user_password_resetter." if user_password_resetter_id.nil? raise "Parameter value for 'user_password_resetter_id' must not be blank" if OCI::Internal::Util.blank_string?(user_password_resetter_id) path = '/admin/v1/UserPasswordResetter/{userPasswordResetterId}'.sub('{userPasswordResetterId}', user_password_resetter_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:user_password_resetter]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_user_password_resetter') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::UserPasswordResetter' ) end # rubocop:enable Metrics/BlockLength end |
#put_user_status_changer(user_status_changer_id, opts = {}) ⇒ Response
Click here to see an example of how to use put_user_status_changer API.
Change a user's status.
19933 19934 19935 19936 19937 19938 19939 19940 19941 19942 19943 19944 19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 19962 19963 19964 19965 19966 19967 19968 19969 19970 19971 19972 19973 19974 19975 19976 19977 19978 19979 19980 19981 19982 19983 19984 19985 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 19933 def put_user_status_changer(user_status_changer_id, opts = {}) logger.debug 'Calling operation IdentityDomainsClient#put_user_status_changer.' if logger raise "Missing the required parameter 'user_status_changer_id' when calling put_user_status_changer." if user_status_changer_id.nil? attribute_sets_allowable_values = %w[all always never request default] if opts[:attribute_sets] && !opts[:attribute_sets].empty? opts[:attribute_sets].each do |val_to_check| unless attribute_sets_allowable_values.include?(val_to_check) raise 'Invalid value for "attribute_sets", must be one of all, always, never, request, default.' end end end raise "Parameter value for 'user_status_changer_id' must not be blank" if OCI::Internal::Util.blank_string?(user_status_changer_id) path = '/admin/v1/UserStatusChanger/{userStatusChangerId}'.sub('{userStatusChangerId}', user_status_changer_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:attributes] = opts[:attributes] if opts[:attributes] query_params[:attributeSets] = OCI::ApiClient.build_collection_params(opts[:attribute_sets], :multi) if opts[:attribute_sets] && !opts[:attribute_sets].empty? # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:user_status_changer]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#put_user_status_changer') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::UserStatusChanger' ) end # rubocop:enable Metrics/BlockLength end |
#search_account_mgmt_infos(opts = {}) ⇒ Response
Click here to see an example of how to use search_account_mgmt_infos API.
Search Account Mgmt Info Using POST
20007 20008 20009 20010 20011 20012 20013 20014 20015 20016 20017 20018 20019 20020 20021 20022 20023 20024 20025 20026 20027 20028 20029 20030 20031 20032 20033 20034 20035 20036 20037 20038 20039 20040 20041 20042 20043 20044 20045 20046 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20007 def search_account_mgmt_infos(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_account_mgmt_infos.' if logger path = '/admin/v1/AccountMgmtInfos/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:account_mgmt_info_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_account_mgmt_infos') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AccountMgmtInfos' ) end # rubocop:enable Metrics/BlockLength end |
#search_api_keys(opts = {}) ⇒ Response
Click here to see an example of how to use search_api_keys API.
Search for API keys using POST.
20068 20069 20070 20071 20072 20073 20074 20075 20076 20077 20078 20079 20080 20081 20082 20083 20084 20085 20086 20087 20088 20089 20090 20091 20092 20093 20094 20095 20096 20097 20098 20099 20100 20101 20102 20103 20104 20105 20106 20107 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20068 def search_api_keys(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_api_keys.' if logger path = '/admin/v1/ApiKeys/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:api_key_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_api_keys') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ApiKeys' ) end # rubocop:enable Metrics/BlockLength end |
#search_app_roles(opts = {}) ⇒ Response
Click here to see an example of how to use search_app_roles API.
Search AppRoles Using POST
20129 20130 20131 20132 20133 20134 20135 20136 20137 20138 20139 20140 20141 20142 20143 20144 20145 20146 20147 20148 20149 20150 20151 20152 20153 20154 20155 20156 20157 20158 20159 20160 20161 20162 20163 20164 20165 20166 20167 20168 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20129 def search_app_roles(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_app_roles.' if logger path = '/admin/v1/AppRoles/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:app_role_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_app_roles') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AppRoles' ) end # rubocop:enable Metrics/BlockLength end |
#search_apps(opts = {}) ⇒ Response
Click here to see an example of how to use search_apps API.
Search Apps Using POST
20190 20191 20192 20193 20194 20195 20196 20197 20198 20199 20200 20201 20202 20203 20204 20205 20206 20207 20208 20209 20210 20211 20212 20213 20214 20215 20216 20217 20218 20219 20220 20221 20222 20223 20224 20225 20226 20227 20228 20229 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20190 def search_apps(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_apps.' if logger path = '/admin/v1/Apps/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:app_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_apps') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Apps' ) end # rubocop:enable Metrics/BlockLength end |
#search_auth_tokens(opts = {}) ⇒ Response
Click here to see an example of how to use search_auth_tokens API.
Search for Auth tokens using POST.
20251 20252 20253 20254 20255 20256 20257 20258 20259 20260 20261 20262 20263 20264 20265 20266 20267 20268 20269 20270 20271 20272 20273 20274 20275 20276 20277 20278 20279 20280 20281 20282 20283 20284 20285 20286 20287 20288 20289 20290 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20251 def search_auth_tokens(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_auth_tokens.' if logger path = '/admin/v1/AuthTokens/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:auth_token_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_auth_tokens') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AuthTokens' ) end # rubocop:enable Metrics/BlockLength end |
#search_authentication_factor_settings(opts = {}) ⇒ Response
Click here to see an example of how to use search_authentication_factor_settings API.
Search Authentication Factor Settings Using POST
20312 20313 20314 20315 20316 20317 20318 20319 20320 20321 20322 20323 20324 20325 20326 20327 20328 20329 20330 20331 20332 20333 20334 20335 20336 20337 20338 20339 20340 20341 20342 20343 20344 20345 20346 20347 20348 20349 20350 20351 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20312 def search_authentication_factor_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_authentication_factor_settings.' if logger path = '/admin/v1/AuthenticationFactorSettings/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:authentication_factor_settings_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_authentication_factor_settings') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::AuthenticationFactorSettings' ) end # rubocop:enable Metrics/BlockLength end |
#search_cloud_gate_mappings(opts = {}) ⇒ Response
Click here to see an example of how to use search_cloud_gate_mappings API.
Search Cloud Gate mappings Using POST
20373 20374 20375 20376 20377 20378 20379 20380 20381 20382 20383 20384 20385 20386 20387 20388 20389 20390 20391 20392 20393 20394 20395 20396 20397 20398 20399 20400 20401 20402 20403 20404 20405 20406 20407 20408 20409 20410 20411 20412 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20373 def search_cloud_gate_mappings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_cloud_gate_mappings.' if logger path = '/admin/v1/CloudGateMappings/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:cloud_gate_mapping_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_cloud_gate_mappings') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGateMappings' ) end # rubocop:enable Metrics/BlockLength end |
#search_cloud_gate_servers(opts = {}) ⇒ Response
Click here to see an example of how to use search_cloud_gate_servers API.
Search Cloud Gate servers Using POST
20434 20435 20436 20437 20438 20439 20440 20441 20442 20443 20444 20445 20446 20447 20448 20449 20450 20451 20452 20453 20454 20455 20456 20457 20458 20459 20460 20461 20462 20463 20464 20465 20466 20467 20468 20469 20470 20471 20472 20473 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20434 def search_cloud_gate_servers(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_cloud_gate_servers.' if logger path = '/admin/v1/CloudGateServers/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:cloud_gate_server_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_cloud_gate_servers') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGateServers' ) end # rubocop:enable Metrics/BlockLength end |
#search_cloud_gates(opts = {}) ⇒ Response
Click here to see an example of how to use search_cloud_gates API.
Search Cloud Gates Using POST
20495 20496 20497 20498 20499 20500 20501 20502 20503 20504 20505 20506 20507 20508 20509 20510 20511 20512 20513 20514 20515 20516 20517 20518 20519 20520 20521 20522 20523 20524 20525 20526 20527 20528 20529 20530 20531 20532 20533 20534 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20495 def search_cloud_gates(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_cloud_gates.' if logger path = '/admin/v1/CloudGates/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:cloud_gate_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_cloud_gates') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CloudGates' ) end # rubocop:enable Metrics/BlockLength end |
#search_conditions(opts = {}) ⇒ Response
Click here to see an example of how to use search_conditions API.
Search Conditions Using POST
20556 20557 20558 20559 20560 20561 20562 20563 20564 20565 20566 20567 20568 20569 20570 20571 20572 20573 20574 20575 20576 20577 20578 20579 20580 20581 20582 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593 20594 20595 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20556 def search_conditions(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_conditions.' if logger path = '/admin/v1/Conditions/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:condition_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_conditions') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Conditions' ) end # rubocop:enable Metrics/BlockLength end |
#search_customer_secret_keys(opts = {}) ⇒ Response
Click here to see an example of how to use search_customer_secret_keys API.
Search for customer secret keys using POST.
20617 20618 20619 20620 20621 20622 20623 20624 20625 20626 20627 20628 20629 20630 20631 20632 20633 20634 20635 20636 20637 20638 20639 20640 20641 20642 20643 20644 20645 20646 20647 20648 20649 20650 20651 20652 20653 20654 20655 20656 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20617 def search_customer_secret_keys(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_customer_secret_keys.' if logger path = '/admin/v1/CustomerSecretKeys/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:customer_secret_key_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_customer_secret_keys') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::CustomerSecretKeys' ) end # rubocop:enable Metrics/BlockLength end |
#search_dynamic_resource_groups(opts = {}) ⇒ Response
Click here to see an example of how to use search_dynamic_resource_groups API.
Search for Dynamic Resource Groups using POST.
20678 20679 20680 20681 20682 20683 20684 20685 20686 20687 20688 20689 20690 20691 20692 20693 20694 20695 20696 20697 20698 20699 20700 20701 20702 20703 20704 20705 20706 20707 20708 20709 20710 20711 20712 20713 20714 20715 20716 20717 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20678 def search_dynamic_resource_groups(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_dynamic_resource_groups.' if logger path = '/admin/v1/DynamicResourceGroups/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:dynamic_resource_group_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_dynamic_resource_groups') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::DynamicResourceGroups' ) end # rubocop:enable Metrics/BlockLength end |
#search_grants(opts = {}) ⇒ Response
Click here to see an example of how to use search_grants API.
Search Grants Using POST
20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 20751 20752 20753 20754 20755 20756 20757 20758 20759 20760 20761 20762 20763 20764 20765 20766 20767 20768 20769 20770 20771 20772 20773 20774 20775 20776 20777 20778 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20739 def search_grants(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_grants.' if logger path = '/admin/v1/Grants/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:grant_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_grants') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Grants' ) end # rubocop:enable Metrics/BlockLength end |
#search_groups(opts = {}) ⇒ Response
Click here to see an example of how to use search_groups API.
Search for groups using POST.
20800 20801 20802 20803 20804 20805 20806 20807 20808 20809 20810 20811 20812 20813 20814 20815 20816 20817 20818 20819 20820 20821 20822 20823 20824 20825 20826 20827 20828 20829 20830 20831 20832 20833 20834 20835 20836 20837 20838 20839 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20800 def search_groups(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_groups.' if logger path = '/admin/v1/Groups/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:group_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_groups') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Groups' ) end # rubocop:enable Metrics/BlockLength end |
#search_identity_providers(opts = {}) ⇒ Response
Click here to see an example of how to use search_identity_providers API.
Search Identity Providers Using POST
20861 20862 20863 20864 20865 20866 20867 20868 20869 20870 20871 20872 20873 20874 20875 20876 20877 20878 20879 20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 20892 20893 20894 20895 20896 20897 20898 20899 20900 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20861 def search_identity_providers(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_identity_providers.' if logger path = '/admin/v1/IdentityProviders/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:identity_provider_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_identity_providers') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::IdentityProviders' ) end # rubocop:enable Metrics/BlockLength end |
#search_identity_settings(opts = {}) ⇒ Response
Click here to see an example of how to use search_identity_settings API.
Search for Identity settings using POST.
20922 20923 20924 20925 20926 20927 20928 20929 20930 20931 20932 20933 20934 20935 20936 20937 20938 20939 20940 20941 20942 20943 20944 20945 20946 20947 20948 20949 20950 20951 20952 20953 20954 20955 20956 20957 20958 20959 20960 20961 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20922 def search_identity_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_identity_settings.' if logger path = '/admin/v1/IdentitySettings/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:identity_settings_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_identity_settings') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::IdentitySettings' ) end # rubocop:enable Metrics/BlockLength end |
#search_kmsi_settings(opts = {}) ⇒ Response
Click here to see an example of how to use search_kmsi_settings API.
Search KmsiSettings Using POST
20983 20984 20985 20986 20987 20988 20989 20990 20991 20992 20993 20994 20995 20996 20997 20998 20999 21000 21001 21002 21003 21004 21005 21006 21007 21008 21009 21010 21011 21012 21013 21014 21015 21016 21017 21018 21019 21020 21021 21022 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 20983 def search_kmsi_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_kmsi_settings.' if logger path = '/admin/v1/KmsiSettings/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:kmsi_settings_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_kmsi_settings') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::KmsiSettings' ) end # rubocop:enable Metrics/BlockLength end |
#search_my_apps(opts = {}) ⇒ Response
Click here to see an example of how to use search_my_apps API.
Search My Apps Using POST
21044 21045 21046 21047 21048 21049 21050 21051 21052 21053 21054 21055 21056 21057 21058 21059 21060 21061 21062 21063 21064 21065 21066 21067 21068 21069 21070 21071 21072 21073 21074 21075 21076 21077 21078 21079 21080 21081 21082 21083 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21044 def search_my_apps(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_my_apps.' if logger path = '/admin/v1/MyApps/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_app_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_my_apps') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyApps' ) end # rubocop:enable Metrics/BlockLength end |
#search_my_groups(opts = {}) ⇒ Response
Click here to see an example of how to use search_my_groups API.
Search for 'My Groups' using POST.
21105 21106 21107 21108 21109 21110 21111 21112 21113 21114 21115 21116 21117 21118 21119 21120 21121 21122 21123 21124 21125 21126 21127 21128 21129 21130 21131 21132 21133 21134 21135 21136 21137 21138 21139 21140 21141 21142 21143 21144 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21105 def search_my_groups(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_my_groups.' if logger path = '/admin/v1/MyGroups/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_group_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_my_groups') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyGroups' ) end # rubocop:enable Metrics/BlockLength end |
#search_my_requestable_groups(opts = {}) ⇒ Response
Click here to see an example of how to use search_my_requestable_groups API.
Search My Requestable Groups Using POST
21166 21167 21168 21169 21170 21171 21172 21173 21174 21175 21176 21177 21178 21179 21180 21181 21182 21183 21184 21185 21186 21187 21188 21189 21190 21191 21192 21193 21194 21195 21196 21197 21198 21199 21200 21201 21202 21203 21204 21205 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21166 def search_my_requestable_groups(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_my_requestable_groups.' if logger path = '/admin/v1/MyRequestableGroups/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_requestable_group_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_my_requestable_groups') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyRequestableGroups' ) end # rubocop:enable Metrics/BlockLength end |
#search_my_requests(opts = {}) ⇒ Response
Click here to see an example of how to use search_my_requests API.
Search My Requests Using POST
21227 21228 21229 21230 21231 21232 21233 21234 21235 21236 21237 21238 21239 21240 21241 21242 21243 21244 21245 21246 21247 21248 21249 21250 21251 21252 21253 21254 21255 21256 21257 21258 21259 21260 21261 21262 21263 21264 21265 21266 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21227 def search_my_requests(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_my_requests.' if logger path = '/admin/v1/MyRequests/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:my_request_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_my_requests') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::MyRequests' ) end # rubocop:enable Metrics/BlockLength end |
#search_network_perimeters(opts = {}) ⇒ Response
Click here to see an example of how to use search_network_perimeters API.
Search NetworkPerimeters Using POST
21288 21289 21290 21291 21292 21293 21294 21295 21296 21297 21298 21299 21300 21301 21302 21303 21304 21305 21306 21307 21308 21309 21310 21311 21312 21313 21314 21315 21316 21317 21318 21319 21320 21321 21322 21323 21324 21325 21326 21327 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21288 def search_network_perimeters(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_network_perimeters.' if logger path = '/admin/v1/NetworkPerimeters/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:network_perimeter_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_network_perimeters') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::NetworkPerimeters' ) end # rubocop:enable Metrics/BlockLength end |
#search_notification_settings(opts = {}) ⇒ Response
Click here to see an example of how to use search_notification_settings API.
Search Notification Settings Using POST
21349 21350 21351 21352 21353 21354 21355 21356 21357 21358 21359 21360 21361 21362 21363 21364 21365 21366 21367 21368 21369 21370 21371 21372 21373 21374 21375 21376 21377 21378 21379 21380 21381 21382 21383 21384 21385 21386 21387 21388 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21349 def search_notification_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_notification_settings.' if logger path = '/admin/v1/NotificationSettings/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:notification_settings_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_notification_settings') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::NotificationSettings' ) end # rubocop:enable Metrics/BlockLength end |
#search_o_auth2_client_credentials(opts = {}) ⇒ Response
Click here to see an example of how to use search_o_auth2_client_credentials API.
Search for OAuth2 client credentials using POST.
21410 21411 21412 21413 21414 21415 21416 21417 21418 21419 21420 21421 21422 21423 21424 21425 21426 21427 21428 21429 21430 21431 21432 21433 21434 21435 21436 21437 21438 21439 21440 21441 21442 21443 21444 21445 21446 21447 21448 21449 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21410 def search_o_auth2_client_credentials(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_o_auth2_client_credentials.' if logger path = '/admin/v1/OAuth2ClientCredentials/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:o_auth2_client_credential_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_o_auth2_client_credentials') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::OAuth2ClientCredentials' ) end # rubocop:enable Metrics/BlockLength end |
#search_o_auth_client_certificates(opts = {}) ⇒ Response
Click here to see an example of how to use search_o_auth_client_certificates API.
Search OAuth Client Certificates Using POST
21471 21472 21473 21474 21475 21476 21477 21478 21479 21480 21481 21482 21483 21484 21485 21486 21487 21488 21489 21490 21491 21492 21493 21494 21495 21496 21497 21498 21499 21500 21501 21502 21503 21504 21505 21506 21507 21508 21509 21510 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21471 def search_o_auth_client_certificates(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_o_auth_client_certificates.' if logger path = '/admin/v1/OAuthClientCertificates/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:o_auth_client_certificate_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_o_auth_client_certificates') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::OAuthClientCertificates' ) end # rubocop:enable Metrics/BlockLength end |
#search_o_auth_partner_certificates(opts = {}) ⇒ Response
Click here to see an example of how to use search_o_auth_partner_certificates API.
Search OAuth Partner Certificates Using POST
21532 21533 21534 21535 21536 21537 21538 21539 21540 21541 21542 21543 21544 21545 21546 21547 21548 21549 21550 21551 21552 21553 21554 21555 21556 21557 21558 21559 21560 21561 21562 21563 21564 21565 21566 21567 21568 21569 21570 21571 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21532 def search_o_auth_partner_certificates(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_o_auth_partner_certificates.' if logger path = '/admin/v1/OAuthPartnerCertificates/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:o_auth_partner_certificate_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_o_auth_partner_certificates') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::OAuthPartnerCertificates' ) end # rubocop:enable Metrics/BlockLength end |
#search_password_policies(opts = {}) ⇒ Response
Click here to see an example of how to use search_password_policies API.
Search for password policies using POST.
21593 21594 21595 21596 21597 21598 21599 21600 21601 21602 21603 21604 21605 21606 21607 21608 21609 21610 21611 21612 21613 21614 21615 21616 21617 21618 21619 21620 21621 21622 21623 21624 21625 21626 21627 21628 21629 21630 21631 21632 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21593 def search_password_policies(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_password_policies.' if logger path = '/admin/v1/PasswordPolicies/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:password_policy_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_password_policies') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::PasswordPolicies' ) end # rubocop:enable Metrics/BlockLength end |
#search_policies(opts = {}) ⇒ Response
Click here to see an example of how to use search_policies API.
Search Policies Using POST
21654 21655 21656 21657 21658 21659 21660 21661 21662 21663 21664 21665 21666 21667 21668 21669 21670 21671 21672 21673 21674 21675 21676 21677 21678 21679 21680 21681 21682 21683 21684 21685 21686 21687 21688 21689 21690 21691 21692 21693 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21654 def search_policies(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_policies.' if logger path = '/admin/v1/Policies/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:policy_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_policies') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Policies' ) end # rubocop:enable Metrics/BlockLength end |
#search_resource_type_schema_attributes(opts = {}) ⇒ Response
Click here to see an example of how to use search_resource_type_schema_attributes API.
Search Resource Type Schema Attributes Using POST
21715 21716 21717 21718 21719 21720 21721 21722 21723 21724 21725 21726 21727 21728 21729 21730 21731 21732 21733 21734 21735 21736 21737 21738 21739 21740 21741 21742 21743 21744 21745 21746 21747 21748 21749 21750 21751 21752 21753 21754 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21715 def search_resource_type_schema_attributes(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_resource_type_schema_attributes.' if logger path = '/admin/v1/ResourceTypeSchemaAttributes/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:resource_type_schema_attribute_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_resource_type_schema_attributes') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::ResourceTypeSchemaAttributes' ) end # rubocop:enable Metrics/BlockLength end |
#search_rules(opts = {}) ⇒ Response
Click here to see an example of how to use search_rules API.
Search Rules Using POST
21776 21777 21778 21779 21780 21781 21782 21783 21784 21785 21786 21787 21788 21789 21790 21791 21792 21793 21794 21795 21796 21797 21798 21799 21800 21801 21802 21803 21804 21805 21806 21807 21808 21809 21810 21811 21812 21813 21814 21815 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21776 def search_rules(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_rules.' if logger path = '/admin/v1/Rules/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:rule_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_rules') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Rules' ) end # rubocop:enable Metrics/BlockLength end |
#search_schemas(opts = {}) ⇒ Response
Click here to see an example of how to use search_schemas API.
Search Schemas Using POST
21837 21838 21839 21840 21841 21842 21843 21844 21845 21846 21847 21848 21849 21850 21851 21852 21853 21854 21855 21856 21857 21858 21859 21860 21861 21862 21863 21864 21865 21866 21867 21868 21869 21870 21871 21872 21873 21874 21875 21876 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21837 def search_schemas(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_schemas.' if logger path = '/admin/v1/Schemas/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:schema_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_schemas') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Schemas' ) end # rubocop:enable Metrics/BlockLength end |
#search_security_question_settings(opts = {}) ⇒ Response
Click here to see an example of how to use search_security_question_settings API.
Search for security question settings using POST.
21898 21899 21900 21901 21902 21903 21904 21905 21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 21930 21931 21932 21933 21934 21935 21936 21937 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21898 def search_security_question_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_security_question_settings.' if logger path = '/admin/v1/SecurityQuestionSettings/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:security_question_settings_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_security_question_settings') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SecurityQuestionSettings' ) end # rubocop:enable Metrics/BlockLength end |
#search_security_questions(opts = {}) ⇒ Response
Click here to see an example of how to use search_security_questions API.
Search for security questions using POST.
21959 21960 21961 21962 21963 21964 21965 21966 21967 21968 21969 21970 21971 21972 21973 21974 21975 21976 21977 21978 21979 21980 21981 21982 21983 21984 21985 21986 21987 21988 21989 21990 21991 21992 21993 21994 21995 21996 21997 21998 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 21959 def search_security_questions(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_security_questions.' if logger path = '/admin/v1/SecurityQuestions/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:security_question_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_security_questions') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SecurityQuestions' ) end # rubocop:enable Metrics/BlockLength end |
#search_self_registration_profiles(opts = {}) ⇒ Response
Click here to see an example of how to use search_self_registration_profiles API.
Search for self-registration profile using POST.
22020 22021 22022 22023 22024 22025 22026 22027 22028 22029 22030 22031 22032 22033 22034 22035 22036 22037 22038 22039 22040 22041 22042 22043 22044 22045 22046 22047 22048 22049 22050 22051 22052 22053 22054 22055 22056 22057 22058 22059 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 22020 def search_self_registration_profiles(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_self_registration_profiles.' if logger path = '/admin/v1/SelfRegistrationProfiles/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:self_registration_profile_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_self_registration_profiles') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SelfRegistrationProfiles' ) end # rubocop:enable Metrics/BlockLength end |
#search_settings(opts = {}) ⇒ Response
Click here to see an example of how to use search_settings API.
Search Settings Using POST
22081 22082 22083 22084 22085 22086 22087 22088 22089 22090 22091 22092 22093 22094 22095 22096 22097 22098 22099 22100 22101 22102 22103 22104 22105 22106 22107 22108 22109 22110 22111 22112 22113 22114 22115 22116 22117 22118 22119 22120 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 22081 def search_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_settings.' if logger path = '/admin/v1/Settings/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:settings_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_settings') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Settings' ) end # rubocop:enable Metrics/BlockLength end |
#search_smtp_credentials(opts = {}) ⇒ Response
Click here to see an example of how to use search_smtp_credentials API.
Search for SMTP credentials using POST.
22142 22143 22144 22145 22146 22147 22148 22149 22150 22151 22152 22153 22154 22155 22156 22157 22158 22159 22160 22161 22162 22163 22164 22165 22166 22167 22168 22169 22170 22171 22172 22173 22174 22175 22176 22177 22178 22179 22180 22181 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 22142 def search_smtp_credentials(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_smtp_credentials.' if logger path = '/admin/v1/SmtpCredentials/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:smtp_credential_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_smtp_credentials') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::SmtpCredentials' ) end # rubocop:enable Metrics/BlockLength end |
#search_user_attributes_settings(opts = {}) ⇒ Response
Click here to see an example of how to use search_user_attributes_settings API.
Search User Schema Attribute Settings Using POST
22203 22204 22205 22206 22207 22208 22209 22210 22211 22212 22213 22214 22215 22216 22217 22218 22219 22220 22221 22222 22223 22224 22225 22226 22227 22228 22229 22230 22231 22232 22233 22234 22235 22236 22237 22238 22239 22240 22241 22242 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 22203 def search_user_attributes_settings(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_user_attributes_settings.' if logger path = '/admin/v1/UserAttributesSettings/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:user_attributes_settings_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_user_attributes_settings') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::UserAttributesSettings' ) end # rubocop:enable Metrics/BlockLength end |
#search_user_db_credentials(opts = {}) ⇒ Response
Click here to see an example of how to use search_user_db_credentials API.
Search for a user's database (DB) credentials using POST.
22264 22265 22266 22267 22268 22269 22270 22271 22272 22273 22274 22275 22276 22277 22278 22279 22280 22281 22282 22283 22284 22285 22286 22287 22288 22289 22290 22291 22292 22293 22294 22295 22296 22297 22298 22299 22300 22301 22302 22303 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 22264 def search_user_db_credentials(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_user_db_credentials.' if logger path = '/admin/v1/UserDbCredentials/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:user_db_credentials_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_user_db_credentials') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::UserDbCredentials' ) end # rubocop:enable Metrics/BlockLength end |
#search_users(opts = {}) ⇒ Response
Click here to see an example of how to use search_users API.
Search for users using POST.
22325 22326 22327 22328 22329 22330 22331 22332 22333 22334 22335 22336 22337 22338 22339 22340 22341 22342 22343 22344 22345 22346 22347 22348 22349 22350 22351 22352 22353 22354 22355 22356 22357 22358 22359 22360 22361 22362 22363 22364 |
# File 'lib/oci/identity_domains/identity_domains_client.rb', line 22325 def search_users(opts = {}) logger.debug 'Calling operation IdentityDomainsClient#search_users.' if logger path = '/admin/v1/Users/.search' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json, application/scim+json' header_params[:'content-type'] = 'application/json' header_params[:authorization] = opts[:authorization] if opts[:authorization] header_params[:resource_type_schema_version] = opts[:resource_type_schema_version] if opts[:resource_type_schema_version] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:user_search_request]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'IdentityDomainsClient#search_users') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::IdentityDomains::Models::Users' ) end # rubocop:enable Metrics/BlockLength end |