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 |
Returns the requested Product resource.
See: Cloud Private Catalog Producer API Reference for cloudprivatecatalogproducer.catalogs.products.get
.
Synopsis
- type CatalogsProductsGetResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudPrivatecatalogproducerV1beta1Product)))))))
- catalogsProductsGet :: Text -> CatalogsProductsGet
- data CatalogsProductsGet
- cpgXgafv :: Lens' CatalogsProductsGet (Maybe Xgafv)
- cpgUploadProtocol :: Lens' CatalogsProductsGet (Maybe Text)
- cpgAccessToken :: Lens' CatalogsProductsGet (Maybe Text)
- cpgUploadType :: Lens' CatalogsProductsGet (Maybe Text)
- cpgName :: Lens' CatalogsProductsGet Text
- cpgCallback :: Lens' CatalogsProductsGet (Maybe Text)
REST Resource
type CatalogsProductsGetResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudPrivatecatalogproducerV1beta1Product))))))) Source #
A resource alias for cloudprivatecatalogproducer.catalogs.products.get
method which the
CatalogsProductsGet
request conforms to.
Creating a Request
Creates a value of CatalogsProductsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CatalogsProductsGet Source #
Returns the requested Product resource.
See: catalogsProductsGet
smart constructor.
Instances
Request Lenses
cpgUploadProtocol :: Lens' CatalogsProductsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cpgAccessToken :: Lens' CatalogsProductsGet (Maybe Text) Source #
OAuth access token.
cpgUploadType :: Lens' CatalogsProductsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cpgCallback :: Lens' CatalogsProductsGet (Maybe Text) Source #
JSONP