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

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

Message for deleting a PrivateOffer

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

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

↳ force bool

Optional. Indicates whether to cascade the delete to child resources. If false, the request fails if child resources exist.

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

getForce

Optional. Indicates whether to cascade the delete to child resources.

If false, the request fails if child resources exist.

Returns
Type Description
bool

setForce

Optional. Indicates whether to cascade the delete to child resources.

If false, the request fails if child resources exist.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
DeletePrivateOfferRequest