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 Product 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.products.search
.
Synopsis
- type OrganizationsProductsSearchResource = "v1beta1" :> (Capture "resource" Text :> ("products: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] GoogleCloudPrivatecatalogV1beta1SearchProductsResponse)))))))))))
- organizationsProductsSearch :: Text -> OrganizationsProductsSearch
- data OrganizationsProductsSearch
- opsXgafv :: Lens' OrganizationsProductsSearch (Maybe Xgafv)
- opsUploadProtocol :: Lens' OrganizationsProductsSearch (Maybe Text)
- opsAccessToken :: Lens' OrganizationsProductsSearch (Maybe Text)
- opsUploadType :: Lens' OrganizationsProductsSearch (Maybe Text)
- opsResource :: Lens' OrganizationsProductsSearch Text
- opsQuery :: Lens' OrganizationsProductsSearch (Maybe Text)
- opsPageToken :: Lens' OrganizationsProductsSearch (Maybe Text)
- opsPageSize :: Lens' OrganizationsProductsSearch (Maybe Int32)
- opsCallback :: Lens' OrganizationsProductsSearch (Maybe Text)
REST Resource
type OrganizationsProductsSearchResource = "v1beta1" :> (Capture "resource" Text :> ("products: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] GoogleCloudPrivatecatalogV1beta1SearchProductsResponse))))))))))) Source #
A resource alias for cloudprivatecatalog.organizations.products.search
method which the
OrganizationsProductsSearch
request conforms to.
Creating a Request
organizationsProductsSearch Source #
Creates a value of OrganizationsProductsSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsProductsSearch Source #
Search Product resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.
See: organizationsProductsSearch
smart constructor.
Instances
Request Lenses
opsUploadProtocol :: Lens' OrganizationsProductsSearch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
opsAccessToken :: Lens' OrganizationsProductsSearch (Maybe Text) Source #
OAuth access token.
opsUploadType :: Lens' OrganizationsProductsSearch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
opsResource :: Lens' OrganizationsProductsSearch Text Source #
Required. The name of the resource context. See SearchCatalogsRequest.resource for details.
opsQuery :: Lens' OrganizationsProductsSearch (Maybe Text) Source #
The query to filter the products. The supported queries are: * List products of all catalogs: empty * List products under a catalog: `parent=catalogs/{catalog_id}` * Get a product by name: `name=catalogs/{catalog_id}/products/{product_id}`
opsPageToken :: Lens' OrganizationsProductsSearch (Maybe Text) Source #
A pagination token returned from a previous call to SearchProducts that indicates where this listing should continue from. This field is optional.
opsPageSize :: Lens' OrganizationsProductsSearch (Maybe Int32) Source #
The maximum number of entries that are requested.
opsCallback :: Lens' OrganizationsProductsSearch (Maybe Text) Source #
JSONP