Class InvitationsResource.ListRequest
Returns a list of invitations that the requesting user is permitted to view, restricted to those that match the list request.
Note: At least one of user_id or course_id must be supplied. Both fields can be supplied.
This method returns the following error codes:
PERMISSION_DENIEDfor access errors.
Inheritance
Inherited Members
Namespace: Google.Apis.Classroom.v1
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class ListRequest : ClassroomBaseServiceRequest<ListInvitationsResponse>, IClientServiceRequest<ListInvitationsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
CourseId
Restricts returned invitations to those for a course with the specified identifier.
Declaration
[RequestParameter("courseId", RequestParameterType.Query)]
public virtual string CourseId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
PageSize
Maximum number of items to return. Zero means no maximum.
The server may return fewer than the specified number of results.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
PageToken
nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned.
The list request must be otherwise identical to the one that resulted in this token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
UserId
Restricts returned invitations to those for a specific user. The identifier can be one of the following:
- the numeric identifier for the user * the email address of the user * the string literal
"me", indicating the requesting user
Declaration
[RequestParameter("userId", RequestParameterType.Query)]
public virtual string UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()