public final class Collection
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
Collection()  | 
| Modifier and Type | Method and Description | 
|---|---|
Collection | 
clone()  | 
String | 
getCustomLabel0()
Label that you assign to a collection to help organize bidding and reporting in Shopping
 campaigns. 
 | 
String | 
getCustomLabel1()
Label that you assign to a collection to help organize bidding and reporting in Shopping
 campaigns. 
 | 
String | 
getCustomLabel2()
Label that you assign to a collection to help organize bidding and reporting in Shopping
 campaigns. 
 | 
String | 
getCustomLabel3()
Label that you assign to a collection to help organize bidding and reporting in Shopping
 campaigns. 
 | 
String | 
getCustomLabel4()
Label that you assign to a collection to help organize bidding and reporting in Shopping
 campaigns. 
 | 
List<CollectionFeaturedProduct> | 
getFeaturedProduct()
This identifies one or more products associated with the collection. 
 | 
List<String> | 
getHeadline()
Your collection's name. 
 | 
String | 
getId()
Required. 
 | 
List<String> | 
getImageLink()
The URL of a collection’s image. 
 | 
String | 
getLanguage()
The language of a collection and the language of any featured products linked to the
 collection. 
 | 
String | 
getLink()
A collection’s landing page. 
 | 
String | 
getMobileLink()
A collection’s mobile-optimized landing page when you have a different URL for mobile and
 desktop traffic. 
 | 
String | 
getProductCountry()
[product_country attribute](https://support.google.com/merchants/answer/9674155) 
 | 
Collection | 
set(String fieldName,
   Object value)  | 
Collection | 
setCustomLabel0(String customLabel0)
Label that you assign to a collection to help organize bidding and reporting in Shopping
 campaigns. 
 | 
Collection | 
setCustomLabel1(String customLabel1)
Label that you assign to a collection to help organize bidding and reporting in Shopping
 campaigns. 
 | 
Collection | 
setCustomLabel2(String customLabel2)
Label that you assign to a collection to help organize bidding and reporting in Shopping
 campaigns. 
 | 
Collection | 
setCustomLabel3(String customLabel3)
Label that you assign to a collection to help organize bidding and reporting in Shopping
 campaigns. 
 | 
Collection | 
setCustomLabel4(String customLabel4)
Label that you assign to a collection to help organize bidding and reporting in Shopping
 campaigns. 
 | 
Collection | 
setFeaturedProduct(List<CollectionFeaturedProduct> featuredProduct)
This identifies one or more products associated with the collection. 
 | 
Collection | 
setHeadline(List<String> headline)
Your collection's name. 
 | 
Collection | 
setId(String id)
Required. 
 | 
Collection | 
setImageLink(List<String> imageLink)
The URL of a collection’s image. 
 | 
Collection | 
setLanguage(String language)
The language of a collection and the language of any featured products linked to the
 collection. 
 | 
Collection | 
setLink(String link)
A collection’s landing page. 
 | 
Collection | 
setMobileLink(String mobileLink)
A collection’s mobile-optimized landing page when you have a different URL for mobile and
 desktop traffic. 
 | 
Collection | 
setProductCountry(String productCountry)
[product_country attribute](https://support.google.com/merchants/answer/9674155) 
 | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCustomLabel0()
null for nonepublic Collection setCustomLabel0(String customLabel0)
customLabel0 - customLabel0 or null for nonepublic String getCustomLabel1()
null for nonepublic Collection setCustomLabel1(String customLabel1)
customLabel1 - customLabel1 or null for nonepublic String getCustomLabel2()
null for nonepublic Collection setCustomLabel2(String customLabel2)
customLabel2 - customLabel2 or null for nonepublic String getCustomLabel3()
null for nonepublic Collection setCustomLabel3(String customLabel3)
customLabel3 - customLabel3 or null for nonepublic String getCustomLabel4()
null for nonepublic Collection setCustomLabel4(String customLabel4)
customLabel4 - customLabel4 or null for nonepublic List<CollectionFeaturedProduct> getFeaturedProduct()
null for nonepublic Collection setFeaturedProduct(List<CollectionFeaturedProduct> featuredProduct)
featuredProduct - featuredProduct or null for nonepublic List<String> getHeadline()
null for nonepublic Collection setHeadline(List<String> headline)
headline - headline or null for nonepublic String getId()
null for nonepublic Collection setId(String id)
id - id or null for nonepublic List<String> getImageLink()
null for nonepublic Collection setImageLink(List<String> imageLink)
imageLink - imageLink or null for nonepublic String getLanguage()
null for nonepublic Collection setLanguage(String language)
language - language or null for nonepublic String getLink()
null for nonepublic Collection setLink(String link)
link - link or null for nonepublic String getMobileLink()
null for nonepublic Collection setMobileLink(String mobileLink)
mobileLink - mobileLink or null for nonepublic String getProductCountry()
null for nonepublic Collection setProductCountry(String productCountry)
productCountry - productCountry or null for nonepublic Collection set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Collection clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.