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

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
Name Description
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
Type Description
Google\Cloud\ServiceManagement\V1\ManagedService|null

hasService

clearService

setService

Required. Initial values for the service resource.

Parameter
Name Description
var Google\Cloud\ServiceManagement\V1\ManagedService
Returns
Type Description
$this

static::build

Parameter
Name Description
service Google\Cloud\ServiceManagement\V1\ManagedService

Required. Initial values for the service resource.

Returns
Type Description
Google\Cloud\ServiceManagement\V1\CreateServiceRequest