gogol-redis-0.4.0: Google Cloud Memorystore for Redis 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.Redis.Projects.Locations.Instances.List

Contents

Description

Lists all Redis instances owned by a project in either the specified location (region) or all locations. The location should have the following format: * `projects/{project_id}/locations/{location_id}` If `location_id` is specified as `-` (wildcard), then all regions available to the project are queried, and the results are aggregated.

See: Google Cloud Memorystore for Redis API Reference for redis.projects.locations.instances.list.

Synopsis

REST Resource

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

A resource alias for redis.projects.locations.instances.list method which the ProjectsLocationsInstancesList request conforms to.

Creating a Request

projectsLocationsInstancesList Source #

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

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

data ProjectsLocationsInstancesList Source #

Lists all Redis instances owned by a project in either the specified location (region) or all locations. The location should have the following format: * `projects/{project_id}/locations/{location_id}` If `location_id` is specified as `-` (wildcard), then all regions available to the project are queried, and the results are aggregated.

See: projectsLocationsInstancesList smart constructor.

Instances
Eq ProjectsLocationsInstancesList Source # 
Instance details

Defined in Network.Google.Resource.Redis.Projects.Locations.Instances.List

Data ProjectsLocationsInstancesList Source # 
Instance details

Defined in Network.Google.Resource.Redis.Projects.Locations.Instances.List

Methods

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

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

toConstr :: ProjectsLocationsInstancesList -> Constr #

dataTypeOf :: ProjectsLocationsInstancesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsInstancesList Source # 
Instance details

Defined in Network.Google.Resource.Redis.Projects.Locations.Instances.List

Generic ProjectsLocationsInstancesList Source # 
Instance details

Defined in Network.Google.Resource.Redis.Projects.Locations.Instances.List

Associated Types

type Rep ProjectsLocationsInstancesList :: Type -> Type #

GoogleRequest ProjectsLocationsInstancesList Source # 
Instance details

Defined in Network.Google.Resource.Redis.Projects.Locations.Instances.List

type Rep ProjectsLocationsInstancesList Source # 
Instance details

Defined in Network.Google.Resource.Redis.Projects.Locations.Instances.List

type Rep ProjectsLocationsInstancesList = D1 (MetaData "ProjectsLocationsInstancesList" "Network.Google.Resource.Redis.Projects.Locations.Instances.List" "gogol-redis-0.4.0-JeQ7whRgDRe4ZrcQhhVPNa" False) (C1 (MetaCons "ProjectsLocationsInstancesList'" PrefixI True) (((S1 (MetaSel (Just "_plilParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plilXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_plilUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plilAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plilUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plilPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_plilPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_plilCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsInstancesList Source # 
Instance details

Defined in Network.Google.Resource.Redis.Projects.Locations.Instances.List

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

Defined in Network.Google.Resource.Redis.Projects.Locations.Instances.List

Request Lenses

plilParent :: Lens' ProjectsLocationsInstancesList Text Source #

Required. The resource name of the instance location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region

plilUploadProtocol :: Lens' ProjectsLocationsInstancesList (Maybe Text) Source #

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

plilUploadType :: Lens' ProjectsLocationsInstancesList (Maybe Text) Source #

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

plilPageToken :: Lens' ProjectsLocationsInstancesList (Maybe Text) Source #

The next_page_token value returned from a previous List request, if any.

plilPageSize :: Lens' ProjectsLocationsInstancesList (Maybe Int32) Source #

The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.