gogol-serviceconsumermanagement-0.5.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.TenancyUnits.List

Contents

Description

Find the tenancy unit for a managed service and service consumer. This method shouldn't be used in a service producer's runtime path, for example to find the tenant project number when creating VMs. Service producers must persist the tenant project's information after the project is created.

See: Service Consumer Management API Reference for serviceconsumermanagement.services.tenancyUnits.list.

Synopsis

REST Resource

type ServicesTenancyUnitsListResource = "v1" :> (Capture "parent" Text :> ("tenancyUnits" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListTenancyUnitsResponse))))))))))) Source #

A resource alias for serviceconsumermanagement.services.tenancyUnits.list method which the ServicesTenancyUnitsList request conforms to.

Creating a Request

servicesTenancyUnitsList Source #

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

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

data ServicesTenancyUnitsList Source #

Find the tenancy unit for a managed service and service consumer. This method shouldn't be used in a service producer's runtime path, for example to find the tenant project number when creating VMs. Service producers must persist the tenant project's information after the project is created.

See: servicesTenancyUnitsList smart constructor.

Instances
Eq ServicesTenancyUnitsList Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.List

Data ServicesTenancyUnitsList Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.List

Methods

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

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

toConstr :: ServicesTenancyUnitsList -> Constr #

dataTypeOf :: ServicesTenancyUnitsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServicesTenancyUnitsList Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.List

Generic ServicesTenancyUnitsList Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.List

Associated Types

type Rep ServicesTenancyUnitsList :: Type -> Type #

GoogleRequest ServicesTenancyUnitsList Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.List

type Rep ServicesTenancyUnitsList Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.List

type Rep ServicesTenancyUnitsList = D1 (MetaData "ServicesTenancyUnitsList" "Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.List" "gogol-serviceconsumermanagement-0.5.0-517tqQ2Q8zw5UH2MScYEzg" False) (C1 (MetaCons "ServicesTenancyUnitsList'" PrefixI True) (((S1 (MetaSel (Just "_stulParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_stulXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_stulUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_stulAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_stulUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_stulFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_stulPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_stulPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_stulCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ServicesTenancyUnitsList Source # 
Instance details

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.List

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

Defined in Network.Google.Resource.ServiceConsumerManagement.Services.TenancyUnits.List

Request Lenses

stulParent :: Lens' ServicesTenancyUnitsList Text Source #

Managed service and service consumer. Required. services/{service}/{collection id}/{resource id} {collection id} is the cloud resource collection type representing the service consumer, for example 'projects', or 'organizations'. {resource id} is the consumer numeric id, such as project number: '123456'. {service} the name of a service, such as 'service.googleapis.com'.

stulUploadProtocol :: Lens' ServicesTenancyUnitsList (Maybe Text) Source #

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

stulUploadType :: Lens' ServicesTenancyUnitsList (Maybe Text) Source #

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

stulFilter :: Lens' ServicesTenancyUnitsList (Maybe Text) Source #

Filter expression over tenancy resources field. Optional.

stulPageToken :: Lens' ServicesTenancyUnitsList (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.

stulPageSize :: Lens' ServicesTenancyUnitsList (Maybe Int32) Source #

The maximum number of results returned by this request.