Returns the channelPartnerLinks Resource.
Returns the customers Resource.
Returns the offers Resource.
Returns the reportJobs Resource.
Returns the reports Resource.
Returns the skuGroups Resource.
checkCloudIdentityAccountsExist(parent, body=None, x__xgafv=None)
Confirms the existence of Cloud Identity accounts based on the domain and if the Cloud Identity accounts are owned by the reseller. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INVALID_VALUE: Invalid domain value in the request. Return value: A list of CloudIdentityCustomerAccount resources for the domain (may be empty) Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if no CloudIdentityCustomerAccount resources match the domain.
Close httplib2 connections.
listSubscribers(account, integrator=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists service accounts with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: A list of service email addresses.
Retrieves the next page of results.
listTransferableOffers(parent, body=None, x__xgafv=None)
List TransferableOffers of a customer based on Cloud Identity ID or Customer Name in the request. Use this method when a reseller gets the entitlement information of an unowned customer. The reseller should provide the customer's Cloud Identity ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth token. * The customer provided incorrect reseller information when generating auth token. * The reseller account making the request is different from the reseller account in the query. * The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of TransferableOffer for the given customer and SKU.
Retrieves the next page of results.
listTransferableSkus(parent, body=None, x__xgafv=None)
List TransferableSkus of a customer based on the Cloud Identity ID or Customer Name in the request. Use this method to list the entitlements information of an unowned customer. You should provide the customer's Cloud Identity ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth token. * The supplied auth token is invalid. * The reseller account making the request is different from the reseller account in the query. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: A list of the customer's TransferableSku.
Retrieves the next page of results.
register(account, body=None, x__xgafv=None)
Registers a service account with subscriber privileges on the Pub/Sub topic for this Channel Services account or integrator. After you create a subscriber, you get the events through SubscriberEvent Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name with the registered service email address.
unregister(account, body=None, x__xgafv=None)
Unregisters a service account with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator. If there are no service accounts left with subscriber privileges, this deletes the topic. You can call ListSubscribers to check for these accounts. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that unregistered the service email address. Returns a success response if the service email address wasn't registered with the topic.
checkCloudIdentityAccountsExist(parent, body=None, x__xgafv=None)
Confirms the existence of Cloud Identity accounts based on the domain and if the Cloud Identity accounts are owned by the reseller. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INVALID_VALUE: Invalid domain value in the request. Return value: A list of CloudIdentityCustomerAccount resources for the domain (may be empty) Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if no CloudIdentityCustomerAccount resources match the domain. Args: parent: string, Required. The reseller account's resource name. Parent uses the format: accounts/{account_id} (required) body: object, The request body. The object takes the form of: { # Request message for CloudChannelService.CheckCloudIdentityAccountsExist. "domain": "A String", # Required. Domain to fetch for Cloud Identity account customers, including domain and team customers. For team customers, please use the domain for their emails. "primaryAdminEmail": "A String", # Optional. Primary admin email to fetch for Cloud Identity account team customer. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response message for CloudChannelService.CheckCloudIdentityAccountsExist. "cloudIdentityAccounts": [ # The Cloud Identity accounts associated with the domain. { # Entity representing a Cloud Identity account that may be associated with a Channel Services API partner. "channelPartnerCloudIdentityId": "A String", # If existing = true, and is 2-tier customer, the channel partner of the customer. "customerCloudIdentityId": "A String", # If existing = true, the Cloud Identity ID of the customer. "customerName": "A String", # If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id} "customerType": "A String", # If existing = true, the type of the customer. "existing": True or False, # Returns true if a Cloud Identity account exists for a specific domain. "owned": True or False, # Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner (with active subscriptions or purchase consents). }, ], }
close()
Close httplib2 connections.
listSubscribers(account, integrator=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists service accounts with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: A list of service email addresses. Args: account: string, Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. (required) integrator: string, Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. pageSize: integer, Optional. The maximum number of service accounts to return. The service may return fewer than this value. If unspecified, returns at most 100 service accounts. The maximum value is 1000; the server will coerce values above 1000. pageToken: string, Optional. A page token, received from a previous `ListSubscribers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSubscribers` must match the call that provided the page token. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response Message for ListSubscribers. "nextPageToken": "A String", # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. "serviceAccounts": [ # List of service accounts which have subscriber access to the topic. "A String", ], "topic": "A String", # Name of the topic registered with the reseller. }
listSubscribers_next()
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
listTransferableOffers(parent, body=None, x__xgafv=None)
List TransferableOffers of a customer based on Cloud Identity ID or Customer Name in the request. Use this method when a reseller gets the entitlement information of an unowned customer. The reseller should provide the customer's Cloud Identity ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth token. * The customer provided incorrect reseller information when generating auth token. * The reseller account making the request is different from the reseller account in the query. * The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of TransferableOffer for the given customer and SKU. Args: parent: string, Required. The resource name of the reseller's account. (required) body: object, The request body. The object takes the form of: { # Request message for CloudChannelService.ListTransferableOffers "billingAccount": "A String", # Optional. The Billing Account to look up Offers for. 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. "cloudIdentityId": "A String", # Customer's Cloud Identity ID "customerName": "A String", # A reseller should create a customer and use the resource name of that customer here. "languageCode": "A 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". "pageSize": 42, # 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. "pageToken": "A String", # A token for a page of results other than the first page. Obtained using ListTransferableOffersResponse.next_page_token of the previous CloudChannelService.ListTransferableOffers call. "sku": "A String", # Required. The SKU to look up Offers for. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response message for CloudChannelService.ListTransferableOffers. "nextPageToken": "A String", # A token to retrieve the next page of results. Pass to ListTransferableOffersRequest.page_token to obtain that page. "transferableOffers": [ # Information about Offers for a customer that can be used for transfer. { # TransferableOffer represents an Offer that can be used in Transfer. Read-only. "offer": { # Represents an offer made to resellers for purchase. An offer is associated with a Sku, has a plan for payment, a price, and defines the constraints for buying. # Offer with parameter constraints updated to allow the Transfer. "constraints": { # Represents the constraints for buying the Offer. # Constraints on transacting the Offer. "customerConstraints": { # Represents constraints required to purchase the Offer for a customer. # Represents constraints required to purchase the Offer for a customer. "allowedCustomerTypes": [ # Allowed Customer Type. "A String", ], "allowedRegions": [ # Allowed geographical regions of the customer. "A String", ], "promotionalOrderTypes": [ # Allowed Promotional Order Type. Present for Promotional offers. "A String", ], }, }, "dealCode": "A String", # The deal code of the offer to get a special promotion or discount. "endTime": "A String", # Output only. End of the Offer validity time. "marketingInfo": { # Represents the marketing information for a Product, SKU or Offer. # Marketing information for the Offer. "defaultLogo": { # Represents media information. # Default logo. "content": "A String", # URL of the media. "title": "A String", # Title of the media. "type": "A String", # Type of the media. }, "description": "A String", # Human readable description. Description can contain HTML. "displayName": "A String", # Human readable name. }, "name": "A String", # Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id} "parameterDefinitions": [ # Parameters required to use current Offer to purchase. { # Parameter's definition. Specifies what parameter is required to use the current Offer to purchase. "allowedValues": [ # If not empty, parameter values must be drawn from this list. For example, [us-west1, us-west2, ...] Applicable to STRING parameter type. { # Data type and value of a parameter. "boolValue": True or False, # Represents a boolean value. "doubleValue": 3.14, # Represents a double value. "int64Value": "A String", # Represents an int64 value. "protoValue": { # Represents an 'Any' proto value. "a_key": "", # Properties of the object. Contains field @type with type URL. }, "stringValue": "A String", # Represents a string value. }, ], "maxValue": { # Data type and value of a parameter. # Maximum value of the parameter, if applicable. Inclusive. For example, maximum seats when purchasing Google Workspace Business Standard. Applicable to INT64 and DOUBLE parameter types. "boolValue": True or False, # Represents a boolean value. "doubleValue": 3.14, # Represents a double value. "int64Value": "A String", # Represents an int64 value. "protoValue": { # Represents an 'Any' proto value. "a_key": "", # Properties of the object. Contains field @type with type URL. }, "stringValue": "A String", # Represents a string value. }, "minValue": { # Data type and value of a parameter. # Minimal value of the parameter, if applicable. Inclusive. For example, minimal commitment when purchasing Anthos is 0.01. Applicable to INT64 and DOUBLE parameter types. "boolValue": True or False, # Represents a boolean value. "doubleValue": 3.14, # Represents a double value. "int64Value": "A String", # Represents an int64 value. "protoValue": { # Represents an 'Any' proto value. "a_key": "", # Properties of the object. Contains field @type with type URL. }, "stringValue": "A String", # Represents a string value. }, "name": "A String", # Name of the parameter. "optional": True or False, # If set to true, parameter is optional to purchase this Offer. "parameterType": "A String", # Data type of the parameter. Minimal value, Maximum value and allowed values will use specified data type here. }, ], "plan": { # The payment plan for the Offer. Describes how to make a payment. # Describes the payment plan for the Offer. "billingAccount": "A String", # Reseller Billing account to charge after an offer transaction. Only present for Google Cloud offers. "paymentCycle": { # Represents period in days/months/years. # Describes how frequently the reseller will be billed, such as once per month. "duration": 42, # Total duration of Period Type defined. "periodType": "A String", # Period Type. }, "paymentPlan": "A String", # Describes how a reseller will be billed. "paymentType": "A String", # Specifies when the payment needs to happen. "trialPeriod": { # Represents period in days/months/years. # Present for Offers with a trial period. For trial-only Offers, a paid service needs to start before the trial period ends for continued service. For Regular Offers with a trial period, the regular pricing goes into effect when trial period ends, or if paid service is started before the end of the trial period. "duration": 42, # Total duration of Period Type defined. "periodType": "A String", # Period Type. }, }, "priceByResources": [ # Price for each monetizable resource type. { # Represents price by resource type. "price": { # Represents the price of the Offer. # Price of the Offer. Present if there are no price phases. "basePrice": { # Represents an amount of money with its currency type. # Base price. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, "discount": 3.14, # Discount percentage, represented as decimal. For example, a 20% discount will be represent as 0.2. "effectivePrice": { # Represents an amount of money with its currency type. # Effective Price after applying the discounts. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, "externalPriceUri": "A String", # Link to external price list, such as link to Google Voice rate card. }, "pricePhases": [ # Specifies the price by time range. { # Specifies the price by the duration of months. For example, a 20% discount for the first six months, then a 10% discount starting on the seventh month. "firstPeriod": 42, # Defines first period for the phase. "lastPeriod": 42, # Defines first period for the phase. "periodType": "A String", # Defines the phase period type. "price": { # Represents the price of the Offer. # Price of the phase. Present if there are no price tiers. "basePrice": { # Represents an amount of money with its currency type. # Base price. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, "discount": 3.14, # Discount percentage, represented as decimal. For example, a 20% discount will be represent as 0.2. "effectivePrice": { # Represents an amount of money with its currency type. # Effective Price after applying the discounts. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, "externalPriceUri": "A String", # Link to external price list, such as link to Google Voice rate card. }, "priceTiers": [ # Price by the resource tiers. { # Defines price at resource tier level. For example, an offer with following definition : * Tier 1: Provide 25% discount for all seats between 1 and 25. * Tier 2: Provide 10% discount for all seats between 26 and 100. * Tier 3: Provide flat 15% discount for all seats above 100. Each of these tiers is represented as a PriceTier. "firstResource": 42, # First resource for which the tier price applies. "lastResource": 42, # Last resource for which the tier price applies. "price": { # Represents the price of the Offer. # Price of the tier. "basePrice": { # Represents an amount of money with its currency type. # Base price. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, "discount": 3.14, # Discount percentage, represented as decimal. For example, a 20% discount will be represent as 0.2. "effectivePrice": { # Represents an amount of money with its currency type. # Effective Price after applying the discounts. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, "externalPriceUri": "A String", # Link to external price list, such as link to Google Voice rate card. }, }, ], }, ], "resourceType": "A String", # Resource Type. Example: SEAT }, ], "sku": { # Represents a product's purchasable Stock Keeping Unit (SKU). SKUs represent the different variations of the product. For example, Google Workspace Business Standard and Google Workspace Business Plus are Google Workspace product SKUs. # SKU the offer is associated with. "marketingInfo": { # Represents the marketing information for a Product, SKU or Offer. # Marketing information for the SKU. "defaultLogo": { # Represents media information. # Default logo. "content": "A String", # URL of the media. "title": "A String", # Title of the media. "type": "A String", # Type of the media. }, "description": "A String", # Human readable description. Description can contain HTML. "displayName": "A String", # Human readable name. }, "name": "A String", # Resource Name of the SKU. Format: products/{product_id}/skus/{sku_id} "product": { # A Product is the entity a customer uses when placing an order. For example, Google Workspace, Google Voice, etc. # Product the SKU is associated with. "marketingInfo": { # Represents the marketing information for a Product, SKU or Offer. # Marketing information for the product. "defaultLogo": { # Represents media information. # Default logo. "content": "A String", # URL of the media. "title": "A String", # Title of the media. "type": "A String", # Type of the media. }, "description": "A String", # Human readable description. Description can contain HTML. "displayName": "A String", # Human readable name. }, "name": "A String", # Resource Name of the Product. Format: products/{product_id} }, }, "startTime": "A String", # Start of the Offer validity time. }, "priceReferenceId": "A String", # Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order. }, ], }
listTransferableOffers_next()
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
listTransferableSkus(parent, body=None, x__xgafv=None)
List TransferableSkus of a customer based on the Cloud Identity ID or Customer Name in the request. Use this method to list the entitlements information of an unowned customer. You should provide the customer's Cloud Identity ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth token. * The supplied auth token is invalid. * The reseller account making the request is different from the reseller account in the query. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: A list of the customer's TransferableSku. Args: parent: string, Required. The reseller account's resource name. Parent uses the format: accounts/{account_id} (required) body: object, The request body. The object takes the form of: { # Request message for CloudChannelService.ListTransferableSkus "authToken": "A String", # Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details. "cloudIdentityId": "A String", # Customer's Cloud Identity ID "customerName": "A String", # A reseller is required to create a customer and use the resource name of the created customer here. Customer_name uses the format: accounts/{account_id}/customers/{customer_id} "languageCode": "A String", # 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". Optional. "pageSize": 42, # The 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. Optional. "pageToken": "A String", # A token for a page of results other than the first page. Obtained using ListTransferableSkusResponse.next_page_token of the previous CloudChannelService.ListTransferableSkus call. Optional. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response message for CloudChannelService.ListTransferableSkus. "nextPageToken": "A String", # A token to retrieve the next page of results. Pass to ListTransferableSkusRequest.page_token to obtain that page. "transferableSkus": [ # Information about existing SKUs for a customer that needs a transfer. { # TransferableSku represents information a reseller needs to view existing provisioned services for a customer that they do not own. Read-only. "legacySku": { # Represents a product's purchasable Stock Keeping Unit (SKU). SKUs represent the different variations of the product. For example, Google Workspace Business Standard and Google Workspace Business Plus are Google Workspace product SKUs. # Optional. The customer to transfer has an entitlement with the populated legacy SKU. "marketingInfo": { # Represents the marketing information for a Product, SKU or Offer. # Marketing information for the SKU. "defaultLogo": { # Represents media information. # Default logo. "content": "A String", # URL of the media. "title": "A String", # Title of the media. "type": "A String", # Type of the media. }, "description": "A String", # Human readable description. Description can contain HTML. "displayName": "A String", # Human readable name. }, "name": "A String", # Resource Name of the SKU. Format: products/{product_id}/skus/{sku_id} "product": { # A Product is the entity a customer uses when placing an order. For example, Google Workspace, Google Voice, etc. # Product the SKU is associated with. "marketingInfo": { # Represents the marketing information for a Product, SKU or Offer. # Marketing information for the product. "defaultLogo": { # Represents media information. # Default logo. "content": "A String", # URL of the media. "title": "A String", # Title of the media. "type": "A String", # Type of the media. }, "description": "A String", # Human readable description. Description can contain HTML. "displayName": "A String", # Human readable name. }, "name": "A String", # Resource Name of the Product. Format: products/{product_id} }, }, "sku": { # Represents a product's purchasable Stock Keeping Unit (SKU). SKUs represent the different variations of the product. For example, Google Workspace Business Standard and Google Workspace Business Plus are Google Workspace product SKUs. # The SKU pertaining to the provisioning resource as specified in the Offer. "marketingInfo": { # Represents the marketing information for a Product, SKU or Offer. # Marketing information for the SKU. "defaultLogo": { # Represents media information. # Default logo. "content": "A String", # URL of the media. "title": "A String", # Title of the media. "type": "A String", # Type of the media. }, "description": "A String", # Human readable description. Description can contain HTML. "displayName": "A String", # Human readable name. }, "name": "A String", # Resource Name of the SKU. Format: products/{product_id}/skus/{sku_id} "product": { # A Product is the entity a customer uses when placing an order. For example, Google Workspace, Google Voice, etc. # Product the SKU is associated with. "marketingInfo": { # Represents the marketing information for a Product, SKU or Offer. # Marketing information for the product. "defaultLogo": { # Represents media information. # Default logo. "content": "A String", # URL of the media. "title": "A String", # Title of the media. "type": "A String", # Type of the media. }, "description": "A String", # Human readable description. Description can contain HTML. "displayName": "A String", # Human readable name. }, "name": "A String", # Resource Name of the Product. Format: products/{product_id} }, }, "transferEligibility": { # Specifies transfer eligibility of a SKU. # Describes the transfer eligibility of a SKU. "description": "A String", # Localized description if reseller is not eligible to transfer the SKU. "ineligibilityReason": "A String", # Specified the reason for ineligibility. "isEligible": True or False, # Whether reseller is eligible to transfer the SKU. }, }, ], }
listTransferableSkus_next()
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
register(account, body=None, x__xgafv=None)
Registers a service account with subscriber privileges on the Pub/Sub topic for this Channel Services account or integrator. After you create a subscriber, you get the events through SubscriberEvent Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name with the registered service email address. Args: account: string, Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. (required) body: object, The request body. The object takes the form of: { # Request Message for RegisterSubscriber. "account": "A String", # Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. "integrator": "A String", # Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. "serviceAccount": "A String", # Required. Service account that provides subscriber access to the registered topic. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response Message for RegisterSubscriber. "topic": "A String", # Name of the topic the subscriber will listen to. }
unregister(account, body=None, x__xgafv=None)
Unregisters a service account with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator. If there are no service accounts left with subscriber privileges, this deletes the topic. You can call ListSubscribers to check for these accounts. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that unregistered the service email address. Returns a success response if the service email address wasn't registered with the topic. Args: account: string, Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. (required) body: object, The request body. The object takes the form of: { # Request Message for UnregisterSubscriber. "account": "A String", # Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. "integrator": "A String", # Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. "serviceAccount": "A String", # Required. Service account to unregister from subscriber access to the topic. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response Message for UnregisterSubscriber. "topic": "A String", # Name of the topic the service account subscriber access was removed from. }