Class: Google::Cloud::Channel::V1::ListPurchasableSkusRequest::ChangeOfferPurchase

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

Overview

List SKUs for upgrading or downgrading an entitlement. Make the purchase using CloudChannelService.ChangeOffer.

Defined Under Namespace

Modules: ChangeType

Instance Attribute Summary collapse

Instance Attribute Details

#change_type::Google::Cloud::Channel::V1::ListPurchasableSkusRequest::ChangeOfferPurchase::ChangeType

Returns Required. Change Type for the entitlement.

Returns:



1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1202

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

  # Change Type enum.
  module ChangeType
    # Not used.
    CHANGE_TYPE_UNSPECIFIED = 0

    # SKU is an upgrade on the current entitlement.
    UPGRADE = 1

    # SKU is a downgrade on the current entitlement.
    DOWNGRADE = 2
  end
end

#entitlement::String

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

Returns:

  • (::String)

    Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}



1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1202

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

  # Change Type enum.
  module ChangeType
    # Not used.
    CHANGE_TYPE_UNSPECIFIED = 0

    # SKU is an upgrade on the current entitlement.
    UPGRADE = 1

    # SKU is a downgrade on the current entitlement.
    DOWNGRADE = 2
  end
end