Class IntegratorsResource.RegisterRequest
Registers a service account with subscriber privileges on the Cloud Pub/Sub topic for this Channel Services account. 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.RegisterRequest : CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>, IClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>, IClientServiceRequest
Constructors
RegisterRequest(IClientService, string)
Constructs a new Register request.
Declaration
public RegisterRequest(IClientService service, string integrator)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | integrator |
Properties
Account
Optional. Resource name of the account.
Declaration
[RequestParameter("account", RequestParameterType.Query)]
public virtual string Account { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Integrator
Optional. Resource name of the integrator.
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
ServiceAccount
Required. Service account that provides subscriber access to the registered topic.
Declaration
[RequestParameter("serviceAccount", RequestParameterType.Query)]
public virtual string ServiceAccount { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Register parameter list.
Declaration
protected override void InitParameters()