Show / Hide Table of Contents

Class CasesResource.CommentsResource.ListRequest

Retrieve all comments associated with the Case object. Here is an example of calling this endpoint using cURL:

shell case="projects/cloud-support-qa-premium/cases/43595344" curl \ --header "Authorization:
Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case/comments"
Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListCommentsResponse>
CloudSupportBaseServiceRequest<ListCommentsResponse>
CasesResource.CommentsResource.ListRequest
Implements
IClientServiceRequest<ListCommentsResponse>
IClientServiceRequest
Inherited Members
CloudSupportBaseServiceRequest<ListCommentsResponse>.Xgafv
CloudSupportBaseServiceRequest<ListCommentsResponse>.AccessToken
CloudSupportBaseServiceRequest<ListCommentsResponse>.Alt
CloudSupportBaseServiceRequest<ListCommentsResponse>.Callback
CloudSupportBaseServiceRequest<ListCommentsResponse>.Fields
CloudSupportBaseServiceRequest<ListCommentsResponse>.Key
CloudSupportBaseServiceRequest<ListCommentsResponse>.OauthToken
CloudSupportBaseServiceRequest<ListCommentsResponse>.PrettyPrint
CloudSupportBaseServiceRequest<ListCommentsResponse>.QuotaUser
CloudSupportBaseServiceRequest<ListCommentsResponse>.UploadType
CloudSupportBaseServiceRequest<ListCommentsResponse>.UploadProtocol
ClientServiceRequest<ListCommentsResponse>.Execute()
ClientServiceRequest<ListCommentsResponse>.ExecuteAsStream()
ClientServiceRequest<ListCommentsResponse>.ExecuteAsync()
ClientServiceRequest<ListCommentsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListCommentsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListCommentsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListCommentsResponse>.CreateRequest(bool?)
ClientServiceRequest<ListCommentsResponse>.GenerateRequestUri()
ClientServiceRequest<ListCommentsResponse>.GetBody()
ClientServiceRequest<ListCommentsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListCommentsResponse>.ETagAction
ClientServiceRequest<ListCommentsResponse>.ModifyRequest
ClientServiceRequest<ListCommentsResponse>.ValidateParameters
ClientServiceRequest<ListCommentsResponse>.RequestParameters
ClientServiceRequest<ListCommentsResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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.ListRequest : CloudSupportBaseServiceRequest<ListCommentsResponse>, IClientServiceRequest<ListCommentsResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, string)

Constructs a new List request.

Declaration
public ListRequest(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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSupport.v2beta.Data.ListCommentsResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSupport.v2beta.Data.ListCommentsResponse>.MethodName

PageSize

The maximum number of comments fetched with each request. Defaults to 10.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

A token identifying the page of results to return. If unspecified, the first page is retrieved.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

Parent

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

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSupport.v2beta.Data.ListCommentsResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudSupportBaseServiceRequest<ListCommentsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX