Class ProjectsResource.TracesResource.GetRequest
Gets a single trace by its ID.
Inheritance
ProjectsResource.TracesResource.GetRequest
Inherited Members
Namespace: Google.Apis.CloudTrace.v1
Assembly: Google.Apis.CloudTrace.v1.dll
Syntax
public class ProjectsResource.TracesResource.GetRequest : CloudTraceBaseServiceRequest<Trace>, IClientServiceRequest<Trace>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string projectId, string traceId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | projectId | |
string | traceId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProjectId
Required. ID of the Cloud project where the trace data is stored.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
TraceId
Required. ID of the trace to return.
Declaration
[RequestParameter("traceId", RequestParameterType.Path)]
public virtual string TraceId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()