gws.ext.action.cloud

Upload and update GWS Cloud projects.

class gws.ext.action.cloud.Config(*args, **kwargs)[source]

Cloud admin action

configTemplate = None

project config template

class gws.ext.action.cloud.DataSet(*args, **kwargs)[source]

Data set for a cloud project.

uid = None

data set uid as used in the map

records = None

list of data records

class gws.ext.action.cloud.AssetType[source]
svg = 'svg'
class gws.ext.action.cloud.Source(*args, **kwargs)[source]
text = None

text content

content = None

binary content

class gws.ext.action.cloud.Asset(*args, **kwargs)[source]

Media asset for the map

type = None

type, e.g. “svg”

name = None

file name, as used in the map source

source = None

file source

class gws.ext.action.cloud.MapType[source]
qgis = 'qgis'
class gws.ext.action.cloud.Map(*args, **kwargs)[source]

Cloud project map

type = None

map type

source = None

map source code (e.g. a QGIS project)

layerUids = None

layer ids to use in the cloud project

excludeLayerUids = None

layer ids to exclude from the cloud

data = None

data for the map

assets = None

map assets

class gws.ext.action.cloud.CreateProjectParams(*args, **kwargs)[source]

Parameters for the CreateProject command

userUid = None

API user ID

userKey = None

API user key

projectName = None

project name

map = None

project map

class gws.ext.action.cloud.CreateProjectResponse(*args, **kwargs)[source]
class gws.ext.action.cloud.Object[source]
configure()[source]
api_create_project(req: gws.types.IRequest, p: gws.ext.action.cloud.CreateProjectParams) → gws.ext.action.cloud.CreateProjectResponse[source]