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 Version resources that the producer has access to, within the scope of the parent Product.
See: Cloud Private Catalog Producer API Reference for cloudprivatecatalogproducer.catalogs.products.versions.list
.
Synopsis
- type CatalogsProductsVersionsListResource = "v1beta1" :> (Capture "parent" Text :> ("versions" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse))))))))))
- catalogsProductsVersionsList :: Text -> CatalogsProductsVersionsList
- data CatalogsProductsVersionsList
- cpvlParent :: Lens' CatalogsProductsVersionsList Text
- cpvlXgafv :: Lens' CatalogsProductsVersionsList (Maybe Xgafv)
- cpvlUploadProtocol :: Lens' CatalogsProductsVersionsList (Maybe Text)
- cpvlAccessToken :: Lens' CatalogsProductsVersionsList (Maybe Text)
- cpvlUploadType :: Lens' CatalogsProductsVersionsList (Maybe Text)
- cpvlPageToken :: Lens' CatalogsProductsVersionsList (Maybe Text)
- cpvlPageSize :: Lens' CatalogsProductsVersionsList (Maybe Int32)
- cpvlCallback :: Lens' CatalogsProductsVersionsList (Maybe Text)
REST Resource
type CatalogsProductsVersionsListResource = "v1beta1" :> (Capture "parent" Text :> ("versions" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse)))))))))) Source #
A resource alias for cloudprivatecatalogproducer.catalogs.products.versions.list
method which the
CatalogsProductsVersionsList
request conforms to.
Creating a Request
catalogsProductsVersionsList Source #
Creates a value of CatalogsProductsVersionsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CatalogsProductsVersionsList Source #
Lists Version resources that the producer has access to, within the scope of the parent Product.
See: catalogsProductsVersionsList
smart constructor.
Instances
Request Lenses
cpvlParent :: Lens' CatalogsProductsVersionsList Text Source #
The resource name of the parent resource.
cpvlUploadProtocol :: Lens' CatalogsProductsVersionsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cpvlAccessToken :: Lens' CatalogsProductsVersionsList (Maybe Text) Source #
OAuth access token.
cpvlUploadType :: Lens' CatalogsProductsVersionsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cpvlPageToken :: Lens' CatalogsProductsVersionsList (Maybe Text) Source #
A pagination token returned from a previous call to ListVersions that indicates where this listing should continue from. This field is optional.
cpvlPageSize :: Lens' CatalogsProductsVersionsList (Maybe Int32) Source #
The maximum number of versions to return.
cpvlCallback :: Lens' CatalogsProductsVersionsList (Maybe Text) Source #
JSONP