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 Catalog resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.
See: Cloud Private Catalog API Reference for cloudprivatecatalog.folders.catalogs.search
.
Synopsis
- type FoldersCatalogsSearchResource = "v1beta1" :> (Capture "resource" Text :> ("catalogs: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] GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse)))))))))))
- foldersCatalogsSearch :: Text -> FoldersCatalogsSearch
- data FoldersCatalogsSearch
- fcsXgafv :: Lens' FoldersCatalogsSearch (Maybe Xgafv)
- fcsUploadProtocol :: Lens' FoldersCatalogsSearch (Maybe Text)
- fcsAccessToken :: Lens' FoldersCatalogsSearch (Maybe Text)
- fcsUploadType :: Lens' FoldersCatalogsSearch (Maybe Text)
- fcsResource :: Lens' FoldersCatalogsSearch Text
- fcsQuery :: Lens' FoldersCatalogsSearch (Maybe Text)
- fcsPageToken :: Lens' FoldersCatalogsSearch (Maybe Text)
- fcsPageSize :: Lens' FoldersCatalogsSearch (Maybe Int32)
- fcsCallback :: Lens' FoldersCatalogsSearch (Maybe Text)
REST Resource
type FoldersCatalogsSearchResource = "v1beta1" :> (Capture "resource" Text :> ("catalogs: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] GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse))))))))))) Source #
A resource alias for cloudprivatecatalog.folders.catalogs.search
method which the
FoldersCatalogsSearch
request conforms to.
Creating a Request
foldersCatalogsSearch Source #
Creates a value of FoldersCatalogsSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data FoldersCatalogsSearch Source #
Search Catalog resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.
See: foldersCatalogsSearch
smart constructor.
Instances
Request Lenses
fcsUploadProtocol :: Lens' FoldersCatalogsSearch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
fcsAccessToken :: Lens' FoldersCatalogsSearch (Maybe Text) Source #
OAuth access token.
fcsUploadType :: Lens' FoldersCatalogsSearch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
fcsResource :: Lens' FoldersCatalogsSearch Text Source #
Required. The name of the resource context. It can be in following formats: * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`
fcsQuery :: Lens' FoldersCatalogsSearch (Maybe Text) Source #
The query to filter the catalogs. The supported queries are: * Get a single catalog: `name=catalogs/{catalog_id}`
fcsPageToken :: Lens' FoldersCatalogsSearch (Maybe Text) Source #
A pagination token returned from a previous call to SearchCatalogs that indicates where this listing should continue from. This field is optional.
fcsPageSize :: Lens' FoldersCatalogsSearch (Maybe Int32) Source #
The maximum number of entries that are requested.
fcsCallback :: Lens' FoldersCatalogsSearch (Maybe Text) Source #
JSONP