Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists all the products in a Manufacturer Center account.
See: Manufacturer Center API Reference for manufacturers.accounts.products.list
.
- type AccountsProductsListResource = "v1" :> (Capture "parent" Text :> ("products" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListProductsResponse))))))))))))
- accountsProductsList :: Text -> AccountsProductsList
- data AccountsProductsList
- aplParent :: Lens' AccountsProductsList Text
- aplXgafv :: Lens' AccountsProductsList (Maybe Xgafv)
- aplUploadProtocol :: Lens' AccountsProductsList (Maybe Text)
- aplPp :: Lens' AccountsProductsList Bool
- aplAccessToken :: Lens' AccountsProductsList (Maybe Text)
- aplUploadType :: Lens' AccountsProductsList (Maybe Text)
- aplBearerToken :: Lens' AccountsProductsList (Maybe Text)
- aplPageToken :: Lens' AccountsProductsList (Maybe Text)
- aplPageSize :: Lens' AccountsProductsList (Maybe Int32)
- aplCallback :: Lens' AccountsProductsList (Maybe Text)
REST Resource
type AccountsProductsListResource = "v1" :> (Capture "parent" Text :> ("products" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListProductsResponse)))))))))))) Source #
A resource alias for manufacturers.accounts.products.list
method which the
AccountsProductsList
request conforms to.
Creating a Request
Creates a value of AccountsProductsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsProductsList Source #
Lists all the products in a Manufacturer Center account.
See: accountsProductsList
smart constructor.
Request Lenses
aplParent :: Lens' AccountsProductsList Text Source #
Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account.
aplUploadProtocol :: Lens' AccountsProductsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
aplAccessToken :: Lens' AccountsProductsList (Maybe Text) Source #
OAuth access token.
aplUploadType :: Lens' AccountsProductsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
aplBearerToken :: Lens' AccountsProductsList (Maybe Text) Source #
OAuth bearer token.
aplPageToken :: Lens' AccountsProductsList (Maybe Text) Source #
The token returned by the previous request.
aplPageSize :: Lens' AccountsProductsList (Maybe Int32) Source #
Maximum number of product statuses to return in the response, used for paging.
aplCallback :: Lens' AccountsProductsList (Maybe Text) Source #
JSONP