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 a sink.
See: Stackdriver Logging API Reference for logging.billingAccounts.sinks.get
.
Synopsis
- type BillingAccountsSinksGetResource = "v2" :> (Capture "sinkName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LogSink)))))))
- billingAccountsSinksGet :: Text -> BillingAccountsSinksGet
- data BillingAccountsSinksGet
- basgXgafv :: Lens' BillingAccountsSinksGet (Maybe Xgafv)
- basgUploadProtocol :: Lens' BillingAccountsSinksGet (Maybe Text)
- basgAccessToken :: Lens' BillingAccountsSinksGet (Maybe Text)
- basgUploadType :: Lens' BillingAccountsSinksGet (Maybe Text)
- basgSinkName :: Lens' BillingAccountsSinksGet Text
- basgCallback :: Lens' BillingAccountsSinksGet (Maybe Text)
REST Resource
type BillingAccountsSinksGetResource = "v2" :> (Capture "sinkName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LogSink))))))) Source #
A resource alias for logging.billingAccounts.sinks.get
method which the
BillingAccountsSinksGet
request conforms to.
Creating a Request
billingAccountsSinksGet Source #
Creates a value of BillingAccountsSinksGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BillingAccountsSinksGet Source #
Gets a sink.
See: billingAccountsSinksGet
smart constructor.
Instances
Request Lenses
basgUploadProtocol :: Lens' BillingAccountsSinksGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
basgAccessToken :: Lens' BillingAccountsSinksGet (Maybe Text) Source #
OAuth access token.
basgUploadType :: Lens' BillingAccountsSinksGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
basgSinkName :: Lens' BillingAccountsSinksGet Text Source #
Required. The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks/my-sink-id".
basgCallback :: Lens' BillingAccountsSinksGet (Maybe Text) Source #
JSONP