gogol-cloudprivatecatalog-0.5.0: Google Cloud Private Catalog SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.CloudPrivateCatalog.Folders.Products.Search

Contents

Description

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.folders.products.search.

Synopsis

REST Resource

type FoldersProductsSearchResource = "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.folders.products.search method which the FoldersProductsSearch request conforms to.

Creating a Request

foldersProductsSearch Source #

Creates a value of FoldersProductsSearch with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data FoldersProductsSearch Source #

Search Product resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

See: foldersProductsSearch smart constructor.

Instances
Eq FoldersProductsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Folders.Products.Search

Data FoldersProductsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Folders.Products.Search

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FoldersProductsSearch -> c FoldersProductsSearch #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FoldersProductsSearch #

toConstr :: FoldersProductsSearch -> Constr #

dataTypeOf :: FoldersProductsSearch -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FoldersProductsSearch) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FoldersProductsSearch) #

gmapT :: (forall b. Data b => b -> b) -> FoldersProductsSearch -> FoldersProductsSearch #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FoldersProductsSearch -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FoldersProductsSearch -> r #

gmapQ :: (forall d. Data d => d -> u) -> FoldersProductsSearch -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FoldersProductsSearch -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FoldersProductsSearch -> m FoldersProductsSearch #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FoldersProductsSearch -> m FoldersProductsSearch #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FoldersProductsSearch -> m FoldersProductsSearch #

Show FoldersProductsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Folders.Products.Search

Generic FoldersProductsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Folders.Products.Search

Associated Types

type Rep FoldersProductsSearch :: Type -> Type #

GoogleRequest FoldersProductsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Folders.Products.Search

type Rep FoldersProductsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Folders.Products.Search

type Rep FoldersProductsSearch = D1 (MetaData "FoldersProductsSearch" "Network.Google.Resource.CloudPrivateCatalog.Folders.Products.Search" "gogol-cloudprivatecatalog-0.5.0-3NeWGdFYFC41OTcXCDgi4o" False) (C1 (MetaCons "FoldersProductsSearch'" PrefixI True) (((S1 (MetaSel (Just "_fpsXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_fpsUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_fpsAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fpsUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_fpsResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_fpsQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_fpsPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_fpsPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_fpsCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes FoldersProductsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Folders.Products.Search

type Scopes FoldersProductsSearch = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs FoldersProductsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Folders.Products.Search

Request Lenses

fpsUploadProtocol :: Lens' FoldersProductsSearch (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

fpsUploadType :: Lens' FoldersProductsSearch (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

fpsResource :: Lens' FoldersProductsSearch Text Source #

Required. The name of the resource context. See SearchCatalogsRequest.resource for details.

fpsQuery :: Lens' FoldersProductsSearch (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}`

fpsPageToken :: Lens' FoldersProductsSearch (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.

fpsPageSize :: Lens' FoldersProductsSearch (Maybe Int32) Source #

The maximum number of entries that are requested.