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 |
Lists sinks.
See: Stackdriver Logging API Reference for logging.organizations.sinks.list
.
Synopsis
- type OrganizationsSinksListResource = "v2" :> (Capture "parent" Text :> ("sinks" :> (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] ListSinksResponse))))))))))
- organizationsSinksList :: Text -> OrganizationsSinksList
- data OrganizationsSinksList
- oslParent :: Lens' OrganizationsSinksList Text
- oslXgafv :: Lens' OrganizationsSinksList (Maybe Xgafv)
- oslUploadProtocol :: Lens' OrganizationsSinksList (Maybe Text)
- oslAccessToken :: Lens' OrganizationsSinksList (Maybe Text)
- oslUploadType :: Lens' OrganizationsSinksList (Maybe Text)
- oslPageToken :: Lens' OrganizationsSinksList (Maybe Text)
- oslPageSize :: Lens' OrganizationsSinksList (Maybe Int32)
- oslCallback :: Lens' OrganizationsSinksList (Maybe Text)
REST Resource
type OrganizationsSinksListResource = "v2" :> (Capture "parent" Text :> ("sinks" :> (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] ListSinksResponse)))))))))) Source #
A resource alias for logging.organizations.sinks.list
method which the
OrganizationsSinksList
request conforms to.
Creating a Request
organizationsSinksList Source #
Creates a value of OrganizationsSinksList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsSinksList Source #
Lists sinks.
See: organizationsSinksList
smart constructor.
Instances
Request Lenses
oslParent :: Lens' OrganizationsSinksList Text Source #
Required. The parent resource whose sinks are to be listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
oslUploadProtocol :: Lens' OrganizationsSinksList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
oslAccessToken :: Lens' OrganizationsSinksList (Maybe Text) Source #
OAuth access token.
oslUploadType :: Lens' OrganizationsSinksList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
oslPageToken :: Lens' OrganizationsSinksList (Maybe Text) Source #
Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
oslPageSize :: Lens' OrganizationsSinksList (Maybe Int32) Source #
Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
oslCallback :: Lens' OrganizationsSinksList (Maybe Text) Source #
JSONP