EntitlementChange

google.cloud.channel.v1. EntitlementChange

Represents an EntitlementChange.

Constructor

new EntitlementChange(propertiesopt)

Constructs a new EntitlementChange.

Parameters:
Name Type Attributes Description
properties google.cloud.channel.v1.IEntitlementChange <optional>

Properties to set

Implements:
  • IEntitlementChange

Members

activationReason

EntitlementChange activationReason.

cancellationReason

EntitlementChange cancellationReason.

changeReason

EntitlementChange changeReason.

changeType

EntitlementChange changeType.

createTime

EntitlementChange createTime.

entitlement

EntitlementChange entitlement.

offer

EntitlementChange offer.

operator

EntitlementChange operator.

operatorType

EntitlementChange operatorType.

otherChangeReason

EntitlementChange otherChangeReason.

parameters

EntitlementChange parameters.

provisionedService

EntitlementChange provisionedService.

suspensionReason

EntitlementChange suspensionReason.

ActivationReason

ActivationReason enum.

Properties:
Name Type Description
ACTIVATION_REASON_UNSPECIFIED number

ACTIVATION_REASON_UNSPECIFIED value

RESELLER_REVOKED_SUSPENSION number

RESELLER_REVOKED_SUSPENSION value

CUSTOMER_ACCEPTED_PENDING_TOS number

CUSTOMER_ACCEPTED_PENDING_TOS value

RENEWAL_SETTINGS_CHANGED number

RENEWAL_SETTINGS_CHANGED value

OTHER_ACTIVATION_REASON number

OTHER_ACTIVATION_REASON value

CancellationReason

CancellationReason enum.

Properties:
Name Type Description
CANCELLATION_REASON_UNSPECIFIED number

CANCELLATION_REASON_UNSPECIFIED value

SERVICE_TERMINATED number

SERVICE_TERMINATED value

RELATIONSHIP_ENDED number

RELATIONSHIP_ENDED value

PARTIAL_TRANSFER number

PARTIAL_TRANSFER value

ChangeType

ChangeType enum.

Properties:
Name Type Description
CHANGE_TYPE_UNSPECIFIED number

CHANGE_TYPE_UNSPECIFIED value

CREATED number

CREATED value

PRICE_PLAN_SWITCHED number

PRICE_PLAN_SWITCHED value

COMMITMENT_CHANGED number

COMMITMENT_CHANGED value

RENEWED number

RENEWED value

SUSPENDED number

SUSPENDED value

ACTIVATED number

ACTIVATED value

CANCELLED number

CANCELLED value

SKU_CHANGED number

SKU_CHANGED value

RENEWAL_SETTING_CHANGED number

RENEWAL_SETTING_CHANGED value

PAID_SUBSCRIPTION_STARTED number

PAID_SUBSCRIPTION_STARTED value

LICENSE_CAP_CHANGED number

LICENSE_CAP_CHANGED value

SUSPENSION_DETAILS_CHANGED number

SUSPENSION_DETAILS_CHANGED value

TRIAL_END_DATE_EXTENDED number

TRIAL_END_DATE_EXTENDED value

TRIAL_STARTED number

TRIAL_STARTED value

OperatorType

OperatorType enum.

Properties:
Name Type Description
OPERATOR_TYPE_UNSPECIFIED number

OPERATOR_TYPE_UNSPECIFIED value

CUSTOMER_SERVICE_REPRESENTATIVE number

CUSTOMER_SERVICE_REPRESENTATIVE value

SYSTEM number

SYSTEM value

CUSTOMER number

CUSTOMER value

RESELLER number

RESELLER value

Methods

toJSON() → {Object.<string, *>}

Converts this EntitlementChange to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) create(propertiesopt) → {google.cloud.channel.v1.EntitlementChange}

Creates a new EntitlementChange instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.channel.v1.IEntitlementChange <optional>

Properties to set

Returns:
Type Description
google.cloud.channel.v1.EntitlementChange

EntitlementChange instance

(static) decode(reader, lengthopt) → {google.cloud.channel.v1.EntitlementChange}

Decodes an EntitlementChange message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Returns:
Type Description
google.cloud.channel.v1.EntitlementChange

EntitlementChange

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.channel.v1.EntitlementChange}

Decodes an EntitlementChange message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Returns:
Type Description
google.cloud.channel.v1.EntitlementChange

EntitlementChange

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified EntitlementChange message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.channel.v1.IEntitlementChange

EntitlementChange message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified EntitlementChange message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.channel.v1.IEntitlementChange

EntitlementChange message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) fromObject(object) → {google.cloud.channel.v1.EntitlementChange}

Creates an EntitlementChange message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.cloud.channel.v1.EntitlementChange

EntitlementChange

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for EntitlementChange

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from an EntitlementChange message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.channel.v1.EntitlementChange

EntitlementChange

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) verify(message) → {string|null}

Verifies an EntitlementChange message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

Returns:
Type Description
string | null

null if valid, otherwise the reason why it is not