gogol-cloudscheduler-0.4.0: Google Cloud Scheduler 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.CloudScheduler

Contents

Description

Creates and manages jobs run on a regular recurring schedule.

See: Cloud Scheduler API Reference

Synopsis

Service Configuration

cloudSchedulerService :: ServiceConfig Source #

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

cloudscheduler.projects.locations.get

cloudscheduler.projects.locations.jobs.create

cloudscheduler.projects.locations.jobs.delete

cloudscheduler.projects.locations.jobs.get

cloudscheduler.projects.locations.jobs.list

cloudscheduler.projects.locations.jobs.patch

cloudscheduler.projects.locations.jobs.pause

cloudscheduler.projects.locations.jobs.resume

cloudscheduler.projects.locations.jobs.run

cloudscheduler.projects.locations.list

Types

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.CloudScheduler.Types.Product

Methods

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

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

Data Status Source # 
Instance details

Defined in Network.Google.CloudScheduler.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.CloudScheduler.Types.Product

Generic Status Source # 
Instance details

Defined in Network.Google.CloudScheduler.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.CloudScheduler.Types.Product

FromJSON Status Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep Status Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep Status = D1 (MetaData "Status" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" 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.

PauseJobRequest

data PauseJobRequest Source #

Request message for PauseJob.

See: pauseJobRequest smart constructor.

Instances
Eq PauseJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data PauseJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

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

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

toConstr :: PauseJobRequest -> Constr #

dataTypeOf :: PauseJobRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PauseJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Generic PauseJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep PauseJobRequest :: Type -> Type #

ToJSON PauseJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON PauseJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep PauseJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep PauseJobRequest = D1 (MetaData "PauseJobRequest" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" False) (C1 (MetaCons "PauseJobRequest'" PrefixI False) (U1 :: Type -> Type))

pauseJobRequest :: PauseJobRequest Source #

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

ListLocationsResponse

data ListLocationsResponse Source #

The response message for Locations.ListLocations.

See: listLocationsResponse smart constructor.

Instances
Eq ListLocationsResponse Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data ListLocationsResponse Source # 
Instance details

Defined in Network.Google.CloudScheduler.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.CloudScheduler.Types.Product

Generic ListLocationsResponse Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep ListLocationsResponse :: Type -> Type #

ToJSON ListLocationsResponse Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON ListLocationsResponse Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep ListLocationsResponse Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep ListLocationsResponse = D1 (MetaData "ListLocationsResponse" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" 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.

ResumeJobRequest

data ResumeJobRequest Source #

Request message for ResumeJob.

See: resumeJobRequest smart constructor.

Instances
Eq ResumeJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data ResumeJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

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

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

toConstr :: ResumeJobRequest -> Constr #

dataTypeOf :: ResumeJobRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResumeJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Generic ResumeJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep ResumeJobRequest :: Type -> Type #

ToJSON ResumeJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON ResumeJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep ResumeJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep ResumeJobRequest = D1 (MetaData "ResumeJobRequest" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" False) (C1 (MetaCons "ResumeJobRequest'" PrefixI False) (U1 :: Type -> Type))

resumeJobRequest :: ResumeJobRequest Source #

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

AppEngineHTTPTargetHeaders

data AppEngineHTTPTargetHeaders Source #

HTTP request headers. This map contains the header field names and values. Headers can be set when the job is created. Cloud Scheduler 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 Scheduler will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. * `X-CloudScheduler`: This header will be set to true. If the job has an body, Cloud Scheduler sets the following headers: * `Content-Type`: By default, the `Content-Type` header is set to `"application/octet-stream"`. The default can be overridden by explictly setting `Content-Type` to a particular media type when the job is created. For example, `Content-Type` can be set to `"application/json"`. * `Content-Length`: This is computed by Cloud Scheduler. This value is output only. It cannot be changed. The headers below are output only. They cannot be set or overridden: * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, which contain job-specific information, are also be sent to the job handler.

See: appEngineHTTPTargetHeaders smart constructor.

Instances
Eq AppEngineHTTPTargetHeaders Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data AppEngineHTTPTargetHeaders Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

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

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

toConstr :: AppEngineHTTPTargetHeaders -> Constr #

dataTypeOf :: AppEngineHTTPTargetHeaders -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppEngineHTTPTargetHeaders Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Generic AppEngineHTTPTargetHeaders Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep AppEngineHTTPTargetHeaders :: Type -> Type #

ToJSON AppEngineHTTPTargetHeaders Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON AppEngineHTTPTargetHeaders Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep AppEngineHTTPTargetHeaders Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep AppEngineHTTPTargetHeaders = D1 (MetaData "AppEngineHTTPTargetHeaders" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" True) (C1 (MetaCons "AppEngineHTTPTargetHeaders'" PrefixI True) (S1 (MetaSel (Just "_aehttpthAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

appEngineHTTPTargetHeaders Source #

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

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

RetryConfig

data RetryConfig Source #

Settings that determine the retry behavior. By default, if a job does not complete successfully (meaning that an acknowledgement is not received from the handler, then it will be retried with exponential backoff according to the settings in RetryConfig.

See: retryConfig smart constructor.

Instances
Eq RetryConfig Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data RetryConfig Source # 
Instance details

Defined in Network.Google.CloudScheduler.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.CloudScheduler.Types.Product

Generic RetryConfig Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep RetryConfig :: Type -> Type #

ToJSON RetryConfig Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON RetryConfig Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep RetryConfig Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep RetryConfig = D1 (MetaData "RetryConfig" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" 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 "_rcMinBackoffDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GDuration)) :*: (S1 (MetaSel (Just "_rcRetryCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_rcMaxBackoffDuration") 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 job's retry interval starts at min_backoff_duration, then doubles `max_doublings` times, then increases linearly, and finally retries retries at intervals of max_backoff_duration up to retry_count times. For example, if min_backoff_duration is 10s, max_backoff_duration is 300s, and `max_doublings` is 3, then the a job will first be retried in 10s. The retry interval will double three times, and then increase linearly by 2^3 * 10s. Finally, the job will retry at intervals of max_backoff_duration until the job has been attempted retry_count times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... The default value of this field is 5.

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

The time limit for retrying a failed job, measured from time when an execution was first attempted. If specified with retry_count, the job will be retried until both limits are reached. The default value for max_retry_duration is zero, which means retry duration is unlimited.

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

The minimum amount of time to wait before retrying a job after it fails. The default value of this field is 5 seconds.

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

The number of attempts that the system will make to run a job using the exponential backoff procedure described by max_doublings. The default value of retry_count is zero. If retry_count is zero, a job attempt will *not* be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. If retry_count is set to a non-zero number then Cloud Scheduler will retry failed attempts, using exponential backoff, retry_count times, or until the next scheduled execution time, whichever comes first. Values greater than 5 and negative values are not allowed.

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

The maximum amount of time to wait before retrying a job after it fails. The default value of this field is 1 hour.

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.CloudScheduler.Types.Product

Data Location Source # 
Instance details

Defined in Network.Google.CloudScheduler.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.CloudScheduler.Types.Product

Generic Location Source # 
Instance details

Defined in Network.Google.CloudScheduler.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.CloudScheduler.Types.Product

FromJSON Location Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep Location Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep Location = D1 (MetaData "Location" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" 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.CloudScheduler.Types.Product

Methods

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

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

Data Empty Source # 
Instance details

Defined in Network.Google.CloudScheduler.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.CloudScheduler.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.CloudScheduler.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.CloudScheduler.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" 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.

PubsubTargetAttributes

data PubsubTargetAttributes Source #

Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.

See: pubsubTargetAttributes smart constructor.

Instances
Eq PubsubTargetAttributes Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data PubsubTargetAttributes Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

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

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

toConstr :: PubsubTargetAttributes -> Constr #

dataTypeOf :: PubsubTargetAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PubsubTargetAttributes Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Generic PubsubTargetAttributes Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep PubsubTargetAttributes :: Type -> Type #

ToJSON PubsubTargetAttributes Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON PubsubTargetAttributes Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep PubsubTargetAttributes Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep PubsubTargetAttributes = D1 (MetaData "PubsubTargetAttributes" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" True) (C1 (MetaCons "PubsubTargetAttributes'" PrefixI True) (S1 (MetaSel (Just "_ptaAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

pubsubTargetAttributes Source #

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

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

HTTPTargetHeaders

data HTTPTargetHeaders Source #

The user can specify HTTP request headers to send with the job's HTTP request. This map contains the header field names and values. Repeated headers are not supported, but a header value can contain commas. These headers represent a subset of the headers that will accompany the job's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is below: - Host: This will be computed by Cloud Scheduler and derived from uri. * `Content-Length`: This will be computed by Cloud Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: Google internal use only. * `X-AppEngine-*`: Google internal use only. The total size of headers must be less than 80KB.

See: hTTPTargetHeaders smart constructor.

Instances
Eq HTTPTargetHeaders Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data HTTPTargetHeaders Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

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

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

toConstr :: HTTPTargetHeaders -> Constr #

dataTypeOf :: HTTPTargetHeaders -> DataType #

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

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

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

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

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

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

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

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

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

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

Show HTTPTargetHeaders Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Generic HTTPTargetHeaders Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep HTTPTargetHeaders :: Type -> Type #

ToJSON HTTPTargetHeaders Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON HTTPTargetHeaders Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep HTTPTargetHeaders Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep HTTPTargetHeaders = D1 (MetaData "HTTPTargetHeaders" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" True) (C1 (MetaCons "HTTPTargetHeaders'" PrefixI True) (S1 (MetaSel (Just "_httpthAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

hTTPTargetHeaders Source #

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

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

PubsubMessage

data PubsubMessage Source #

A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding client library documentation for more information. See Quotas and limits for more information about message limits.

See: pubsubMessage smart constructor.

Instances
Eq PubsubMessage Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data PubsubMessage Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

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

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

toConstr :: PubsubMessage -> Constr #

dataTypeOf :: PubsubMessage -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PubsubMessage Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Generic PubsubMessage Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep PubsubMessage :: Type -> Type #

ToJSON PubsubMessage Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON PubsubMessage Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep PubsubMessage Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep PubsubMessage = D1 (MetaData "PubsubMessage" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" False) (C1 (MetaCons "PubsubMessage'" PrefixI True) ((S1 (MetaSel (Just "_pmData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_pmPublishTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_pmAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PubsubMessageAttributes)) :*: S1 (MetaSel (Just "_pmMessageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

pubsubMessage :: PubsubMessage Source #

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

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

pmData :: Lens' PubsubMessage (Maybe ByteString) Source #

The message data field. If this field is empty, the message must contain at least one attribute.

pmPublishTime :: Lens' PubsubMessage (Maybe UTCTime) Source #

The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call.

pmAttributes :: Lens' PubsubMessage (Maybe PubsubMessageAttributes) Source #

Optional attributes for this message.

pmMessageId :: Lens' PubsubMessage (Maybe Text) Source #

ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call.

JobState

data JobState Source #

Output only. State of the job.

Constructors

StateUnspecified

STATE_UNSPECIFIED Unspecified state.

Enabled

ENABLED The job is executing normally.

Paused

PAUSED The job is paused by the user. It will not execute. A user can intentionally pause the job using PauseJobRequest.

Disabled

DISABLED The job is disabled by the system due to error. The user cannot directly set a job to be disabled.

UpdateFailed

UPDATE_FAILED The job state resulting from a failed CloudScheduler.UpdateJob operation. To recover a job from this state, retry CloudScheduler.UpdateJob until a successful response is received.

Instances
Enum JobState Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Eq JobState Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Data JobState Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Methods

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

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

toConstr :: JobState -> Constr #

dataTypeOf :: JobState -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord JobState Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Read JobState Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Show JobState Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Generic JobState Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Associated Types

type Rep JobState :: Type -> Type #

Methods

from :: JobState -> Rep JobState x #

to :: Rep JobState x -> JobState #

Hashable JobState Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Methods

hashWithSalt :: Int -> JobState -> Int #

hash :: JobState -> Int #

ToJSON JobState Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

FromJSON JobState Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

FromHttpApiData JobState Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

ToHttpApiData JobState Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

type Rep JobState Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

type Rep JobState = D1 (MetaData "JobState" "Network.Google.CloudScheduler.Types.Sum" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" False) ((C1 (MetaCons "StateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Enabled" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Paused" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Disabled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "UpdateFailed" PrefixI False) (U1 :: Type -> Type))))

StatusDetailsItem

data StatusDetailsItem Source #

Instances
Eq StatusDetailsItem Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data StatusDetailsItem Source # 
Instance details

Defined in Network.Google.CloudScheduler.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.CloudScheduler.Types.Product

Generic StatusDetailsItem Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep StatusDetailsItem :: Type -> Type #

ToJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep StatusDetailsItem Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep StatusDetailsItem = D1 (MetaData "StatusDetailsItem" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" 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.

AppEngineHTTPTarget

data AppEngineHTTPTarget Source #

App Engine target. The job will be pushed to a job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. Error 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, constitutes a failed attempt.

See: appEngineHTTPTarget smart constructor.

Instances
Eq AppEngineHTTPTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data AppEngineHTTPTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

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

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

toConstr :: AppEngineHTTPTarget -> Constr #

dataTypeOf :: AppEngineHTTPTarget -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppEngineHTTPTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Generic AppEngineHTTPTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep AppEngineHTTPTarget :: Type -> Type #

ToJSON AppEngineHTTPTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON AppEngineHTTPTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep AppEngineHTTPTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep AppEngineHTTPTarget = D1 (MetaData "AppEngineHTTPTarget" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" False) (C1 (MetaCons "AppEngineHTTPTarget'" PrefixI True) ((S1 (MetaSel (Just "_aehttptHTTPMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AppEngineHTTPTargetHTTPMethod)) :*: S1 (MetaSel (Just "_aehttptRelativeURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_aehttptBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: (S1 (MetaSel (Just "_aehttptHeaders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AppEngineHTTPTargetHeaders)) :*: S1 (MetaSel (Just "_aehttptAppEngineRouting") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AppEngineRouting))))))

appEngineHTTPTarget :: AppEngineHTTPTarget Source #

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

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

aehttptHTTPMethod :: Lens' AppEngineHTTPTarget (Maybe AppEngineHTTPTargetHTTPMethod) Source #

The HTTP method to use for the request. PATCH and OPTIONS are not permitted.

aehttptRelativeURI :: Lens' AppEngineHTTPTarget (Maybe Text) Source #

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

aehttptBody :: Lens' AppEngineHTTPTarget (Maybe ByteString) Source #

Body. HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It will result in invalid argument error to set a body on a job with an incompatible HttpMethod.

aehttptHeaders :: Lens' AppEngineHTTPTarget (Maybe AppEngineHTTPTargetHeaders) Source #

HTTP request headers. This map contains the header field names and values. Headers can be set when the job is created. Cloud Scheduler 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 Scheduler will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. * `X-CloudScheduler`: This header will be set to true. If the job has an body, Cloud Scheduler sets the following headers: * `Content-Type`: By default, the `Content-Type` header is set to `"application/octet-stream"`. The default can be overridden by explictly setting `Content-Type` to a particular media type when the job is created. For example, `Content-Type` can be set to `"application/json"`. * `Content-Length`: This is computed by Cloud Scheduler. This value is output only. It cannot be changed. The headers below are output only. They cannot be set or overridden: * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, which contain job-specific information, are also be sent to the job handler.

aehttptAppEngineRouting :: Lens' AppEngineHTTPTarget (Maybe AppEngineRouting) Source #

App Engine Routing setting for the job.

HTTPTarget

data HTTPTarget Source #

Http target. The job will be pushed to the job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. A failure to receive a response constitutes a failed execution. For a redirected request, the response returned by the redirected request is considered.

See: hTTPTarget smart constructor.

Instances
Eq HTTPTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data HTTPTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

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

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

toConstr :: HTTPTarget -> Constr #

dataTypeOf :: HTTPTarget -> DataType #

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

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

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

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

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

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

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

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

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

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

Show HTTPTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Generic HTTPTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep HTTPTarget :: Type -> Type #

ToJSON HTTPTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON HTTPTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep HTTPTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep HTTPTarget = D1 (MetaData "HTTPTarget" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" False) (C1 (MetaCons "HTTPTarget'" PrefixI True) ((S1 (MetaSel (Just "_httptHTTPMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HTTPTargetHTTPMethod)) :*: S1 (MetaSel (Just "_httptBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) :*: (S1 (MetaSel (Just "_httptURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_httptHeaders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HTTPTargetHeaders)))))

hTTPTarget :: HTTPTarget Source #

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

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

httptHTTPMethod :: Lens' HTTPTarget (Maybe HTTPTargetHTTPMethod) Source #

Which HTTP method to use for the request.

httptBody :: Lens' HTTPTarget (Maybe ByteString) Source #

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

httptURI :: Lens' HTTPTarget (Maybe Text) Source #

Required. The full URI path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples of valid values for uri are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding.

httptHeaders :: Lens' HTTPTarget (Maybe HTTPTargetHeaders) Source #

The user can specify HTTP request headers to send with the job's HTTP request. This map contains the header field names and values. Repeated headers are not supported, but a header value can contain commas. These headers represent a subset of the headers that will accompany the job's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is below: - Host: This will be computed by Cloud Scheduler and derived from uri. * `Content-Length`: This will be computed by Cloud Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: Google internal use only. * `X-AppEngine-*`: Google internal use only. The total size of headers must be less than 80KB.

RunJobRequest

data RunJobRequest Source #

Request message for forcing a job to run now using RunJob.

See: runJobRequest smart constructor.

Instances
Eq RunJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data RunJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

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

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

toConstr :: RunJobRequest -> Constr #

dataTypeOf :: RunJobRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RunJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Generic RunJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep RunJobRequest :: Type -> Type #

ToJSON RunJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON RunJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep RunJobRequest Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep RunJobRequest = D1 (MetaData "RunJobRequest" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" False) (C1 (MetaCons "RunJobRequest'" PrefixI False) (U1 :: Type -> Type))

runJobRequest :: RunJobRequest Source #

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

Job

data Job Source #

Configuration for a job. The maximum allowed size for a job is 100KB.

See: job smart constructor.

Instances
Eq Job Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

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

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

Data Job Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

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

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

toConstr :: Job -> Constr #

dataTypeOf :: Job -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Job Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

showsPrec :: Int -> Job -> ShowS #

show :: Job -> String #

showList :: [Job] -> ShowS #

Generic Job Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep Job :: Type -> Type #

Methods

from :: Job -> Rep Job x #

to :: Rep Job x -> Job #

ToJSON Job Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON Job Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep Job Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep Job = D1 (MetaData "Job" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" False) (C1 (MetaCons "Job'" PrefixI True) (((S1 (MetaSel (Just "_jStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Status)) :*: (S1 (MetaSel (Just "_jState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JobState)) :*: S1 (MetaSel (Just "_jLastAttemptTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))) :*: (S1 (MetaSel (Just "_jRetryConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RetryConfig)) :*: (S1 (MetaSel (Just "_jSchedule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_jScheduleTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))) :*: ((S1 (MetaSel (Just "_jAppEngineHTTPTarget") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AppEngineHTTPTarget)) :*: (S1 (MetaSel (Just "_jHTTPTarget") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HTTPTarget)) :*: S1 (MetaSel (Just "_jName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_jPubsubTarget") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PubsubTarget)) :*: S1 (MetaSel (Just "_jUserUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_jTimeZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_jDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

job :: Job Source #

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

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

jStatus :: Lens' Job (Maybe Status) Source #

Output only. The response from the target for the last attempted execution.

jState :: Lens' Job (Maybe JobState) Source #

Output only. State of the job.

jLastAttemptTime :: Lens' Job (Maybe UTCTime) Source #

Output only. The time the last job attempt started.

jRetryConfig :: Lens' Job (Maybe RetryConfig) Source #

Settings that determine the retry behavior.

jSchedule :: Lens' Job (Maybe Text) Source #

Required. Describes the schedule on which the job will be executed. As a general rule, execution `n + 1` of a job will not begin until execution `n` has finished. Cloud Scheduler will never allow two simultaneously outstanding executions. For example, this implies that if the `n+1`th execution is scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`th execution will not start until `16:15`. A scheduled start time will be delayed if the previous execution has not ended when its scheduled time occurs. If retry_count > 0 and a job attempt fails, the job will be tried a total of retry_count times, with exponential backoff, until the next scheduled start time. The schedule can be either of the following types: * Crontab * English-like schedule

jScheduleTime :: Lens' Job (Maybe UTCTime) Source #

Output only. The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule.

jName :: Lens' Job (Maybe Text) Source #

The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_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 job's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.

jUserUpdateTime :: Lens' Job (Maybe UTCTime) Source #

Output only. The creation time of the job.

jTimeZone :: Lens' Job (Maybe Text) Source #

Specifies the time zone to be used in interpreting schedule. The value of this field must be a time zone name from the tz database. Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT).

jDescription :: Lens' Job (Maybe Text) Source #

A human-readable description for the job. This string must not contain more than 500 characters.

PubsubMessageAttributes

data PubsubMessageAttributes Source #

Optional attributes for this message.

See: pubsubMessageAttributes smart constructor.

Instances
Eq PubsubMessageAttributes Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data PubsubMessageAttributes Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

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

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

toConstr :: PubsubMessageAttributes -> Constr #

dataTypeOf :: PubsubMessageAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PubsubMessageAttributes Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Generic PubsubMessageAttributes Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep PubsubMessageAttributes :: Type -> Type #

ToJSON PubsubMessageAttributes Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON PubsubMessageAttributes Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep PubsubMessageAttributes Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep PubsubMessageAttributes = D1 (MetaData "PubsubMessageAttributes" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" True) (C1 (MetaCons "PubsubMessageAttributes'" PrefixI True) (S1 (MetaSel (Just "_pmaAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

pubsubMessageAttributes Source #

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

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

PubsubTarget

data PubsubTarget Source #

Pub/Sub target. The job will be delivered by publishing a message to the given Pub/Sub topic.

See: pubsubTarget smart constructor.

Instances
Eq PubsubTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data PubsubTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

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

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

toConstr :: PubsubTarget -> Constr #

dataTypeOf :: PubsubTarget -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PubsubTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Generic PubsubTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep PubsubTarget :: Type -> Type #

ToJSON PubsubTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON PubsubTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep PubsubTarget Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep PubsubTarget = D1 (MetaData "PubsubTarget" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" False) (C1 (MetaCons "PubsubTarget'" PrefixI True) (S1 (MetaSel (Just "_ptData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: (S1 (MetaSel (Just "_ptTopicName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PubsubTargetAttributes)))))

pubsubTarget :: PubsubTarget Source #

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

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

ptData :: Lens' PubsubTarget (Maybe ByteString) Source #

The message payload for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.

ptTopicName :: Lens' PubsubTarget (Maybe Text) Source #

Required. The name of the Cloud Pub/Sub topic to which messages will be published when a job is delivered. The topic name must be in the same format as required by PubSub's PublishRequest.name, for example `projects/PROJECT_ID/topics/TOPIC_ID`. The topic must be in the same project as the Cloud Scheduler job.

ptAttributes :: Lens' PubsubTarget (Maybe PubsubTargetAttributes) Source #

Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.

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.CloudScheduler.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Methods

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

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

Data Xgafv Source # 
Instance details

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

Show Xgafv Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

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

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

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

ListJobsResponse

data ListJobsResponse Source #

Response message for listing jobs using ListJobs.

See: listJobsResponse smart constructor.

Instances
Eq ListJobsResponse Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Data ListJobsResponse Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Methods

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

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

toConstr :: ListJobsResponse -> Constr #

dataTypeOf :: ListJobsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListJobsResponse Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Generic ListJobsResponse Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep ListJobsResponse :: Type -> Type #

ToJSON ListJobsResponse Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON ListJobsResponse Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep ListJobsResponse Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep ListJobsResponse = D1 (MetaData "ListJobsResponse" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" False) (C1 (MetaCons "ListJobsResponse'" PrefixI True) (S1 (MetaSel (Just "_ljrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ljrJobs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Job]))))

listJobsResponse :: ListJobsResponse Source #

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

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

ljrNextPageToken :: Lens' ListJobsResponse (Maybe Text) Source #

A token to retrieve next page of results. Pass this value in the page_token field in the subsequent call to ListJobs to retrieve the next page of results. If this is empty it indicates that there are no more results through which to paginate. The page token is valid for only 2 hours.

ljrJobs :: Lens' ListJobsResponse [Job] Source #

The list of jobs.

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.CloudScheduler.Types.Product

Data LocationLabels Source # 
Instance details

Defined in Network.Google.CloudScheduler.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.CloudScheduler.Types.Product

Generic LocationLabels Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep LocationLabels :: Type -> Type #

ToJSON LocationLabels Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON LocationLabels Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep LocationLabels Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep LocationLabels = D1 (MetaData "LocationLabels" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" 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.CloudScheduler.Types.Product

Data LocationMetadata Source # 
Instance details

Defined in Network.Google.CloudScheduler.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.CloudScheduler.Types.Product

Generic LocationMetadata Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep LocationMetadata :: Type -> Type #

ToJSON LocationMetadata Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON LocationMetadata Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep LocationMetadata Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep LocationMetadata = D1 (MetaData "LocationMetadata" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" 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.

AppEngineRouting

data AppEngineRouting Source #

App Engine Routing. 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.CloudScheduler.Types.Product

Data AppEngineRouting Source # 
Instance details

Defined in Network.Google.CloudScheduler.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.CloudScheduler.Types.Product

Generic AppEngineRouting Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

Associated Types

type Rep AppEngineRouting :: Type -> Type #

ToJSON AppEngineRouting Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

FromJSON AppEngineRouting Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep AppEngineRouting Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Product

type Rep AppEngineRouting = D1 (MetaData "AppEngineRouting" "Network.Google.CloudScheduler.Types.Product" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" 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 job is sent to the service which is the default service when the job is attempted.

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

App version. By default, the job is sent to the version which is the default version when the job is attempted.

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

Output only. The host that the job is sent to. For more information about how App Engine requests are routed, see here. The host is constructed as: * `host = [application_domain_name]` `| [service] + '.' + [application_domain_name]` `| [version] + '.' + [application_domain_name]` `| [version_dot_service]+ '.' + [application_domain_name]` `| [instance] + '.' + [application_domain_name]` `| [instance_dot_service] + '.' + [application_domain_name]` `| [instance_dot_version] + '.' + [application_domain_name]` `| [instance_dot_version_dot_service] + '.' + [application_domain_name]` * `application_domain_name` = The domain name of the app, for example .appspot.com, which is associated with the job's project ID. * `service =` service * `version =` version * `version_dot_service =` version `+ '.' +` service * `instance =` instance * `instance_dot_service =` instance `+ '.' +` service * `instance_dot_version =` instance `+ '.' +` version * `instance_dot_version_dot_service =` instance `+ '.' +` version `+ '.' +` service If service is empty, then the job will be sent to the service which is the default service when the job is attempted. If version is empty, then the job will be sent to the version which is the default version when the job is attempted. If instance is empty, then the job will be sent to an instance which is available when the job is attempted. If service, version, or instance is invalid, then the job will be sent to the default version of the default service when the job is attempted.

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

App instance. By default, the job is sent to an instance which is available when the job 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.

HTTPTargetHTTPMethod

data HTTPTargetHTTPMethod Source #

Which HTTP method to use for the request.

Constructors

HTTPMethodUnspecified

HTTP_METHOD_UNSPECIFIED HTTP method unspecified. Defaults to POST.

Post'

POST HTTP POST

Get'

GET HTTP GET

Head'

HEAD HTTP HEAD

Put'

PUT HTTP PUT

Delete'

DELETE HTTP DELETE

Patch'

PATCH HTTP PATCH

Options

OPTIONS HTTP OPTIONS

Instances
Enum HTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Eq HTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Data HTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Methods

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

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

toConstr :: HTTPTargetHTTPMethod -> Constr #

dataTypeOf :: HTTPTargetHTTPMethod -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord HTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Read HTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Show HTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Generic HTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Associated Types

type Rep HTTPTargetHTTPMethod :: Type -> Type #

Hashable HTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

ToJSON HTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

FromJSON HTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

FromHttpApiData HTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

ToHttpApiData HTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

type Rep HTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

type Rep HTTPTargetHTTPMethod = D1 (MetaData "HTTPTargetHTTPMethod" "Network.Google.CloudScheduler.Types.Sum" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" 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)) :+: (C1 (MetaCons "Patch'" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Options" PrefixI False) (U1 :: Type -> Type))))

AppEngineHTTPTargetHTTPMethod

data AppEngineHTTPTargetHTTPMethod Source #

The HTTP method to use for the request. PATCH and OPTIONS are not permitted.

Constructors

AEHTTPTHTTPMHTTPMethodUnspecified

HTTP_METHOD_UNSPECIFIED HTTP method unspecified. Defaults to POST.

AEHTTPTHTTPMPost'

POST HTTP POST

AEHTTPTHTTPMGet'

GET HTTP GET

AEHTTPTHTTPMHead'

HEAD HTTP HEAD

AEHTTPTHTTPMPut'

PUT HTTP PUT

AEHTTPTHTTPMDelete'

DELETE HTTP DELETE

AEHTTPTHTTPMPatch'

PATCH HTTP PATCH

AEHTTPTHTTPMOptions

OPTIONS HTTP OPTIONS

Instances
Enum AppEngineHTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Eq AppEngineHTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Data AppEngineHTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Methods

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

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

toConstr :: AppEngineHTTPTargetHTTPMethod -> Constr #

dataTypeOf :: AppEngineHTTPTargetHTTPMethod -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AppEngineHTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Read AppEngineHTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Show AppEngineHTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Generic AppEngineHTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

Associated Types

type Rep AppEngineHTTPTargetHTTPMethod :: Type -> Type #

Hashable AppEngineHTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

ToJSON AppEngineHTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

FromJSON AppEngineHTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

FromHttpApiData AppEngineHTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

ToHttpApiData AppEngineHTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

type Rep AppEngineHTTPTargetHTTPMethod Source # 
Instance details

Defined in Network.Google.CloudScheduler.Types.Sum

type Rep AppEngineHTTPTargetHTTPMethod = D1 (MetaData "AppEngineHTTPTargetHTTPMethod" "Network.Google.CloudScheduler.Types.Sum" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" False) (((C1 (MetaCons "AEHTTPTHTTPMHTTPMethodUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AEHTTPTHTTPMPost'" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "AEHTTPTHTTPMGet'" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AEHTTPTHTTPMHead'" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "AEHTTPTHTTPMPut'" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AEHTTPTHTTPMDelete'" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "AEHTTPTHTTPMPatch'" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AEHTTPTHTTPMOptions" PrefixI False) (U1 :: Type -> Type))))