- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Full name: projects.locations.keyRings.importJobs.create
Create a new  ImportJob 
 
within a  KeyRing 
 
.
  ImportJob.import_method 
 
is required.
HTTP request
The URLs use gRPC Transcoding syntax.
Path parameters
parent 
 string 
Required. The  name 
 
of the  KeyRing 
 
associated with the  ImportJobs 
 
.
Authorization requires the following IAM 
permission on the specified resource parent 
:
-  cloudkms.importJobs.create
Query parameters
| Parameters | |
|---|---|
| importJobId |   Required. It must be unique within a KeyRing and match the regular expression  | 
Request body
The request body contains an instance of  ImportJob 
 
.
Response body
If successful, the response body contains a newly created instance of  ImportJob 
 
.
Authorization scopes
Requires one of the following OAuth scopes:
-  https://www.googleapis.com/auth/cloudkms
-  https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .

