Class OrganizationsResource.ContactsResource.ComputeRequest
Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Essentialcontacts.v1
Assembly: Google.Apis.Essentialcontacts.v1.dll
Syntax
public class OrganizationsResource.ContactsResource.ComputeRequest : EssentialcontactsBaseServiceRequest<GoogleCloudEssentialcontactsV1ComputeContactsResponse>, IClientServiceRequest<GoogleCloudEssentialcontactsV1ComputeContactsResponse>, IClientServiceRequest
Constructors
ComputeRequest(IClientService, string)
Constructs a new Compute request.
Declaration
public ComputeRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
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
NotificationCategories
The categories of notifications to compute contacts for. If ALL is included in this list, contacts subscribed to any notification category will be returned.
Declaration
[RequestParameter("notificationCategories", RequestParameterType.Query)]
public virtual OrganizationsResource.ContactsResource.ComputeRequest.NotificationCategoriesEnum? NotificationCategories { get; set; }
Property Value
Type | Description |
---|---|
OrganizationsResource.ContactsResource.ComputeRequest.NotificationCategoriesEnum? |
Remarks
Use this property to set a single value for the parameter, or NotificationCategoriesList to set multiple values. Do not set both properties.
NotificationCategoriesList
The categories of notifications to compute contacts for. If ALL is included in this list, contacts subscribed to any notification category will be returned.
Declaration
[RequestParameter("notificationCategories", RequestParameterType.Query)]
public virtual Repeatable<OrganizationsResource.ContactsResource.ComputeRequest.NotificationCategoriesEnum> NotificationCategoriesList { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<OrganizationsResource.ContactsResource.ComputeRequest.NotificationCategoriesEnum> |
Remarks
Use this property to set one or more values for the parameter. Do not set both this property and NotificationCategories.
PageSize
Optional. The maximum number of results to return from this request. Non-positive values are
ignored. The presence of next_page_token
in the response indicates that more results might be
available. If not specified, the default page_size is 100.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. If present, retrieves the next batch of results from the preceding call to this method.
page_token
must be the value of next_page_token
from the previous response. The values of other
method parameters should be identical to those in the previous call.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The name of the resource to compute contacts for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
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 Compute parameter list.
Declaration
protected override void InitParameters()