Class IntegratorsResource.UnregisterSubscriberRequest
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.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Cloudchannel.v1
Assembly: Google.Apis.Cloudchannel.v1.dll
Syntax
public class IntegratorsResource.UnregisterSubscriberRequest : CloudchannelBaseServiceRequest<GoogleCloudChannelV1UnregisterSubscriberResponse>, IClientServiceRequest<GoogleCloudChannelV1UnregisterSubscriberResponse>, IClientServiceRequest
Constructors
UnregisterSubscriberRequest(IClientService, GoogleCloudChannelV1UnregisterSubscriberRequest, string)
Constructs a new UnregisterSubscriber request.
Declaration
public UnregisterSubscriberRequest(IClientService service, GoogleCloudChannelV1UnregisterSubscriberRequest body, string integrator)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudChannelV1UnregisterSubscriberRequest | body | |
| string | integrator |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Integrator
Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.
Declaration
[RequestParameter("integrator", RequestParameterType.Path)]
public virtual string Integrator { get; }
Property Value
| Type | Description |
|---|---|
| string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes UnregisterSubscriber parameter list.
Declaration
protected override void InitParameters()