gogol-script-0.4.0: Google Apps Script 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.Script

Contents

Description

Manages and executes Google Apps Script projects.

See: Apps Script API Reference

Synopsis

Service Configuration

scriptService :: ServiceConfig Source #

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

OAuth Scopes

mailGoogleComScope :: Proxy '["https://mail.google.com/"] Source #

Read, compose, send, and permanently delete all your email from Gmail

m8FeedsScope :: Proxy '["https://www.google.com/m8/feeds"] Source #

See, edit, download, and permanently delete your contacts

adminDirectoryUserScope :: Proxy '["https://www.googleapis.com/auth/admin.directory.user"] Source #

View and manage the provisioning of users on your domain

scriptProjectsScope :: Proxy '["https://www.googleapis.com/auth/script.projects"] Source #

Create and update Google Apps Script projects

userInfoEmailScope :: Proxy '["https://www.googleapis.com/auth/userinfo.email"] Source #

View your email address

scriptMetricsScope :: Proxy '["https://www.googleapis.com/auth/script.metrics"] Source #

View Google Apps Script project's metrics

formsCurrentOnlyScope :: Proxy '["https://www.googleapis.com/auth/forms.currentonly"] Source #

View and manage forms that this application has been installed in

scriptDeploymentsScope :: Proxy '["https://www.googleapis.com/auth/script.deployments"] Source #

Create and update Google Apps Script deployments

driveScope :: Proxy '["https://www.googleapis.com/auth/drive"] Source #

See, edit, create, and delete all of your Google Drive files

adminDirectoryGroupScope :: Proxy '["https://www.googleapis.com/auth/admin.directory.group"] Source #

View and manage the provisioning of groups on your domain

scriptProjectsReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/script.projects.readonly"] Source #

View Google Apps Script projects

calendarFeedsScope :: Proxy '["https://www.google.com/calendar/feeds"] Source #

See, edit, share, and permanently delete all the calendars you can access using Google Calendar

formsScope :: Proxy '["https://www.googleapis.com/auth/forms"] Source #

View and manage your forms in Google Drive

spreadsheetsScope :: Proxy '["https://www.googleapis.com/auth/spreadsheets"] Source #

See, edit, create, and delete your spreadsheets in Google Drive

scriptDeploymentsReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/script.deployments.readonly"] Source #

View Google Apps Script deployments

groupsScope :: Proxy '["https://www.googleapis.com/auth/groups"] Source #

View and manage your Google Groups

scriptProcessesScope :: Proxy '["https://www.googleapis.com/auth/script.processes"] Source #

View Google Apps Script processes

documentsScope :: Proxy '["https://www.googleapis.com/auth/documents"] Source #

View and manage your Google Docs documents

API Declaration

Resources

script.processes.list

script.processes.listScriptProcesses

script.projects.create

script.projects.deployments.create

script.projects.deployments.delete

script.projects.deployments.get

script.projects.deployments.list

script.projects.deployments.update

script.projects.get

script.projects.getContent

script.projects.getMetrics

script.projects.updateContent

script.projects.versions.create

script.projects.versions.get

script.projects.versions.list

script.scripts.run

Types

GoogleAppsScriptTypeFunctionSet

data GoogleAppsScriptTypeFunctionSet Source #

A set of functions. No duplicates are permitted.

See: googleAppsScriptTypeFunctionSet smart constructor.

Instances
Eq GoogleAppsScriptTypeFunctionSet Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data GoogleAppsScriptTypeFunctionSet Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: GoogleAppsScriptTypeFunctionSet -> Constr #

dataTypeOf :: GoogleAppsScriptTypeFunctionSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleAppsScriptTypeFunctionSet Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic GoogleAppsScriptTypeFunctionSet Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep GoogleAppsScriptTypeFunctionSet :: Type -> Type #

ToJSON GoogleAppsScriptTypeFunctionSet Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON GoogleAppsScriptTypeFunctionSet Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeFunctionSet Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeFunctionSet = D1 (MetaData "GoogleAppsScriptTypeFunctionSet" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" True) (C1 (MetaCons "GoogleAppsScriptTypeFunctionSet'" PrefixI True) (S1 (MetaSel (Just "_gastfsValues") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [GoogleAppsScriptTypeFunction]))))

googleAppsScriptTypeFunctionSet :: GoogleAppsScriptTypeFunctionSet Source #

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

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

GoogleAppsScriptTypeExecutionAPIConfig

data GoogleAppsScriptTypeExecutionAPIConfig Source #

API executable entry point configuration.

See: googleAppsScriptTypeExecutionAPIConfig smart constructor.

Instances
Eq GoogleAppsScriptTypeExecutionAPIConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data GoogleAppsScriptTypeExecutionAPIConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: GoogleAppsScriptTypeExecutionAPIConfig -> Constr #

dataTypeOf :: GoogleAppsScriptTypeExecutionAPIConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleAppsScriptTypeExecutionAPIConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic GoogleAppsScriptTypeExecutionAPIConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

ToJSON GoogleAppsScriptTypeExecutionAPIConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON GoogleAppsScriptTypeExecutionAPIConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeExecutionAPIConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeExecutionAPIConfig = D1 (MetaData "GoogleAppsScriptTypeExecutionAPIConfig" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" True) (C1 (MetaCons "GoogleAppsScriptTypeExecutionAPIConfig'" PrefixI True) (S1 (MetaSel (Just "_gasteacAccess") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe GoogleAppsScriptTypeExecutionAPIConfigAccess))))

googleAppsScriptTypeExecutionAPIConfig :: GoogleAppsScriptTypeExecutionAPIConfig Source #

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

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

GoogleAppsScriptTypeProcessProcessType

data GoogleAppsScriptTypeProcessProcessType Source #

The executions type.

Constructors

ProcessTypeUnspecified

PROCESS_TYPE_UNSPECIFIED Unspecified type.

AddOn

ADD_ON The process was started from an add-on entry point.

ExecutionAPI

EXECUTION_API The process was started using the Apps Script API.

TimeDriven

TIME_DRIVEN The process was started from a time-based trigger.

Trigger

TRIGGER The process was started from an event-based trigger.

WebApp

WEBAPP The process was started from a web app entry point.

Editor

EDITOR The process was started using the Apps Script IDE.

SimpleTrigger

SIMPLE_TRIGGER The process was started from a G Suite simple trigger.

Menu

MENU The process was started from a G Suite menu item.

BatchTask

BATCH_TASK The process was started as a task in a batch job.

Instances
Enum GoogleAppsScriptTypeProcessProcessType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Eq GoogleAppsScriptTypeProcessProcessType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Data GoogleAppsScriptTypeProcessProcessType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Methods

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

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

toConstr :: GoogleAppsScriptTypeProcessProcessType -> Constr #

dataTypeOf :: GoogleAppsScriptTypeProcessProcessType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord GoogleAppsScriptTypeProcessProcessType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Read GoogleAppsScriptTypeProcessProcessType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Show GoogleAppsScriptTypeProcessProcessType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Generic GoogleAppsScriptTypeProcessProcessType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Hashable GoogleAppsScriptTypeProcessProcessType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToJSON GoogleAppsScriptTypeProcessProcessType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromJSON GoogleAppsScriptTypeProcessProcessType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromHttpApiData GoogleAppsScriptTypeProcessProcessType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToHttpApiData GoogleAppsScriptTypeProcessProcessType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep GoogleAppsScriptTypeProcessProcessType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep GoogleAppsScriptTypeProcessProcessType = D1 (MetaData "GoogleAppsScriptTypeProcessProcessType" "Network.Google.Script.Types.Sum" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (((C1 (MetaCons "ProcessTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AddOn" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ExecutionAPI" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "TimeDriven" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Trigger" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "WebApp" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Editor" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "SimpleTrigger" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Menu" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "BatchTask" PrefixI False) (U1 :: Type -> Type)))))

Status

data Status Source #

If a `run` call succeeds but the script function (or Apps Script itself) throws an exception, the response body's error field contains this `Status` object.

See: status smart constructor.

Instances
Eq Status Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

Data Status Source # 
Instance details

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

Generic Status Source # 
Instance details

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

FromJSON Status Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Status Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Status = D1 (MetaData "Status" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" 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 #

An array that contains a single ExecutionError object that provides information about the nature of the error.

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

The status code. For this API, this value either:

  • 10, indicating a `SCRIPT_TIMEOUT` error,
  • 3, indicating an `INVALID_ARGUMENT` error, or
  • 1, indicating a `CANCELLED` execution.

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

A developer-facing error message, which is in English. Any user-facing error message is localized and sent in the details field, or localized by the client.

GoogleAppsScriptTypeProcessUserAccessLevel

data GoogleAppsScriptTypeProcessUserAccessLevel Source #

The executing users access level to the script.

Constructors

UserAccessLevelUnspecified

USER_ACCESS_LEVEL_UNSPECIFIED User access level unspecified

None

NONE The user has no access.

Read'

READ The user has read-only access.

Write

WRITE The user has write access.

Owner

OWNER The user is an owner.

Instances
Enum GoogleAppsScriptTypeProcessUserAccessLevel Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Eq GoogleAppsScriptTypeProcessUserAccessLevel Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Data GoogleAppsScriptTypeProcessUserAccessLevel Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Methods

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

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

toConstr :: GoogleAppsScriptTypeProcessUserAccessLevel -> Constr #

dataTypeOf :: GoogleAppsScriptTypeProcessUserAccessLevel -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord GoogleAppsScriptTypeProcessUserAccessLevel Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Read GoogleAppsScriptTypeProcessUserAccessLevel Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Show GoogleAppsScriptTypeProcessUserAccessLevel Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Generic GoogleAppsScriptTypeProcessUserAccessLevel Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Hashable GoogleAppsScriptTypeProcessUserAccessLevel Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToJSON GoogleAppsScriptTypeProcessUserAccessLevel Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromJSON GoogleAppsScriptTypeProcessUserAccessLevel Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromHttpApiData GoogleAppsScriptTypeProcessUserAccessLevel Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToHttpApiData GoogleAppsScriptTypeProcessUserAccessLevel Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep GoogleAppsScriptTypeProcessUserAccessLevel Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep GoogleAppsScriptTypeProcessUserAccessLevel = D1 (MetaData "GoogleAppsScriptTypeProcessUserAccessLevel" "Network.Google.Script.Types.Sum" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) ((C1 (MetaCons "UserAccessLevelUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "None" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Read'" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Write" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Owner" PrefixI False) (U1 :: Type -> Type))))

Metrics

data Metrics Source #

Resource containing usage stats for a given script, based on the supplied filter and mask present in the request.

See: metrics smart constructor.

Instances
Eq Metrics Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

Data Metrics Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: Metrics -> Constr #

dataTypeOf :: Metrics -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Metrics Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic Metrics Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep Metrics :: Type -> Type #

Methods

from :: Metrics -> Rep Metrics x #

to :: Rep Metrics x -> Metrics #

ToJSON Metrics Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON Metrics Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Metrics Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Metrics = D1 (MetaData "Metrics" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "Metrics'" PrefixI True) (S1 (MetaSel (Just "_mActiveUsers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MetricsValue])) :*: (S1 (MetaSel (Just "_mFailedExecutions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MetricsValue])) :*: S1 (MetaSel (Just "_mTotalExecutions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MetricsValue])))))

metrics :: Metrics Source #

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

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

mActiveUsers :: Lens' Metrics [MetricsValue] Source #

Number of active users.

mFailedExecutions :: Lens' Metrics [MetricsValue] Source #

Number of failed executions.

mTotalExecutions :: Lens' Metrics [MetricsValue] Source #

Number of total executions.

GoogleAppsScriptTypeProcess

data GoogleAppsScriptTypeProcess Source #

Representation of a single script process execution that was started from the script editor, a trigger, an application, or using the Apps Script API. This is distinct from the `Operation` resource, which only represents executions started via the Apps Script API.

See: googleAppsScriptTypeProcess smart constructor.

Instances
Eq GoogleAppsScriptTypeProcess Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data GoogleAppsScriptTypeProcess Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: GoogleAppsScriptTypeProcess -> Constr #

dataTypeOf :: GoogleAppsScriptTypeProcess -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleAppsScriptTypeProcess Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic GoogleAppsScriptTypeProcess Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep GoogleAppsScriptTypeProcess :: Type -> Type #

ToJSON GoogleAppsScriptTypeProcess Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON GoogleAppsScriptTypeProcess Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeProcess Source # 
Instance details

Defined in Network.Google.Script.Types.Product

gastpProjectName :: Lens' GoogleAppsScriptTypeProcess (Maybe Text) Source #

Name of the script being executed.

gastpFunctionName :: Lens' GoogleAppsScriptTypeProcess (Maybe Text) Source #

Name of the function the started the execution.

gastpExecutingUser :: Lens' GoogleAppsScriptTypeProcess (Maybe Text) Source #

User-facing name for the user executing the script.

gastpDuration :: Lens' GoogleAppsScriptTypeProcess (Maybe Scientific) Source #

Duration the execution spent executing.

GoogleAppsScriptTypeWebAppConfigExecuteAs

data GoogleAppsScriptTypeWebAppConfigExecuteAs Source #

Who to execute the web app as.

Constructors

UnknownExecuteAs

UNKNOWN_EXECUTE_AS Default value, should not be used.

UserAccessing

USER_ACCESSING The script runs as the user accessing the web app.

UserDeploying

USER_DEPLOYING The script runs as the user who deployed the web app. Note that this is not necessarily the owner of the script project.

Instances
Enum GoogleAppsScriptTypeWebAppConfigExecuteAs Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Eq GoogleAppsScriptTypeWebAppConfigExecuteAs Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Data GoogleAppsScriptTypeWebAppConfigExecuteAs Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Methods

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

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

toConstr :: GoogleAppsScriptTypeWebAppConfigExecuteAs -> Constr #

dataTypeOf :: GoogleAppsScriptTypeWebAppConfigExecuteAs -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord GoogleAppsScriptTypeWebAppConfigExecuteAs Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Read GoogleAppsScriptTypeWebAppConfigExecuteAs Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Show GoogleAppsScriptTypeWebAppConfigExecuteAs Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Generic GoogleAppsScriptTypeWebAppConfigExecuteAs Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Hashable GoogleAppsScriptTypeWebAppConfigExecuteAs Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToJSON GoogleAppsScriptTypeWebAppConfigExecuteAs Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromJSON GoogleAppsScriptTypeWebAppConfigExecuteAs Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromHttpApiData GoogleAppsScriptTypeWebAppConfigExecuteAs Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToHttpApiData GoogleAppsScriptTypeWebAppConfigExecuteAs Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep GoogleAppsScriptTypeWebAppConfigExecuteAs Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep GoogleAppsScriptTypeWebAppConfigExecuteAs = D1 (MetaData "GoogleAppsScriptTypeWebAppConfigExecuteAs" "Network.Google.Script.Types.Sum" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "UnknownExecuteAs" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "UserAccessing" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "UserDeploying" PrefixI False) (U1 :: Type -> Type)))

Project

data Project Source #

The script project resource.

See: project smart constructor.

Instances
Eq Project Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

Data Project Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: Project -> Constr #

dataTypeOf :: Project -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Project Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic Project Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep Project :: Type -> Type #

Methods

from :: Project -> Rep Project x #

to :: Rep Project x -> Project #

ToJSON Project Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON Project Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Project Source # 
Instance details

Defined in Network.Google.Script.Types.Product

project :: Project Source #

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

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

pCreator :: Lens' Project (Maybe GoogleAppsScriptTypeUser) Source #

User who originally created the script.

pLastModifyUser :: Lens' Project (Maybe GoogleAppsScriptTypeUser) Source #

User who last modified the script.

pUpdateTime :: Lens' Project (Maybe UTCTime) Source #

When the script was last updated.

pScriptId :: Lens' Project (Maybe Text) Source #

The script project's Drive ID.

pTitle :: Lens' Project (Maybe Text) Source #

The title for the project.

pParentId :: Lens' Project (Maybe Text) Source #

The parent's Drive ID that the script will be attached to. This is usually the ID of a Google Document or Google Sheet. This filed is optional, and if not set, a stand-alone script will be created.

pCreateTime :: Lens' Project (Maybe UTCTime) Source #

When the script was created.

Operation

data Operation Source #

A representation of an execution of an Apps Script function started with run. The execution response does not arrive until the function finishes executing. The maximum execution runtime is listed in the Apps Script quotas guide.

After execution has started, it can have one of four outcomes:

  • If the script function returns successfully, the response field contains an ExecutionResponse object with the function's return value in the object's `result` field.
  • If the script function (or Apps Script itself) throws an exception, the error field contains a Status object. The `Status` object's `details` field contains an array with a single ExecutionError object that provides information about the nature of the error.
  • If the execution has not yet completed, the done field is `false` and the neither the `response` nor `error` fields are present.
  • If the `run` call itself fails (for example, because of a malformed request or an authorization error), the method returns an HTTP response code in the 4XX range with a different format for the response body. Client libraries automatically convert a 4XX response into an exception class.

See: operation smart constructor.

Instances
Eq Operation Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data Operation Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: Operation -> Constr #

dataTypeOf :: Operation -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Operation Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic Operation Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep Operation :: Type -> Type #

ToJSON Operation Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON Operation Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Operation Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Operation = D1 (MetaData "Operation" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "Operation'" PrefixI True) (S1 (MetaSel (Just "_oDone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_oError") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Status)) :*: S1 (MetaSel (Just "_oResponse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OperationResponse)))))

operation :: Operation Source #

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

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

oDone :: Lens' Operation (Maybe Bool) Source #

This field indicates whether the script execution has completed. A completed execution has a populated `response` field containing the ExecutionResponse from function that was executed.

oError :: Lens' Operation (Maybe Status) Source #

If a `run` call succeeds but the script function (or Apps Script itself) throws an exception, this field contains a Status object. The `Status` object's `details` field contains an array with a single ExecutionError object that provides information about the nature of the error.

oResponse :: Lens' Operation (Maybe OperationResponse) Source #

If the script function returns successfully, this field contains an ExecutionResponse object with the function's return value.

ListUserProcessesResponse

data ListUserProcessesResponse Source #

Response with the list of Process resources.

See: listUserProcessesResponse smart constructor.

Instances
Eq ListUserProcessesResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data ListUserProcessesResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: ListUserProcessesResponse -> Constr #

dataTypeOf :: ListUserProcessesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListUserProcessesResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic ListUserProcessesResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep ListUserProcessesResponse :: Type -> Type #

ToJSON ListUserProcessesResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON ListUserProcessesResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ListUserProcessesResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ListUserProcessesResponse = D1 (MetaData "ListUserProcessesResponse" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "ListUserProcessesResponse'" PrefixI True) (S1 (MetaSel (Just "_luprNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_luprProcesses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GoogleAppsScriptTypeProcess]))))

listUserProcessesResponse :: ListUserProcessesResponse Source #

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

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

luprNextPageToken :: Lens' ListUserProcessesResponse (Maybe Text) Source #

Token for the next page of results. If empty, there are no more pages remaining.

luprProcesses :: Lens' ListUserProcessesResponse [GoogleAppsScriptTypeProcess] Source #

List of processes matching request parameters.

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

Methods

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

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

Data Empty Source # 
Instance details

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

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

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

FromJSON Empty Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" 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.

GoogleAppsScriptTypeUser

data GoogleAppsScriptTypeUser Source #

A simple user profile resource.

See: googleAppsScriptTypeUser smart constructor.

Instances
Eq GoogleAppsScriptTypeUser Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data GoogleAppsScriptTypeUser Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: GoogleAppsScriptTypeUser -> Constr #

dataTypeOf :: GoogleAppsScriptTypeUser -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleAppsScriptTypeUser Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic GoogleAppsScriptTypeUser Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep GoogleAppsScriptTypeUser :: Type -> Type #

ToJSON GoogleAppsScriptTypeUser Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON GoogleAppsScriptTypeUser Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeUser Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeUser = D1 (MetaData "GoogleAppsScriptTypeUser" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "GoogleAppsScriptTypeUser'" PrefixI True) ((S1 (MetaSel (Just "_gastuEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gastuPhotoURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gastuDomain") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gastuName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

googleAppsScriptTypeUser :: GoogleAppsScriptTypeUser Source #

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

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

gastuEmail :: Lens' GoogleAppsScriptTypeUser (Maybe Text) Source #

The user's identifying email address.

EntryPoint

data EntryPoint Source #

A configuration that defines how a deployment is accessed externally.

See: entryPoint smart constructor.

Instances
Eq EntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data EntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: EntryPoint -> Constr #

dataTypeOf :: EntryPoint -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic EntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep EntryPoint :: Type -> Type #

ToJSON EntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON EntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep EntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

entryPoint :: EntryPoint Source #

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

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

epExecutionAPI :: Lens' EntryPoint (Maybe GoogleAppsScriptTypeExecutionAPIEntryPoint) Source #

An entry point specification for Apps Script API execution calls.

epWebApp :: Lens' EntryPoint (Maybe GoogleAppsScriptTypeWebAppEntryPoint) Source #

An entry point specification for web apps.

ListVersionsResponse

data ListVersionsResponse Source #

Response with the list of the versions for the specified script project.

See: listVersionsResponse smart constructor.

Instances
Eq ListVersionsResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data ListVersionsResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: ListVersionsResponse -> Constr #

dataTypeOf :: ListVersionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListVersionsResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic ListVersionsResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep ListVersionsResponse :: Type -> Type #

ToJSON ListVersionsResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON ListVersionsResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ListVersionsResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ListVersionsResponse = D1 (MetaData "ListVersionsResponse" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "ListVersionsResponse'" PrefixI True) (S1 (MetaSel (Just "_lvrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lvrVersions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Version]))))

listVersionsResponse :: ListVersionsResponse Source #

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

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

lvrNextPageToken :: Lens' ListVersionsResponse (Maybe Text) Source #

The token use to fetch the next page of records. if not exist in the response, that means no more versions to list.

GoogleAppsScriptTypeExecutionAPIConfigAccess

data GoogleAppsScriptTypeExecutionAPIConfigAccess Source #

Who has permission to run the API executable.

Constructors

UnknownAccess

UNKNOWN_ACCESS Default value, should not be used.

Myself

MYSELF Only the user who deployed the web app or executable can access it. Note that this is not necessarily the owner of the script project.

Domain

DOMAIN Only users in the same domain as the user who deployed the web app or executable can access it.

Anyone

ANYONE Any logged in user can access the web app or executable.

AnyoneAnonymous

ANYONE_ANONYMOUS Any user, logged in or not, can access the web app or executable.

Instances
Enum GoogleAppsScriptTypeExecutionAPIConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Eq GoogleAppsScriptTypeExecutionAPIConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Data GoogleAppsScriptTypeExecutionAPIConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Methods

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

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

toConstr :: GoogleAppsScriptTypeExecutionAPIConfigAccess -> Constr #

dataTypeOf :: GoogleAppsScriptTypeExecutionAPIConfigAccess -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord GoogleAppsScriptTypeExecutionAPIConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Read GoogleAppsScriptTypeExecutionAPIConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Show GoogleAppsScriptTypeExecutionAPIConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Generic GoogleAppsScriptTypeExecutionAPIConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Hashable GoogleAppsScriptTypeExecutionAPIConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToJSON GoogleAppsScriptTypeExecutionAPIConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromJSON GoogleAppsScriptTypeExecutionAPIConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromHttpApiData GoogleAppsScriptTypeExecutionAPIConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToHttpApiData GoogleAppsScriptTypeExecutionAPIConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep GoogleAppsScriptTypeExecutionAPIConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep GoogleAppsScriptTypeExecutionAPIConfigAccess = D1 (MetaData "GoogleAppsScriptTypeExecutionAPIConfigAccess" "Network.Google.Script.Types.Sum" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) ((C1 (MetaCons "UnknownAccess" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Myself" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Domain" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Anyone" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AnyoneAnonymous" PrefixI False) (U1 :: Type -> Type))))

ExecutionRequest

data ExecutionRequest Source #

A request to run the function in a script. The script is identified by the specified `script_id`. Executing a function on a script returns results based on the implementation of the script.

See: executionRequest smart constructor.

Instances
Eq ExecutionRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data ExecutionRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: ExecutionRequest -> Constr #

dataTypeOf :: ExecutionRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ExecutionRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic ExecutionRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep ExecutionRequest :: Type -> Type #

ToJSON ExecutionRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON ExecutionRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ExecutionRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ExecutionRequest = D1 (MetaData "ExecutionRequest" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "ExecutionRequest'" PrefixI True) ((S1 (MetaSel (Just "_erFunction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_erSessionState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_erDevMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_erParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [JSONValue])))))

executionRequest :: ExecutionRequest Source #

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

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

erFunction :: Lens' ExecutionRequest (Maybe Text) Source #

The name of the function to execute in the given script. The name does not include parentheses or parameters.

erSessionState :: Lens' ExecutionRequest (Maybe Text) Source #

For Android add-ons only. An ID that represents the user's current session in the Android app for Google Docs or Sheets, included as extra data in the Intent that launches the add-on. When an Android add-on is run with a session state, it gains the privileges of a bound script—that is, it can access information like the user's current cursor position (in Docs) or selected cell (in Sheets). To retrieve the state, call `Intent.getStringExtra("com.google.android.apps.docs.addons.SessionState")`. Optional.

erDevMode :: Lens' ExecutionRequest (Maybe Bool) Source #

If `true` and the user is an owner of the script, the script runs at the most recently saved version rather than the version deployed for use with the Apps Script API. Optional; default is `false`.

erParameters :: Lens' ExecutionRequest [JSONValue] Source #

The parameters to be passed to the function being executed. The object type for each parameter should match the expected type in Apps Script. Parameters cannot be Apps Script-specific object types (such as a `Document` or a `Calendar`); they can only be primitive types such as `string`, `number`, `array`, `object`, or `boolean`. Optional.

ListScriptProcessesResponse

data ListScriptProcessesResponse Source #

Response with the list of Process resources.

See: listScriptProcessesResponse smart constructor.

Instances
Eq ListScriptProcessesResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data ListScriptProcessesResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: ListScriptProcessesResponse -> Constr #

dataTypeOf :: ListScriptProcessesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListScriptProcessesResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic ListScriptProcessesResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep ListScriptProcessesResponse :: Type -> Type #

ToJSON ListScriptProcessesResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON ListScriptProcessesResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ListScriptProcessesResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ListScriptProcessesResponse = D1 (MetaData "ListScriptProcessesResponse" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "ListScriptProcessesResponse'" PrefixI True) (S1 (MetaSel (Just "_lsprNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lsprProcesses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GoogleAppsScriptTypeProcess]))))

listScriptProcessesResponse :: ListScriptProcessesResponse Source #

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

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

lsprNextPageToken :: Lens' ListScriptProcessesResponse (Maybe Text) Source #

Token for the next page of results. If empty, there are no more pages remaining.

lsprProcesses :: Lens' ListScriptProcessesResponse [GoogleAppsScriptTypeProcess] Source #

List of processes matching request parameters.

StatusDetailsItem

data StatusDetailsItem Source #

Instances
Eq StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data StatusDetailsItem Source # 
Instance details

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

Generic StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep StatusDetailsItem :: Type -> Type #

ToJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep StatusDetailsItem = D1 (MetaData "StatusDetailsItem" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" 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.

FileType

data FileType Source #

The type of the file.

Constructors

EnumTypeUnspecified

ENUM_TYPE_UNSPECIFIED Undetermined file type; never actually used.

ServerJs

SERVER_JS An Apps Script server-side code file.

HTML

HTML A file containing client-side HTML.

JSON

JSON A file in JSON format. This type is only used for the script project's manifest. The manifest file content must match the structure of a valid ScriptManifest

Instances
Enum FileType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Eq FileType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Data FileType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Methods

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

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

toConstr :: FileType -> Constr #

dataTypeOf :: FileType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord FileType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Read FileType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Show FileType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Generic FileType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Associated Types

type Rep FileType :: Type -> Type #

Methods

from :: FileType -> Rep FileType x #

to :: Rep FileType x -> FileType #

Hashable FileType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Methods

hashWithSalt :: Int -> FileType -> Int #

hash :: FileType -> Int #

ToJSON FileType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromJSON FileType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromHttpApiData FileType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToHttpApiData FileType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep FileType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep FileType = D1 (MetaData "FileType" "Network.Google.Script.Types.Sum" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) ((C1 (MetaCons "EnumTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ServerJs" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "HTML" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "JSON" PrefixI False) (U1 :: Type -> Type)))

ScriptStackTraceElement

data ScriptStackTraceElement Source #

A stack trace through the script that shows where the execution failed.

See: scriptStackTraceElement smart constructor.

Instances
Eq ScriptStackTraceElement Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data ScriptStackTraceElement Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: ScriptStackTraceElement -> Constr #

dataTypeOf :: ScriptStackTraceElement -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ScriptStackTraceElement Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic ScriptStackTraceElement Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep ScriptStackTraceElement :: Type -> Type #

ToJSON ScriptStackTraceElement Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON ScriptStackTraceElement Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ScriptStackTraceElement Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ScriptStackTraceElement = D1 (MetaData "ScriptStackTraceElement" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "ScriptStackTraceElement'" PrefixI True) (S1 (MetaSel (Just "_ssteFunction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ssteLineNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))

scriptStackTraceElement :: ScriptStackTraceElement Source #

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

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

ssteFunction :: Lens' ScriptStackTraceElement (Maybe Text) Source #

The name of the function that failed.

ssteLineNumber :: Lens' ScriptStackTraceElement (Maybe Int32) Source #

The line number where the script failed.

Content

data Content Source #

The Content resource.

See: content smart constructor.

Instances
Eq Content Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

Data Content Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: Content -> Constr #

dataTypeOf :: Content -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Content Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic Content Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep Content :: Type -> Type #

Methods

from :: Content -> Rep Content x #

to :: Rep Content x -> Content #

ToJSON Content Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON Content Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Content Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Content = D1 (MetaData "Content" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "Content'" PrefixI True) (S1 (MetaSel (Just "_cScriptId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cFiles") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [File]))))

content :: Content Source #

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

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

cScriptId :: Lens' Content (Maybe Text) Source #

The script project's Drive ID.

cFiles :: Lens' Content [File] Source #

The list of script project files. One of the files is a script manifest; it must be named "appsscript", must have type of JSON, and include the manifest configurations for the project.

GoogleAppsScriptTypeAddOnEntryPointAddOnType

data GoogleAppsScriptTypeAddOnEntryPointAddOnType Source #

The add-on's required list of supported container types.

Constructors

UnknownAddonType

UNKNOWN_ADDON_TYPE Default value, unknown add-on type.

Gmail

GMAIL Add-on type for Gmail.

DataStudio

DATA_STUDIO Add-on type for Data Studio.

Instances
Enum GoogleAppsScriptTypeAddOnEntryPointAddOnType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Eq GoogleAppsScriptTypeAddOnEntryPointAddOnType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Data GoogleAppsScriptTypeAddOnEntryPointAddOnType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Methods

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

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

toConstr :: GoogleAppsScriptTypeAddOnEntryPointAddOnType -> Constr #

dataTypeOf :: GoogleAppsScriptTypeAddOnEntryPointAddOnType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord GoogleAppsScriptTypeAddOnEntryPointAddOnType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Read GoogleAppsScriptTypeAddOnEntryPointAddOnType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Show GoogleAppsScriptTypeAddOnEntryPointAddOnType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Generic GoogleAppsScriptTypeAddOnEntryPointAddOnType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Hashable GoogleAppsScriptTypeAddOnEntryPointAddOnType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToJSON GoogleAppsScriptTypeAddOnEntryPointAddOnType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromJSON GoogleAppsScriptTypeAddOnEntryPointAddOnType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromHttpApiData GoogleAppsScriptTypeAddOnEntryPointAddOnType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToHttpApiData GoogleAppsScriptTypeAddOnEntryPointAddOnType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep GoogleAppsScriptTypeAddOnEntryPointAddOnType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep GoogleAppsScriptTypeAddOnEntryPointAddOnType = D1 (MetaData "GoogleAppsScriptTypeAddOnEntryPointAddOnType" "Network.Google.Script.Types.Sum" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "UnknownAddonType" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Gmail" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DataStudio" PrefixI False) (U1 :: Type -> Type)))

MetricsValue

data MetricsValue Source #

Metrics value that holds number of executions counted.

See: metricsValue smart constructor.

Instances
Eq MetricsValue Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data MetricsValue Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: MetricsValue -> Constr #

dataTypeOf :: MetricsValue -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MetricsValue Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic MetricsValue Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep MetricsValue :: Type -> Type #

ToJSON MetricsValue Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON MetricsValue Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep MetricsValue Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep MetricsValue = D1 (MetaData "MetricsValue" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "MetricsValue'" PrefixI True) (S1 (MetaSel (Just "_mvStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: (S1 (MetaSel (Just "_mvValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64))) :*: S1 (MetaSel (Just "_mvEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))))

metricsValue :: MetricsValue Source #

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

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

mvStartTime :: Lens' MetricsValue (Maybe UTCTime) Source #

Required field indicating the start time of the interval.

mvValue :: Lens' MetricsValue (Maybe Word64) Source #

Indicates the number of executions counted.

mvEndTime :: Lens' MetricsValue (Maybe UTCTime) Source #

Required field indicating the end time of the interval.

GoogleAppsScriptTypeAddOnEntryPoint

data GoogleAppsScriptTypeAddOnEntryPoint Source #

An add-on entry point.

See: googleAppsScriptTypeAddOnEntryPoint smart constructor.

Instances
Eq GoogleAppsScriptTypeAddOnEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data GoogleAppsScriptTypeAddOnEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: GoogleAppsScriptTypeAddOnEntryPoint -> Constr #

dataTypeOf :: GoogleAppsScriptTypeAddOnEntryPoint -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleAppsScriptTypeAddOnEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic GoogleAppsScriptTypeAddOnEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

ToJSON GoogleAppsScriptTypeAddOnEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON GoogleAppsScriptTypeAddOnEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeAddOnEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeAddOnEntryPoint = D1 (MetaData "GoogleAppsScriptTypeAddOnEntryPoint" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "GoogleAppsScriptTypeAddOnEntryPoint'" PrefixI True) ((S1 (MetaSel (Just "_gastaoepPostInstallTipURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gastaoepAddOnType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleAppsScriptTypeAddOnEntryPointAddOnType)) :*: S1 (MetaSel (Just "_gastaoepReportIssueURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_gastaoepHelpURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gastaoepTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gastaoepDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

gastaoepPostInstallTipURL :: Lens' GoogleAppsScriptTypeAddOnEntryPoint (Maybe Text) Source #

The add-on's required post install tip URL.

GoogleAppsScriptTypeWebAppConfig

data GoogleAppsScriptTypeWebAppConfig Source #

Web app entry point configuration.

See: googleAppsScriptTypeWebAppConfig smart constructor.

Instances
Eq GoogleAppsScriptTypeWebAppConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data GoogleAppsScriptTypeWebAppConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: GoogleAppsScriptTypeWebAppConfig -> Constr #

dataTypeOf :: GoogleAppsScriptTypeWebAppConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleAppsScriptTypeWebAppConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic GoogleAppsScriptTypeWebAppConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep GoogleAppsScriptTypeWebAppConfig :: Type -> Type #

ToJSON GoogleAppsScriptTypeWebAppConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON GoogleAppsScriptTypeWebAppConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeWebAppConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeWebAppConfig = D1 (MetaData "GoogleAppsScriptTypeWebAppConfig" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "GoogleAppsScriptTypeWebAppConfig'" PrefixI True) (S1 (MetaSel (Just "_gastwacAccess") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleAppsScriptTypeWebAppConfigAccess)) :*: S1 (MetaSel (Just "_gastwacExecuteAs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleAppsScriptTypeWebAppConfigExecuteAs))))

googleAppsScriptTypeWebAppConfig :: GoogleAppsScriptTypeWebAppConfig Source #

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

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

Version

data Version Source #

A resource representing a script project version. A version is a "snapshot" of a script project and is similar to a read-only branched release. When creating deployments, the version to use must be specified.

See: version smart constructor.

Instances
Eq Version Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

Data Version Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: Version -> Constr #

dataTypeOf :: Version -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Version Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic Version Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep Version :: Type -> Type #

Methods

from :: Version -> Rep Version x #

to :: Rep Version x -> Version #

ToJSON Version Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON Version Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Version Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Version = D1 (MetaData "Version" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "Version'" PrefixI True) ((S1 (MetaSel (Just "_vVersionNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_vScriptId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_vDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_vCreateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))))

version :: Version Source #

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

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

vVersionNumber :: Lens' Version (Maybe Int32) Source #

The incremental ID that is created by Apps Script when a version is created. This is system assigned number and is immutable once created.

vScriptId :: Lens' Version (Maybe Text) Source #

The script project's Drive ID.

vDescription :: Lens' Version (Maybe Text) Source #

The description for this version.

vCreateTime :: Lens' Version (Maybe UTCTime) Source #

When the version was created.

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

Eq Xgafv Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Methods

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

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

Data Xgafv Source # 
Instance details

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

Show Xgafv Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

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

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

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

ExecutionError

data ExecutionError Source #

An object that provides information about the nature of an error resulting from an attempted execution of a script function using the Apps Script API. If a run call succeeds but the script function (or Apps Script itself) throws an exception, the response body's error field contains a Status object. The `Status` object's `details` field contains an array with a single one of these `ExecutionError` objects.

See: executionError smart constructor.

Instances
Eq ExecutionError Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data ExecutionError Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: ExecutionError -> Constr #

dataTypeOf :: ExecutionError -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ExecutionError Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic ExecutionError Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep ExecutionError :: Type -> Type #

ToJSON ExecutionError Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON ExecutionError Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ExecutionError Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ExecutionError = D1 (MetaData "ExecutionError" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "ExecutionError'" PrefixI True) (S1 (MetaSel (Just "_eeScriptStackTraceElements") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ScriptStackTraceElement])) :*: (S1 (MetaSel (Just "_eeErrorType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eeErrorMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

executionError :: ExecutionError Source #

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

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

eeScriptStackTraceElements :: Lens' ExecutionError [ScriptStackTraceElement] Source #

An array of objects that provide a stack trace through the script to show where the execution failed, with the deepest call first.

eeErrorType :: Lens' ExecutionError (Maybe Text) Source #

The error type, for example `TypeError` or `ReferenceError`. If the error type is unavailable, this field is not included.

eeErrorMessage :: Lens' ExecutionError (Maybe Text) Source #

The error message thrown by Apps Script, usually localized into the user's language.

GoogleAppsScriptTypeWebAppEntryPoint

data GoogleAppsScriptTypeWebAppEntryPoint Source #

A web application entry point.

See: googleAppsScriptTypeWebAppEntryPoint smart constructor.

Instances
Eq GoogleAppsScriptTypeWebAppEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data GoogleAppsScriptTypeWebAppEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: GoogleAppsScriptTypeWebAppEntryPoint -> Constr #

dataTypeOf :: GoogleAppsScriptTypeWebAppEntryPoint -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleAppsScriptTypeWebAppEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic GoogleAppsScriptTypeWebAppEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

ToJSON GoogleAppsScriptTypeWebAppEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON GoogleAppsScriptTypeWebAppEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeWebAppEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeWebAppEntryPoint = D1 (MetaData "GoogleAppsScriptTypeWebAppEntryPoint" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "GoogleAppsScriptTypeWebAppEntryPoint'" PrefixI True) (S1 (MetaSel (Just "_gastwaepEntryPointConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleAppsScriptTypeWebAppConfig)) :*: S1 (MetaSel (Just "_gastwaepURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

googleAppsScriptTypeWebAppEntryPoint :: GoogleAppsScriptTypeWebAppEntryPoint Source #

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

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

EntryPointEntryPointType

data EntryPointEntryPointType Source #

The type of the entry point.

Constructors

EPEPTEntryPointTypeUnspecified

ENTRY_POINT_TYPE_UNSPECIFIED An unspecified entry point.

EPEPTWebApp

WEB_APP A web application entry point.

EPEPTExecutionAPI

EXECUTION_API An API executable entry point.

EPEPTAddOn

ADD_ON An Add-On entry point.

Instances
Enum EntryPointEntryPointType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Eq EntryPointEntryPointType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Data EntryPointEntryPointType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Methods

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

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

toConstr :: EntryPointEntryPointType -> Constr #

dataTypeOf :: EntryPointEntryPointType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord EntryPointEntryPointType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Read EntryPointEntryPointType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Show EntryPointEntryPointType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Generic EntryPointEntryPointType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Associated Types

type Rep EntryPointEntryPointType :: Type -> Type #

Hashable EntryPointEntryPointType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToJSON EntryPointEntryPointType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromJSON EntryPointEntryPointType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromHttpApiData EntryPointEntryPointType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToHttpApiData EntryPointEntryPointType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep EntryPointEntryPointType Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep EntryPointEntryPointType = D1 (MetaData "EntryPointEntryPointType" "Network.Google.Script.Types.Sum" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) ((C1 (MetaCons "EPEPTEntryPointTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "EPEPTWebApp" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "EPEPTExecutionAPI" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "EPEPTAddOn" PrefixI False) (U1 :: Type -> Type)))

CreateProjectRequest

data CreateProjectRequest Source #

Request to create a script project.

See: createProjectRequest smart constructor.

Instances
Eq CreateProjectRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data CreateProjectRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: CreateProjectRequest -> Constr #

dataTypeOf :: CreateProjectRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CreateProjectRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic CreateProjectRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep CreateProjectRequest :: Type -> Type #

ToJSON CreateProjectRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON CreateProjectRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep CreateProjectRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep CreateProjectRequest = D1 (MetaData "CreateProjectRequest" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "CreateProjectRequest'" PrefixI True) (S1 (MetaSel (Just "_cprTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cprParentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

createProjectRequest :: CreateProjectRequest Source #

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

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

cprTitle :: Lens' CreateProjectRequest (Maybe Text) Source #

The title for the project.

cprParentId :: Lens' CreateProjectRequest (Maybe Text) Source #

The Drive ID of a parent file that the created script project is bound to. This is usually the ID of a Google Doc, Google Sheet, Google Form, or Google Slides file. If not set, a standalone script project is created.

GoogleAppsScriptTypeProcessProcessStatus

data GoogleAppsScriptTypeProcessProcessStatus Source #

The executions status.

Constructors

ProcessStatusUnspecified

PROCESS_STATUS_UNSPECIFIED Unspecified status.

Running

RUNNING The process is currently running.

Paused

PAUSED The process has paused.

Completed

COMPLETED The process has completed.

Canceled

CANCELED The process was cancelled.

Failed

FAILED The process failed.

TimedOut

TIMED_OUT The process timed out.

Unknown

UNKNOWN Process status unknown.

Delayed

DELAYED The process is delayed, waiting for quota.

Instances
Enum GoogleAppsScriptTypeProcessProcessStatus Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Eq GoogleAppsScriptTypeProcessProcessStatus Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Data GoogleAppsScriptTypeProcessProcessStatus Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Methods

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

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

toConstr :: GoogleAppsScriptTypeProcessProcessStatus -> Constr #

dataTypeOf :: GoogleAppsScriptTypeProcessProcessStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord GoogleAppsScriptTypeProcessProcessStatus Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Read GoogleAppsScriptTypeProcessProcessStatus Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Show GoogleAppsScriptTypeProcessProcessStatus Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Generic GoogleAppsScriptTypeProcessProcessStatus Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Hashable GoogleAppsScriptTypeProcessProcessStatus Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToJSON GoogleAppsScriptTypeProcessProcessStatus Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromJSON GoogleAppsScriptTypeProcessProcessStatus Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromHttpApiData GoogleAppsScriptTypeProcessProcessStatus Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToHttpApiData GoogleAppsScriptTypeProcessProcessStatus Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep GoogleAppsScriptTypeProcessProcessStatus Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep GoogleAppsScriptTypeProcessProcessStatus = D1 (MetaData "GoogleAppsScriptTypeProcessProcessStatus" "Network.Google.Script.Types.Sum" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (((C1 (MetaCons "ProcessStatusUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Running" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Paused" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Completed" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Canceled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Failed" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TimedOut" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Unknown" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Delayed" PrefixI False) (U1 :: Type -> Type)))))

DeploymentConfig

data DeploymentConfig Source #

Metadata the defines how a deployment is configured.

See: deploymentConfig smart constructor.

Instances
Eq DeploymentConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data DeploymentConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: DeploymentConfig -> Constr #

dataTypeOf :: DeploymentConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DeploymentConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic DeploymentConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep DeploymentConfig :: Type -> Type #

ToJSON DeploymentConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON DeploymentConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep DeploymentConfig Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep DeploymentConfig = D1 (MetaData "DeploymentConfig" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "DeploymentConfig'" PrefixI True) ((S1 (MetaSel (Just "_dcVersionNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_dcScriptId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dcManifestFileName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dcDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

deploymentConfig :: DeploymentConfig Source #

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

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

dcVersionNumber :: Lens' DeploymentConfig (Maybe Int32) Source #

The version number on which this deployment is based.

dcScriptId :: Lens' DeploymentConfig (Maybe Text) Source #

The script project's Drive ID.

dcManifestFileName :: Lens' DeploymentConfig (Maybe Text) Source #

The manifest file name for this deployment.

dcDescription :: Lens' DeploymentConfig (Maybe Text) Source #

The description for this deployment.

GoogleAppsScriptTypeWebAppConfigAccess

data GoogleAppsScriptTypeWebAppConfigAccess Source #

Who has permission to run the web app.

Constructors

GASTWACAUnknownAccess

UNKNOWN_ACCESS Default value, should not be used.

GASTWACAMyself

MYSELF Only the user who deployed the web app or executable can access it. Note that this is not necessarily the owner of the script project.

GASTWACADomain

DOMAIN Only users in the same domain as the user who deployed the web app or executable can access it.

GASTWACAAnyone

ANYONE Any logged in user can access the web app or executable.

GASTWACAAnyoneAnonymous

ANYONE_ANONYMOUS Any user, logged in or not, can access the web app or executable.

Instances
Enum GoogleAppsScriptTypeWebAppConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Eq GoogleAppsScriptTypeWebAppConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Data GoogleAppsScriptTypeWebAppConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Methods

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

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

toConstr :: GoogleAppsScriptTypeWebAppConfigAccess -> Constr #

dataTypeOf :: GoogleAppsScriptTypeWebAppConfigAccess -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord GoogleAppsScriptTypeWebAppConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Read GoogleAppsScriptTypeWebAppConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Show GoogleAppsScriptTypeWebAppConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Generic GoogleAppsScriptTypeWebAppConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

Hashable GoogleAppsScriptTypeWebAppConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToJSON GoogleAppsScriptTypeWebAppConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromJSON GoogleAppsScriptTypeWebAppConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

FromHttpApiData GoogleAppsScriptTypeWebAppConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

ToHttpApiData GoogleAppsScriptTypeWebAppConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep GoogleAppsScriptTypeWebAppConfigAccess Source # 
Instance details

Defined in Network.Google.Script.Types.Sum

type Rep GoogleAppsScriptTypeWebAppConfigAccess = D1 (MetaData "GoogleAppsScriptTypeWebAppConfigAccess" "Network.Google.Script.Types.Sum" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) ((C1 (MetaCons "GASTWACAUnknownAccess" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "GASTWACAMyself" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "GASTWACADomain" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "GASTWACAAnyone" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "GASTWACAAnyoneAnonymous" PrefixI False) (U1 :: Type -> Type))))

ListDeploymentsResponse

data ListDeploymentsResponse Source #

Response with the list of deployments for the specified Apps Script project.

See: listDeploymentsResponse smart constructor.

Instances
Eq ListDeploymentsResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data ListDeploymentsResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: ListDeploymentsResponse -> Constr #

dataTypeOf :: ListDeploymentsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListDeploymentsResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic ListDeploymentsResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep ListDeploymentsResponse :: Type -> Type #

ToJSON ListDeploymentsResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON ListDeploymentsResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ListDeploymentsResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ListDeploymentsResponse = D1 (MetaData "ListDeploymentsResponse" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "ListDeploymentsResponse'" PrefixI True) (S1 (MetaSel (Just "_ldrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ldrDeployments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Deployment]))))

listDeploymentsResponse :: ListDeploymentsResponse Source #

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

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

ldrNextPageToken :: Lens' ListDeploymentsResponse (Maybe Text) Source #

The token that can be used in the next call to get the next page of results.

GoogleAppsScriptTypeFunction

data GoogleAppsScriptTypeFunction Source #

Represents a function in a script project.

See: googleAppsScriptTypeFunction smart constructor.

Instances
Eq GoogleAppsScriptTypeFunction Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data GoogleAppsScriptTypeFunction Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: GoogleAppsScriptTypeFunction -> Constr #

dataTypeOf :: GoogleAppsScriptTypeFunction -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleAppsScriptTypeFunction Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic GoogleAppsScriptTypeFunction Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep GoogleAppsScriptTypeFunction :: Type -> Type #

ToJSON GoogleAppsScriptTypeFunction Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON GoogleAppsScriptTypeFunction Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeFunction Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeFunction = D1 (MetaData "GoogleAppsScriptTypeFunction" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" True) (C1 (MetaCons "GoogleAppsScriptTypeFunction'" PrefixI True) (S1 (MetaSel (Just "_gastfName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

googleAppsScriptTypeFunction :: GoogleAppsScriptTypeFunction Source #

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

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

gastfName :: Lens' GoogleAppsScriptTypeFunction (Maybe Text) Source #

The function name in the script project.

File

data File Source #

An individual file within a script project. A file is a third-party source code created by one or more developers. It can be a server-side JS code, HTML, or a configuration file. Each script project can contain multiple files.

See: file smart constructor.

Instances
Eq File Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

Data File Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: File -> Constr #

dataTypeOf :: File -> DataType #

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

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

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

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

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

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

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

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

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

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

Show File Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

showsPrec :: Int -> File -> ShowS #

show :: File -> String #

showList :: [File] -> ShowS #

Generic File Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep File :: Type -> Type #

Methods

from :: File -> Rep File x #

to :: Rep File x -> File #

ToJSON File Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON File Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep File Source # 
Instance details

Defined in Network.Google.Script.Types.Product

file :: File Source #

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

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

fFunctionSet :: Lens' File (Maybe GoogleAppsScriptTypeFunctionSet) Source #

The defined set of functions in the script file, if any.

fLastModifyUser :: Lens' File (Maybe GoogleAppsScriptTypeUser) Source #

The user who modified the file most recently. This read-only field is only visible to users who have WRITER permission for the script project.

fUpdateTime :: Lens' File (Maybe UTCTime) Source #

Last modified date timestamp. This read-only field is only visible to users who have WRITER permission for the script project.

fName :: Lens' File (Maybe Text) Source #

The name of the file. The file extension is not part of the file name, which can be identified from the type field.

fSource :: Lens' File (Maybe Text) Source #

The file content.

fType :: Lens' File (Maybe FileType) Source #

The type of the file.

fCreateTime :: Lens' File (Maybe UTCTime) Source #

Creation date timestamp. This read-only field is only visible to users who have WRITER permission for the script project.

GoogleAppsScriptTypeExecutionAPIEntryPoint

data GoogleAppsScriptTypeExecutionAPIEntryPoint Source #

An API executable entry point.

See: googleAppsScriptTypeExecutionAPIEntryPoint smart constructor.

Instances
Eq GoogleAppsScriptTypeExecutionAPIEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data GoogleAppsScriptTypeExecutionAPIEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: GoogleAppsScriptTypeExecutionAPIEntryPoint -> Constr #

dataTypeOf :: GoogleAppsScriptTypeExecutionAPIEntryPoint -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleAppsScriptTypeExecutionAPIEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic GoogleAppsScriptTypeExecutionAPIEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

ToJSON GoogleAppsScriptTypeExecutionAPIEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON GoogleAppsScriptTypeExecutionAPIEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeExecutionAPIEntryPoint Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep GoogleAppsScriptTypeExecutionAPIEntryPoint = D1 (MetaData "GoogleAppsScriptTypeExecutionAPIEntryPoint" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" True) (C1 (MetaCons "GoogleAppsScriptTypeExecutionAPIEntryPoint'" PrefixI True) (S1 (MetaSel (Just "_gasteaepEntryPointConfig") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe GoogleAppsScriptTypeExecutionAPIConfig))))

googleAppsScriptTypeExecutionAPIEntryPoint :: GoogleAppsScriptTypeExecutionAPIEntryPoint Source #

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

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

OperationResponse

data OperationResponse Source #

If the script function returns successfully, this field contains an ExecutionResponse object with the function's return value.

See: operationResponse smart constructor.

Instances
Eq OperationResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data OperationResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: OperationResponse -> Constr #

dataTypeOf :: OperationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OperationResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic OperationResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep OperationResponse :: Type -> Type #

ToJSON OperationResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON OperationResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep OperationResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep OperationResponse = D1 (MetaData "OperationResponse" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" True) (C1 (MetaCons "OperationResponse'" PrefixI True) (S1 (MetaSel (Just "_orAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

operationResponse Source #

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

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

orAddtional :: Lens' OperationResponse (HashMap Text JSONValue) Source #

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

ExecutionResponse

data ExecutionResponse Source #

An object that provides the return value of a function executed using the Apps Script API. If the script function returns successfully, the response body's response field contains this `ExecutionResponse` object.

See: executionResponse smart constructor.

Instances
Eq ExecutionResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data ExecutionResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: ExecutionResponse -> Constr #

dataTypeOf :: ExecutionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ExecutionResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic ExecutionResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep ExecutionResponse :: Type -> Type #

ToJSON ExecutionResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON ExecutionResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ExecutionResponse Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep ExecutionResponse = D1 (MetaData "ExecutionResponse" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" True) (C1 (MetaCons "ExecutionResponse'" PrefixI True) (S1 (MetaSel (Just "_erResult") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe JSONValue))))

executionResponse :: ExecutionResponse Source #

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

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

erResult :: Lens' ExecutionResponse (Maybe JSONValue) Source #

The return value of the script function. The type matches the object type returned in Apps Script. Functions called using the Apps Script API cannot return Apps Script-specific objects (such as a `Document` or a `Calendar`); they can only return primitive types such as a `string`, `number`, `array`, `object`, or `boolean`.

Deployment

data Deployment Source #

Representation of a single script deployment.

See: deployment smart constructor.

Instances
Eq Deployment Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data Deployment Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: Deployment -> Constr #

dataTypeOf :: Deployment -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Deployment Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic Deployment Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep Deployment :: Type -> Type #

ToJSON Deployment Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON Deployment Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Deployment Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep Deployment = D1 (MetaData "Deployment" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "Deployment'" PrefixI True) ((S1 (MetaSel (Just "_dDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_dEntryPoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EntryPoint])) :*: S1 (MetaSel (Just "_dDeploymentConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeploymentConfig)))))

deployment :: Deployment Source #

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

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

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

The deployment ID for this deployment.

dUpdateTime :: Lens' Deployment (Maybe UTCTime) Source #

Last modified date time stamp.

dEntryPoints :: Lens' Deployment [EntryPoint] Source #

The deployment's entry points.

dDeploymentConfig :: Lens' Deployment (Maybe DeploymentConfig) Source #

The deployment configuration.

UpdateDeploymentRequest

data UpdateDeploymentRequest Source #

Request with deployment information to update an existing deployment.

See: updateDeploymentRequest smart constructor.

Instances
Eq UpdateDeploymentRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Data UpdateDeploymentRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Methods

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

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

toConstr :: UpdateDeploymentRequest -> Constr #

dataTypeOf :: UpdateDeploymentRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UpdateDeploymentRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Generic UpdateDeploymentRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

Associated Types

type Rep UpdateDeploymentRequest :: Type -> Type #

ToJSON UpdateDeploymentRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

FromJSON UpdateDeploymentRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep UpdateDeploymentRequest Source # 
Instance details

Defined in Network.Google.Script.Types.Product

type Rep UpdateDeploymentRequest = D1 (MetaData "UpdateDeploymentRequest" "Network.Google.Script.Types.Product" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" True) (C1 (MetaCons "UpdateDeploymentRequest'" PrefixI True) (S1 (MetaSel (Just "_udrDeploymentConfig") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe DeploymentConfig))))

updateDeploymentRequest :: UpdateDeploymentRequest Source #

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

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