Google Cloud Service Management V1 Client - Class CreateServiceRequest (1.2.2)

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

Request message for CreateService method.

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

Namespace

Google \ Cloud \ ServiceManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ service Google\Cloud\ServiceManagement\V1\ManagedService

Required. Initial values for the service resource.

getService

Required. Initial values for the service resource.

Returns
TypeDescription
Google\Cloud\ServiceManagement\V1\ManagedService|null

hasService

clearService

setService

Required. Initial values for the service resource.

Parameter
NameDescription
var Google\Cloud\ServiceManagement\V1\ManagedService
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
service Google\Cloud\ServiceManagement\V1\ManagedService

Required. Initial values for the service resource.

Returns
TypeDescription
Google\Cloud\ServiceManagement\V1\CreateServiceRequest