gogol-serviceconsumermanagement-0.4.0: Google Service Consumer Management 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.ServiceConsumerManagement.Services.Search

Contents

Description

Search tenancy units for a service.

See: Service Consumer Management API Reference for serviceconsumermanagement.services.search.

Synopsis

REST Resource

type ServicesSearchResource = "v1" :> (CaptureMode "parent" "search" Text :> (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] SearchTenancyUnitsResponse)))))))))) Source #

A resource alias for serviceconsumermanagement.services.search method which the ServicesSearch request conforms to.

Creating a Request

servicesSearch Source #

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

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

data ServicesSearch Source #

Search tenancy units for a service.

See: servicesSearch smart constructor.

Instances
Eq ServicesSearch Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.Search

Data ServicesSearch Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.Search

Methods

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

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

toConstr :: ServicesSearch -> Constr #

dataTypeOf :: ServicesSearch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServicesSearch Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.Search

Generic ServicesSearch Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.Search

Associated Types

type Rep ServicesSearch :: Type -> Type #

GoogleRequest ServicesSearch Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.Search

Associated Types

type Rs ServicesSearch :: Type #

type Scopes ServicesSearch :: [Symbol] #

type Rep ServicesSearch Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.Search

type Rep ServicesSearch = D1 (MetaData "ServicesSearch" "Network.Google.Resource.ServiceConsumerManagement.Services.Search" "gogol-serviceconsumermanagement-0.4.0-L37508lUfigB9J4lm5vuW3" False) (C1 (MetaCons "ServicesSearch'" PrefixI True) (((S1 (MetaSel (Just "_ssParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ssXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_ssUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ssAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ssUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ssQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ssPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ssPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_ssCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ServicesSearch Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.Search

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

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.Search

Request Lenses

ssParent :: Lens' ServicesSearch Text Source #

Service for which search is performed. services/{service} {service} the name of a service, for example 'service.googleapis.com'.

ssUploadProtocol :: Lens' ServicesSearch (Maybe Text) Source #

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

ssUploadType :: Lens' ServicesSearch (Maybe Text) Source #

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

ssQuery :: Lens' ServicesSearch (Maybe Text) Source #

Set a query `{expression}` for querying tenancy units. Your `{expression}` must be in the format: `field_name=literal_string`. The `field_name` is the name of the field you want to compare. Supported fields are `tenant_resources.tag` and `tenant_resources.resource`. For example, to search tenancy units that contain at least one tenant resource with given tag 'xyz', use query `tenant_resources.tag=xyz`. To search tenancy units that contain at least one tenant resource with given resource name 'projects/123456', use query `tenant_resources.resource=projects/123456`. Multiple expressions can be joined with `AND`s. Tenancy units must match all expressions to be included in the result set. For example, `tenant_resources.tag=xyz AND tenant_resources.resource=projects/123456` Optional.

ssPageToken :: Lens' ServicesSearch (Maybe Text) Source #

The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response. Optional.

ssPageSize :: Lens' ServicesSearch (Maybe Int32) Source #

The maximum number of results returned by this request. Currently, the default maximum is set to 1000. If page_size is not provided or the size provided is a number larger than 1000, it will be automatically set to 1000. Optional.