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

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

Request message for CreateServiceConfig method.

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

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 overview for naming requirements. For example: example.googleapis.com.

↳ service_config Google\Api\Service

Required. The service configuration resource.

getServiceName

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

Returns
TypeDescription
string

setServiceName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceConfig

Required. The service configuration resource.

Returns
TypeDescription
Google\Api\Service|null

hasServiceConfig

clearServiceConfig

setServiceConfig

Required. The service configuration resource.

Parameter
NameDescription
var Google\Api\Service
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
serviceName string

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

serviceConfig Google\Api\Service

Required. The service configuration resource.

Returns
TypeDescription
Google\Cloud\ServiceManagement\V1\CreateServiceConfigRequest