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