| 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 |
Network.Google.Resource.Logging.Organizations.Sinks.Get
Description
Gets a sink.
See: Stackdriver Logging API Reference for logging.organizations.sinks.get.
- type OrganizationsSinksGetResource = "v2" :> (Capture "sinkName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LogSink)))))))))
- organizationsSinksGet :: Text -> OrganizationsSinksGet
- data OrganizationsSinksGet
- osgXgafv :: Lens' OrganizationsSinksGet (Maybe Xgafv)
- osgUploadProtocol :: Lens' OrganizationsSinksGet (Maybe Text)
- osgPp :: Lens' OrganizationsSinksGet Bool
- osgAccessToken :: Lens' OrganizationsSinksGet (Maybe Text)
- osgUploadType :: Lens' OrganizationsSinksGet (Maybe Text)
- osgBearerToken :: Lens' OrganizationsSinksGet (Maybe Text)
- osgSinkName :: Lens' OrganizationsSinksGet Text
- osgCallback :: Lens' OrganizationsSinksGet (Maybe Text)
REST Resource
type OrganizationsSinksGetResource = "v2" :> (Capture "sinkName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LogSink))))))))) Source #
A resource alias for logging.organizations.sinks.get method which the
OrganizationsSinksGet request conforms to.
Creating a Request
organizationsSinksGet Source #
Arguments
| :: Text | |
| -> OrganizationsSinksGet |
Creates a value of OrganizationsSinksGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsSinksGet Source #
Gets a sink.
See: organizationsSinksGet smart constructor.
Instances
Request Lenses
osgUploadProtocol :: Lens' OrganizationsSinksGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
osgAccessToken :: Lens' OrganizationsSinksGet (Maybe Text) Source #
OAuth access token.
osgUploadType :: Lens' OrganizationsSinksGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
osgBearerToken :: Lens' OrganizationsSinksGet (Maybe Text) Source #
OAuth bearer token.
osgSinkName :: Lens' OrganizationsSinksGet Text Source #
Required. The resource name of the sink to return. Example: `"projects/my-project-id/sinks/my-sink-id"`.
osgCallback :: Lens' OrganizationsSinksGet (Maybe Text) Source #
JSONP