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 Version resource.
See: Cloud Private Catalog Producer API Reference for cloudprivatecatalogproducer.catalogs.products.versions.get
.
Synopsis
- type CatalogsProductsVersionsGetResource = "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] GoogleCloudPrivatecatalogproducerV1beta1Version)))))))
- catalogsProductsVersionsGet :: Text -> CatalogsProductsVersionsGet
- data CatalogsProductsVersionsGet
- cpvgXgafv :: Lens' CatalogsProductsVersionsGet (Maybe Xgafv)
- cpvgUploadProtocol :: Lens' CatalogsProductsVersionsGet (Maybe Text)
- cpvgAccessToken :: Lens' CatalogsProductsVersionsGet (Maybe Text)
- cpvgUploadType :: Lens' CatalogsProductsVersionsGet (Maybe Text)
- cpvgName :: Lens' CatalogsProductsVersionsGet Text
- cpvgCallback :: Lens' CatalogsProductsVersionsGet (Maybe Text)
REST Resource
type CatalogsProductsVersionsGetResource = "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] GoogleCloudPrivatecatalogproducerV1beta1Version))))))) Source #
A resource alias for cloudprivatecatalogproducer.catalogs.products.versions.get
method which the
CatalogsProductsVersionsGet
request conforms to.
Creating a Request
catalogsProductsVersionsGet Source #
Creates a value of CatalogsProductsVersionsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CatalogsProductsVersionsGet Source #
Returns the requested Version resource.
See: catalogsProductsVersionsGet
smart constructor.
Instances
Request Lenses
cpvgUploadProtocol :: Lens' CatalogsProductsVersionsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cpvgAccessToken :: Lens' CatalogsProductsVersionsGet (Maybe Text) Source #
OAuth access token.
cpvgUploadType :: Lens' CatalogsProductsVersionsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cpvgCallback :: Lens' CatalogsProductsVersionsGet (Maybe Text) Source #
JSONP