# Dataproc Metastore V1 API - Class Google::Cloud::Metastore::V1::AlterMetadataResourceLocationRequest (v2.5.0)

2.5.0 (latest) 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Dataproc Metastore V1 API class Google::Cloud::Metastore::V1::AlterMetadataResourceLocationRequest.

Request message for
[DataprocMetastore.AlterMetadataResourceLocation](https://docs.cloud.google.com/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)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #location_uri

    def location_uri() -> ::String

**Returns**

- (::String) --- Required. The new location URI for the metadata resource.

### #location_uri=

    def location_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The new location URI for the metadata resource.
**Returns**

- (::String) --- Required. The new location URI for the metadata resource.

### #resource_name

    def resource_name() -> ::String

**Returns**

- (::String) --- Required. The relative metadata resource name in the following format.

  `databases/{database_id}`
  or
  `databases/{database_id}/tables/{table_id}`
  or
  `databases/{database_id}/tables/{table_id}/partitions/{partition_id}`

### #resource_name=

    def resource_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The relative metadata resource name in the following format.


  `databases/{database_id}`
  or
  `databases/{database_id}/tables/{table_id}`
  or
  `databases/{database_id}/tables/{table_id}/partitions/{partition_id}`
**Returns**

- (::String) --- Required. The relative metadata resource name in the following format.

  `databases/{database_id}`
  or
  `databases/{database_id}/tables/{table_id}`
  or
  `databases/{database_id}/tables/{table_id}/partitions/{partition_id}`

### #service

    def service() -> ::String

**Returns**

- (::String) --- 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}`.

### #service=

    def service=(value) -> ::String

**Parameter**

- **value** (::String) --- 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**

- (::String) --- 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}`.