Generated from protobuf messagegoogle.cloud.metastore.v1beta.GetServiceRequest
Namespace
Google \ Cloud \ Metastore \ V1beta
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The relative resource name of the metastore service to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.
getName
Required. The relative resource name of the metastore service to retrieve,
in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.
Returns
Type
Description
string
setName
Required. The relative resource name of the metastore service to retrieve,
in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The relative resource name of the metastore service to retrieve,
in the following form:
projects/{project_number}/locations/{location_id}/services/{service_id}. Please seeDataprocMetastoreClient::serviceName()for help formatting this field.
[[["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 V1beta Client - Class GetServiceRequest (1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/php/docs/reference/cloud-dataproc-metastore/latest/V1beta.GetServiceRequest)\n- [1.1.0](/php/docs/reference/cloud-dataproc-metastore/1.1.0/V1beta.GetServiceRequest)\n- [1.0.4](/php/docs/reference/cloud-dataproc-metastore/1.0.4/V1beta.GetServiceRequest)\n- [0.11.5](/php/docs/reference/cloud-dataproc-metastore/0.11.5/V1beta.GetServiceRequest)\n- [0.10.2](/php/docs/reference/cloud-dataproc-metastore/0.10.2/V1beta.GetServiceRequest)\n- [0.9.0](/php/docs/reference/cloud-dataproc-metastore/0.9.0/V1beta.GetServiceRequest)\n- [0.8.1](/php/docs/reference/cloud-dataproc-metastore/0.8.1/V1beta.GetServiceRequest)\n- [0.7.0](/php/docs/reference/cloud-dataproc-metastore/0.7.0/V1beta.GetServiceRequest)\n- [0.6.1](/php/docs/reference/cloud-dataproc-metastore/0.6.1/V1beta.GetServiceRequest)\n- [0.5.1](/php/docs/reference/cloud-dataproc-metastore/0.5.1/V1beta.GetServiceRequest)\n- [0.4.1](/php/docs/reference/cloud-dataproc-metastore/0.4.1/V1beta.GetServiceRequest) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class GetServiceRequest.\n\nRequest message for\n[DataprocMetastore.GetService](/php/docs/reference/cloud-dataproc-metastore/latest/V1beta.Client.DataprocMetastoreClient#_Google_Cloud_Metastore_V1beta_Client_DataprocMetastoreClient__getService__).\n\nGenerated from protobuf message `google.cloud.metastore.v1beta.GetServiceRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Metastore \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The relative resource name of the metastore service to retrieve,\nin the following form:\n`projects/{project_number}/locations/{location_id}/services/{service_id}`.\n\n### setName\n\nRequired. The relative resource name of the metastore service to retrieve,\nin the following form:\n`projects/{project_number}/locations/{location_id}/services/{service_id}`.\n\n### static::build"]]