Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class CreatePrivateOfferDocumentRequest.
Message for creating a PrivateOfferDocument.
Generated from protobuf message google.cloud.commerceproducer.v1beta.CreatePrivateOfferDocumentRequest
Namespace
Google \ Cloud \ CommerceProducer \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Value for parent. |
↳ private_offer_document |
PrivateOfferDocument
Required. The resource being created. |
getParent
Required. Value for parent.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. Value for parent.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPrivateOfferDocument
Required. The resource being created.
| Returns | |
|---|---|
| Type | Description |
PrivateOfferDocument|null |
|
hasPrivateOfferDocument
clearPrivateOfferDocument
setPrivateOfferDocument
Required. The resource being created.
| Parameter | |
|---|---|
| Name | Description |
var |
PrivateOfferDocument
|
| Returns | |
|---|---|
| Type | Description |
$this |
|