Cloud Channel V1 API - Class Google::Cloud::Channel::V1::EntitlementChange (v1.3.0)

Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::EntitlementChange.

Change event entry for Entitlement order history

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#activation_reason

def activation_reason() -> ::Google::Cloud::Channel::V1::EntitlementChange::ActivationReason
Returns
  • (::Google::Cloud::Channel::V1::EntitlementChange::ActivationReason) — The Entitlement's activation reason

    Note: The following fields are mutually exclusive: activation_reason, suspension_reason, cancellation_reason, other_change_reason. If a field in that set is populated, all other fields in the set will automatically be cleared.

#activation_reason=

def activation_reason=(value) -> ::Google::Cloud::Channel::V1::EntitlementChange::ActivationReason
Parameter
  • value (::Google::Cloud::Channel::V1::EntitlementChange::ActivationReason) — The Entitlement's activation reason

    Note: The following fields are mutually exclusive: activation_reason, suspension_reason, cancellation_reason, other_change_reason. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Channel::V1::EntitlementChange::ActivationReason) — The Entitlement's activation reason

    Note: The following fields are mutually exclusive: activation_reason, suspension_reason, cancellation_reason, other_change_reason. If a field in that set is populated, all other fields in the set will automatically be cleared.

#cancellation_reason

def cancellation_reason() -> ::Google::Cloud::Channel::V1::EntitlementChange::CancellationReason
Returns
  • (::Google::Cloud::Channel::V1::EntitlementChange::CancellationReason) — Cancellation reason for the Entitlement.

    Note: The following fields are mutually exclusive: cancellation_reason, suspension_reason, activation_reason, other_change_reason. If a field in that set is populated, all other fields in the set will automatically be cleared.

#cancellation_reason=

def cancellation_reason=(value) -> ::Google::Cloud::Channel::V1::EntitlementChange::CancellationReason
Parameter
  • value (::Google::Cloud::Channel::V1::EntitlementChange::CancellationReason) — Cancellation reason for the Entitlement.

    Note: The following fields are mutually exclusive: cancellation_reason, suspension_reason, activation_reason, other_change_reason. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Channel::V1::EntitlementChange::CancellationReason) — Cancellation reason for the Entitlement.

    Note: The following fields are mutually exclusive: cancellation_reason, suspension_reason, activation_reason, other_change_reason. If a field in that set is populated, all other fields in the set will automatically be cleared.

#change_type

def change_type() -> ::Google::Cloud::Channel::V1::EntitlementChange::ChangeType
Returns

#change_type=

def change_type=(value) -> ::Google::Cloud::Channel::V1::EntitlementChange::ChangeType
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#entitlement

def entitlement() -> ::String
Returns
  • (::String) — Required. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

#entitlement=

def entitlement=(value) -> ::String
Parameter
  • value (::String) — Required. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Returns
  • (::String) — Required. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

#offer

def offer() -> ::String
Returns
  • (::String) — Required. Resource name of the Offer at the time of change. Takes the form: accounts/{account_id}/offers/{offer_id}.

#offer=

def offer=(value) -> ::String
Parameter
  • value (::String) — Required. Resource name of the Offer at the time of change. Takes the form: accounts/{account_id}/offers/{offer_id}.
Returns
  • (::String) — Required. Resource name of the Offer at the time of change. Takes the form: accounts/{account_id}/offers/{offer_id}.

#operator

def operator() -> ::String
Returns
  • (::String) — Human-readable identifier that shows what operator made a change. When the operator_type is RESELLER, this is the user's email address. For all other operator types, this is empty.

#operator=

def operator=(value) -> ::String
Parameter
  • value (::String) — Human-readable identifier that shows what operator made a change. When the operator_type is RESELLER, this is the user's email address. For all other operator types, this is empty.
Returns
  • (::String) — Human-readable identifier that shows what operator made a change. When the operator_type is RESELLER, this is the user's email address. For all other operator types, this is empty.

#operator_type

def operator_type() -> ::Google::Cloud::Channel::V1::EntitlementChange::OperatorType
Returns

#operator_type=

def operator_type=(value) -> ::Google::Cloud::Channel::V1::EntitlementChange::OperatorType
Parameter
Returns

#other_change_reason

def other_change_reason() -> ::String
Returns
  • (::String) — e.g. purchase_number change reason, entered by CRS.

    Note: The following fields are mutually exclusive: other_change_reason, suspension_reason, cancellation_reason, activation_reason. If a field in that set is populated, all other fields in the set will automatically be cleared.

#other_change_reason=

def other_change_reason=(value) -> ::String
Parameter
  • value (::String) — e.g. purchase_number change reason, entered by CRS.

    Note: The following fields are mutually exclusive: other_change_reason, suspension_reason, cancellation_reason, activation_reason. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — e.g. purchase_number change reason, entered by CRS.

    Note: The following fields are mutually exclusive: other_change_reason, suspension_reason, cancellation_reason, activation_reason. If a field in that set is populated, all other fields in the set will automatically be cleared.

#parameters

def parameters() -> ::Array<::Google::Cloud::Channel::V1::Parameter>
Returns

#parameters=

def parameters=(value) -> ::Array<::Google::Cloud::Channel::V1::Parameter>
Parameter
  • value (::Array<::Google::Cloud::Channel::V1::Parameter>) — Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.
Returns

#provisioned_service

def provisioned_service() -> ::Google::Cloud::Channel::V1::ProvisionedService
Returns

#provisioned_service=

def provisioned_service=(value) -> ::Google::Cloud::Channel::V1::ProvisionedService
Parameter
Returns

#suspension_reason

def suspension_reason() -> ::Google::Cloud::Channel::V1::Entitlement::SuspensionReason
Returns
  • (::Google::Cloud::Channel::V1::Entitlement::SuspensionReason) — Suspension reason for the Entitlement.

    Note: The following fields are mutually exclusive: suspension_reason, cancellation_reason, activation_reason, other_change_reason. If a field in that set is populated, all other fields in the set will automatically be cleared.

#suspension_reason=

def suspension_reason=(value) -> ::Google::Cloud::Channel::V1::Entitlement::SuspensionReason
Parameter
  • value (::Google::Cloud::Channel::V1::Entitlement::SuspensionReason) — Suspension reason for the Entitlement.

    Note: The following fields are mutually exclusive: suspension_reason, cancellation_reason, activation_reason, other_change_reason. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Channel::V1::Entitlement::SuspensionReason) — Suspension reason for the Entitlement.

    Note: The following fields are mutually exclusive: suspension_reason, cancellation_reason, activation_reason, other_change_reason. If a field in that set is populated, all other fields in the set will automatically be cleared.