Class IntegratorsResource
The "integrators" collection of methods.
Inherited Members
Namespace: Google.Apis.Cloudchannel.v1
Assembly: Google.Apis.Cloudchannel.v1.dll
Syntax
public class IntegratorsResource
Constructors
IntegratorsResource(IClientService)
Constructs a new resource.
Declaration
public IntegratorsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
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 IntegratorsResource.ListSubscribersRequest ListSubscribers(string integrator)
Parameters
Type | Name | Description |
---|---|---|
string | integrator | Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. |
Returns
Type | Description |
---|---|
IntegratorsResource.ListSubscribersRequest |
RegisterSubscriber(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 IntegratorsResource.RegisterSubscriberRequest RegisterSubscriber(GoogleCloudChannelV1RegisterSubscriberRequest body, string integrator)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudChannelV1RegisterSubscriberRequest | body | The body of the request. |
string | integrator | Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. |
Returns
Type | Description |
---|---|
IntegratorsResource.RegisterSubscriberRequest |
UnregisterSubscriber(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 IntegratorsResource.UnregisterSubscriberRequest UnregisterSubscriber(GoogleCloudChannelV1UnregisterSubscriberRequest body, string integrator)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudChannelV1UnregisterSubscriberRequest | body | The body of the request. |
string | integrator | Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. |
Returns
Type | Description |
---|---|
IntegratorsResource.UnregisterSubscriberRequest |