Class: Google::Cloud::Channel::V1::ListPurchasableOffersRequest

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

Defined Under Namespace

Classes: ChangeOfferPurchase, CreateEntitlementPurchase

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns List Offers for ChangeOffer purchase.

Returns:



1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1392

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

  # List Offers for CreateEntitlement purchase.
  # @!attribute [rw] sku
  #   @return [::String]
  #     Required. SKU that the result should be restricted to.
  #     Format: products/\\{product_id}/skus/\\{sku_id}.
  # @!attribute [rw] billing_account
  #   @return [::String]
  #     Optional. Billing account that the result should be restricted to.
  #     Format: accounts/\\{account_id}/billingAccounts/\\{billing_account_id}.
  class CreateEntitlementPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # List Offers for ChangeOffer purchase.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Required. Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  # @!attribute [rw] new_sku
  #   @return [::String]
  #     Optional. Resource name of the new target SKU. Provide this SKU when
  #     upgrading or downgrading an entitlement. Format:
  #     products/\\{product_id}/skus/\\{sku_id}
  # @!attribute [rw] billing_account
  #   @return [::String]
  #     Optional. Resource name of the new target Billing Account. Provide this
  #     Billing Account when setting up billing for a trial subscription. Format:
  #     accounts/\\{account_id}/billingAccounts/\\{billing_account_id}.
  #
  #     This field is only relevant for multi-currency accounts. It should be
  #     left empty for single currency accounts.
  class ChangeOfferPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

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

Returns List Offers for CreateEntitlement purchase.

Returns:



1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1392

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

  # List Offers for CreateEntitlement purchase.
  # @!attribute [rw] sku
  #   @return [::String]
  #     Required. SKU that the result should be restricted to.
  #     Format: products/\\{product_id}/skus/\\{sku_id}.
  # @!attribute [rw] billing_account
  #   @return [::String]
  #     Optional. Billing account that the result should be restricted to.
  #     Format: accounts/\\{account_id}/billingAccounts/\\{billing_account_id}.
  class CreateEntitlementPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # List Offers for ChangeOffer purchase.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Required. Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  # @!attribute [rw] new_sku
  #   @return [::String]
  #     Optional. Resource name of the new target SKU. Provide this SKU when
  #     upgrading or downgrading an entitlement. Format:
  #     products/\\{product_id}/skus/\\{sku_id}
  # @!attribute [rw] billing_account
  #   @return [::String]
  #     Optional. Resource name of the new target Billing Account. Provide this
  #     Billing Account when setting up billing for a trial subscription. Format:
  #     accounts/\\{account_id}/billingAccounts/\\{billing_account_id}.
  #
  #     This field is only relevant for multi-currency accounts. It should be
  #     left empty for single currency accounts.
  class ChangeOfferPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#customer::String

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

Returns:

  • (::String)

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



1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1392

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

  # List Offers for CreateEntitlement purchase.
  # @!attribute [rw] sku
  #   @return [::String]
  #     Required. SKU that the result should be restricted to.
  #     Format: products/\\{product_id}/skus/\\{sku_id}.
  # @!attribute [rw] billing_account
  #   @return [::String]
  #     Optional. Billing account that the result should be restricted to.
  #     Format: accounts/\\{account_id}/billingAccounts/\\{billing_account_id}.
  class CreateEntitlementPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # List Offers for ChangeOffer purchase.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Required. Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  # @!attribute [rw] new_sku
  #   @return [::String]
  #     Optional. Resource name of the new target SKU. Provide this SKU when
  #     upgrading or downgrading an entitlement. Format:
  #     products/\\{product_id}/skus/\\{sku_id}
  # @!attribute [rw] billing_account
  #   @return [::String]
  #     Optional. Resource name of the new target Billing Account. Provide this
  #     Billing Account when setting up billing for a trial subscription. Format:
  #     accounts/\\{account_id}/billingAccounts/\\{billing_account_id}.
  #
  #     This field is only relevant for multi-currency accounts. It should be
  #     left empty for single currency accounts.
  class ChangeOfferPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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".



1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1392

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

  # List Offers for CreateEntitlement purchase.
  # @!attribute [rw] sku
  #   @return [::String]
  #     Required. SKU that the result should be restricted to.
  #     Format: products/\\{product_id}/skus/\\{sku_id}.
  # @!attribute [rw] billing_account
  #   @return [::String]
  #     Optional. Billing account that the result should be restricted to.
  #     Format: accounts/\\{account_id}/billingAccounts/\\{billing_account_id}.
  class CreateEntitlementPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # List Offers for ChangeOffer purchase.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Required. Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  # @!attribute [rw] new_sku
  #   @return [::String]
  #     Optional. Resource name of the new target SKU. Provide this SKU when
  #     upgrading or downgrading an entitlement. Format:
  #     products/\\{product_id}/skus/\\{sku_id}
  # @!attribute [rw] billing_account
  #   @return [::String]
  #     Optional. Resource name of the new target Billing Account. Provide this
  #     Billing Account when setting up billing for a trial subscription. Format:
  #     accounts/\\{account_id}/billingAccounts/\\{billing_account_id}.
  #
  #     This field is only relevant for multi-currency accounts. It should be
  #     left empty for single currency accounts.
  class ChangeOfferPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#page_size::Integer

Returns Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 Offers. 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 Offers. The maximum value is 1000; the server will coerce values above 1000.



1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1392

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

  # List Offers for CreateEntitlement purchase.
  # @!attribute [rw] sku
  #   @return [::String]
  #     Required. SKU that the result should be restricted to.
  #     Format: products/\\{product_id}/skus/\\{sku_id}.
  # @!attribute [rw] billing_account
  #   @return [::String]
  #     Optional. Billing account that the result should be restricted to.
  #     Format: accounts/\\{account_id}/billingAccounts/\\{billing_account_id}.
  class CreateEntitlementPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # List Offers for ChangeOffer purchase.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Required. Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  # @!attribute [rw] new_sku
  #   @return [::String]
  #     Optional. Resource name of the new target SKU. Provide this SKU when
  #     upgrading or downgrading an entitlement. Format:
  #     products/\\{product_id}/skus/\\{sku_id}
  # @!attribute [rw] billing_account
  #   @return [::String]
  #     Optional. Resource name of the new target Billing Account. Provide this
  #     Billing Account when setting up billing for a trial subscription. Format:
  #     accounts/\\{account_id}/billingAccounts/\\{billing_account_id}.
  #
  #     This field is only relevant for multi-currency accounts. It should be
  #     left empty for single currency accounts.
  class ChangeOfferPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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.



1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
# File 'proto_docs/google/cloud/channel/v1/service.rb', line 1392

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

  # List Offers for CreateEntitlement purchase.
  # @!attribute [rw] sku
  #   @return [::String]
  #     Required. SKU that the result should be restricted to.
  #     Format: products/\\{product_id}/skus/\\{sku_id}.
  # @!attribute [rw] billing_account
  #   @return [::String]
  #     Optional. Billing account that the result should be restricted to.
  #     Format: accounts/\\{account_id}/billingAccounts/\\{billing_account_id}.
  class CreateEntitlementPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # List Offers for ChangeOffer purchase.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Required. Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  # @!attribute [rw] new_sku
  #   @return [::String]
  #     Optional. Resource name of the new target SKU. Provide this SKU when
  #     upgrading or downgrading an entitlement. Format:
  #     products/\\{product_id}/skus/\\{sku_id}
  # @!attribute [rw] billing_account
  #   @return [::String]
  #     Optional. Resource name of the new target Billing Account. Provide this
  #     Billing Account when setting up billing for a trial subscription. Format:
  #     accounts/\\{account_id}/billingAccounts/\\{billing_account_id}.
  #
  #     This field is only relevant for multi-currency accounts. It should be
  #     left empty for single currency accounts.
  class ChangeOfferPurchase
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end