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:



1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1328

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}



1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1328

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