Show / Hide Table of Contents

Class CasesResource.CommentsResource

The "comments" collection of methods.

Inheritance
object
CasesResource.CommentsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudSupport.v2beta
Assembly: Google.Apis.CloudSupport.v2beta.dll
Syntax
public class CasesResource.CommentsResource

Constructors

CommentsResource(IClientService)

Constructs a new resource.

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

Methods

Create(Comment, string)

Add a new comment to the specified Case. The comment object must have the following fields set: body.

Declaration
public virtual CasesResource.CommentsResource.CreateRequest Create(Comment body, string parent)
Parameters
Type Name Description
Comment body

The body of the request.

string parent

Required. The resource name of Case to which this comment should be added.

Returns
Type Description
CasesResource.CommentsResource.CreateRequest

List(string)

Retrieve all Comments associated with the Case object.

Declaration
public virtual CasesResource.CommentsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The resource name of Case object for which comments should be listed.

Returns
Type Description
CasesResource.CommentsResource.ListRequest
In This Article
Back to top Generated by DocFX