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:



1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1344

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}



1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1344

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