Class IntegratorsResource.RegisterSubscriberRequest
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 IntegratorsResource.RegisterSubscriberRequest : CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>, IClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>, IClientServiceRequest
Constructors
RegisterSubscriberRequest(IClientService, GoogleCloudChannelV1RegisterSubscriberRequest, string)
Constructs a new RegisterSubscriber request.
Declaration
public RegisterSubscriberRequest(IClientService service, GoogleCloudChannelV1RegisterSubscriberRequest body, string integrator)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudChannelV1RegisterSubscriberRequest | 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 RegisterSubscriber parameter list.
Declaration
protected override void InitParameters()