public class ShoppingContent.Collections extends Object
Modifier and Type | Class and Description |
---|---|
class |
ShoppingContent.Collections.Create |
class |
ShoppingContent.Collections.Delete |
class |
ShoppingContent.Collections.Get |
class |
ShoppingContent.Collections.List |
Constructor and Description |
---|
Collections() |
Modifier and Type | Method and Description |
---|---|
ShoppingContent.Collections.Create |
create(Long merchantId,
Collection content)
Uploads a collection to your Merchant Center account.
|
ShoppingContent.Collections.Delete |
delete(Long merchantId,
String collectionId)
Deletes a collection from your Merchant Center account.
|
ShoppingContent.Collections.Get |
get(Long merchantId,
String collectionId)
Retrieves a collection from your Merchant Center account.
|
ShoppingContent.Collections.List |
list(Long merchantId)
Lists the collections in your Merchant Center account.
|
public ShoppingContent.Collections.Create create(Long merchantId, Collection content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.merchantId
- Required. The ID of the account that contains the collection. This account cannot be a multi-client
account.content
- the Collection
IOException
public ShoppingContent.Collections.Delete delete(Long merchantId, String collectionId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.merchantId
- Required. The ID of the account that contains the collection. This account cannot be a multi-client
account.collectionId
- Required. The collectionId of the collection. CollectionId is the same as the REST ID of the
collection.IOException
public ShoppingContent.Collections.Get get(Long merchantId, String collectionId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.merchantId
- Required. The ID of the account that contains the collection. This account cannot be a multi-client
account.collectionId
- Required. The REST ID of the collection.IOException
public ShoppingContent.Collections.List list(Long merchantId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.merchantId
- Required. The ID of the account that contains the collection. This account cannot be a multi-client
account.IOException
Copyright © 2011–2024 Google. All rights reserved.