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

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

Overview

Request message for ListPurchasableSkus.

Defined Under Namespace

Classes: ChangeOfferPurchase, CreateEntitlementPurchase

Instance Attribute Summary collapse

Instance Attribute Details

#change_offer_purchase::Google::Cloud::Channel::V1::ListPurchasableSkusRequest::ChangeOfferPurchase

Returns List SKUs for ChangeOffer purchase with a new SKU.

Returns:



1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1301

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

  # List SKUs for a new entitlement. Make the purchase using
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#create_entitlement CloudChannelService.CreateEntitlement}.
  # @!attribute [rw] product
  #   @return [::String]
  #     Required. List SKUs belonging to this Product.
  #     Format: products/\\{product_id}.
  #     Supports products/- to retrieve SKUs for all products.
  class CreateEntitlementPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # List SKUs for upgrading or downgrading an entitlement. Make the purchase
  # using
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#change_offer CloudChannelService.ChangeOffer}.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Required. Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  # @!attribute [rw] change_type
  #   @return [::Google::Cloud::Channel::V1::ListPurchasableSkusRequest::ChangeOfferPurchase::ChangeType]
  #     Required. Change Type for the entitlement.
  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
end

#create_entitlement_purchase::Google::Cloud::Channel::V1::ListPurchasableSkusRequest::CreateEntitlementPurchase

Returns List SKUs for CreateEntitlement purchase.

Returns:



1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1301

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

  # List SKUs for a new entitlement. Make the purchase using
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#create_entitlement CloudChannelService.CreateEntitlement}.
  # @!attribute [rw] product
  #   @return [::String]
  #     Required. List SKUs belonging to this Product.
  #     Format: products/\\{product_id}.
  #     Supports products/- to retrieve SKUs for all products.
  class CreateEntitlementPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # List SKUs for upgrading or downgrading an entitlement. Make the purchase
  # using
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#change_offer CloudChannelService.ChangeOffer}.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Required. Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  # @!attribute [rw] change_type
  #   @return [::Google::Cloud::Channel::V1::ListPurchasableSkusRequest::ChangeOfferPurchase::ChangeType]
  #     Required. Change Type for the entitlement.
  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
end

#customer::String

Returns Required. The resource name of the customer to list SKUs for. Format: accounts/{account_id}/customers/{customer_id}.

Returns:

  • (::String)

    Required. The resource name of the customer to list SKUs for. Format: accounts/{account_id}/customers/{customer_id}.



1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1301

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

  # List SKUs for a new entitlement. Make the purchase using
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#create_entitlement CloudChannelService.CreateEntitlement}.
  # @!attribute [rw] product
  #   @return [::String]
  #     Required. List SKUs belonging to this Product.
  #     Format: products/\\{product_id}.
  #     Supports products/- to retrieve SKUs for all products.
  class CreateEntitlementPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # List SKUs for upgrading or downgrading an entitlement. Make the purchase
  # using
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#change_offer CloudChannelService.ChangeOffer}.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Required. Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  # @!attribute [rw] change_type
  #   @return [::Google::Cloud::Channel::V1::ListPurchasableSkusRequest::ChangeOfferPurchase::ChangeType]
  #     Required. Change Type for the entitlement.
  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
end

#language_code::String

Returns Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

Returns:

  • (::String)

    Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".



1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1301

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

  # List SKUs for a new entitlement. Make the purchase using
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#create_entitlement CloudChannelService.CreateEntitlement}.
  # @!attribute [rw] product
  #   @return [::String]
  #     Required. List SKUs belonging to this Product.
  #     Format: products/\\{product_id}.
  #     Supports products/- to retrieve SKUs for all products.
  class CreateEntitlementPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # List SKUs for upgrading or downgrading an entitlement. Make the purchase
  # using
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#change_offer CloudChannelService.ChangeOffer}.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Required. Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  # @!attribute [rw] change_type
  #   @return [::Google::Cloud::Channel::V1::ListPurchasableSkusRequest::ChangeOfferPurchase::ChangeType]
  #     Required. Change Type for the entitlement.
  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
end

#page_size::Integer

Returns Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. The maximum value is 1000; the server will coerce values above 1000.

Returns:

  • (::Integer)

    Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. The maximum value is 1000; the server will coerce values above 1000.



1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1301

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

  # List SKUs for a new entitlement. Make the purchase using
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#create_entitlement CloudChannelService.CreateEntitlement}.
  # @!attribute [rw] product
  #   @return [::String]
  #     Required. List SKUs belonging to this Product.
  #     Format: products/\\{product_id}.
  #     Supports products/- to retrieve SKUs for all products.
  class CreateEntitlementPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # List SKUs for upgrading or downgrading an entitlement. Make the purchase
  # using
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#change_offer CloudChannelService.ChangeOffer}.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Required. Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  # @!attribute [rw] change_type
  #   @return [::Google::Cloud::Channel::V1::ListPurchasableSkusRequest::ChangeOfferPurchase::ChangeType]
  #     Required. Change Type for the entitlement.
  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
end

#page_token::String

Returns Optional. A token for a page of results other than the first page.

Returns:

  • (::String)

    Optional. A token for a page of results other than the first page.



1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1301

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

  # List SKUs for a new entitlement. Make the purchase using
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#create_entitlement CloudChannelService.CreateEntitlement}.
  # @!attribute [rw] product
  #   @return [::String]
  #     Required. List SKUs belonging to this Product.
  #     Format: products/\\{product_id}.
  #     Supports products/- to retrieve SKUs for all products.
  class CreateEntitlementPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # List SKUs for upgrading or downgrading an entitlement. Make the purchase
  # using
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#change_offer CloudChannelService.ChangeOffer}.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Required. Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  # @!attribute [rw] change_type
  #   @return [::Google::Cloud::Channel::V1::ListPurchasableSkusRequest::ChangeOfferPurchase::ChangeType]
  #     Required. Change Type for the entitlement.
  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
end