Class AccountsResource.ListSubscribersRequest
Lists service accounts with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator. 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: A list of service email addresses.
Inheritance
Inherited Members
Namespace: Google.Apis.Cloudchannel.v1
Assembly: Google.Apis.Cloudchannel.v1.dll
Syntax
public class AccountsResource.ListSubscribersRequest : CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListSubscribersResponse>, IClientServiceRequest<GoogleCloudChannelV1ListSubscribersResponse>, IClientServiceRequest
Constructors
ListSubscribersRequest(IClientService, string)
Constructs a new ListSubscribers request.
Declaration
public ListSubscribersRequest(IClientService service, string account)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
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
Integrator
Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.
Declaration
[RequestParameter("integrator", RequestParameterType.Query)]
public virtual string Integrator { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
Optional. The maximum number of service accounts to return. The service may return fewer than this value. If unspecified, returns at most 100 service accounts. The maximum value is 1000; the server will coerce values above 1000.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. A page token, received from a previous ListSubscribers
call. Provide this to retrieve the
subsequent page. When paginating, all other parameters provided to ListSubscribers
must match the call
that provided the page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes ListSubscribers parameter list.
Declaration
protected override void InitParameters()