Class AccountsResource.RegisterRequest
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.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Cloudchannel.v1
Assembly: Google.Apis.Cloudchannel.v1.dll
Syntax
public class AccountsResource.RegisterRequest : CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>, IClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>, IClientServiceRequest
Constructors
RegisterRequest(IClientService, GoogleCloudChannelV1RegisterSubscriberRequest, string)
Constructs a new Register request.
Declaration
public RegisterRequest(IClientService service, GoogleCloudChannelV1RegisterSubscriberRequest body, string account)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudChannelV1RegisterSubscriberRequest | body | |
| string | account |
Properties
Account
Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.
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 Register parameter list.
Declaration
protected override void InitParameters()