Dataproc Metastore API

The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.

Service: metastore.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://metastore.googleapis.com

REST Resource: v1beta.projects.locations

Methods
get GET /v1beta/{name}
Gets information about a location.
list GET /v1beta/{name}/locations
Lists information about the supported locations for this service.

REST Resource: v1beta.projects.locations.operations

Methods
delete DELETE /v1beta/{name}
Deletes a long-running operation.
get GET /v1beta/{name}
Gets the latest state of a long-running operation.
list GET /v1beta/{name}/operations
Lists operations that match the specified filter in the request.

REST Resource: v1beta.projects.locations.services

Methods
create POST /v1beta/{parent}/services
Creates a metastore service in a project and location.
delete DELETE /v1beta/{name}
Deletes a single service.
exportMetadata POST /v1beta/{service}:exportMetadata
Exports metadata from a service.
get GET /v1beta/{name}
Gets the details of a single service.
getIamPolicy GET /v1beta/{resource}:getIamPolicy
Gets the access control policy for a resource.
list GET /v1beta/{parent}/services
Lists services in a project and location.
patch PATCH /v1beta/{service.name}
Updates the parameters of a single service.
restore POST /v1beta/{service}:restore
Restores a service from a backup.
setIamPolicy POST /v1beta/{resource}:setIamPolicy
Sets the access control policy on the specified resource.
testIamPermissions POST /v1beta/{resource}:testIamPermissions
Returns permissions that a caller has on the specified resource.

REST Resource: v1beta.projects.locations.services.backups

Methods
create POST /v1beta/{parent}/backups
Creates a new backup in a given project and location.
delete DELETE /v1beta/{name}
Deletes a single backup.
get GET /v1beta/{name}
Gets details of a single backup.
list GET /v1beta/{parent}/backups
Lists backups in a service.

REST Resource: v1beta.projects.locations.services.metadataImports

Methods
create POST /v1beta/{parent}/metadataImports
Creates a new MetadataImport in a given project and location.
get GET /v1beta/{name}
Gets details of a single import.
list GET /v1beta/{parent}/metadataImports
Lists imports in a service.
patch PATCH /v1beta/{metadataImport.name}
Updates a single import.

Service: metastore.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://metastore.googleapis.com

REST Resource: v1alpha.projects.locations

Methods
get GET /v1alpha/{name}
Gets information about a location.
list GET /v1alpha/{name}/locations
Lists information about the supported locations for this service.

REST Resource: v1alpha.projects.locations.operations

Methods
delete DELETE /v1alpha/{name}
Deletes a long-running operation.
get GET /v1alpha/{name}
Gets the latest state of a long-running operation.
list GET /v1alpha/{name}/operations
Lists operations that match the specified filter in the request.

REST Resource: v1alpha.projects.locations.services

Methods
create POST /v1alpha/{parent}/services
Creates a metastore service in a project and location.
delete DELETE /v1alpha/{name}
Deletes a single service.
exportMetadata POST /v1alpha/{service}:exportMetadata
Exports metadata from a service.
get GET /v1alpha/{name}
Gets the details of a single service.
getIamPolicy GET /v1alpha/{resource}:getIamPolicy
Gets the access control policy for a resource.
list GET /v1alpha/{parent}/services
Lists services in a project and location.
patch PATCH /v1alpha/{service.name}
Updates the parameters of a single service.
restore POST /v1alpha/{service}:restore
Restores a service from a backup.
setIamPolicy POST /v1alpha/{resource}:setIamPolicy
Sets the access control policy on the specified resource.
testIamPermissions POST /v1alpha/{resource}:testIamPermissions
Returns permissions that a caller has on the specified resource.

REST Resource: v1alpha.projects.locations.services.backups

Methods
create POST /v1alpha/{parent}/backups
Creates a new backup in a given project and location.
delete DELETE /v1alpha/{name}
Deletes a single backup.
get GET /v1alpha/{name}
Gets details of a single backup.
list GET /v1alpha/{parent}/backups
Lists backups in a service.

REST Resource: v1alpha.projects.locations.services.metadataImports

Methods
create POST /v1alpha/{parent}/metadataImports
Creates a new MetadataImport in a given project and location.
get GET /v1alpha/{name}
Gets details of a single import.
list GET /v1alpha/{parent}/metadataImports
Lists imports in a service.
patch PATCH /v1alpha/{metadataImport.name}
Updates a single import.

Service: metastore.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://metastore.googleapis.com

REST Resource: v1.operations

Methods
cancel POST /v1/{name}:cancel
Starts asynchronous cancellation on a long-running operation.

REST Resource: v1.projects.locations

Methods
get GET /v1/{name}
Gets information about a location.
list GET /v1/{name}/locations
Lists information about the supported locations for this service.

REST Resource: v1.projects.locations.operations

Methods
delete DELETE /v1/{name}
Deletes a long-running operation.
get GET /v1/{name}
Gets the latest state of a long-running operation.
list GET /v1/{name}/operations
Lists operations that match the specified filter in the request.

REST Resource: v1.projects.locations.services

Methods
create POST /v1/{parent}/services
Creates a metastore service in a project and location.
delete DELETE /v1/{name}
Deletes a single service.
exportMetadata POST /v1/{service}:exportMetadata
Exports metadata from a service.
get GET /v1/{name}
Gets the details of a single service.
getIamPolicy GET /v1/{resource}:getIamPolicy
Gets the access control policy for a resource.
list GET /v1/{parent}/services
Lists services in a project and location.
patch PATCH /v1/{service.name}
Updates the parameters of a single service.
setIamPolicy POST /v1/{resource}:setIamPolicy
Sets the access control policy on the specified resource.
testIamPermissions POST /v1/{resource}:testIamPermissions
Returns permissions that a caller has on the specified resource.

REST Resource: v1.projects.locations.services.metadataImports

Methods
create POST /v1/{parent}/metadataImports
Creates a new MetadataImport in a given project and location.
get GET /v1/{name}
Gets details of a single import.
list GET /v1/{parent}/metadataImports
Lists imports in a service.
patch PATCH /v1/{metadataImport.name}
Updates a single import.