| Package | Description |
|---|---|
| com.google.api.services.customsearch.v1.model |
| Modifier and Type | Method and Description |
|---|---|
Promotion |
Promotion.clone() |
Promotion |
Promotion.set(String fieldName,
Object value) |
Promotion |
Promotion.setBodyLines(List<Promotion.BodyLines> bodyLines)
An array of block objects for this promotion.
|
Promotion |
Promotion.setDisplayLink(String displayLink)
An abridged version of this search's result URL, e.g.
|
Promotion |
Promotion.setHtmlTitle(String htmlTitle)
The title of the promotion, in HTML.
|
Promotion |
Promotion.setImage(Promotion.Image image)
Image belonging to a promotion.
|
Promotion |
Promotion.setLink(String link)
The URL of the promotion.
|
Promotion |
Promotion.setTitle(String title)
The title of the promotion.
|
| Modifier and Type | Method and Description |
|---|---|
List<Promotion> |
Search.getPromotions()
The set of [promotions](https://developers.google.com/custom-search/docs/promotions).
|
| Modifier and Type | Method and Description |
|---|---|
Search |
Search.setPromotions(List<Promotion> promotions)
The set of [promotions](https://developers.google.com/custom-search/docs/promotions).
|
Copyright © 2011–2024 Google. All rights reserved.