UpdateSpec
UpdateSpec
Update the settings of a usage metering agent. Set only the attributes that need to be changed.
JSON Example
{
"label": "string",
"meteringMode": "string",
"agentSequence": 0
}
string
label
Optional
the new label
string
meteringMode
Optional
the new MeteringMode of the agent
Possible values are : PRODUCTION, TEST,
integer As int64 As int64
agentSequence
Optional
the agent sequence. Used for optimistic locking. When updating or deleting an object one must provide the sequence number that it last used to view the state. When conflicts occur, client will get HTTP 412 precondition failed status code, and must either abort or obtain the new state of the object and retry.