Class: Google::Cloud::Channel::V1::ListPurchasableSkusRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Channel::V1::ListPurchasableSkusRequest
- 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
-
#change_offer_purchase ⇒ ::Google::Cloud::Channel::V1::ListPurchasableSkusRequest::ChangeOfferPurchase
List SKUs for ChangeOffer purchase with a new SKU.
-
#create_entitlement_purchase ⇒ ::Google::Cloud::Channel::V1::ListPurchasableSkusRequest::CreateEntitlementPurchase
List SKUs for CreateEntitlement purchase.
-
#customer ⇒ ::String
Required.
-
#language_code ⇒ ::String
Optional.
-
#page_size ⇒ ::Integer
Optional.
-
#page_token ⇒ ::String
Optional.
Instance Attribute Details
#change_offer_purchase ⇒ ::Google::Cloud::Channel::V1::ListPurchasableSkusRequest::ChangeOfferPurchase
Returns List SKUs for ChangeOffer purchase with a new SKU.
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 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 |
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1317 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.
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 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 |
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1317 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}.
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 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 |
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1317 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".
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 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 |
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1317 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.
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 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 |
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1317 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.
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 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 |
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1317 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 |