update_service: Modifies a service

View source: R/services.R

update_serviceR Documentation

Modifies a service

Description

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.

Usage

update_service(
  service,
  type = NULL,
  graph = NULL,
  title = NULL,
  description = NULL,
  enabled = NULL,
  configuration = NULL,
  plan = NULL,
  budget = NULL,
  con = NULL,
  ...
)

Arguments

service

the Service or its ID

type

character - the OGC web service type name to be created

graph

A Graph(), a function returning a ProcessNode() as an endpoint or the ProcessNode() will return the results

title

character (optional) - the title of for the service

description

character (optional) - the description for the service

enabled

logical - whether the service shall be active for querying or disabled

configuration

a list of service creation configuration

plan

character - the billing plan

budget

numeric - the amount of credits that can be spent for this service

con

connected and authorized openEO client object (optional) otherwise active_connection() is used.

...

additional parameters passed to jsonlite::toJSON() (like 'digits')

Value

Service object


openeo documentation built on Nov. 17, 2022, 5:07 p.m.