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
.
- type OrganizationsSinksListResource = "v2" :> (Capture "parent" Text :> ("sinks" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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)
- oslPp :: Lens' OrganizationsSinksList Bool
- oslAccessToken :: Lens' OrganizationsSinksList (Maybe Text)
- oslUploadType :: Lens' OrganizationsSinksList (Maybe Text)
- oslBearerToken :: 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 "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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.
Request Lenses
oslParent :: Lens' OrganizationsSinksList Text Source #
Required. The cloud resource containing the sinks. Example: `"projects/my-logging-project"`.
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").
oslBearerToken :: Lens' OrganizationsSinksList (Maybe Text) Source #
OAuth bearer token.
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