Show / Hide Table of Contents

Class CoursesResource.PostsResource

The "posts" collection of methods.

Inheritance
object
CoursesResource.PostsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Classroom.v1
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class CoursesResource.PostsResource

Constructors

PostsResource(IClientService)

Constructs a new resource.

Declaration
public PostsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

AddOnAttachments

Gets the AddOnAttachments resource.

Declaration
public virtual CoursesResource.PostsResource.AddOnAttachmentsResource AddOnAttachments { get; }
Property Value
Type Description
CoursesResource.PostsResource.AddOnAttachmentsResource

Methods

GetAddOnContext(string, string)

Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call this to validate query parameters and the requesting user's role whenever the add-on is opened in an iframe. This method returns the following error codes: * PERMISSION_DENIED for access errors. * INVALID_ARGUMENT if the request is malformed. * NOT_FOUND if one of the identified resources does not exist.

Declaration
public virtual CoursesResource.PostsResource.GetAddOnContextRequest GetAddOnContext(string courseId, string postId)
Parameters
Type Name Description
string courseId

Required. Identifier of the course.

string postId

Optional. Deprecated, use item_id instead.

Returns
Type Description
CoursesResource.PostsResource.GetAddOnContextRequest
In this article
Back to top Generated by DocFX