Google Cloud Service Management V1 Client - Class DisableServiceRequest (1.3.5)

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

Request message for DisableService method.

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

Namespace

Google \ Cloud \ ServiceManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ service_name string

Required. Name of the service to disable. Specifying an unknown service name will cause the request to fail.

↳ consumer_id string

Required. The identity of consumer resource which service disablement will be applied to. The Google Service Management implementation accepts the following forms: - "project:<project_id>" Note: this is made compatible with google.api.servicecontrol.v1.Operation.consumer_id.

getServiceName

Required. Name of the service to disable. Specifying an unknown service name will cause the request to fail.

Returns
Type Description
string

setServiceName

Required. Name of the service to disable. Specifying an unknown service name will cause the request to fail.

Parameter
Name Description
var string
Returns
Type Description
$this

getConsumerId

Required. The identity of consumer resource which service disablement will be applied to.

The Google Service Management implementation accepts the following forms:

  • "project:<project_id>" Note: this is made compatible with google.api.servicecontrol.v1.Operation.consumer_id.
Returns
Type Description
string

setConsumerId

Required. The identity of consumer resource which service disablement will be applied to.

The Google Service Management implementation accepts the following forms:

  • "project:<project_id>" Note: this is made compatible with google.api.servicecontrol.v1.Operation.consumer_id.
Parameter
Name Description
var string
Returns
Type Description
$this