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.Projects.Versions.Search

Contents

Description

Search Version 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.versions.search.

Synopsis

REST Resource

type ProjectsVersionsSearchResource = "v1beta1" :> (Capture "resource" Text :> ("versions: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] GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse))))))))))) Source #

A resource alias for cloudprivatecatalog.projects.versions.search method which the ProjectsVersionsSearch request conforms to.

Creating a Request

projectsVersionsSearch Source #

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

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

data ProjectsVersionsSearch Source #

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

See: projectsVersionsSearch smart constructor.

Instances
Eq ProjectsVersionsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Projects.Versions.Search

Data ProjectsVersionsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Projects.Versions.Search

Methods

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

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

toConstr :: ProjectsVersionsSearch -> Constr #

dataTypeOf :: ProjectsVersionsSearch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsVersionsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Projects.Versions.Search

Generic ProjectsVersionsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Projects.Versions.Search

Associated Types

type Rep ProjectsVersionsSearch :: Type -> Type #

GoogleRequest ProjectsVersionsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Projects.Versions.Search

type Rep ProjectsVersionsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Projects.Versions.Search

type Rep ProjectsVersionsSearch = D1 (MetaData "ProjectsVersionsSearch" "Network.Google.Resource.CloudPrivateCatalog.Projects.Versions.Search" "gogol-cloudprivatecatalog-0.5.0-3NeWGdFYFC41OTcXCDgi4o" False) (C1 (MetaCons "ProjectsVersionsSearch'" PrefixI True) (((S1 (MetaSel (Just "_pvsXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pvsUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pvsAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pvsUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pvsResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pvsQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pvsPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pvsPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pvsCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsVersionsSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudPrivateCatalog.Projects.Versions.Search

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

Defined in Network.Google.Resource.CloudPrivateCatalog.Projects.Versions.Search

Request Lenses

pvsUploadProtocol :: Lens' ProjectsVersionsSearch (Maybe Text) Source #

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

pvsUploadType :: Lens' ProjectsVersionsSearch (Maybe Text) Source #

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

pvsResource :: Lens' ProjectsVersionsSearch Text Source #

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

pvsQuery :: Lens' ProjectsVersionsSearch (Maybe Text) Source #

The query to filter the versions. Required. The supported queries are: * List versions under a product: `parent=catalogs/{catalog_id}/products/{product_id}` * Get a version by name: `name=catalogs/{catalog_id}/products/{product_id}/versions/{version_id}`

pvsPageToken :: Lens' ProjectsVersionsSearch (Maybe Text) Source #

A pagination token returned from a previous call to SearchVersions that indicates where this listing should continue from. This field is optional.

pvsPageSize :: Lens' ProjectsVersionsSearch (Maybe Int32) Source #

The maximum number of entries that are requested.