MutateGoalsRequest

  • The request message for GoalService.MutateGoals requires a customer ID and a list of operations to perform on goals.

  • You can optionally specify partial_failure to allow successful operations to proceed even if others fail, or use validate_only to check the request without execution.

  • The default behavior is that all operations must be valid to be carried out in a single transaction.

Request message for GoalService.MutateGoals.

Fields

customer_id

string

Required. The ID of the customer whose goals are being modified.

operations[]

GoalOperation

Required. The list of operations to perform on the goals.

partial_failure

bool

Optional. If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.

validate_only

bool

Optional. If true, the request is validated but not executed. Only errors are returned, not results.