Show / Hide Table of Contents

Class CoursesResource.TopicsResource.GetRequest

Returns a topic.

This method returns the following error codes:

  • PERMISSION_DENIED if the requesting user is not permitted to access the requested course or topic, or for access errors. * INVALID_ARGUMENT if the request is malformed. * NOT_FOUND if the requested course or topic does not exist.
Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Topic>
ClassroomBaseServiceRequest<Topic>
CoursesResource.TopicsResource.GetRequest
Implements
IClientServiceRequest<Topic>
IClientServiceRequest
Inherited Members
ClassroomBaseServiceRequest<Topic>.Xgafv
ClassroomBaseServiceRequest<Topic>.AccessToken
ClassroomBaseServiceRequest<Topic>.Alt
ClassroomBaseServiceRequest<Topic>.Callback
ClassroomBaseServiceRequest<Topic>.Fields
ClassroomBaseServiceRequest<Topic>.Key
ClassroomBaseServiceRequest<Topic>.OauthToken
ClassroomBaseServiceRequest<Topic>.PrettyPrint
ClassroomBaseServiceRequest<Topic>.QuotaUser
ClassroomBaseServiceRequest<Topic>.UploadType
ClassroomBaseServiceRequest<Topic>.UploadProtocol
ClientServiceRequest<Topic>.Execute()
ClientServiceRequest<Topic>.ExecuteAsStream()
ClientServiceRequest<Topic>.ExecuteAsync()
ClientServiceRequest<Topic>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Topic>.ExecuteAsStreamAsync()
ClientServiceRequest<Topic>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Topic>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Topic>.GenerateRequestUri()
ClientServiceRequest<Topic>.GetBody()
ClientServiceRequest<Topic>.GetDefaultETagAction(String)
ClientServiceRequest<Topic>.ETagAction
ClientServiceRequest<Topic>.ModifyRequest
ClientServiceRequest<Topic>.RequestParameters
ClientServiceRequest<Topic>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Classroom.v1
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class GetRequest : ClassroomBaseServiceRequest<Topic>, IClientServiceRequest<Topic>, IClientServiceRequest

Constructors

GetRequest(IClientService, String, String)

Constructs a new Get request.

Declaration
public GetRequest(IClientService service, string courseId, string id)
Parameters
Type Name Description
IClientService service
System.String courseId
System.String id

Properties

CourseId

Identifier of the course.

Declaration
[RequestParameter("courseId", RequestParameterType.Path)]
public virtual string CourseId { get; }
Property Value
Type Description
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Classroom.v1.Data.Topic>.HttpMethod

Id

Identifier of the topic.

Declaration
[RequestParameter("id", RequestParameterType.Path)]
public virtual string Id { get; }
Property Value
Type Description
System.String

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Classroom.v1.Data.Topic>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Classroom.v1.Data.Topic>.RestPath

Methods

InitParameters()

Initializes Get parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Classroom.v1.ClassroomBaseServiceRequest<Google.Apis.Classroom.v1.Data.Topic>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top