update_service: Modifies a service

Description Usage Arguments Value

View source: R/services.R

Description

The function updates a service with the given information. If a parameter is NULL then it will not be overwritten at the backend. If the parameter is set to NA then the value on the backend will be deleted and also set to NULL.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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 in human readabled form for the service

description

character (optional) the description for the service

enabled

logical

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.

Value

Service object


flahn/openeo-r-client documentation built on Sept. 18, 2020, 5:16 a.m.