public sealed class MoveTableToDatabaseRequest : IMessage<MoveTableToDatabaseRequest>, IEquatable<MoveTableToDatabaseRequest>, IDeepCloneable<MoveTableToDatabaseRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1 API class MoveTableToDatabaseRequest.
Request message for
[DataprocMetastore.MoveTableToDatabase][google.cloud.metastore.v1.DataprocMetastore.MoveTableToDatabase].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eMoveTableToDatabaseRequest\u003c/code\u003e class is part of the Dataproc Metastore v1 API and is used to request the movement of a table from one database to another.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and is derived from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMoveTableToDatabaseRequest\u003c/code\u003e class includes properties to specify the database and table names, such as \u003ccode\u003eDbName\u003c/code\u003e, \u003ccode\u003eDestinationDbName\u003c/code\u003e, and \u003ccode\u003eTableName\u003c/code\u003e, as well as a \u003ccode\u003eService\u003c/code\u003e property representing the metastore service resource name, and a \u003ccode\u003eServiceAsServiceName\u003c/code\u003e property to have a \u003ccode\u003eServiceName\u003c/code\u003e-typed view of the resource.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides reference documentation for the Dataproc Metastore \u003ccode\u003eMoveTableToDatabaseRequest\u003c/code\u003e class, including details on its constructors, properties, implemented interfaces, and inheritance hierarchy, and it supports multiple versions, with 2.9.0 as the latest.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1 API - Class MoveTableToDatabaseRequest (2.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.8.0/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.7.0/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.6.0/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.5.0/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.4.0/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.3.0/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.2.0/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.1.0/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.0.0/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/1.1.0/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/1.0.0/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest) \n\n public sealed class MoveTableToDatabaseRequest : IMessage\u003cMoveTableToDatabaseRequest\u003e, IEquatable\u003cMoveTableToDatabaseRequest\u003e, IDeepCloneable\u003cMoveTableToDatabaseRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1 API class MoveTableToDatabaseRequest.\n\nRequest message for\n\\[DataprocMetastore.MoveTableToDatabase\\]\\[google.cloud.metastore.v1.DataprocMetastore.MoveTableToDatabase\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MoveTableToDatabaseRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MoveTableToDatabaseRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MoveTableToDatabaseRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MoveTableToDatabaseRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Metastore.V1](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1.dll\n\nConstructors\n------------\n\n### MoveTableToDatabaseRequest()\n\n public MoveTableToDatabaseRequest()\n\n### MoveTableToDatabaseRequest(MoveTableToDatabaseRequest)\n\n public MoveTableToDatabaseRequest(MoveTableToDatabaseRequest other)\n\nProperties\n----------\n\n### DbName\n\n public string DbName { get; set; }\n\nRequired. The name of the database where the table resides.\n\n### DestinationDbName\n\n public string DestinationDbName { get; set; }\n\nRequired. The name of the database where the table should be moved.\n\n### Service\n\n public string Service { get; set; }\n\nRequired. The relative resource name of the metastore service to mutate\nmetadata, in the following format:\n\n`projects/{project_id}/locations/{location_id}/services/{service_id}`.\n\n### ServiceAsServiceName\n\n public ServiceName ServiceAsServiceName { get; set; }\n\n[ServiceName](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.ServiceName)-typed view over the [Service](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.MoveTableToDatabaseRequest#Google_Cloud_Metastore_V1_MoveTableToDatabaseRequest_Service) resource name property.\n\n### TableName\n\n public string TableName { get; set; }\n\nRequired. The name of the table to be moved."]]