public sealed class AlterMetadataResourceLocationRequest : IMessage<AlterMetadataResourceLocationRequest>, IEquatable<AlterMetadataResourceLocationRequest>, IDeepCloneable<AlterMetadataResourceLocationRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1 API class AlterMetadataResourceLocationRequest.
Request message for
[DataprocMetastore.AlterMetadataResourceLocation][google.cloud.metastore.v1.DataprocMetastore.AlterMetadataResourceLocation].
[[["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\u003eAlterMetadataResourceLocationRequest\u003c/code\u003e class is used to request a change in the location of a metadata resource within the Dataproc Metastore v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 2.9.0, but several previous versions are also documented, starting from 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class requires the specification of the \u003ccode\u003eService\u003c/code\u003e, \u003ccode\u003eResourceName\u003c/code\u003e, and \u003ccode\u003eLocationUri\u003c/code\u003e properties to identify the service, resource, and new location.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and provides methods for instantiating the request using a default constructor or by providing another instance of the class.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1 API - Class AlterMetadataResourceLocationRequest (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.AlterMetadataResourceLocationRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.8.0/Google.Cloud.Metastore.V1.AlterMetadataResourceLocationRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.7.0/Google.Cloud.Metastore.V1.AlterMetadataResourceLocationRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.6.0/Google.Cloud.Metastore.V1.AlterMetadataResourceLocationRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.5.0/Google.Cloud.Metastore.V1.AlterMetadataResourceLocationRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.4.0/Google.Cloud.Metastore.V1.AlterMetadataResourceLocationRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.3.0/Google.Cloud.Metastore.V1.AlterMetadataResourceLocationRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.2.0/Google.Cloud.Metastore.V1.AlterMetadataResourceLocationRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.1.0/Google.Cloud.Metastore.V1.AlterMetadataResourceLocationRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.0.0/Google.Cloud.Metastore.V1.AlterMetadataResourceLocationRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/1.1.0/Google.Cloud.Metastore.V1.AlterMetadataResourceLocationRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/1.0.0/Google.Cloud.Metastore.V1.AlterMetadataResourceLocationRequest) \n\n public sealed class AlterMetadataResourceLocationRequest : IMessage\u003cAlterMetadataResourceLocationRequest\u003e, IEquatable\u003cAlterMetadataResourceLocationRequest\u003e, IDeepCloneable\u003cAlterMetadataResourceLocationRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1 API class AlterMetadataResourceLocationRequest.\n\nRequest message for\n\\[DataprocMetastore.AlterMetadataResourceLocation\\]\\[google.cloud.metastore.v1.DataprocMetastore.AlterMetadataResourceLocation\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AlterMetadataResourceLocationRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AlterMetadataResourceLocationRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.AlterMetadataResourceLocationRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AlterMetadataResourceLocationRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.AlterMetadataResourceLocationRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AlterMetadataResourceLocationRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.AlterMetadataResourceLocationRequest), [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### AlterMetadataResourceLocationRequest()\n\n public AlterMetadataResourceLocationRequest()\n\n### AlterMetadataResourceLocationRequest(AlterMetadataResourceLocationRequest)\n\n public AlterMetadataResourceLocationRequest(AlterMetadataResourceLocationRequest other)\n\nProperties\n----------\n\n### LocationUri\n\n public string LocationUri { get; set; }\n\nRequired. The new location URI for the metadata resource.\n\n### ResourceName\n\n public string ResourceName { get; set; }\n\nRequired. The relative metadata resource name in the following format.\n\n`databases/{database_id}`\nor\n`databases/{database_id}/tables/{table_id}`\nor\n`databases/{database_id}/tables/{table_id}/partitions/{partition_id}`\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.AlterMetadataResourceLocationRequest#Google_Cloud_Metastore_V1_AlterMetadataResourceLocationRequest_Service) resource name property."]]