ProjectsLocationsServices
class ProjectsLocationsServices extends Resource (View source)
The "services" collection of methods.
Typical usage is:
$metastoreService = new Google\Service\DataprocMetastore(...);
$services = $metastoreService->projects_locations_services;
Methods
Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location. (services.alterLocation)
Alter metadata table properties. (services.alterTableProperties)
Cancels the ongoing Managed Migration process. (services.cancelMigration)
Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration.
Exports metadata from a service. (services.exportMetadata)
Gets the details of a single service. (services.get)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (services.getIamPolicy)
Lists services in a project and location.
Move a table to another database. (services.moveTableToDatabase)
Query Dataproc Metastore metadata. (services.queryMetadata)
Restores a service from a backup. (services.restore)
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. (services.setIamPolicy)
Starts the Managed Migration process. (services.startMigration)
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking.
Details
Operation
alterLocation(string $service, AlterMetadataResourceLocationRequest $postBody, array $optParams = [])
Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location. (services.alterLocation)
Operation
alterTableProperties(string $service, AlterTablePropertiesRequest $postBody, array $optParams = [])
Alter metadata table properties. (services.alterTableProperties)
Operation
cancelMigration(string $service, CancelMigrationRequest $postBody, array $optParams = [])
Cancels the ongoing Managed Migration process. (services.cancelMigration)
Operation
completeMigration(string $service, CompleteMigrationRequest $postBody, array $optParams = [])
Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration.
(services.completeMigration)
Operation
create(string $parent, Service $postBody, array $optParams = [])
Creates a metastore service in a project and location. (services.create)
Operation
delete(string $name, array $optParams = [])
Deletes a single service. (services.delete)
Operation
exportMetadata(string $service, ExportMetadataRequest $postBody, array $optParams = [])
Exports metadata from a service. (services.exportMetadata)
Service
get(string $name, array $optParams = [])
Gets the details of a single service. (services.get)
Policy
getIamPolicy(string $resource, array $optParams = [])
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (services.getIamPolicy)
ListServicesResponse
listProjectsLocationsServices(string $parent, array $optParams = [])
Lists services in a project and location.
(services.listProjectsLocationsServices)
Operation
moveTableToDatabase(string $service, MoveTableToDatabaseRequest $postBody, array $optParams = [])
Move a table to another database. (services.moveTableToDatabase)
Operation
patch(string $name, Service $postBody, array $optParams = [])
Updates the parameters of a single service. (services.patch)
Operation
queryMetadata(string $service, QueryMetadataRequest $postBody, array $optParams = [])
Query Dataproc Metastore metadata. (services.queryMetadata)
Operation
restore(string $service, RestoreServiceRequest $postBody, array $optParams = [])
Restores a service from a backup. (services.restore)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. (services.setIamPolicy)
Operation
startMigration(string $service, StartMigrationRequest $postBody, array $optParams = [])
Starts the Managed Migration process. (services.startMigration)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning. (services.testIamPermissions)