Method: projects.locations.aspectTypes.create

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

string

Required. The resource name of the AspectType, of the form: projects/{project_number}/locations/{locationId} where locationId refers to a Google Cloud region.

Authorization requires the following IAM permission on the specified resource parent:

  • dataplex.aspectTypes.create

Query parameters

Parameters
aspectTypeId

string

Required. AspectType identifier.

validateOnly

boolean

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.