Google Cloud Discovery Engine V1 Client - Class SubscriptionTerm (1.17.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class SubscriptionTerm.

Subscription term.

Protobuf type google.cloud.discoveryengine.v1.SubscriptionTerm

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SUBSCRIPTION_TERM_UNSPECIFIED

Value: 0

Default value, do not use.

Generated from protobuf enum SUBSCRIPTION_TERM_UNSPECIFIED = 0;

SUBSCRIPTION_TERM_ONE_MONTH

Value: 1

1 month.

Generated from protobuf enum SUBSCRIPTION_TERM_ONE_MONTH = 1;

SUBSCRIPTION_TERM_ONE_YEAR

Value: 2

1 year.

Generated from protobuf enum SUBSCRIPTION_TERM_ONE_YEAR = 2;

SUBSCRIPTION_TERM_THREE_YEARS

Value: 3

3 years.

Generated from protobuf enum SUBSCRIPTION_TERM_THREE_YEARS = 3;

SUBSCRIPTION_TERM_CUSTOM

Value: 6

Custom term. Must set the end_date.

Generated from protobuf enum SUBSCRIPTION_TERM_CUSTOM = 6;