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.
899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 |
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 899 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.
899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 |
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 899 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}.
899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 |
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 899 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".
899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 |
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 899 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.
899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 |
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 899 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.
899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 |
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 899 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 |