Class: Google::Cloud::Channel::V1::Entitlement

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

Overview

An entitlement is a representation of a customer's ability to use a service.

Defined Under Namespace

Modules: ProvisioningState, SuspensionReason

Instance Attribute Summary collapse

Instance Attribute Details

#association_info::Google::Cloud::Channel::V1::AssociationInfo

Returns Association information to other entitlements.

Returns:



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
106
107
108
109
110
111
112
113
114
# File 'proto_docs/google/cloud/channel/v1/entitlements.rb', line 77

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

  # Indicates the current provisioning state of the entitlement.
  module ProvisioningState
    # Default value. This state doesn't show unless an error occurs.
    PROVISIONING_STATE_UNSPECIFIED = 0

    # The entitlement is currently active.
    ACTIVE = 1

    # The entitlement is currently suspended.
    SUSPENDED = 5
  end

  # Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
  module SuspensionReason
    # Default value. This state doesn't show unless an error occurs.
    SUSPENSION_REASON_UNSPECIFIED = 0

    # Entitlement was manually suspended by the Reseller.
    RESELLER_INITIATED = 1

    # Trial ended.
    TRIAL_ENDED = 2

    # Entitlement renewal was canceled.
    RENEWAL_WITH_TYPE_CANCEL = 3

    # Entitlement was automatically suspended on creation for pending ToS
    # acceptance on customer.
    PENDING_TOS_ACCEPTANCE = 4

    # Other reasons (internal reasons, abuse, etc.).
    OTHER = 100
  end
end

#commitment_settings::Google::Cloud::Channel::V1::CommitmentSettings

Returns Commitment settings for a commitment-based Offer. Required for commitment based offers.

Returns:



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
106
107
108
109
110
111
112
113
114
# File 'proto_docs/google/cloud/channel/v1/entitlements.rb', line 77

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

  # Indicates the current provisioning state of the entitlement.
  module ProvisioningState
    # Default value. This state doesn't show unless an error occurs.
    PROVISIONING_STATE_UNSPECIFIED = 0

    # The entitlement is currently active.
    ACTIVE = 1

    # The entitlement is currently suspended.
    SUSPENDED = 5
  end

  # Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
  module SuspensionReason
    # Default value. This state doesn't show unless an error occurs.
    SUSPENSION_REASON_UNSPECIFIED = 0

    # Entitlement was manually suspended by the Reseller.
    RESELLER_INITIATED = 1

    # Trial ended.
    TRIAL_ENDED = 2

    # Entitlement renewal was canceled.
    RENEWAL_WITH_TYPE_CANCEL = 3

    # Entitlement was automatically suspended on creation for pending ToS
    # acceptance on customer.
    PENDING_TOS_ACCEPTANCE = 4

    # Other reasons (internal reasons, abuse, etc.).
    OTHER = 100
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time at which the entitlement is created.

Returns:



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
106
107
108
109
110
111
112
113
114
# File 'proto_docs/google/cloud/channel/v1/entitlements.rb', line 77

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

  # Indicates the current provisioning state of the entitlement.
  module ProvisioningState
    # Default value. This state doesn't show unless an error occurs.
    PROVISIONING_STATE_UNSPECIFIED = 0

    # The entitlement is currently active.
    ACTIVE = 1

    # The entitlement is currently suspended.
    SUSPENDED = 5
  end

  # Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
  module SuspensionReason
    # Default value. This state doesn't show unless an error occurs.
    SUSPENSION_REASON_UNSPECIFIED = 0

    # Entitlement was manually suspended by the Reseller.
    RESELLER_INITIATED = 1

    # Trial ended.
    TRIAL_ENDED = 2

    # Entitlement renewal was canceled.
    RENEWAL_WITH_TYPE_CANCEL = 3

    # Entitlement was automatically suspended on creation for pending ToS
    # acceptance on customer.
    PENDING_TOS_ACCEPTANCE = 4

    # Other reasons (internal reasons, abuse, etc.).
    OTHER = 100
  end
end

#name::String (readonly)

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

Returns:

  • (::String)

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



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
106
107
108
109
110
111
112
113
114
# File 'proto_docs/google/cloud/channel/v1/entitlements.rb', line 77

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

  # Indicates the current provisioning state of the entitlement.
  module ProvisioningState
    # Default value. This state doesn't show unless an error occurs.
    PROVISIONING_STATE_UNSPECIFIED = 0

    # The entitlement is currently active.
    ACTIVE = 1

    # The entitlement is currently suspended.
    SUSPENDED = 5
  end

  # Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
  module SuspensionReason
    # Default value. This state doesn't show unless an error occurs.
    SUSPENSION_REASON_UNSPECIFIED = 0

    # Entitlement was manually suspended by the Reseller.
    RESELLER_INITIATED = 1

    # Trial ended.
    TRIAL_ENDED = 2

    # Entitlement renewal was canceled.
    RENEWAL_WITH_TYPE_CANCEL = 3

    # Entitlement was automatically suspended on creation for pending ToS
    # acceptance on customer.
    PENDING_TOS_ACCEPTANCE = 4

    # Other reasons (internal reasons, abuse, etc.).
    OTHER = 100
  end
end

#offer::String

Returns Required. The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.

Returns:

  • (::String)

    Required. The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.



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
106
107
108
109
110
111
112
113
114
# File 'proto_docs/google/cloud/channel/v1/entitlements.rb', line 77

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

  # Indicates the current provisioning state of the entitlement.
  module ProvisioningState
    # Default value. This state doesn't show unless an error occurs.
    PROVISIONING_STATE_UNSPECIFIED = 0

    # The entitlement is currently active.
    ACTIVE = 1

    # The entitlement is currently suspended.
    SUSPENDED = 5
  end

  # Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
  module SuspensionReason
    # Default value. This state doesn't show unless an error occurs.
    SUSPENSION_REASON_UNSPECIFIED = 0

    # Entitlement was manually suspended by the Reseller.
    RESELLER_INITIATED = 1

    # Trial ended.
    TRIAL_ENDED = 2

    # Entitlement renewal was canceled.
    RENEWAL_WITH_TYPE_CANCEL = 3

    # Entitlement was automatically suspended on creation for pending ToS
    # acceptance on customer.
    PENDING_TOS_ACCEPTANCE = 4

    # Other reasons (internal reasons, abuse, etc.).
    OTHER = 100
  end
end

#parameters::Array<::Google::Cloud::Channel::V1::Parameter>

Returns Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the Offer.parameter_definitions.

The response may include the following output-only Parameters:

  • assigned_units: The number of licenses assigned to a user.

  • max_units: The maximum assignable units for a flexible offer.

  • num_units: The total commitment for commitment-based offers.

Returns:

  • (::Array<::Google::Cloud::Channel::V1::Parameter>)

    Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the Offer.parameter_definitions.

    The response may include the following output-only Parameters:

    • assigned_units: The number of licenses assigned to a user.

    • max_units: The maximum assignable units for a flexible offer.

    • num_units: The total commitment for commitment-based offers.



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
106
107
108
109
110
111
112
113
114
# File 'proto_docs/google/cloud/channel/v1/entitlements.rb', line 77

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

  # Indicates the current provisioning state of the entitlement.
  module ProvisioningState
    # Default value. This state doesn't show unless an error occurs.
    PROVISIONING_STATE_UNSPECIFIED = 0

    # The entitlement is currently active.
    ACTIVE = 1

    # The entitlement is currently suspended.
    SUSPENDED = 5
  end

  # Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
  module SuspensionReason
    # Default value. This state doesn't show unless an error occurs.
    SUSPENSION_REASON_UNSPECIFIED = 0

    # Entitlement was manually suspended by the Reseller.
    RESELLER_INITIATED = 1

    # Trial ended.
    TRIAL_ENDED = 2

    # Entitlement renewal was canceled.
    RENEWAL_WITH_TYPE_CANCEL = 3

    # Entitlement was automatically suspended on creation for pending ToS
    # acceptance on customer.
    PENDING_TOS_ACCEPTANCE = 4

    # Other reasons (internal reasons, abuse, etc.).
    OTHER = 100
  end
end

#provisioned_service::Google::Cloud::Channel::V1::ProvisionedService (readonly)

Returns Output only. Service provisioning details for the entitlement.

Returns:



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
106
107
108
109
110
111
112
113
114
# File 'proto_docs/google/cloud/channel/v1/entitlements.rb', line 77

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

  # Indicates the current provisioning state of the entitlement.
  module ProvisioningState
    # Default value. This state doesn't show unless an error occurs.
    PROVISIONING_STATE_UNSPECIFIED = 0

    # The entitlement is currently active.
    ACTIVE = 1

    # The entitlement is currently suspended.
    SUSPENDED = 5
  end

  # Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
  module SuspensionReason
    # Default value. This state doesn't show unless an error occurs.
    SUSPENSION_REASON_UNSPECIFIED = 0

    # Entitlement was manually suspended by the Reseller.
    RESELLER_INITIATED = 1

    # Trial ended.
    TRIAL_ENDED = 2

    # Entitlement renewal was canceled.
    RENEWAL_WITH_TYPE_CANCEL = 3

    # Entitlement was automatically suspended on creation for pending ToS
    # acceptance on customer.
    PENDING_TOS_ACCEPTANCE = 4

    # Other reasons (internal reasons, abuse, etc.).
    OTHER = 100
  end
end

#provisioning_state::Google::Cloud::Channel::V1::Entitlement::ProvisioningState (readonly)

Returns Output only. Current provisioning state of the entitlement.

Returns:



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
106
107
108
109
110
111
112
113
114
# File 'proto_docs/google/cloud/channel/v1/entitlements.rb', line 77

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

  # Indicates the current provisioning state of the entitlement.
  module ProvisioningState
    # Default value. This state doesn't show unless an error occurs.
    PROVISIONING_STATE_UNSPECIFIED = 0

    # The entitlement is currently active.
    ACTIVE = 1

    # The entitlement is currently suspended.
    SUSPENDED = 5
  end

  # Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
  module SuspensionReason
    # Default value. This state doesn't show unless an error occurs.
    SUSPENSION_REASON_UNSPECIFIED = 0

    # Entitlement was manually suspended by the Reseller.
    RESELLER_INITIATED = 1

    # Trial ended.
    TRIAL_ENDED = 2

    # Entitlement renewal was canceled.
    RENEWAL_WITH_TYPE_CANCEL = 3

    # Entitlement was automatically suspended on creation for pending ToS
    # acceptance on customer.
    PENDING_TOS_ACCEPTANCE = 4

    # Other reasons (internal reasons, abuse, etc.).
    OTHER = 100
  end
end

#purchase_order_id::String

Returns Optional. This purchase order (PO) information is for resellers to use for their company tracking usage. If a purchaseOrderId value is given, it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters.

Returns:

  • (::String)

    Optional. This purchase order (PO) information is for resellers to use for their company tracking usage. If a purchaseOrderId value is given, it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters.



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
106
107
108
109
110
111
112
113
114
# File 'proto_docs/google/cloud/channel/v1/entitlements.rb', line 77

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

  # Indicates the current provisioning state of the entitlement.
  module ProvisioningState
    # Default value. This state doesn't show unless an error occurs.
    PROVISIONING_STATE_UNSPECIFIED = 0

    # The entitlement is currently active.
    ACTIVE = 1

    # The entitlement is currently suspended.
    SUSPENDED = 5
  end

  # Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
  module SuspensionReason
    # Default value. This state doesn't show unless an error occurs.
    SUSPENSION_REASON_UNSPECIFIED = 0

    # Entitlement was manually suspended by the Reseller.
    RESELLER_INITIATED = 1

    # Trial ended.
    TRIAL_ENDED = 2

    # Entitlement renewal was canceled.
    RENEWAL_WITH_TYPE_CANCEL = 3

    # Entitlement was automatically suspended on creation for pending ToS
    # acceptance on customer.
    PENDING_TOS_ACCEPTANCE = 4

    # Other reasons (internal reasons, abuse, etc.).
    OTHER = 100
  end
end

#suspension_reasons::Array<::Google::Cloud::Channel::V1::Entitlement::SuspensionReason> (readonly)

Returns Output only. Enumerable of all current suspension reasons for an entitlement.

Returns:



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
106
107
108
109
110
111
112
113
114
# File 'proto_docs/google/cloud/channel/v1/entitlements.rb', line 77

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

  # Indicates the current provisioning state of the entitlement.
  module ProvisioningState
    # Default value. This state doesn't show unless an error occurs.
    PROVISIONING_STATE_UNSPECIFIED = 0

    # The entitlement is currently active.
    ACTIVE = 1

    # The entitlement is currently suspended.
    SUSPENDED = 5
  end

  # Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
  module SuspensionReason
    # Default value. This state doesn't show unless an error occurs.
    SUSPENSION_REASON_UNSPECIFIED = 0

    # Entitlement was manually suspended by the Reseller.
    RESELLER_INITIATED = 1

    # Trial ended.
    TRIAL_ENDED = 2

    # Entitlement renewal was canceled.
    RENEWAL_WITH_TYPE_CANCEL = 3

    # Entitlement was automatically suspended on creation for pending ToS
    # acceptance on customer.
    PENDING_TOS_ACCEPTANCE = 4

    # Other reasons (internal reasons, abuse, etc.).
    OTHER = 100
  end
end

#trial_settings::Google::Cloud::Channel::V1::TrialSettings (readonly)

Returns Output only. Settings for trial offers.

Returns:



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
106
107
108
109
110
111
112
113
114
# File 'proto_docs/google/cloud/channel/v1/entitlements.rb', line 77

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

  # Indicates the current provisioning state of the entitlement.
  module ProvisioningState
    # Default value. This state doesn't show unless an error occurs.
    PROVISIONING_STATE_UNSPECIFIED = 0

    # The entitlement is currently active.
    ACTIVE = 1

    # The entitlement is currently suspended.
    SUSPENDED = 5
  end

  # Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
  module SuspensionReason
    # Default value. This state doesn't show unless an error occurs.
    SUSPENSION_REASON_UNSPECIFIED = 0

    # Entitlement was manually suspended by the Reseller.
    RESELLER_INITIATED = 1

    # Trial ended.
    TRIAL_ENDED = 2

    # Entitlement renewal was canceled.
    RENEWAL_WITH_TYPE_CANCEL = 3

    # Entitlement was automatically suspended on creation for pending ToS
    # acceptance on customer.
    PENDING_TOS_ACCEPTANCE = 4

    # Other reasons (internal reasons, abuse, etc.).
    OTHER = 100
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time at which the entitlement is updated.

Returns:



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
106
107
108
109
110
111
112
113
114
# File 'proto_docs/google/cloud/channel/v1/entitlements.rb', line 77

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

  # Indicates the current provisioning state of the entitlement.
  module ProvisioningState
    # Default value. This state doesn't show unless an error occurs.
    PROVISIONING_STATE_UNSPECIFIED = 0

    # The entitlement is currently active.
    ACTIVE = 1

    # The entitlement is currently suspended.
    SUSPENDED = 5
  end

  # Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
  module SuspensionReason
    # Default value. This state doesn't show unless an error occurs.
    SUSPENSION_REASON_UNSPECIFIED = 0

    # Entitlement was manually suspended by the Reseller.
    RESELLER_INITIATED = 1

    # Trial ended.
    TRIAL_ENDED = 2

    # Entitlement renewal was canceled.
    RENEWAL_WITH_TYPE_CANCEL = 3

    # Entitlement was automatically suspended on creation for pending ToS
    # acceptance on customer.
    PENDING_TOS_ACCEPTANCE = 4

    # Other reasons (internal reasons, abuse, etc.).
    OTHER = 100
  end
end