Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ServicesResource

The "services" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.ServicesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DataprocMetastore.v2beta
Assembly: Google.Apis.DataprocMetastore.v2beta.dll
Syntax
public class ProjectsResource.LocationsResource.ServicesResource

Constructors

ServicesResource(IClientService)

Constructs a new resource.

Declaration
public ServicesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Backups

Gets the Backups resource.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.BackupsResource Backups { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.ServicesResource.BackupsResource

MigrationExecutions

Gets the MigrationExecutions resource.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.MigrationExecutionsResource MigrationExecutions { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.ServicesResource.MigrationExecutionsResource

Methods

AlterLocation(GoogleCloudMetastoreV2betaAlterMetadataResourceLocationRequest, string)

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.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.AlterLocationRequest AlterLocation(GoogleCloudMetastoreV2betaAlterMetadataResourceLocationRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2betaAlterMetadataResourceLocationRequest body

The body of the request.

string service

Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.AlterLocationRequest

AlterTableProperties(GoogleCloudMetastoreV2betaAlterTablePropertiesRequest, string)

Alter metadata table properties.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.AlterTablePropertiesRequest AlterTableProperties(GoogleCloudMetastoreV2betaAlterTablePropertiesRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2betaAlterTablePropertiesRequest body

The body of the request.

string service

Required. The relative resource name of the Dataproc Metastore service that's being used to mutate metadata table properties, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.AlterTablePropertiesRequest

CancelMigration(GoogleCloudMetastoreV2betaCancelMigrationRequest, string)

Cancels the ongoing Managed Migration process.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.CancelMigrationRequest CancelMigration(GoogleCloudMetastoreV2betaCancelMigrationRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2betaCancelMigrationRequest body

The body of the request.

string service

Required. The relative resource name of the metastore service to cancel the ongoing migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.CancelMigrationRequest

CompleteMigration(GoogleCloudMetastoreV2betaCompleteMigrationRequest, string)

Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.CompleteMigrationRequest CompleteMigration(GoogleCloudMetastoreV2betaCompleteMigrationRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2betaCompleteMigrationRequest body

The body of the request.

string service

Required. The relative resource name of the metastore service to complete the migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.CompleteMigrationRequest

Create(GoogleCloudMetastoreV2betaService, string)

Creates a metastore service in a project and location.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.CreateRequest Create(GoogleCloudMetastoreV2betaService body, string parent)
Parameters
Type Name Description
GoogleCloudMetastoreV2betaService body

The body of the request.

string parent

Required. The relative resource name of the location in which to create a metastore service, in the following form:projects/{project_number}/locations/{location_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.CreateRequest

Delete(string)

Deletes a single service.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The relative resource name of the metastore service to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.DeleteRequest

ExportMetadata(GoogleCloudMetastoreV2betaExportMetadataRequest, string)

Exports metadata from a service.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.ExportMetadataRequest ExportMetadata(GoogleCloudMetastoreV2betaExportMetadataRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2betaExportMetadataRequest body

The body of the request.

string service

Required. The relative resource name of the metastore service to run export, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.ExportMetadataRequest

Get(string)

Gets the details of a single service.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The relative resource name of the metastore service to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.GetRequest

ImportMetadata(GoogleCloudMetastoreV2betaImportMetadataRequest, string)

Imports Metadata into a Dataproc Metastore service.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.ImportMetadataRequest ImportMetadata(GoogleCloudMetastoreV2betaImportMetadataRequest body, string name)
Parameters
Type Name Description
GoogleCloudMetastoreV2betaImportMetadataRequest body

The body of the request.

string name

Immutable. The relative resource name of the metastore service to run import, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.ImportMetadataRequest

List(string)

Lists services in a project and location.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The relative resource name of the location of metastore services to list, in the following form:projects/{project_number}/locations/{location_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.ListRequest

MoveTableToDatabase(GoogleCloudMetastoreV2betaMoveTableToDatabaseRequest, string)

Move a table to another database.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.MoveTableToDatabaseRequest MoveTableToDatabase(GoogleCloudMetastoreV2betaMoveTableToDatabaseRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2betaMoveTableToDatabaseRequest body

The body of the request.

string service

Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.MoveTableToDatabaseRequest

Patch(GoogleCloudMetastoreV2betaService, string)

Updates the parameters of a single service.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.PatchRequest Patch(GoogleCloudMetastoreV2betaService body, string name)
Parameters
Type Name Description
GoogleCloudMetastoreV2betaService body

The body of the request.

string name

Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.PatchRequest

QueryMetadata(GoogleCloudMetastoreV2betaQueryMetadataRequest, string)

Query Dataproc Metastore metadata.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.QueryMetadataRequest QueryMetadata(GoogleCloudMetastoreV2betaQueryMetadataRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2betaQueryMetadataRequest body

The body of the request.

string service

Required. The relative resource name of the metastore service to query metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.QueryMetadataRequest

RemoveIamPolicy(GoogleCloudMetastoreV2betaRemoveIamPolicyRequest, string)

Removes the attached IAM policies for a resource

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.RemoveIamPolicyRequest RemoveIamPolicy(GoogleCloudMetastoreV2betaRemoveIamPolicyRequest body, string resource)
Parameters
Type Name Description
GoogleCloudMetastoreV2betaRemoveIamPolicyRequest body

The body of the request.

string resource

Required. The relative resource name of the dataplane resource to remove IAM policy, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id} or projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.RemoveIamPolicyRequest

Restore(GoogleCloudMetastoreV2betaRestoreServiceRequest, string)

Restores a service from a backup.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.RestoreRequest Restore(GoogleCloudMetastoreV2betaRestoreServiceRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2betaRestoreServiceRequest body

The body of the request.

string service

Required. The relative resource name of the metastore service to run restore, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.RestoreRequest

StartMigration(GoogleCloudMetastoreV2betaStartMigrationRequest, string)

Starts the Managed Migration process.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.StartMigrationRequest StartMigration(GoogleCloudMetastoreV2betaStartMigrationRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2betaStartMigrationRequest body

The body of the request.

string service

Required. The relative resource name of the metastore service to start migrating to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.

Returns
Type Description
ProjectsResource.LocationsResource.ServicesResource.StartMigrationRequest
In this article
Back to top Generated by DocFX