class Google::Apis::CloudchannelV1::GoogleCloudChannelV1EntitlementEvent

Represents Pub/Sub message content describing entitlement update.

Attributes

entitlement[RW]

Resource name of an entitlement of the form: accounts/`account_id`/customers/` customer_id`/entitlements/`entitlement_id` Corresponds to the JSON property `entitlement` @return [String]

event_type[RW]

Type of event which happened on the entitlement. Corresponds to the JSON property `eventType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudchannel_v1/classes.rb, line 884
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudchannel_v1/classes.rb, line 889
def update!(**args)
  @entitlement = args[:entitlement] if args.key?(:entitlement)
  @event_type = args[:event_type] if args.key?(:event_type)
end