RecommendationSubscription

Recommendation Subscription resource

JSON representation
{
  "resourceName": string,
  "type": enum (RecommendationType),
  "createDateTime": string,
  "modifyDateTime": string,
  "status": enum (RecommendationSubscriptionStatus)
}
Fields
resourceName

string

Immutable. The resource name of the recommendation subscription.

customers/{customerId}/recommendationSubscriptions/{recommendationType}

type

enum (RecommendationType)

Required. Immutable. The type of recommendation subscribed to.

createDateTime

string

Output only. Time in seconds when the subscription was first created. The datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.

modifyDateTime

string

Output only. Contains the time in microseconds, when the Recommendation Subscription was last updated. The datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.

status

enum (RecommendationSubscriptionStatus)

Required. Status of the subscription, either enabled or paused.

RecommendationSubscriptionStatus

Enum describing recommendation subscription statuses.

Enums
UNSPECIFIED Not specified.
UNKNOWN Output-only. Represents a format not yet defined in this enum.
ENABLED A subscription in the enabled state will automatically apply any recommendations of that type.
PAUSED Recommendations of the relevant type will not be automatically applied. Subscriptions cannot be deleted. Once created, they can only move between enabled and paused states.