The present application is concerned with heterocyclic compounds that inhibit the activity of Pim kinases and are useful in the treatment of diseases related to the activity of Pim kinases including, e.g., cancers and other diseases.本申請案係關於雜環化合物,該等雜環化合物抑制Pim激酶之活性且適用於治療與Pim激酶活性有關之疾病,包括例如癌症及其他疾病。