Reference documentation and code samples for the Google Shopping Merchant Promotions V1 Client class GetPromotionRequest.
Request message for the GetPromotion method.
Generated from protobuf message google.shopping.merchant.promotions.v1.GetPromotionRequest
Namespace
Google \ Shopping \ Merchant \ Promotions \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the promotion to retrieve. Format: |
getName
Required. The name of the promotion to retrieve.
Format: accounts/{account}/promotions/{promotions}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The name of the promotion to retrieve.
Format: accounts/{account}/promotions/{promotions}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. The name of the promotion to retrieve.
Format: |
| Returns | |
|---|---|
| Type | Description |
GetPromotionRequest |
|