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.v2
Assembly: Google.Apis.DataprocMetastore.v2.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

Methods

AlterLocation(GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest, 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(GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest 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(GoogleCloudMetastoreV2AlterTablePropertiesRequest, string)

Alter metadata table properties.

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

Create(GoogleCloudMetastoreV2Service, string)

Creates a metastore service in a project and location.

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

Exports metadata from a service.

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

Imports Metadata into a Dataproc Metastore service.

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

Move a table to another database.

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

Updates the parameters of a single service.

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

Query Dataproc Metastore metadata.

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

Restore(GoogleCloudMetastoreV2RestoreServiceRequest, string)

Restores a service from a backup.

Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.RestoreRequest Restore(GoogleCloudMetastoreV2RestoreServiceRequest body, string service)
Parameters
Type Name Description
GoogleCloudMetastoreV2RestoreServiceRequest 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
In this article
Back to top Generated by DocFX