public class ShoppingContent.Accounts.Labels extends Object
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ShoppingContent.Accounts.Labels.Create  | 
class  | 
ShoppingContent.Accounts.Labels.Delete  | 
class  | 
ShoppingContent.Accounts.Labels.List  | 
class  | 
ShoppingContent.Accounts.Labels.Patch  | 
| Constructor and Description | 
|---|
Labels()  | 
| Modifier and Type | Method and Description | 
|---|---|
ShoppingContent.Accounts.Labels.Create | 
create(Long accountId,
      AccountLabel content)
Creates a new label, not assigned to any account. 
 | 
ShoppingContent.Accounts.Labels.Delete | 
delete(Long accountId,
      Long labelId)
Deletes a label and removes it from all accounts to which it was assigned. 
 | 
ShoppingContent.Accounts.Labels.List | 
list(Long accountId)
Lists the labels assigned to an account. 
 | 
ShoppingContent.Accounts.Labels.Patch | 
patch(Long accountId,
     Long labelId,
     AccountLabel content)
Updates a label. 
 | 
public ShoppingContent.Accounts.Labels.Create create(Long accountId, AccountLabel content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Required. The id of the account this label belongs to.content - the AccountLabelIOExceptionpublic ShoppingContent.Accounts.Labels.Delete delete(Long accountId, Long labelId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Required. The id of the account that owns the label.labelId - Required. The id of the label to delete.IOExceptionpublic ShoppingContent.Accounts.Labels.List list(Long accountId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Required. The account id for whose labels are to be listed.IOExceptionpublic ShoppingContent.Accounts.Labels.Patch patch(Long accountId, Long labelId, AccountLabel content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Required. The id of the account this label belongs to.labelId - Required. The id of the label to update.content - the AccountLabelIOExceptionCopyright © 2011–2024 Google. All rights reserved.