Google Cloud Commerce Producer V1beta Client - Class GetServiceRequest (0.2.0)

Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class GetServiceRequest.

Message for getting a Service

Generated from protobuf message google.cloud.commerceproducer.v1beta.GetServiceRequest

Namespace

Google \ Cloud \ CommerceProducer \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the resource

↳ view int

Optional. The view of the Service to return. If unspecified, the default view is BASIC.

getName

Required. Name of the resource

Returns
Type Description
string

setName

Required. Name of the resource

Parameter
Name Description
var string
Returns
Type Description
$this

getView

Optional. The view of the Service to return.

If unspecified, the default view is BASIC.

Returns
Type Description
int Enum of type ServiceView.

setView

Optional. The view of the Service to return.

If unspecified, the default view is BASIC.

Parameter
Name Description
var int

Enum of type ServiceView.

Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the resource Please see CommerceTransactionClient::serviceName() for help formatting this field.

Returns
Type Description
GetServiceRequest