| 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 |
Network.Google.Resource.CloudPrivateCatalogProducer.Catalogs.Get
Description
Returns the requested Catalog resource.
See: Cloud Private Catalog Producer API Reference for cloudprivatecatalogproducer.catalogs.get.
Synopsis
- type CatalogsGetResource = "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] GoogleCloudPrivatecatalogproducerV1beta1Catalog)))))))
- catalogsGet :: Text -> CatalogsGet
- data CatalogsGet
- cgXgafv :: Lens' CatalogsGet (Maybe Xgafv)
- cgUploadProtocol :: Lens' CatalogsGet (Maybe Text)
- cgAccessToken :: Lens' CatalogsGet (Maybe Text)
- cgUploadType :: Lens' CatalogsGet (Maybe Text)
- cgName :: Lens' CatalogsGet Text
- cgCallback :: Lens' CatalogsGet (Maybe Text)
REST Resource
type CatalogsGetResource = "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] GoogleCloudPrivatecatalogproducerV1beta1Catalog))))))) Source #
A resource alias for cloudprivatecatalogproducer.catalogs.get method which the
CatalogsGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> CatalogsGet |
Creates a value of CatalogsGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CatalogsGet Source #
Returns the requested Catalog resource.
See: catalogsGet smart constructor.
Instances
Request Lenses
cgUploadProtocol :: Lens' CatalogsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cgAccessToken :: Lens' CatalogsGet (Maybe Text) Source #
OAuth access token.
cgUploadType :: Lens' CatalogsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cgCallback :: Lens' CatalogsGet (Maybe Text) Source #
JSONP