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 |
Search Version resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.
See: Cloud Private Catalog API Reference for cloudprivatecatalog.projects.versions.search
.
Synopsis
- type ProjectsVersionsSearchResource = "v1beta1" :> (Capture "resource" Text :> ("versions:search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "query" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse)))))))))))
- projectsVersionsSearch :: Text -> ProjectsVersionsSearch
- data ProjectsVersionsSearch
- pvsXgafv :: Lens' ProjectsVersionsSearch (Maybe Xgafv)
- pvsUploadProtocol :: Lens' ProjectsVersionsSearch (Maybe Text)
- pvsAccessToken :: Lens' ProjectsVersionsSearch (Maybe Text)
- pvsUploadType :: Lens' ProjectsVersionsSearch (Maybe Text)
- pvsResource :: Lens' ProjectsVersionsSearch Text
- pvsQuery :: Lens' ProjectsVersionsSearch (Maybe Text)
- pvsPageToken :: Lens' ProjectsVersionsSearch (Maybe Text)
- pvsPageSize :: Lens' ProjectsVersionsSearch (Maybe Int32)
- pvsCallback :: Lens' ProjectsVersionsSearch (Maybe Text)
REST Resource
type ProjectsVersionsSearchResource = "v1beta1" :> (Capture "resource" Text :> ("versions:search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "query" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse))))))))))) Source #
A resource alias for cloudprivatecatalog.projects.versions.search
method which the
ProjectsVersionsSearch
request conforms to.
Creating a Request
projectsVersionsSearch Source #
Creates a value of ProjectsVersionsSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsVersionsSearch Source #
Search Version resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.
See: projectsVersionsSearch
smart constructor.
Instances
Request Lenses
pvsUploadProtocol :: Lens' ProjectsVersionsSearch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pvsAccessToken :: Lens' ProjectsVersionsSearch (Maybe Text) Source #
OAuth access token.
pvsUploadType :: Lens' ProjectsVersionsSearch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pvsResource :: Lens' ProjectsVersionsSearch Text Source #
Required. The name of the resource context. See SearchCatalogsRequest.resource for details.
pvsQuery :: Lens' ProjectsVersionsSearch (Maybe Text) Source #
The query to filter the versions. Required. The supported queries are: * List versions under a product: `parent=catalogs/{catalog_id}/products/{product_id}` * Get a version by name: `name=catalogs/{catalog_id}/products/{product_id}/versions/{version_id}`
pvsPageToken :: Lens' ProjectsVersionsSearch (Maybe Text) Source #
A pagination token returned from a previous call to SearchVersions that indicates where this listing should continue from. This field is optional.
pvsPageSize :: Lens' ProjectsVersionsSearch (Maybe Int32) Source #
The maximum number of entries that are requested.
pvsCallback :: Lens' ProjectsVersionsSearch (Maybe Text) Source #
JSONP