Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>
CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>
AccountsResource.RegisterRequest
Implements
IClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>
IClientServiceRequest
Inherited Members
CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.Xgafv
CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.AccessToken
CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.Alt
CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.Callback
CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.Fields
CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.Key
CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.OauthToken
CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.PrettyPrint
CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.QuotaUser
CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.UploadType
CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.Execute()
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.ExecuteAsync()
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.ETagAction
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.ModifyRequest
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.ValidateParameters
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.ApiVersion
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.RequestParameters
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.GetBody()

InitParameters()

Initializes Register parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudchannelBaseServiceRequest<GoogleCloudChannelV1RegisterSubscriberResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX