Show / Hide Table of Contents

Class CasesResource.CommentsResource.GetRequest

Retrieve a comment. EXAMPLES: cURL:

shell
comment="projects/some-project/cases/43595344/comments/234567890" curl \ --header "Authorization: Bearer
$(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$comment"

Python:

python import googleapiclient.discovery api_version = "v2beta" supportApiService =
googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version,
discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}", )
request = supportApiService.cases().comments().get(
name="projects/some-project/cases/43595344/comments/234567890", ) print(request.execute())
Inheritance
object
ClientServiceRequest
ClientServiceRequest<Comment>
CloudSupportBaseServiceRequest<Comment>
CasesResource.CommentsResource.GetRequest
Implements
IClientServiceRequest<Comment>
IClientServiceRequest
Inherited Members
CloudSupportBaseServiceRequest<Comment>.Xgafv
CloudSupportBaseServiceRequest<Comment>.AccessToken
CloudSupportBaseServiceRequest<Comment>.Alt
CloudSupportBaseServiceRequest<Comment>.Callback
CloudSupportBaseServiceRequest<Comment>.Fields
CloudSupportBaseServiceRequest<Comment>.Key
CloudSupportBaseServiceRequest<Comment>.OauthToken
CloudSupportBaseServiceRequest<Comment>.PrettyPrint
CloudSupportBaseServiceRequest<Comment>.QuotaUser
CloudSupportBaseServiceRequest<Comment>.UploadType
CloudSupportBaseServiceRequest<Comment>.UploadProtocol
ClientServiceRequest<Comment>.Execute()
ClientServiceRequest<Comment>.ExecuteAsStream()
ClientServiceRequest<Comment>.ExecuteAsync()
ClientServiceRequest<Comment>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Comment>.ExecuteAsStreamAsync()
ClientServiceRequest<Comment>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Comment>.CreateRequest(bool?)
ClientServiceRequest<Comment>.GenerateRequestUri()
ClientServiceRequest<Comment>.GetBody()
ClientServiceRequest<Comment>.GetDefaultETagAction(string)
ClientServiceRequest<Comment>.ETagAction
ClientServiceRequest<Comment>.ModifyRequest
ClientServiceRequest<Comment>.ValidateParameters
ClientServiceRequest<Comment>.ApiVersion
ClientServiceRequest<Comment>.RequestParameters
ClientServiceRequest<Comment>.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.GetRequest : CloudSupportBaseServiceRequest<Comment>, IClientServiceRequest<Comment>, IClientServiceRequest

Constructors

GetRequest(IClientService, string)

Constructs a new Get request.

Declaration
public GetRequest(IClientService service, string name)
Parameters
Type Name Description
IClientService service
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Comment>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Comment>.MethodName

Name

Required. The name of the comment to retrieve.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Comment>.RestPath

Methods

InitParameters()

Initializes Get parameter list.

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

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX