| Name | Type | Description | Notes |
|---|---|---|---|
| name | kotlin.String | Name of the service. | [optional] |
| labels | kotlin.collections.MutableMap<kotlin.String, kotlin.String> | User-defined key/value metadata. | [optional] |
| taskTemplate | TaskSpec | [optional] | |
| mode | ServiceSpecMode | [optional] | |
| updateConfig | ServiceSpecUpdateConfig | [optional] | |
| rollbackConfig | ServiceSpecRollbackConfig | [optional] | |
| networks | kotlin.collections.MutableList<NetworkAttachmentConfig> | Specifies which networks the service should attach to. Deprecated: This field is deprecated since v1.44. The Networks field in TaskSpec should be used instead. | [optional] |
| endpointSpec | EndpointSpec | [optional] |