# ServiceCreateRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | Option<**String**> | Name of the service. | [optional] **labels** | Option<**::std::collections::HashMap**> | User-defined key/value metadata. | [optional] **task_template** | Option<[**crate::models::TaskSpec**](TaskSpec.md)> | | [optional] **mode** | Option<[**crate::models::ServiceSpecMode**](ServiceSpec_Mode.md)> | | [optional] **update_config** | Option<[**crate::models::ServiceSpecUpdateConfig**](ServiceSpec_UpdateConfig.md)> | | [optional] **rollback_config** | Option<[**crate::models::ServiceSpecRollbackConfig**](ServiceSpec_RollbackConfig.md)> | | [optional] **networks** | Option<[**Vec**](NetworkAttachmentConfig.md)> | Specifies which networks the service should attach to. | [optional] **endpoint_spec** | Option<[**crate::models::EndpointSpec**](EndpointSpec.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)