Google Cloud Service Usage V1 Client - Class GetServiceRequest (1.0.5)

Reference documentation and code samples for the Google Cloud Service Usage V1 Client class GetServiceRequest.

Request message for the GetService method.

Generated from protobuf message google.api.serviceusage.v1.GetServiceRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Name of the consumer and service to get the ConsumerState for. An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number.

getName

Name of the consumer and service to get the ConsumerState for.

An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number.

Returns
TypeDescription
string

setName

Name of the consumer and service to get the ConsumerState for.

An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number.

Parameter
NameDescription
var string
Returns
TypeDescription
$this