ManagedFieldsEntryPatch

data class ManagedFieldsEntryPatch(val apiVersion: String? = null, val fieldsType: String? = null, val fieldsV1: JsonElement? = null, val manager: String? = null, val operation: String? = null, val subresource: String? = null, val time: String? = null)

ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.

Constructors

Link copied to clipboard
constructor(apiVersion: String? = null, fieldsType: String? = null, fieldsV1: JsonElement? = null, manager: String? = null, operation: String? = null, subresource: String? = null, time: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val apiVersion: String? = null

APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.

Link copied to clipboard
val fieldsType: String? = null

FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1"

Link copied to clipboard
val fieldsV1: JsonElement? = null

FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.

Link copied to clipboard
val manager: String? = null

Manager is an identifier of the workflow managing these fields.

Link copied to clipboard
val operation: String? = null

Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.

Link copied to clipboard
val subresource: String? = null

Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.

Link copied to clipboard
val time: String? = null

Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.