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:



1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1175

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:



1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1175

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}.



1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1175

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".



1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1175

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.



1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1175

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.



1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1175

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