Class AccountsResource.UnregisterRequest
Unregisters a service account with subscriber privileges on the Cloud Pub/Sub topic created for this Channel Services account. 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 AccountsResource.UnregisterRequest : CloudchannelBaseServiceRequest<GoogleCloudChannelV1UnregisterSubscriberResponse>, IClientServiceRequest<GoogleCloudChannelV1UnregisterSubscriberResponse>, IClientServiceRequest
Constructors
UnregisterRequest(IClientService, GoogleCloudChannelV1UnregisterSubscriberRequest, string)
Constructs a new Unregister request.
Declaration
public UnregisterRequest(IClientService service, GoogleCloudChannelV1UnregisterSubscriberRequest body, string account)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudChannelV1UnregisterSubscriberRequest | body | |
string | account |
Properties
Account
Optional. Resource name of the account.
Declaration
[RequestParameter("account", RequestParameterType.Path)]
public virtual string Account { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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 Unregister parameter list.
Declaration
protected override void InitParameters()