Reference documentation and code samples for the Google Cloud Run V2 Client class GetServiceRequest.
Request message for obtaining a Service by its full name.
Generated from protobuf messagegoogle.cloud.run.v2.GetServiceRequest
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The full name of the Service. Format: projects/{project}/locations/{location}/services/{service}, where {project} can be project id or number.
getName
Required. The full name of the Service.
Format: projects/{project}/locations/{location}/services/{service}, where
{project} can be project id or number.
Returns
Type
Description
string
setName
Required. The full name of the Service.
Format: projects/{project}/locations/{location}/services/{service}, where
{project} can be project id or number.
[[["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,[]]