- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Creates an AspectType.
HTTP request
POST https://dataplex.googleapis.com/v1/{parent=projects/*/locations/*}/aspectTypes
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the AspectType, of the form: projects/{project_number}/locations/{locationId} where Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
aspectTypeId |
Required. AspectType identifier. |
validateOnly |
Optional. The service validates the request without performing any mutations. The default is false. |
Request body
The request body contains an instance of AspectType
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
dataplex.aspectTypes.create
For more information, see the IAM documentation.