/// <summary> /// セキュリティポリシーを新規作成します<br /> /// </summary> /// /// <returns>IEnumerator</returns> /// <param name="callback">コールバックハンドラ</param> /// <param name="request">リクエストパラメータ</param> public IEnumerator CreateSecurityPolicy( Request.CreateSecurityPolicyRequest request, UnityAction <AsyncResult <Result.CreateSecurityPolicyResult> > callback ) { var task = new CreateSecurityPolicyTask(request, callback); return(Gs2RestSession.Execute(task)); }
public CreateSecurityPolicyTask(Request.CreateSecurityPolicyRequest request, UnityAction <AsyncResult <Result.CreateSecurityPolicyResult> > userCallback) : base(userCallback) { _request = request; }