Google Cloud Service Management V1 Client - Class GetServiceRequest (1.1.1)

Reference documentation and code samples for the Google Cloud Service Management V1 Client class GetServiceRequest.

Request message for GetService method.

Generated from protobuf message google.api.servicemanagement.v1.GetServiceRequest

Namespace

Google \ Cloud \ ServiceManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ service_name string

Required. The name of the service. See the ServiceManager overview for naming requirements. For example: example.googleapis.com.

getServiceName

Required. The name of the service. See the ServiceManager overview for naming requirements. For example: example.googleapis.com.

Returns
TypeDescription
string

setServiceName

Required. The name of the service. See the ServiceManager overview for naming requirements. For example: example.googleapis.com.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
serviceName string

Required. The name of the service. See the ServiceManager overview for naming requirements. For example: example.googleapis.com.

Returns
TypeDescription
Google\Cloud\ServiceManagement\V1\GetServiceRequest