gogol-cloudtasks-0.4.0: Google Cloud Tasks 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.CloudTasks

Contents

Description

Manages the execution of large numbers of distributed requests.

See: Cloud Tasks API Reference

Synopsis

Service Configuration

cloudTasksService :: ServiceConfig Source #

Default request referring to version v2beta3 of the Cloud Tasks 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

API Declaration

Resources

cloudtasks.projects.locations.get

cloudtasks.projects.locations.list

cloudtasks.projects.locations.queues.create

cloudtasks.projects.locations.queues.delete

cloudtasks.projects.locations.queues.get

cloudtasks.projects.locations.queues.getIamPolicy

cloudtasks.projects.locations.queues.list

cloudtasks.projects.locations.queues.patch

cloudtasks.projects.locations.queues.pause

cloudtasks.projects.locations.queues.purge

cloudtasks.projects.locations.queues.resume

cloudtasks.projects.locations.queues.setIamPolicy

cloudtasks.projects.locations.queues.tasks.create

cloudtasks.projects.locations.queues.tasks.delete

cloudtasks.projects.locations.queues.tasks.get

cloudtasks.projects.locations.queues.tasks.list

cloudtasks.projects.locations.queues.tasks.run

cloudtasks.projects.locations.queues.testIamPermissions

Types

RateLimits

data RateLimits Source #

Rate limits. This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, RunTask, will run a task even if the queue has reached its RateLimits.

See: rateLimits smart constructor.

Instances
Eq RateLimits Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data RateLimits Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: RateLimits -> Constr #

dataTypeOf :: RateLimits -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RateLimits Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic RateLimits Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep RateLimits :: Type -> Type #

ToJSON RateLimits Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON RateLimits Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep RateLimits Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep RateLimits = D1 (MetaData "RateLimits" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "RateLimits'" PrefixI True) (S1 (MetaSel (Just "_rlMaxConcurrentDispatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_rlMaxDispatchesPerSecond") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_rlMaxBurstSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))

rateLimits :: RateLimits Source #

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

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

rlMaxConcurrentDispatches :: Lens' RateLimits (Maybe Int32) Source #

The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched for this queue. After this threshold has been reached, Cloud Tasks stops dispatching tasks until the number of concurrent requests decreases. If unspecified when the queue is created, Cloud Tasks will pick the default. The maximum allowed value is 5,000. This field has the same meaning as max_concurrent_requests in queue.yaml/xml.

rlMaxDispatchesPerSecond :: Lens' RateLimits (Maybe Double) Source #

The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default. * For App Engine queues, the maximum allowed value is 500. This field has the same meaning as rate in queue.yaml/xml.

rlMaxBurstSize :: Lens' RateLimits (Maybe Int32) Source #

Output only. The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The token bucket algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `max_burst_size`. Each time a task is dispatched, a token is removed from the bucket. Tasks will be dispatched until the queue's bucket runs out of tokens. The bucket will be continuously refilled with new tokens based on max_dispatches_per_second. Cloud Tasks will pick the value of `max_burst_size` based on the value of max_dispatches_per_second. For App Engine queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to bucket_size. Since `max_burst_size` is output only, if UpdateQueue is called on a queue created by `queue.yaml/xml`, `max_burst_size` will be reset based on the value of max_dispatches_per_second, regardless of whether max_dispatches_per_second is updated.

Status

data Status Source #

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` that can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.

See: status smart constructor.

Instances
Eq Status Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

Data Status Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: Status -> Constr #

dataTypeOf :: Status -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Status Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic Status Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

ToJSON Status Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON Status Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Status Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Status = D1 (MetaData "Status" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

status :: Status Source #

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

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

sDetails :: Lens' Status [StatusDetailsItem] Source #

A list of messages that carry the error details. There is a common set of message types for APIs to use.

sCode :: Lens' Status (Maybe Int32) Source #

The status code, which should be an enum value of google.rpc.Code.

sMessage :: Lens' Status (Maybe Text) Source #

A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

Expr

data Expr Source #

Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"

See: expr smart constructor.

Instances
Eq Expr Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

Data Expr Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: Expr -> Constr #

dataTypeOf :: Expr -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Expr Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

showsPrec :: Int -> Expr -> ShowS #

show :: Expr -> String #

showList :: [Expr] -> ShowS #

Generic Expr Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep Expr :: Type -> Type #

Methods

from :: Expr -> Rep Expr x #

to :: Rep Expr x -> Expr #

ToJSON Expr Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON Expr Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Expr Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Expr = D1 (MetaData "Expr" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "Expr'" PrefixI True) ((S1 (MetaSel (Just "_eLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_eTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

expr :: Expr Source #

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

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

eLocation :: Lens' Expr (Maybe Text) Source #

An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

eExpression :: Lens' Expr (Maybe Text) Source #

Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.

eTitle :: Lens' Expr (Maybe Text) Source #

An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

eDescription :: Lens' Expr (Maybe Text) Source #

An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

ListLocationsResponse

data ListLocationsResponse Source #

The response message for Locations.ListLocations.

See: listLocationsResponse smart constructor.

Instances
Eq ListLocationsResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data ListLocationsResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: ListLocationsResponse -> Constr #

dataTypeOf :: ListLocationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListLocationsResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic ListLocationsResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep ListLocationsResponse :: Type -> Type #

ToJSON ListLocationsResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON ListLocationsResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep ListLocationsResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep ListLocationsResponse = D1 (MetaData "ListLocationsResponse" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "ListLocationsResponse'" PrefixI True) (S1 (MetaSel (Just "_llrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_llrLocations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Location]))))

listLocationsResponse :: ListLocationsResponse Source #

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

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

llrNextPageToken :: Lens' ListLocationsResponse (Maybe Text) Source #

The standard List next-page token.

llrLocations :: Lens' ListLocationsResponse [Location] Source #

A list of locations that matches the specified filter in the request.

GetIAMPolicyRequest

data GetIAMPolicyRequest Source #

Request message for `GetIamPolicy` method.

See: getIAMPolicyRequest smart constructor.

Instances
Eq GetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data GetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: GetIAMPolicyRequest -> Constr #

dataTypeOf :: GetIAMPolicyRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic GetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep GetIAMPolicyRequest :: Type -> Type #

ToJSON GetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON GetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep GetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep GetIAMPolicyRequest = D1 (MetaData "GetIAMPolicyRequest" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "GetIAMPolicyRequest'" PrefixI False) (U1 :: Type -> Type))

getIAMPolicyRequest :: GetIAMPolicyRequest Source #

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

RetryConfig

data RetryConfig Source #

Retry config. These settings determine when a failed task attempt is retried.

See: retryConfig smart constructor.

Instances
Eq RetryConfig Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data RetryConfig Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: RetryConfig -> Constr #

dataTypeOf :: RetryConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RetryConfig Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic RetryConfig Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep RetryConfig :: Type -> Type #

ToJSON RetryConfig Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON RetryConfig Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep RetryConfig Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep RetryConfig = D1 (MetaData "RetryConfig" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "RetryConfig'" PrefixI True) ((S1 (MetaSel (Just "_rcMaxDoublings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_rcMaxRetryDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GDuration))) :*: (S1 (MetaSel (Just "_rcMaxAttempts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_rcMaxBackoff") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GDuration)) :*: S1 (MetaSel (Just "_rcMinBackoff") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GDuration))))))

retryConfig :: RetryConfig Source #

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

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

rcMaxDoublings :: Lens' RetryConfig (Maybe Int32) Source #

The time between retries will double `max_doublings` times. A task's retry interval starts at min_backoff, then doubles `max_doublings` times, then increases linearly, and finally retries retries at intervals of max_backoff up to max_attempts times. For example, if min_backoff is 10s, max_backoff is 300s, and `max_doublings` is 3, then the a task will first be retried in 10s. The retry interval will double three times, and then increase linearly by 2^3 * 10s. Finally, the task will retry at intervals of max_backoff until the task has been attempted max_attempts times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... If unspecified when the queue is created, Cloud Tasks will pick the default. This field has the same meaning as max_doublings in queue.yaml/xml.

rcMaxRetryDuration :: Lens' RetryConfig (Maybe Scientific) Source #

If positive, `max_retry_duration` specifies the time limit for retrying a failed task, measured from when the task was first attempted. Once `max_retry_duration` time has passed *and* the task has been attempted max_attempts times, no further attempts will be made and the task will be deleted. If zero, then the task age is unlimited. If unspecified when the queue is created, Cloud Tasks will pick the default. `max_retry_duration` will be truncated to the nearest second. This field has the same meaning as task_age_limit in queue.yaml/xml.

rcMaxAttempts :: Lens' RetryConfig (Maybe Int32) Source #

Number of attempts per task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as task_retry_limit in queue.yaml/xml.

rcMaxBackoff :: Lens' RetryConfig (Maybe Scientific) Source #

A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. `max_backoff` will be truncated to the nearest second. This field has the same meaning as max_backoff_seconds in queue.yaml/xml.

rcMinBackoff :: Lens' RetryConfig (Maybe Scientific) Source #

A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. `min_backoff` will be truncated to the nearest second. This field has the same meaning as min_backoff_seconds in queue.yaml/xml.

RunTaskRequest

data RunTaskRequest Source #

Request message for forcing a task to run now using RunTask.

See: runTaskRequest smart constructor.

Instances
Eq RunTaskRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data RunTaskRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: RunTaskRequest -> Constr #

dataTypeOf :: RunTaskRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RunTaskRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic RunTaskRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep RunTaskRequest :: Type -> Type #

ToJSON RunTaskRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON RunTaskRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep RunTaskRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep RunTaskRequest = D1 (MetaData "RunTaskRequest" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" True) (C1 (MetaCons "RunTaskRequest'" PrefixI True) (S1 (MetaSel (Just "_rtrResponseView") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe RunTaskRequestResponseView))))

runTaskRequest :: RunTaskRequest Source #

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

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

rtrResponseView :: Lens' RunTaskRequest (Maybe RunTaskRequestResponseView) Source #

The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` Google IAM permission on the Task resource.

Location

data Location Source #

A resource that represents Google Cloud Platform location.

See: location smart constructor.

Instances
Eq Location Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data Location Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: Location -> Constr #

dataTypeOf :: Location -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Location Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic Location Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep Location :: Type -> Type #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

ToJSON Location Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON Location Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Location Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Location = D1 (MetaData "Location" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "Location'" PrefixI True) ((S1 (MetaSel (Just "_lName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LocationMetadata))) :*: (S1 (MetaSel (Just "_lDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LocationLabels)) :*: S1 (MetaSel (Just "_lLocationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

location :: Location Source #

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

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

lName :: Lens' Location (Maybe Text) Source #

Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`

lMetadata :: Lens' Location (Maybe LocationMetadata) Source #

Service-specific metadata. For example the available capacity at the given location.

lDisplayName :: Lens' Location (Maybe Text) Source #

The friendly name for this location, typically a nearby city name. For example, "Tokyo".

lLabels :: Lens' Location (Maybe LocationLabels) Source #

Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}

lLocationId :: Lens' Location (Maybe Text) Source #

The canonical id for this location. For example: `"us-east1"`.

Empty

data Empty Source #

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.

See: empty smart constructor.

Instances
Eq Empty Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

Data Empty Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: Empty -> Constr #

dataTypeOf :: Empty -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Empty Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep Empty :: Type -> Type #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "Empty'" PrefixI False) (U1 :: Type -> Type))

empty :: Empty Source #

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

CreateTaskRequest

data CreateTaskRequest Source #

Request message for CreateTask.

See: createTaskRequest smart constructor.

Instances
Eq CreateTaskRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data CreateTaskRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: CreateTaskRequest -> Constr #

dataTypeOf :: CreateTaskRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CreateTaskRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic CreateTaskRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep CreateTaskRequest :: Type -> Type #

ToJSON CreateTaskRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON CreateTaskRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep CreateTaskRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep CreateTaskRequest = D1 (MetaData "CreateTaskRequest" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "CreateTaskRequest'" PrefixI True) (S1 (MetaSel (Just "_ctrResponseView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CreateTaskRequestResponseView)) :*: S1 (MetaSel (Just "_ctrTask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Task))))

createTaskRequest :: CreateTaskRequest Source #

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

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

ctrResponseView :: Lens' CreateTaskRequest (Maybe CreateTaskRequestResponseView) Source #

The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` Google IAM permission on the Task resource.

ctrTask :: Lens' CreateTaskRequest (Maybe Task) Source #

Required. The task to add. Task names have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. The user can optionally specify a task name. If a name is not specified then the system will generate a random unique task id, which will be set in the task returned in the response. If schedule_time is not set or is in the past then Cloud Tasks will set it to the current time. Task De-duplication: Explicitly specifying a task ID enables task de-duplication. If a task's ID is identical to that of an existing task or a task that was deleted or executed recently then the call will fail with ALREADY_EXISTS. If the task's queue was created using Cloud Tasks, then another task with the same name can't be created for ~1hour after the original task was deleted or executed. If the task's queue was created using queue.yaml or queue.xml, then another task with the same name can't be created for ~9days after the original task was deleted or executed. Because there is an extra lookup cost to identify duplicate task names, these CreateTask calls have significantly increased latency. Using hashed strings for the task id or for the prefix of the task id is recommended. Choosing task ids that are sequential or have sequential prefixes, for example using a timestamp, causes an increase in latency and error rates in all task commands. The infrastructure relies on an approximately uniform distribution of task ids to store and serve tasks efficiently.

TaskView

data TaskView Source #

Output only. The view specifies which subset of the Task has been returned.

Constructors

ViewUnspecified

VIEW_UNSPECIFIED Unspecified. Defaults to BASIC.

Basic

BASIC The basic view omits fields which can be large or can contain sensitive data. This view does not include the body in AppEngineHttpRequest. Bodies are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it.

Full

FULL All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` Google IAM permission on the Queue resource.

Instances
Enum TaskView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Eq TaskView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Data TaskView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Methods

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

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

toConstr :: TaskView -> Constr #

dataTypeOf :: TaskView -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord TaskView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Read TaskView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Show TaskView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Generic TaskView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Associated Types

type Rep TaskView :: Type -> Type #

Methods

from :: TaskView -> Rep TaskView x #

to :: Rep TaskView x -> TaskView #

Hashable TaskView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Methods

hashWithSalt :: Int -> TaskView -> Int #

hash :: TaskView -> Int #

ToJSON TaskView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

FromJSON TaskView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

FromHttpApiData TaskView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

ToHttpApiData TaskView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

type Rep TaskView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

type Rep TaskView = D1 (MetaData "TaskView" "Network.Google.CloudTasks.Types.Sum" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "ViewUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Basic" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Full" PrefixI False) (U1 :: Type -> Type)))

ListQueuesResponse

data ListQueuesResponse Source #

Response message for ListQueues.

See: listQueuesResponse smart constructor.

Instances
Eq ListQueuesResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data ListQueuesResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: ListQueuesResponse -> Constr #

dataTypeOf :: ListQueuesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListQueuesResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic ListQueuesResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep ListQueuesResponse :: Type -> Type #

ToJSON ListQueuesResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON ListQueuesResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep ListQueuesResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep ListQueuesResponse = D1 (MetaData "ListQueuesResponse" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "ListQueuesResponse'" PrefixI True) (S1 (MetaSel (Just "_lqrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lqrQueues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Queue]))))

listQueuesResponse :: ListQueuesResponse Source #

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

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

lqrNextPageToken :: Lens' ListQueuesResponse (Maybe Text) Source #

A token to retrieve next page of results. To return the next page of results, call ListQueues with this value as the page_token. If the next_page_token is empty, there are no more results. The page token is valid for only 2 hours.

StatusDetailsItem

data StatusDetailsItem Source #

Instances
Eq StatusDetailsItem Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data StatusDetailsItem Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: StatusDetailsItem -> Constr #

dataTypeOf :: StatusDetailsItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StatusDetailsItem Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic StatusDetailsItem Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep StatusDetailsItem :: Type -> Type #

ToJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep StatusDetailsItem Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep StatusDetailsItem = D1 (MetaData "StatusDetailsItem" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" True) (C1 (MetaCons "StatusDetailsItem'" PrefixI True) (S1 (MetaSel (Just "_sdiAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

statusDetailsItem Source #

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

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

sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.

QueueState

data QueueState Source #

Output only. The state of the queue. `state` can only be changed by called PauseQueue, ResumeQueue, or uploading queue.yaml/xml. UpdateQueue cannot be used to change `state`.

Constructors

StateUnspecified

STATE_UNSPECIFIED Unspecified state.

Running

RUNNING The queue is running. Tasks can be dispatched. If the queue was created using Cloud Tasks and the queue has had no activity (method calls or task dispatches) for 30 days, the queue may take a few minutes to re-activate. Some method calls may return NOT_FOUND and tasks may not be dispatched for a few minutes until the queue has been re-activated.

Paused

PAUSED Tasks are paused by the user. If the queue is paused then Cloud Tasks will stop delivering tasks from it, but more tasks can still be added to it by the user.

Disabled

DISABLED The queue is disabled. A queue becomes `DISABLED` when queue.yaml or queue.xml is uploaded which does not contain the queue. You cannot directly disable a queue. When a queue is disabled, tasks can still be added to a queue but the tasks are not dispatched. To permanently delete this queue and all of its tasks, call DeleteQueue.

Instances
Enum QueueState Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Eq QueueState Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Data QueueState Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Methods

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

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

toConstr :: QueueState -> Constr #

dataTypeOf :: QueueState -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord QueueState Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Read QueueState Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Show QueueState Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Generic QueueState Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Associated Types

type Rep QueueState :: Type -> Type #

Hashable QueueState Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

ToJSON QueueState Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

FromJSON QueueState Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

FromHttpApiData QueueState Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

ToHttpApiData QueueState Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

type Rep QueueState Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

type Rep QueueState = D1 (MetaData "QueueState" "Network.Google.CloudTasks.Types.Sum" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) ((C1 (MetaCons "StateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Running" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Paused" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Disabled" PrefixI False) (U1 :: Type -> Type)))

AppEngineHTTPQueue

data AppEngineHTTPQueue Source #

App Engine HTTP queue. The task will be delivered to the App Engine application hostname specified by its AppEngineHttpQueue and AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how the task's host URL is constructed. Using AppEngineHttpQueue requires `appengine.applications.get` Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform`

See: appEngineHTTPQueue smart constructor.

Instances
Eq AppEngineHTTPQueue Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data AppEngineHTTPQueue Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: AppEngineHTTPQueue -> Constr #

dataTypeOf :: AppEngineHTTPQueue -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppEngineHTTPQueue Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic AppEngineHTTPQueue Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep AppEngineHTTPQueue :: Type -> Type #

ToJSON AppEngineHTTPQueue Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON AppEngineHTTPQueue Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep AppEngineHTTPQueue Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep AppEngineHTTPQueue = D1 (MetaData "AppEngineHTTPQueue" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" True) (C1 (MetaCons "AppEngineHTTPQueue'" PrefixI True) (S1 (MetaSel (Just "_aehttpqAppEngineRoutingOverride") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe AppEngineRouting))))

appEngineHTTPQueue :: AppEngineHTTPQueue Source #

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

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

aehttpqAppEngineRoutingOverride :: Lens' AppEngineHTTPQueue (Maybe AppEngineRouting) Source #

Overrides for the task-level app_engine_routing. If set, `app_engine_routing_override` is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.

CreateTaskRequestResponseView

data CreateTaskRequestResponseView Source #

The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` Google IAM permission on the Task resource.

Constructors

CTRRVViewUnspecified

VIEW_UNSPECIFIED Unspecified. Defaults to BASIC.

CTRRVBasic

BASIC The basic view omits fields which can be large or can contain sensitive data. This view does not include the body in AppEngineHttpRequest. Bodies are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it.

CTRRVFull

FULL All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` Google IAM permission on the Queue resource.

Instances
Enum CreateTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Eq CreateTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Data CreateTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Methods

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

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

toConstr :: CreateTaskRequestResponseView -> Constr #

dataTypeOf :: CreateTaskRequestResponseView -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord CreateTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Read CreateTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Show CreateTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Generic CreateTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Associated Types

type Rep CreateTaskRequestResponseView :: Type -> Type #

Hashable CreateTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

ToJSON CreateTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

FromJSON CreateTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

FromHttpApiData CreateTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

ToHttpApiData CreateTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

type Rep CreateTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

type Rep CreateTaskRequestResponseView = D1 (MetaData "CreateTaskRequestResponseView" "Network.Google.CloudTasks.Types.Sum" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "CTRRVViewUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "CTRRVBasic" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CTRRVFull" PrefixI False) (U1 :: Type -> Type)))

SetIAMPolicyRequest

data SetIAMPolicyRequest Source #

Request message for `SetIamPolicy` method.

See: setIAMPolicyRequest smart constructor.

Instances
Eq SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: SetIAMPolicyRequest -> Constr #

dataTypeOf :: SetIAMPolicyRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep SetIAMPolicyRequest :: Type -> Type #

ToJSON SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep SetIAMPolicyRequest = D1 (MetaData "SetIAMPolicyRequest" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" True) (C1 (MetaCons "SetIAMPolicyRequest'" PrefixI True) (S1 (MetaSel (Just "_siprPolicy") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Policy))))

setIAMPolicyRequest :: SetIAMPolicyRequest Source #

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

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

siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy) Source #

REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.

Queue

data Queue Source #

A queue is a container of related tasks. Queues are configured to manage how those tasks are dispatched. Configurable properties include rate limits, retry options, queue types, and others.

See: queue smart constructor.

Instances
Eq Queue Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

Data Queue Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: Queue -> Constr #

dataTypeOf :: Queue -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Queue Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

showsPrec :: Int -> Queue -> ShowS #

show :: Queue -> String #

showList :: [Queue] -> ShowS #

Generic Queue Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep Queue :: Type -> Type #

Methods

from :: Queue -> Rep Queue x #

to :: Rep Queue x -> Queue #

ToJSON Queue Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON Queue Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Queue Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

queue :: Queue Source #

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

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

qRateLimits :: Lens' Queue (Maybe RateLimits) Source #

Rate limits for task dispatches. rate_limits and retry_config are related because they both control task attempts however they control how tasks are attempted in different ways: * rate_limits controls the total rate of dispatches from a queue (i.e. all traffic dispatched from the queue, regardless of whether the dispatch is from a first attempt or a retry). * retry_config controls what happens to particular a task after its first attempt fails. That is, retry_config controls task retries (the second attempt, third attempt, etc).

qState :: Lens' Queue (Maybe QueueState) Source #

Output only. The state of the queue. `state` can only be changed by called PauseQueue, ResumeQueue, or uploading queue.yaml/xml. UpdateQueue cannot be used to change `state`.

qRetryConfig :: Lens' Queue (Maybe RetryConfig) Source #

Settings that determine the retry behavior. * For tasks created using Cloud Tasks: the queue-level retry settings apply to all tasks in the queue that were created using Cloud Tasks. Retry settings cannot be set on individual tasks. * For tasks created using the App Engine SDK: the queue-level retry settings apply to all tasks in the queue which do not have retry settings explicitly set on the task and were created by the App Engine SDK. See App Engine documentation.

qAppEngineHTTPQueue :: Lens' Queue (Maybe AppEngineHTTPQueue) Source #

App Engine HTTP queue. An App Engine queue is a queue that has an AppEngineHttpQueue type.

qName :: Lens' Queue (Maybe Text) Source #

Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see Identifying projects * `LOCATION_ID` is the canonical ID for the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.

qPurgeTime :: Lens' Queue (Maybe UTCTime) Source #

Output only. The last time this queue was purged. All tasks that were created before this time were purged. A queue can be purged using PurgeQueue, the App Engine Task Queue SDK, or the Cloud Console. Purge time will be truncated to the nearest microsecond. Purge time will be unset if the queue has never been purged.

AppEngineHTTPRequestHTTPMethod

data AppEngineHTTPRequestHTTPMethod Source #

The HTTP method to use for the request. The default is POST. The app's request handler for the task's target URL must be able to handle HTTP requests with this http_method, otherwise the task attempt will fail with error code 405 (Method Not Allowed). See Writing a push task request handler and the documentation for the request handlers in the language your app is written in e.g. Python Request Handler.

Constructors

HTTPMethodUnspecified

HTTP_METHOD_UNSPECIFIED HTTP method unspecified

Post'

POST HTTP POST

Get'

GET HTTP GET

Head'

HEAD HTTP HEAD

Put'

PUT HTTP PUT

Delete'

DELETE HTTP DELETE

Instances
Enum AppEngineHTTPRequestHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Eq AppEngineHTTPRequestHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Data AppEngineHTTPRequestHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Methods

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

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

toConstr :: AppEngineHTTPRequestHTTPMethod -> Constr #

dataTypeOf :: AppEngineHTTPRequestHTTPMethod -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AppEngineHTTPRequestHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Read AppEngineHTTPRequestHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Show AppEngineHTTPRequestHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Generic AppEngineHTTPRequestHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Associated Types

type Rep AppEngineHTTPRequestHTTPMethod :: Type -> Type #

Hashable AppEngineHTTPRequestHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

ToJSON AppEngineHTTPRequestHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

FromJSON AppEngineHTTPRequestHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

FromHttpApiData AppEngineHTTPRequestHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

ToHttpApiData AppEngineHTTPRequestHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

type Rep AppEngineHTTPRequestHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

type Rep AppEngineHTTPRequestHTTPMethod = D1 (MetaData "AppEngineHTTPRequestHTTPMethod" "Network.Google.CloudTasks.Types.Sum" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) ((C1 (MetaCons "HTTPMethodUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Post'" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Get'" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "Head'" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Put'" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Delete'" PrefixI False) (U1 :: Type -> Type))))

ListTasksResponse

data ListTasksResponse Source #

Response message for listing tasks using ListTasks.

See: listTasksResponse smart constructor.

Instances
Eq ListTasksResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data ListTasksResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: ListTasksResponse -> Constr #

dataTypeOf :: ListTasksResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListTasksResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic ListTasksResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep ListTasksResponse :: Type -> Type #

ToJSON ListTasksResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON ListTasksResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep ListTasksResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep ListTasksResponse = D1 (MetaData "ListTasksResponse" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "ListTasksResponse'" PrefixI True) (S1 (MetaSel (Just "_ltrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltrTasks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Task]))))

listTasksResponse :: ListTasksResponse Source #

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

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

ltrNextPageToken :: Lens' ListTasksResponse (Maybe Text) Source #

A token to retrieve next page of results. To return the next page of results, call ListTasks with this value as the page_token. If the next_page_token is empty, there are no more results.

ltrTasks :: Lens' ListTasksResponse [Task] Source #

The list of tasks.

AppEngineHTTPRequestHeaders

data AppEngineHTTPRequestHeaders Source #

HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. Repeated headers are not supported but a header value can contain commas. Cloud Tasks sets some headers to default values: * `User-Agent`: By default, this header is `"AppEngine-Google; (+http://code.google.com/appengine)"`. This header can be modified, but Cloud Tasks will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. If the task has a body, Cloud Tasks sets the following headers: * `Content-Type`: By default, the `Content-Type` header is set to `"application/octet-stream"`. The default can be overridden by explicitly setting `Content-Type` to a particular media type when the task is created. For example, `Content-Type` can be set to `"application/json"`. * `Content-Length`: This is computed by Cloud Tasks. This value is output only. It cannot be changed. The headers below cannot be set or overridden: * `Host` * `X-Google-*` * `X-AppEngine-*` In addition, Cloud Tasks sets some headers when the task is dispatched, such as headers containing information about the task; see request headers. These headers are set only when the task is dispatched, so they are not visible when the task is returned in a Cloud Tasks response. Although there is no specific limit for the maximum number of headers or the size, there is a limit on the maximum size of the Task. For more information, see the CreateTask documentation.

See: appEngineHTTPRequestHeaders smart constructor.

Instances
Eq AppEngineHTTPRequestHeaders Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data AppEngineHTTPRequestHeaders Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: AppEngineHTTPRequestHeaders -> Constr #

dataTypeOf :: AppEngineHTTPRequestHeaders -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppEngineHTTPRequestHeaders Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic AppEngineHTTPRequestHeaders Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep AppEngineHTTPRequestHeaders :: Type -> Type #

ToJSON AppEngineHTTPRequestHeaders Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON AppEngineHTTPRequestHeaders Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep AppEngineHTTPRequestHeaders Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep AppEngineHTTPRequestHeaders = D1 (MetaData "AppEngineHTTPRequestHeaders" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" True) (C1 (MetaCons "AppEngineHTTPRequestHeaders'" PrefixI True) (S1 (MetaSel (Just "_aehttprhAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

appEngineHTTPRequestHeaders Source #

Creates a value of AppEngineHTTPRequestHeaders 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.CloudTasks.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Methods

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

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

Data Xgafv Source # 
Instance details

Defined in Network.Google.CloudTasks.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.CloudTasks.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.CloudTasks.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.CloudTasks.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.CloudTasks.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

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

PauseQueueRequest

data PauseQueueRequest Source #

Request message for PauseQueue.

See: pauseQueueRequest smart constructor.

Instances
Eq PauseQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data PauseQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: PauseQueueRequest -> Constr #

dataTypeOf :: PauseQueueRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PauseQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic PauseQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep PauseQueueRequest :: Type -> Type #

ToJSON PauseQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON PauseQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep PauseQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep PauseQueueRequest = D1 (MetaData "PauseQueueRequest" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "PauseQueueRequest'" PrefixI False) (U1 :: Type -> Type))

pauseQueueRequest :: PauseQueueRequest Source #

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

TestIAMPermissionsRequest

data TestIAMPermissionsRequest Source #

Request message for `TestIamPermissions` method.

See: testIAMPermissionsRequest smart constructor.

Instances
Eq TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: TestIAMPermissionsRequest -> Constr #

dataTypeOf :: TestIAMPermissionsRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep TestIAMPermissionsRequest :: Type -> Type #

ToJSON TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep TestIAMPermissionsRequest = D1 (MetaData "TestIAMPermissionsRequest" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" True) (C1 (MetaCons "TestIAMPermissionsRequest'" PrefixI True) (S1 (MetaSel (Just "_tiprPermissions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

testIAMPermissionsRequest :: TestIAMPermissionsRequest Source #

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

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

tiprPermissions :: Lens' TestIAMPermissionsRequest [Text] Source #

The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see IAM Overview.

Attempt

data Attempt Source #

The status of a task attempt.

See: attempt smart constructor.

Instances
Eq Attempt Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

Data Attempt Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: Attempt -> Constr #

dataTypeOf :: Attempt -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Attempt Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic Attempt Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep Attempt :: Type -> Type #

Methods

from :: Attempt -> Rep Attempt x #

to :: Rep Attempt x -> Attempt #

ToJSON Attempt Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON Attempt Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Attempt Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Attempt = D1 (MetaData "Attempt" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "Attempt'" PrefixI True) ((S1 (MetaSel (Just "_aResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Status)) :*: S1 (MetaSel (Just "_aScheduleTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_aDispatchTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_aResponseTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))))

attempt :: Attempt Source #

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

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

aResponseStatus :: Lens' Attempt (Maybe Status) Source #

Output only. The response from the target for this attempt. If `response_time` is unset, then the task has not been attempted or is currently running and the `response_status` field is meaningless.

aScheduleTime :: Lens' Attempt (Maybe UTCTime) Source #

Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.

aDispatchTime :: Lens' Attempt (Maybe UTCTime) Source #

Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.

aResponseTime :: Lens' Attempt (Maybe UTCTime) Source #

Output only. The time that this attempt response was received. `response_time` will be truncated to the nearest microsecond.

PurgeQueueRequest

data PurgeQueueRequest Source #

Request message for PurgeQueue.

See: purgeQueueRequest smart constructor.

Instances
Eq PurgeQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data PurgeQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: PurgeQueueRequest -> Constr #

dataTypeOf :: PurgeQueueRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PurgeQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic PurgeQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep PurgeQueueRequest :: Type -> Type #

ToJSON PurgeQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON PurgeQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep PurgeQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep PurgeQueueRequest = D1 (MetaData "PurgeQueueRequest" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "PurgeQueueRequest'" PrefixI False) (U1 :: Type -> Type))

purgeQueueRequest :: PurgeQueueRequest Source #

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

Task

data Task Source #

A unit of scheduled work.

See: task smart constructor.

Instances
Eq Task Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

Data Task Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: Task -> Constr #

dataTypeOf :: Task -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Task Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

showsPrec :: Int -> Task -> ShowS #

show :: Task -> String #

showList :: [Task] -> ShowS #

Generic Task Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep Task :: Type -> Type #

Methods

from :: Task -> Rep Task x #

to :: Rep Task x -> Task #

ToJSON Task Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON Task Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Task Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

task :: Task Source #

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

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

tLastAttempt :: Lens' Task (Maybe Attempt) Source #

Output only. The status of the task's last attempt.

tScheduleTime :: Lens' Task (Maybe UTCTime) Source #

The time when the task is scheduled to be attempted. For App Engine queues, this is when the task will be attempted or retried. `schedule_time` will be truncated to the nearest microsecond.

tName :: Lens' Task (Maybe Text) Source #

Optionally caller-specified in CreateTask. The task name. The task name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see Identifying projects * `LOCATION_ID` is the canonical ID for the task's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters. * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.

tFirstAttempt :: Lens' Task (Maybe Attempt) Source #

Output only. The status of the task's first attempt. Only dispatch_time will be set. The other Attempt information is not retained by Cloud Tasks.

tView :: Lens' Task (Maybe TaskView) Source #

Output only. The view specifies which subset of the Task has been returned.

tResponseCount :: Lens' Task (Maybe Int32) Source #

Output only. The number of attempts which have received a response.

tDispatchCount :: Lens' Task (Maybe Int32) Source #

Output only. The number of attempts dispatched. This count includes tasks which have been dispatched but haven't received a response.

tAppEngineHTTPRequest :: Lens' Task (Maybe AppEngineHTTPRequest) Source #

App Engine HTTP request that is sent to the task's target. Can be set only if app_engine_http_queue is set on the queue. An App Engine task is a task that has AppEngineHttpRequest set.

tCreateTime :: Lens' Task (Maybe UTCTime) Source #

Output only. The time that the task was created. `create_time` will be truncated to the nearest second.

TestIAMPermissionsResponse

data TestIAMPermissionsResponse Source #

Response message for `TestIamPermissions` method.

See: testIAMPermissionsResponse smart constructor.

Instances
Eq TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: TestIAMPermissionsResponse -> Constr #

dataTypeOf :: TestIAMPermissionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep TestIAMPermissionsResponse :: Type -> Type #

ToJSON TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep TestIAMPermissionsResponse = D1 (MetaData "TestIAMPermissionsResponse" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" True) (C1 (MetaCons "TestIAMPermissionsResponse'" PrefixI True) (S1 (MetaSel (Just "_tiamprPermissions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

testIAMPermissionsResponse :: TestIAMPermissionsResponse Source #

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

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

tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text] Source #

A subset of `TestPermissionsRequest.permissions` that the caller is allowed.

Policy

data Policy Source #

Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **JSON Example** { "bindings": [ { "role": "roles/owner", "members": [ "user:mike'example.com", "group:admins'example.com", "domain:google.com", "serviceAccount:my-other-app'appspot.gserviceaccount.com" ] }, { "role": "roles/viewer", "members": ["user:sean'example.com"] } ] } **YAML Example** bindings: - members: - user:mike'example.com - group:admins'example.com - domain:google.com - serviceAccount:my-other-app'appspot.gserviceaccount.com role: roles/owner - members: - user:sean'example.com role: roles/viewer For a description of IAM and its features, see the IAM developer's guide.

See: policy smart constructor.

Instances
Eq Policy Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

Data Policy Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: Policy -> Constr #

dataTypeOf :: Policy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Policy Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic Policy Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep Policy :: Type -> Type #

Methods

from :: Policy -> Rep Policy x #

to :: Rep Policy x -> Policy #

ToJSON Policy Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON Policy Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Policy Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Policy = D1 (MetaData "Policy" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "Policy'" PrefixI True) (S1 (MetaSel (Just "_pEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: (S1 (MetaSel (Just "_pVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pBindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Binding])))))

policy :: Policy Source #

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

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

pEtag :: Lens' Policy (Maybe ByteString) Source #

`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.

pBindings :: Lens' Policy [Binding] Source #

Associates a list of `members` to a `role`. `bindings` with no members will result in an error.

LocationLabels

data LocationLabels Source #

Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}

See: locationLabels smart constructor.

Instances
Eq LocationLabels Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data LocationLabels Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: LocationLabels -> Constr #

dataTypeOf :: LocationLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LocationLabels Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic LocationLabels Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep LocationLabels :: Type -> Type #

ToJSON LocationLabels Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON LocationLabels Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep LocationLabels Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep LocationLabels = D1 (MetaData "LocationLabels" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" True) (C1 (MetaCons "LocationLabels'" PrefixI True) (S1 (MetaSel (Just "_llAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

locationLabels Source #

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

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

LocationMetadata

data LocationMetadata Source #

Service-specific metadata. For example the available capacity at the given location.

See: locationMetadata smart constructor.

Instances
Eq LocationMetadata Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data LocationMetadata Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: LocationMetadata -> Constr #

dataTypeOf :: LocationMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LocationMetadata Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic LocationMetadata Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep LocationMetadata :: Type -> Type #

ToJSON LocationMetadata Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON LocationMetadata Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep LocationMetadata Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep LocationMetadata = D1 (MetaData "LocationMetadata" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" True) (C1 (MetaCons "LocationMetadata'" PrefixI True) (S1 (MetaSel (Just "_lmAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

locationMetadata Source #

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

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

lmAddtional :: Lens' LocationMetadata (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.

RunTaskRequestResponseView

data RunTaskRequestResponseView Source #

The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` Google IAM permission on the Task resource.

Constructors

RTRRVViewUnspecified

VIEW_UNSPECIFIED Unspecified. Defaults to BASIC.

RTRRVBasic

BASIC The basic view omits fields which can be large or can contain sensitive data. This view does not include the body in AppEngineHttpRequest. Bodies are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it.

RTRRVFull

FULL All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` Google IAM permission on the Queue resource.

Instances
Enum RunTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Eq RunTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Data RunTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Methods

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

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

toConstr :: RunTaskRequestResponseView -> Constr #

dataTypeOf :: RunTaskRequestResponseView -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord RunTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Read RunTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Show RunTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Generic RunTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

Associated Types

type Rep RunTaskRequestResponseView :: Type -> Type #

Hashable RunTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

ToJSON RunTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

FromJSON RunTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

FromHttpApiData RunTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

ToHttpApiData RunTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

type Rep RunTaskRequestResponseView Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Sum

type Rep RunTaskRequestResponseView = D1 (MetaData "RunTaskRequestResponseView" "Network.Google.CloudTasks.Types.Sum" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "RTRRVViewUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "RTRRVBasic" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "RTRRVFull" PrefixI False) (U1 :: Type -> Type)))

AppEngineRouting

data AppEngineRouting Source #

App Engine Routing. Defines routing characteristics specific to App Engine - service, version, and instance. For more information about services, versions, and instances see An Overview of App Engine, Microservices Architecture on Google App Engine, App Engine Standard request routing, and App Engine Flex request routing.

See: appEngineRouting smart constructor.

Instances
Eq AppEngineRouting Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data AppEngineRouting Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: AppEngineRouting -> Constr #

dataTypeOf :: AppEngineRouting -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppEngineRouting Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic AppEngineRouting Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep AppEngineRouting :: Type -> Type #

ToJSON AppEngineRouting Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON AppEngineRouting Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep AppEngineRouting Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep AppEngineRouting = D1 (MetaData "AppEngineRouting" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "AppEngineRouting'" PrefixI True) ((S1 (MetaSel (Just "_aerService") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aerVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_aerHost") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aerInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

appEngineRouting :: AppEngineRouting Source #

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

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

aerService :: Lens' AppEngineRouting (Maybe Text) Source #

App service. By default, the task is sent to the service which is the default service when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.

aerVersion :: Lens' AppEngineRouting (Maybe Text) Source #

App version. By default, the task is sent to the version which is the default version when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.

aerHost :: Lens' AppEngineRouting (Maybe Text) Source #

Output only. The host that the task is sent to. The host is constructed from the domain name of the app associated with the queue's project ID (for example .appspot.com), and the service, version, and instance. Tasks which were created using the App Engine SDK might have a custom domain name. For more information, see How Requests are Routed.

aerInstance :: Lens' AppEngineRouting (Maybe Text) Source #

App instance. By default, the task is sent to an instance which is available when the task is attempted. Requests can only be sent to a specific instance if manual scaling is used in App Engine Standard. App Engine Flex does not support instances. For more information, see App Engine Standard request routing and App Engine Flex request routing.

AppEngineHTTPRequest

data AppEngineHTTPRequest Source #

App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. This proto can only be used for tasks in a queue which has app_engine_http_queue set. Using AppEngineHttpRequest requires `appengine.applications.get` Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform` The task will be delivered to the App Engine app which belongs to the same project as the queue. For more information, see How Requests are Routed and how routing is affected by dispatch files. Traffic is encrypted during transport and never leaves Google datacenters. Because this traffic is carried over a communication mechanism internal to Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). The request to the handler, however, will appear to have used the HTTP protocol. The AppEngineRouting used to construct the URL that the task is delivered to can be set at the queue-level or task-level: * If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. The `url` that the task will be sent to is: * `url =` host `+` relative_uri Tasks can be dispatched to secure app handlers, unsecure app handlers, and URIs restricted with `login: admin`. Because tasks are not run as any user, they cannot be dispatched to URIs restricted with `login: required` Task dispatches also do not follow redirects. The task attempt has succeeded if the app's request handler returns an HTTP response code in the range [`200` - `299`]. `503` is considered an App Engine system error instead of an application error. Requests returning error `503` will be retried regardless of retry configuration and not counted against retry counts. Any other response code or a failure to receive a response before the deadline is a failed attempt.

See: appEngineHTTPRequest smart constructor.

Instances
Eq AppEngineHTTPRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data AppEngineHTTPRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: AppEngineHTTPRequest -> Constr #

dataTypeOf :: AppEngineHTTPRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppEngineHTTPRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic AppEngineHTTPRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep AppEngineHTTPRequest :: Type -> Type #

ToJSON AppEngineHTTPRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON AppEngineHTTPRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep AppEngineHTTPRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep AppEngineHTTPRequest = D1 (MetaData "AppEngineHTTPRequest" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "AppEngineHTTPRequest'" PrefixI True) ((S1 (MetaSel (Just "_aehttprHTTPMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AppEngineHTTPRequestHTTPMethod)) :*: S1 (MetaSel (Just "_aehttprRelativeURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_aehttprBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: (S1 (MetaSel (Just "_aehttprHeaders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AppEngineHTTPRequestHeaders)) :*: S1 (MetaSel (Just "_aehttprAppEngineRouting") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AppEngineRouting))))))

appEngineHTTPRequest :: AppEngineHTTPRequest Source #

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

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

aehttprHTTPMethod :: Lens' AppEngineHTTPRequest (Maybe AppEngineHTTPRequestHTTPMethod) Source #

The HTTP method to use for the request. The default is POST. The app's request handler for the task's target URL must be able to handle HTTP requests with this http_method, otherwise the task attempt will fail with error code 405 (Method Not Allowed). See Writing a push task request handler and the documentation for the request handlers in the language your app is written in e.g. Python Request Handler.

aehttprRelativeURI :: Lens' AppEngineHTTPRequest (Maybe Text) Source #

The relative URI. The relative URI must begin with "/" and must be a valid HTTP relative URI. It can contain a path and query string arguments. If the relative URI is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters.

aehttprBody :: Lens' AppEngineHTTPRequest (Maybe ByteString) Source #

HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It is an error to set a body on a task with an incompatible HttpMethod.

aehttprHeaders :: Lens' AppEngineHTTPRequest (Maybe AppEngineHTTPRequestHeaders) Source #

HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. Repeated headers are not supported but a header value can contain commas. Cloud Tasks sets some headers to default values: * `User-Agent`: By default, this header is `"AppEngine-Google; (+http://code.google.com/appengine)"`. This header can be modified, but Cloud Tasks will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. If the task has a body, Cloud Tasks sets the following headers: * `Content-Type`: By default, the `Content-Type` header is set to `"application/octet-stream"`. The default can be overridden by explicitly setting `Content-Type` to a particular media type when the task is created. For example, `Content-Type` can be set to `"application/json"`. * `Content-Length`: This is computed by Cloud Tasks. This value is output only. It cannot be changed. The headers below cannot be set or overridden: * `Host` * `X-Google-*` * `X-AppEngine-*` In addition, Cloud Tasks sets some headers when the task is dispatched, such as headers containing information about the task; see request headers. These headers are set only when the task is dispatched, so they are not visible when the task is returned in a Cloud Tasks response. Although there is no specific limit for the maximum number of headers or the size, there is a limit on the maximum size of the Task. For more information, see the CreateTask documentation.

aehttprAppEngineRouting :: Lens' AppEngineHTTPRequest (Maybe AppEngineRouting) Source #

Task-level setting for App Engine routing. If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.

ResumeQueueRequest

data ResumeQueueRequest Source #

Request message for ResumeQueue.

See: resumeQueueRequest smart constructor.

Instances
Eq ResumeQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Data ResumeQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: ResumeQueueRequest -> Constr #

dataTypeOf :: ResumeQueueRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResumeQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic ResumeQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep ResumeQueueRequest :: Type -> Type #

ToJSON ResumeQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON ResumeQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep ResumeQueueRequest Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep ResumeQueueRequest = D1 (MetaData "ResumeQueueRequest" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "ResumeQueueRequest'" PrefixI False) (U1 :: Type -> Type))

resumeQueueRequest :: ResumeQueueRequest Source #

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

Binding

data Binding Source #

Associates `members` with a `role`.

See: binding smart constructor.

Instances
Eq Binding Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

Data Binding Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Methods

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

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

toConstr :: Binding -> Constr #

dataTypeOf :: Binding -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Binding Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Generic Binding Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

Associated Types

type Rep Binding :: Type -> Type #

Methods

from :: Binding -> Rep Binding x #

to :: Rep Binding x -> Binding #

ToJSON Binding Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

FromJSON Binding Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Binding Source # 
Instance details

Defined in Network.Google.CloudTasks.Types.Product

type Rep Binding = D1 (MetaData "Binding" "Network.Google.CloudTasks.Types.Product" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "Binding'" PrefixI True) (S1 (MetaSel (Just "_bMembers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_bRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bCondition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Expr)))))

binding :: Binding Source #

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

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

bMembers :: Lens' Binding [Text] Source #

Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice'gmail.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app'appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins'example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.

bRole :: Lens' Binding (Maybe Text) Source #

Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

bCondition :: Lens' Binding (Maybe Expr) Source #

Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.