Class AccountsResource
The "accounts" collection of methods.
Inherited Members
Namespace: Google.Apis.Cloudchannel.v1
Assembly: Google.Apis.Cloudchannel.v1.dll
Syntax
public class AccountsResource
Constructors
AccountsResource(IClientService)
Constructs a new resource.
Declaration
public AccountsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
ChannelPartnerLinks
Gets the ChannelPartnerLinks resource.
Declaration
public virtual AccountsResource.ChannelPartnerLinksResource ChannelPartnerLinks { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ChannelPartnerLinksResource |
Customers
Gets the Customers resource.
Declaration
public virtual AccountsResource.CustomersResource Customers { get; }
Property Value
Type | Description |
---|---|
AccountsResource.CustomersResource |
Offers
Gets the Offers resource.
Declaration
public virtual AccountsResource.OffersResource Offers { get; }
Property Value
Type | Description |
---|---|
AccountsResource.OffersResource |
ReportJobs
Gets the ReportJobs resource.
Declaration
public virtual AccountsResource.ReportJobsResource ReportJobs { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ReportJobsResource |
Reports
Gets the Reports resource.
Declaration
public virtual AccountsResource.ReportsResource Reports { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ReportsResource |
SkuGroups
Gets the SkuGroups resource.
Declaration
public virtual AccountsResource.SkuGroupsResource SkuGroups { get; }
Property Value
Type | Description |
---|---|
AccountsResource.SkuGroupsResource |
Methods
CheckCloudIdentityAccountsExist(GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest, string)
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.
Declaration
public virtual AccountsResource.CheckCloudIdentityAccountsExistRequest CheckCloudIdentityAccountsExist(GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest | body | The body of the request. |
string | parent | Required. The reseller account's resource name. Parent uses the format: accounts/{account_id} |
Returns
Type | Description |
---|---|
AccountsResource.CheckCloudIdentityAccountsExistRequest |
ListSubscribers(string)
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.
Declaration
public virtual AccountsResource.ListSubscribersRequest ListSubscribers(string account)
Parameters
Type | Name | Description |
---|---|---|
string | account | Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. |
Returns
Type | Description |
---|---|
AccountsResource.ListSubscribersRequest |
ListTransferableOffers(GoogleCloudChannelV1ListTransferableOffersRequest, string)
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.
Declaration
public virtual AccountsResource.ListTransferableOffersRequest ListTransferableOffers(GoogleCloudChannelV1ListTransferableOffersRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudChannelV1ListTransferableOffersRequest | body | The body of the request. |
string | parent | Required. The resource name of the reseller's account. |
Returns
Type | Description |
---|---|
AccountsResource.ListTransferableOffersRequest |
ListTransferableSkus(GoogleCloudChannelV1ListTransferableSkusRequest, string)
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.
Declaration
public virtual AccountsResource.ListTransferableSkusRequest ListTransferableSkus(GoogleCloudChannelV1ListTransferableSkusRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudChannelV1ListTransferableSkusRequest | body | The body of the request. |
string | parent | Required. The reseller account's resource name. Parent uses the format: accounts/{account_id} |
Returns
Type | Description |
---|---|
AccountsResource.ListTransferableSkusRequest |
Register(GoogleCloudChannelV1RegisterSubscriberRequest, string)
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.
Declaration
public virtual AccountsResource.RegisterRequest Register(GoogleCloudChannelV1RegisterSubscriberRequest body, string account)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudChannelV1RegisterSubscriberRequest | body | The body of the request. |
string | account | Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. |
Returns
Type | Description |
---|---|
AccountsResource.RegisterRequest |
Unregister(GoogleCloudChannelV1UnregisterSubscriberRequest, string)
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.
Declaration
public virtual AccountsResource.UnregisterRequest Unregister(GoogleCloudChannelV1UnregisterSubscriberRequest body, string account)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudChannelV1UnregisterSubscriberRequest | body | The body of the request. |
string | account | Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. |
Returns
Type | Description |
---|---|
AccountsResource.UnregisterRequest |