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

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
NameDescription
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
TypeDescription
string

setServiceName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this