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.projects.catalogs.search
.
Synopsis
- type ProjectsCatalogsSearchResource = "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)))))))))))
- projectsCatalogsSearch :: Text -> ProjectsCatalogsSearch
- data ProjectsCatalogsSearch
- pcsXgafv :: Lens' ProjectsCatalogsSearch (Maybe Xgafv)
- pcsUploadProtocol :: Lens' ProjectsCatalogsSearch (Maybe Text)
- pcsAccessToken :: Lens' ProjectsCatalogsSearch (Maybe Text)
- pcsUploadType :: Lens' ProjectsCatalogsSearch (Maybe Text)
- pcsResource :: Lens' ProjectsCatalogsSearch Text
- pcsQuery :: Lens' ProjectsCatalogsSearch (Maybe Text)
- pcsPageToken :: Lens' ProjectsCatalogsSearch (Maybe Text)
- pcsPageSize :: Lens' ProjectsCatalogsSearch (Maybe Int32)
- pcsCallback :: Lens' ProjectsCatalogsSearch (Maybe Text)
REST Resource
type ProjectsCatalogsSearchResource = "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.projects.catalogs.search
method which the
ProjectsCatalogsSearch
request conforms to.
Creating a Request
projectsCatalogsSearch Source #
Creates a value of ProjectsCatalogsSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsCatalogsSearch Source #
Search Catalog resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.
See: projectsCatalogsSearch
smart constructor.
Instances
Request Lenses
pcsUploadProtocol :: Lens' ProjectsCatalogsSearch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pcsAccessToken :: Lens' ProjectsCatalogsSearch (Maybe Text) Source #
OAuth access token.
pcsUploadType :: Lens' ProjectsCatalogsSearch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pcsResource :: Lens' ProjectsCatalogsSearch Text Source #
Required. The name of the resource context. It can be in following formats: * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`
pcsQuery :: Lens' ProjectsCatalogsSearch (Maybe Text) Source #
The query to filter the catalogs. The supported queries are: * Get a single catalog: `name=catalogs/{catalog_id}`
pcsPageToken :: Lens' ProjectsCatalogsSearch (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.
pcsPageSize :: Lens' ProjectsCatalogsSearch (Maybe Int32) Source #
The maximum number of entries that are requested.
pcsCallback :: Lens' ProjectsCatalogsSearch (Maybe Text) Source #
JSONP