Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets the details of a specific Redis instance.
See: Google Cloud Memorystore for Redis API Reference for redis.projects.locations.instances.get
.
Synopsis
- type ProjectsLocationsInstancesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Instance)))))))
- projectsLocationsInstancesGet :: Text -> ProjectsLocationsInstancesGet
- data ProjectsLocationsInstancesGet
- pligXgafv :: Lens' ProjectsLocationsInstancesGet (Maybe Xgafv)
- pligUploadProtocol :: Lens' ProjectsLocationsInstancesGet (Maybe Text)
- pligAccessToken :: Lens' ProjectsLocationsInstancesGet (Maybe Text)
- pligUploadType :: Lens' ProjectsLocationsInstancesGet (Maybe Text)
- pligName :: Lens' ProjectsLocationsInstancesGet Text
- pligCallback :: Lens' ProjectsLocationsInstancesGet (Maybe Text)
REST Resource
type ProjectsLocationsInstancesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Instance))))))) Source #
A resource alias for redis.projects.locations.instances.get
method which the
ProjectsLocationsInstancesGet
request conforms to.
Creating a Request
projectsLocationsInstancesGet Source #
Creates a value of ProjectsLocationsInstancesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsInstancesGet Source #
Gets the details of a specific Redis instance.
See: projectsLocationsInstancesGet
smart constructor.
Instances
Request Lenses
pligUploadProtocol :: Lens' ProjectsLocationsInstancesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pligAccessToken :: Lens' ProjectsLocationsInstancesGet (Maybe Text) Source #
OAuth access token.
pligUploadType :: Lens' ProjectsLocationsInstancesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pligName :: Lens' ProjectsLocationsInstancesGet Text Source #
Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region
pligCallback :: Lens' ProjectsLocationsInstancesGet (Maybe Text) Source #
JSONP