gogol-cloudtrace-0.0.1: Google Cloud Trace SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.CloudTrace.GetDiscovery

Contents

Description

Returns a discovery document in the specified `format`. The typeurl in the returned google.protobuf.Any value depends on the requested format.

See: Google Cloud Trace API Reference for cloudtrace.getDiscovery.

Synopsis

REST Resource

type GetDiscoveryResource = "v1" :> ("discovery" :> (QueryParam "$.xgafv" Text :> (QueryParams "args" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "format" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "version" Text :> (QueryParams "labels" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` ()))))))))))))) Source

A resource alias for cloudtrace.getDiscovery method which the GetDiscovery request conforms to.

Creating a Request

getDiscovery :: GetDiscovery Source

Creates a value of GetDiscovery with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetDiscovery Source

Returns a discovery document in the specified `format`. The typeurl in the returned google.protobuf.Any value depends on the requested format.

See: getDiscovery smart constructor.

Request Lenses

gdXgafv :: Lens' GetDiscovery (Maybe Text) Source

V1 error format.

gdArgs :: Lens' GetDiscovery [Text] Source

Any additional arguments.

gdUploadProtocol :: Lens' GetDiscovery (Maybe Text) Source

Upload protocol for media (e.g. "raw", "multipart").

gdPp :: Lens' GetDiscovery Bool Source

Pretty-print response.

gdFormat :: Lens' GetDiscovery (Maybe Text) Source

The format requested for discovery.

gdUploadType :: Lens' GetDiscovery (Maybe Text) Source

Legacy upload protocol for media (e.g. "media", "multipart").

gdVersion :: Lens' GetDiscovery (Maybe Text) Source

The API version of the requested discovery doc.

gdLabels :: Lens' GetDiscovery [Text] Source

A list of labels (like visibility) influencing the scope of the requested doc.