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.v2alpha
Assembly: Google.Apis.DataprocMetastore.v2alpha.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(GoogleCloudMetastoreV2alphaAlterMetadataResourceLocationRequest, 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(GoogleCloudMetastoreV2alphaAlterMetadataResourceLocationRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2alphaAlterMetadataResourceLocationRequest 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(GoogleCloudMetastoreV2alphaAlterTablePropertiesRequest, string)

Alter metadata table properties.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.AlterTablePropertiesRequest AlterTableProperties(GoogleCloudMetastoreV2alphaAlterTablePropertiesRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2alphaAlterTablePropertiesRequest 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(GoogleCloudMetastoreV2alphaCancelMigrationRequest, string)

Cancels the ongoing Managed Migration process.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.CancelMigrationRequest CancelMigration(GoogleCloudMetastoreV2alphaCancelMigrationRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2alphaCancelMigrationRequest 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(GoogleCloudMetastoreV2alphaCompleteMigrationRequest, 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(GoogleCloudMetastoreV2alphaCompleteMigrationRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2alphaCompleteMigrationRequest 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(GoogleCloudMetastoreV2alphaService, string)

Creates a metastore service in a project and location.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.CreateRequest Create(GoogleCloudMetastoreV2alphaService body, string parent)
Parameters
Type Name Description
GoogleCloudMetastoreV2alphaService 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(GoogleCloudMetastoreV2alphaExportMetadataRequest, string)

Exports metadata from a service.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.ExportMetadataRequest ExportMetadata(GoogleCloudMetastoreV2alphaExportMetadataRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2alphaExportMetadataRequest 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(GoogleCloudMetastoreV2alphaImportMetadataRequest, string)

Imports Metadata into a Dataproc Metastore service.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.ImportMetadataRequest ImportMetadata(GoogleCloudMetastoreV2alphaImportMetadataRequest body, string name)
Parameters
Type Name Description
GoogleCloudMetastoreV2alphaImportMetadataRequest 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(GoogleCloudMetastoreV2alphaMoveTableToDatabaseRequest, string)

Move a table to another database.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.MoveTableToDatabaseRequest MoveTableToDatabase(GoogleCloudMetastoreV2alphaMoveTableToDatabaseRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2alphaMoveTableToDatabaseRequest 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(GoogleCloudMetastoreV2alphaService, string)

Updates the parameters of a single service.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.PatchRequest Patch(GoogleCloudMetastoreV2alphaService body, string name)
Parameters
Type Name Description
GoogleCloudMetastoreV2alphaService 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(GoogleCloudMetastoreV2alphaQueryMetadataRequest, string)

Query Dataproc Metastore metadata.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.QueryMetadataRequest QueryMetadata(GoogleCloudMetastoreV2alphaQueryMetadataRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2alphaQueryMetadataRequest 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(GoogleCloudMetastoreV2alphaRemoveIamPolicyRequest, string)

Removes the attached IAM policies for a resource

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.RemoveIamPolicyRequest RemoveIamPolicy(GoogleCloudMetastoreV2alphaRemoveIamPolicyRequest body, string resource)
Parameters
Type Name Description
GoogleCloudMetastoreV2alphaRemoveIamPolicyRequest 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(GoogleCloudMetastoreV2alphaRestoreServiceRequest, string)

Restores a service from a backup.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.RestoreRequest Restore(GoogleCloudMetastoreV2alphaRestoreServiceRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2alphaRestoreServiceRequest 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(GoogleCloudMetastoreV2alphaStartMigrationRequest, string)

Starts the Managed Migration process.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.StartMigrationRequest StartMigration(GoogleCloudMetastoreV2alphaStartMigrationRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2alphaStartMigrationRequest 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