MutateRecommendationSubscriptionRequest

  • The MutateRecommendationSubscription request message is used to manage recommendation subscriptions.

  • Key fields include customer_id, operations[] (required for create/update operations), partial_failure, validate_only, and response_content_type.

  • customer_id and operations[] are required for this request.

  • partial_failure and validate_only offer control over the execution and validation of operations.

  • response_content_type determines the type of information returned in the response after a successful mutation.

Request message for [RecommendationSubscriptionService.MutateRecommendationSubscription]

Fields

customer_id

string

Required. The ID of the subscribing customer.

operations[]

RecommendationSubscriptionOperation

Required. The list of create or update operations.

partial_failure

bool

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

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

response_content_type

ResponseContentType

The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation. The mutable resource will only be returned if the resource has the appropriate response field. For example, MutateCampaignResult.campaign.