Class: Google::Cloud::Channel::V1::EntitlementEvent

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/channel/v1/subscriber_event.rb

Overview

Represents Pub/Sub message content describing entitlement update.

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#entitlement::String

Returns Resource name of an entitlement of the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.

Returns:

  • (::String)

    Resource name of an entitlement of the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# File 'proto_docs/google/cloud/channel/v1/subscriber_event.rb', line 57

class EntitlementEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of entitlement event.
  module Type
    # Not used.
    TYPE_UNSPECIFIED = 0

    # A new entitlement was created.
    CREATED = 1

    # The offer type associated with an entitlement was changed.
    # This is not triggered if an entitlement converts from a commit offer to a
    # flexible offer as part of a renewal.
    PRICE_PLAN_SWITCHED = 3

    # Annual commitment for a commit plan was changed.
    COMMITMENT_CHANGED = 4

    # An annual entitlement was renewed.
    RENEWED = 5

    # Entitlement was suspended.
    SUSPENDED = 6

    # Entitlement was unsuspended.
    ACTIVATED = 7

    # Entitlement was cancelled.
    CANCELLED = 8

    # Entitlement was upgraded or downgraded (e.g. from Google Workspace
    # Business Standard to Google Workspace Business Plus).
    SKU_CHANGED = 9

    # The renewal settings of an entitlement has changed.
    RENEWAL_SETTING_CHANGED = 10

    # Paid service has started on trial entitlement.
    PAID_SERVICE_STARTED = 11

    # License was assigned to or revoked from a user.
    LICENSE_ASSIGNMENT_CHANGED = 12

    # License cap was changed for the entitlement.
    LICENSE_CAP_CHANGED = 13
  end
end

#event_type::Google::Cloud::Channel::V1::EntitlementEvent::Type

Returns Type of event which happened on the entitlement.

Returns:



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# File 'proto_docs/google/cloud/channel/v1/subscriber_event.rb', line 57

class EntitlementEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of entitlement event.
  module Type
    # Not used.
    TYPE_UNSPECIFIED = 0

    # A new entitlement was created.
    CREATED = 1

    # The offer type associated with an entitlement was changed.
    # This is not triggered if an entitlement converts from a commit offer to a
    # flexible offer as part of a renewal.
    PRICE_PLAN_SWITCHED = 3

    # Annual commitment for a commit plan was changed.
    COMMITMENT_CHANGED = 4

    # An annual entitlement was renewed.
    RENEWED = 5

    # Entitlement was suspended.
    SUSPENDED = 6

    # Entitlement was unsuspended.
    ACTIVATED = 7

    # Entitlement was cancelled.
    CANCELLED = 8

    # Entitlement was upgraded or downgraded (e.g. from Google Workspace
    # Business Standard to Google Workspace Business Plus).
    SKU_CHANGED = 9

    # The renewal settings of an entitlement has changed.
    RENEWAL_SETTING_CHANGED = 10

    # Paid service has started on trial entitlement.
    PAID_SERVICE_STARTED = 11

    # License was assigned to or revoked from a user.
    LICENSE_ASSIGNMENT_CHANGED = 12

    # License cap was changed for the entitlement.
    LICENSE_CAP_CHANGED = 13
  end
end