The function updates a service with the given information. If a parameter is NULL then it will not be overwritten on the back-end. If the parameter is set to NA then the value on the back-end will be deleted and set to NULL.
update_service(
service,
type = NULL,
graph = NULL,
title = NULL,
description = NULL,
enabled = NULL,
configuration = NULL,
plan = NULL,
budget = NULL,
con = NULL,
...
)
the Service or its ID
character - the OGC web service type name to be created
A Graph()
, a function returning a ProcessNode()
as an endpoint or the ProcessNode()
will return the results
character (optional) - the title of for the service
character (optional) - the description for the service
logical - whether the service shall be active for querying or disabled
a list of service creation configuration
character - the billing plan
numeric - the amount of credits that can be spent for this service
connected and authorized openEO client object (optional) otherwise active_connection()
is used.
additional parameters passed to jsonlite::toJSON() (like 'digits')
Service object