[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Dataproc Metastore V1 API - Class Google::Cloud::Metastore::V1::AlterMetadataResourceLocationRequest (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [2.0.1](/ruby/docs/reference/google-cloud-metastore-v1/2.0.1/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-metastore-v1/1.2.0/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-metastore-v1/1.1.0/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-metastore-v1/1.0.1/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [0.13.0](/ruby/docs/reference/google-cloud-metastore-v1/0.13.0/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [0.12.2](/ruby/docs/reference/google-cloud-metastore-v1/0.12.2/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-metastore-v1/0.11.0/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-metastore-v1/0.10.0/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-metastore-v1/0.9.0/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [0.8.1](/ruby/docs/reference/google-cloud-metastore-v1/0.8.1/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-metastore-v1/0.7.0/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-metastore-v1/0.6.0/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-metastore-v1/0.5.0/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-metastore-v1/0.4.0/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-metastore-v1/0.3.0/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest)\n- [0.2.2](/ruby/docs/reference/google-cloud-metastore-v1/0.2.2/Google-Cloud-Metastore-V1-AlterMetadataResourceLocationRequest) \nReference documentation and code samples for the Dataproc Metastore V1 API class Google::Cloud::Metastore::V1::AlterMetadataResourceLocationRequest.\n\nRequest message for\n[DataprocMetastore.AlterMetadataResourceLocation](/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-DataprocMetastore-Client#Google__Cloud__Metastore__V1__DataprocMetastore__Client_alter_metadata_resource_location_instance_ \"Google::Cloud::Metastore::V1::DataprocMetastore::Client#alter_metadata_resource_location (method)\"). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #location_uri\n\n def location_uri() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The new location URI for the metadata resource.\n\n### #location_uri=\n\n def location_uri=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The new location URI for the metadata resource. \n**Returns**\n\n- (::String) --- Required. The new location URI for the metadata resource.\n\n### #resource_name\n\n def resource_name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The relative metadata resource name in the following format.\n\n `databases/{database_id}`\n or\n `databases/{database_id}/tables/{table_id}`\n or\n `databases/{database_id}/tables/{table_id}/partitions/{partition_id}`\n\n### #resource_name=\n\n def resource_name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The relative metadata resource name in the following format.\n\n\n `databases/{database_id}`\n or\n `databases/{database_id}/tables/{table_id}`\n or\n`databases/{database_id}/tables/{table_id}/partitions/{partition_id}` \n**Returns**\n\n- (::String) --- Required. The relative metadata resource name in the following format.\n\n `databases/{database_id}`\n or\n `databases/{database_id}/tables/{table_id}`\n or\n `databases/{database_id}/tables/{table_id}/partitions/{partition_id}`\n\n### #service\n\n def service() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The relative resource name of the metastore service to mutate metadata, in the following format:\n\n `projects/{project_id}/locations/{location_id}/services/{service_id}`.\n\n### #service=\n\n def service=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The relative resource name of the metastore service to mutate metadata, in the following format:\n\n\n`projects/{project_id}/locations/{location_id}/services/{service_id}`. \n**Returns**\n\n- (::String) --- Required. The relative resource name of the metastore service to mutate metadata, in the following format:\n\n `projects/{project_id}/locations/{location_id}/services/{service_id}`."]]