gogol-cloudprofiler-0.4.0: Google Stackdriver Profiler SDK.

Copyright(c) 2015-2016 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.CloudProFiler

Contents

Description

Manages continuous profiling information.

See: Stackdriver Profiler API Reference

Synopsis

Service Configuration

cloudProfilerService :: ServiceConfig Source #

Default request referring to version v2 of the Stackdriver Profiler API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #

View and manage your data across Google Cloud Platform services

monitoringScope :: Proxy '["https://www.googleapis.com/auth/monitoring"] Source #

View and write monitoring data for all of your Google and third-party Cloud and API projects

monitoringWriteScope :: Proxy '["https://www.googleapis.com/auth/monitoring.write"] Source #

Publish metric data to your Google Cloud projects

API Declaration

type CloudProfilerAPI = ProjectsProFilesPatchResource :<|> (ProjectsProFilesCreateResource :<|> ProjectsProFilesCreateOfflineResource) Source #

Represents the entirety of the methods and resources available for the Stackdriver Profiler API service.

Resources

cloudprofiler.projects.profiles.create

cloudprofiler.projects.profiles.createOffline

cloudprofiler.projects.profiles.patch

Types

DeploymentLabels

data DeploymentLabels Source #

Labels identify the deployment within the user universe and same target. Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. Value for an individual label must be <= 512 bytes, the total size of all label names and values must be <= 1024 bytes. Label named "language" can be used to record the programming language of the profiled deployment. The standard choices for the value include "java", "go", "python", "ruby", "nodejs", "php", "dotnet". For deployments running on Google Cloud Platform, "zone" or "region" label should be present describing the deployment location. An example of a zone is "us-central1-a", an example of a region is "us-central1" or "us-central".

See: deploymentLabels smart constructor.

Instances
Eq DeploymentLabels Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Data DeploymentLabels Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeploymentLabels -> c DeploymentLabels #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeploymentLabels #

toConstr :: DeploymentLabels -> Constr #

dataTypeOf :: DeploymentLabels -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeploymentLabels) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeploymentLabels) #

gmapT :: (forall b. Data b => b -> b) -> DeploymentLabels -> DeploymentLabels #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeploymentLabels -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeploymentLabels -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeploymentLabels -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeploymentLabels -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeploymentLabels -> m DeploymentLabels #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeploymentLabels -> m DeploymentLabels #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeploymentLabels -> m DeploymentLabels #

Show DeploymentLabels Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Generic DeploymentLabels Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Associated Types

type Rep DeploymentLabels :: Type -> Type #

ToJSON DeploymentLabels Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

FromJSON DeploymentLabels Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

type Rep DeploymentLabels Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

type Rep DeploymentLabels = D1 (MetaData "DeploymentLabels" "Network.Google.CloudProFiler.Types.Product" "gogol-cloudprofiler-0.4.0-AtaW9VVG1eMKTsQruh5k45" True) (C1 (MetaCons "DeploymentLabels'" PrefixI True) (S1 (MetaSel (Just "_dlAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

deploymentLabels Source #

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

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

ProFileProFileType

data ProFileProFileType Source #

Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.

Constructors

ProFileTypeUnspecified

PROFILE_TYPE_UNSPECIFIED Unspecified profile type.

CPU

CPU Thread CPU time sampling.

Wall

WALL Wallclock time sampling. More expensive as stops all threads.

Heap

HEAP In-use heap profile. Represents a snapshot of the allocations that are live at the time of the profiling.

Threads

THREADS Single-shot collection of all thread stacks.

Contention

CONTENTION Synchronization contention profile.

PeakHeap

PEAK_HEAP Peak heap profile.

HeapAlloc

HEAP_ALLOC Heap allocation profile. It represents the aggregation of all allocations made over the duration of the profile. All allocations are included, including those that might have been freed by the end of the profiling interval. The profile is in particular useful for garbage collecting languages to understand which parts of the code create most of the garbage collection pressure to see if those can be optimized.

Instances
Enum ProFileProFileType Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Eq ProFileProFileType Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Data ProFileProFileType Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProFileProFileType -> c ProFileProFileType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProFileProFileType #

toConstr :: ProFileProFileType -> Constr #

dataTypeOf :: ProFileProFileType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProFileProFileType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProFileProFileType) #

gmapT :: (forall b. Data b => b -> b) -> ProFileProFileType -> ProFileProFileType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProFileProFileType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProFileProFileType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProFileProFileType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProFileProFileType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProFileProFileType -> m ProFileProFileType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProFileProFileType -> m ProFileProFileType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProFileProFileType -> m ProFileProFileType #

Ord ProFileProFileType Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Read ProFileProFileType Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Show ProFileProFileType Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Generic ProFileProFileType Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Associated Types

type Rep ProFileProFileType :: Type -> Type #

Hashable ProFileProFileType Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

ToJSON ProFileProFileType Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

FromJSON ProFileProFileType Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

FromHttpApiData ProFileProFileType Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

ToHttpApiData ProFileProFileType Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

type Rep ProFileProFileType Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

type Rep ProFileProFileType = D1 (MetaData "ProFileProFileType" "Network.Google.CloudProFiler.Types.Sum" "gogol-cloudprofiler-0.4.0-AtaW9VVG1eMKTsQruh5k45" False) (((C1 (MetaCons "ProFileTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CPU" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Wall" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Heap" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Threads" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Contention" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "PeakHeap" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "HeapAlloc" PrefixI False) (U1 :: Type -> Type))))

ProFile

data ProFile Source #

Profile resource.

See: proFile smart constructor.

Instances
Eq ProFile Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Methods

(==) :: ProFile -> ProFile -> Bool #

(/=) :: ProFile -> ProFile -> Bool #

Data ProFile Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProFile -> c ProFile #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProFile #

toConstr :: ProFile -> Constr #

dataTypeOf :: ProFile -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProFile) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProFile) #

gmapT :: (forall b. Data b => b -> b) -> ProFile -> ProFile #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProFile -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProFile -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProFile -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProFile -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProFile -> m ProFile #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProFile -> m ProFile #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProFile -> m ProFile #

Show ProFile Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Generic ProFile Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Associated Types

type Rep ProFile :: Type -> Type #

Methods

from :: ProFile -> Rep ProFile x #

to :: Rep ProFile x -> ProFile #

ToJSON ProFile Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

FromJSON ProFile Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

type Rep ProFile Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

proFile :: ProFile Source #

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

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

pfProFileBytes :: Lens' ProFile (Maybe ByteString) Source #

Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.

pfName :: Lens' ProFile (Maybe Text) Source #

Output only. Opaque, server-assigned, unique ID for this profile.

pfLabels :: Lens' ProFile (Maybe ProFileLabels) Source #

Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.

pfProFileType :: Lens' ProFile (Maybe ProFileProFileType) Source #

Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.

pfDuration :: Lens' ProFile (Maybe Scientific) Source #

Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can't be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).

pfDeployment :: Lens' ProFile (Maybe Deployment) Source #

Deployment this profile corresponds to.

CreateProFileRequest

data CreateProFileRequest Source #

CreateProfileRequest describes a profile resource online creation request. The deployment field must be populated. The profile_type specifies the list of profile types supported by the agent. The creation call will hang until a profile of one of these types needs to be collected.

See: createProFileRequest smart constructor.

Instances
Eq CreateProFileRequest Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Data CreateProFileRequest Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateProFileRequest -> c CreateProFileRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateProFileRequest #

toConstr :: CreateProFileRequest -> Constr #

dataTypeOf :: CreateProFileRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateProFileRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateProFileRequest) #

gmapT :: (forall b. Data b => b -> b) -> CreateProFileRequest -> CreateProFileRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateProFileRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateProFileRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateProFileRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateProFileRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateProFileRequest -> m CreateProFileRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateProFileRequest -> m CreateProFileRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateProFileRequest -> m CreateProFileRequest #

Show CreateProFileRequest Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Generic CreateProFileRequest Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Associated Types

type Rep CreateProFileRequest :: Type -> Type #

ToJSON CreateProFileRequest Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

FromJSON CreateProFileRequest Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

type Rep CreateProFileRequest Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

type Rep CreateProFileRequest = D1 (MetaData "CreateProFileRequest" "Network.Google.CloudProFiler.Types.Product" "gogol-cloudprofiler-0.4.0-AtaW9VVG1eMKTsQruh5k45" False) (C1 (MetaCons "CreateProFileRequest'" PrefixI True) (S1 (MetaSel (Just "_cpfrProFileType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_cpfrDeployment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Deployment))))

createProFileRequest :: CreateProFileRequest Source #

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

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

cpfrProFileType :: Lens' CreateProFileRequest [Text] Source #

One or more profile types that the agent is capable of providing.

ProFileLabels

data ProFileLabels Source #

Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.

See: proFileLabels smart constructor.

Instances
Eq ProFileLabels Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Data ProFileLabels Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProFileLabels -> c ProFileLabels #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProFileLabels #

toConstr :: ProFileLabels -> Constr #

dataTypeOf :: ProFileLabels -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProFileLabels) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProFileLabels) #

gmapT :: (forall b. Data b => b -> b) -> ProFileLabels -> ProFileLabels #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProFileLabels -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProFileLabels -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProFileLabels -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProFileLabels -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProFileLabels -> m ProFileLabels #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProFileLabels -> m ProFileLabels #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProFileLabels -> m ProFileLabels #

Show ProFileLabels Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Generic ProFileLabels Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Associated Types

type Rep ProFileLabels :: Type -> Type #

ToJSON ProFileLabels Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

FromJSON ProFileLabels Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

type Rep ProFileLabels Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

type Rep ProFileLabels = D1 (MetaData "ProFileLabels" "Network.Google.CloudProFiler.Types.Product" "gogol-cloudprofiler-0.4.0-AtaW9VVG1eMKTsQruh5k45" True) (C1 (MetaCons "ProFileLabels'" PrefixI True) (S1 (MetaSel (Just "_pflAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

proFileLabels Source #

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

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

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Methods

(==) :: Xgafv -> Xgafv -> Bool #

(/=) :: Xgafv -> Xgafv -> Bool #

Data Xgafv Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Xgafv -> c Xgafv #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Xgafv #

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Xgafv) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Xgafv) #

gmapT :: (forall b. Data b => b -> b) -> Xgafv -> Xgafv #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Xgafv -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Xgafv -> r #

gmapQ :: (forall d. Data d => d -> u) -> Xgafv -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Xgafv -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

Ord Xgafv Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

(>=) :: Xgafv -> Xgafv -> Bool #

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.CloudProFiler.Types.Sum" "gogol-cloudprofiler-0.4.0-AtaW9VVG1eMKTsQruh5k45" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

Deployment

data Deployment Source #

Deployment contains the deployment identification information.

See: deployment smart constructor.

Instances
Eq Deployment Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Data Deployment Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Deployment -> c Deployment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Deployment #

toConstr :: Deployment -> Constr #

dataTypeOf :: Deployment -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Deployment) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Deployment) #

gmapT :: (forall b. Data b => b -> b) -> Deployment -> Deployment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Deployment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Deployment -> r #

gmapQ :: (forall d. Data d => d -> u) -> Deployment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Deployment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Deployment -> m Deployment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Deployment -> m Deployment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Deployment -> m Deployment #

Show Deployment Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Generic Deployment Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

Associated Types

type Rep Deployment :: Type -> Type #

ToJSON Deployment Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

FromJSON Deployment Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

type Rep Deployment Source # 
Instance details

Defined in Network.Google.CloudProFiler.Types.Product

type Rep Deployment = D1 (MetaData "Deployment" "Network.Google.CloudProFiler.Types.Product" "gogol-cloudprofiler-0.4.0-AtaW9VVG1eMKTsQruh5k45" False) (C1 (MetaCons "Deployment'" PrefixI True) (S1 (MetaSel (Just "_dLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeploymentLabels)) :*: (S1 (MetaSel (Just "_dProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dTarget") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

deployment :: Deployment Source #

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

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

dLabels :: Lens' Deployment (Maybe DeploymentLabels) Source #

Labels identify the deployment within the user universe and same target. Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. Value for an individual label must be <= 512 bytes, the total size of all label names and values must be <= 1024 bytes. Label named "language" can be used to record the programming language of the profiled deployment. The standard choices for the value include "java", "go", "python", "ruby", "nodejs", "php", "dotnet". For deployments running on Google Cloud Platform, "zone" or "region" label should be present describing the deployment location. An example of a zone is "us-central1-a", an example of a region is "us-central1" or "us-central".

dProjectId :: Lens' Deployment (Maybe Text) Source #

Project ID is the ID of a cloud project. Validation regex: `^a-z{4,61}[a-z0-9]$`.

dTarget :: Lens' Deployment (Maybe Text) Source #

Target is the service name used to group related deployments: * Service name for GAE Flex / Standard. * Cluster and container name for GKE. * User-specified string for direct GCE profiling (e.g. Java). * Job name for Dataflow. Validation regex: `^[a-z]([-a-z0-9_.]{0,253}[a-z0-9])?$`.