Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class UpdatePrivateOfferDocumentRequest.
Message for updating a PrivateOfferDocument
Generated from protobuf message google.cloud.commerceproducer.v1beta.UpdatePrivateOfferDocumentRequest
Namespace
Google \ Cloud \ CommerceProducer \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ private_offer_document |
PrivateOfferDocument
Required. The resource being updated. |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten. |
getPrivateOfferDocument
Required. The resource being updated.
| Returns | |
|---|---|
| Type | Description |
PrivateOfferDocument|null |
|
hasPrivateOfferDocument
clearPrivateOfferDocument
setPrivateOfferDocument
Required. The resource being updated.
| Parameter | |
|---|---|
| Name | Description |
var |
PrivateOfferDocument
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
Optional. The list of fields to update.
The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. The list of fields to update.
The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
privateOfferDocument |
PrivateOfferDocument
Required. The resource being updated. |
updateMask |
Google\Protobuf\FieldMask
Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten. |
| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferDocumentRequest |
|