Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class UpdatePrivateOfferRequest.
Message for updating a PrivateOffer
Generated from protobuf message google.cloud.commerceproducer.v1beta.UpdatePrivateOfferRequest
Namespace
Google \ Cloud \ CommerceProducer \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ 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. |
↳ private_offer |
PrivateOffer
Required. The resource being updated |
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 |
|
getPrivateOffer
Required. The resource being updated
| Returns | |
|---|---|
| Type | Description |
PrivateOffer|null |
|
hasPrivateOffer
clearPrivateOffer
setPrivateOffer
Required. The resource being updated
| Parameter | |
|---|---|
| Name | Description |
var |
PrivateOffer
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
privateOffer |
PrivateOffer
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 |
UpdatePrivateOfferRequest |
|