godo.ADS.UpdateDataFlow()
Generated on 23 Nov 2026
from godo version
v1.245.0
Usage
client.ADS.UpdateDataFlow(ctx context.Context, update *godo.ADSDataFlowUpdateRequest) (*godo.ADSDataFlowUpdateResponse, *godo.Response, error)Description
UpdateDataFlow patches a data flow.
Region comes from update and is used as the path segment only.
Parameters
update*godo.ADSDataFlowUpdateRequest required
Fields of godo.ADSDataFlowUpdateRequest
ADSDataFlowUpdateRequest is the body for UpdateDataFlow.
Region is path-only and is not sent in the JSON body. Workspace and ID are
required path segments and are also sent in the body.
A nil DesiredReplicas leaves the replica count unchanged; 0 pauses the data
flow and must be sent without other fields.
RegionstringIDstringWorkspacestringDesiredReplicas*int32MaxReplicasint32SecretRefs[]stringClearSecretRefsboolManifestjson.RawMessage
Returns
- *godo.ADSDataFlowUpdateResponse
- *godo.Response
The HTTP response, with pagination
Links,Meta, andRatelimit information.- error
Non-nil when the request fails. API errors are returned as
*godo.ErrorResponse.
Fields of godo.ADSDataFlowUpdateResponse
ADSDataFlowUpdateResponse is the body of UpdateDataFlow.
UUIDstringStatestringUpload*godo.ADSTarballUpload
Request Sample
More Information
See the Go package documentation for the source of this method.