Generated from protobuf message google.cloud.metastore.v1.AlterMetadataResourceLocationRequest
Namespace
Google \ Cloud \ Metastore \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ service
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}.
↳ resource_name
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}
↳ location_uri
string
Required. The new location URI for the metadata resource.
getService
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
string
setService
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}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getResourceName
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
Type
Description
string
setResourceName
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}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getLocationUri
Required. The new location URI for the metadata resource.
Returns
Type
Description
string
setLocationUri
Required. The new location URI for the metadata resource.
[[["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,["# Google Cloud Dataproc Metastore V1 Client - Class AlterMetadataResourceLocationRequest (1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/php/docs/reference/cloud-dataproc-metastore/latest/V1.AlterMetadataResourceLocationRequest)\n- [1.1.0](/php/docs/reference/cloud-dataproc-metastore/1.1.0/V1.AlterMetadataResourceLocationRequest)\n- [1.0.4](/php/docs/reference/cloud-dataproc-metastore/1.0.4/V1.AlterMetadataResourceLocationRequest)\n- [0.11.5](/php/docs/reference/cloud-dataproc-metastore/0.11.5/V1.AlterMetadataResourceLocationRequest)\n- [0.10.2](/php/docs/reference/cloud-dataproc-metastore/0.10.2/V1.AlterMetadataResourceLocationRequest)\n- [0.9.0](/php/docs/reference/cloud-dataproc-metastore/0.9.0/V1.AlterMetadataResourceLocationRequest)\n- [0.8.1](/php/docs/reference/cloud-dataproc-metastore/0.8.1/V1.AlterMetadataResourceLocationRequest)\n- [0.7.0](/php/docs/reference/cloud-dataproc-metastore/0.7.0/V1.AlterMetadataResourceLocationRequest)\n- [0.6.1](/php/docs/reference/cloud-dataproc-metastore/0.6.1/V1.AlterMetadataResourceLocationRequest)\n- [0.5.1](/php/docs/reference/cloud-dataproc-metastore/0.5.1/V1.AlterMetadataResourceLocationRequest)\n- [0.4.1](/php/docs/reference/cloud-dataproc-metastore/0.4.1/V1.AlterMetadataResourceLocationRequest) \nReference documentation and code samples for the Google Cloud Dataproc Metastore V1 Client class AlterMetadataResourceLocationRequest.\n\nRequest message for\n[DataprocMetastore.AlterMetadataResourceLocation](/php/docs/reference/cloud-dataproc-metastore/latest/V1.Client.DataprocMetastoreClient#_Google_Cloud_Metastore_V1_Client_DataprocMetastoreClient__alterMetadataResourceLocation__).\n\nGenerated from protobuf message `google.cloud.metastore.v1.AlterMetadataResourceLocationRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Metastore \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getService\n\nRequired. The relative resource name of the metastore service to mutate\nmetadata, in the following format:\n`projects/{project_id}/locations/{location_id}/services/{service_id}`.\n\n### setService\n\nRequired. The relative resource name of the metastore service to mutate\nmetadata, in the following format:\n`projects/{project_id}/locations/{location_id}/services/{service_id}`.\n\n### getResourceName\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### setResourceName\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### getLocationUri\n\nRequired. The new location URI for the metadata resource.\n\n### setLocationUri\n\nRequired. The new location URI for the metadata resource."]]