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.Organizations.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.organizations.products.search.

Synopsis

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
Eq OrganizationsProductsSearch Source # 
Instance details

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

Data OrganizationsProductsSearch Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsProductsSearch -> Constr #

dataTypeOf :: OrganizationsProductsSearch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsProductsSearch Source # 
Instance details

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

Generic OrganizationsProductsSearch Source # 
Instance details

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

Associated Types

type Rep OrganizationsProductsSearch :: Type -> Type #

GoogleRequest OrganizationsProductsSearch Source # 
Instance details

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

type Rep OrganizationsProductsSearch Source # 
Instance details

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

type Rep OrganizationsProductsSearch = D1 (MetaData "OrganizationsProductsSearch" "Network.Google.Resource.CloudPrivateCatalog.Organizations.Products.Search" "gogol-cloudprivatecatalog-0.5.0-3NeWGdFYFC41OTcXCDgi4o" False) (C1 (MetaCons "OrganizationsProductsSearch'" PrefixI True) (((S1 (MetaSel (Just "_opsXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_opsUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_opsAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_opsUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_opsResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_opsQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_opsPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_opsPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_opsCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes OrganizationsProductsSearch Source # 
Instance details

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

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

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

Request Lenses

opsUploadProtocol :: Lens' OrganizationsProductsSearch (Maybe Text) Source #

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

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.