Class TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeMessageStatsRequest
Compute statistics about a range of messages in a given topic and partition.
Inheritance
TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeMessageStatsRequest
Inherited Members
Namespace: Google.Apis.PubsubLite.v1
Assembly: Google.Apis.PubsubLite.v1.dll
Syntax
public class TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeMessageStatsRequest : PubsubLiteBaseServiceRequest<ComputeMessageStatsResponse>, IClientServiceRequest<ComputeMessageStatsResponse>, IClientServiceRequest
Constructors
ComputeMessageStatsRequest(IClientService, ComputeMessageStatsRequest, string)
Constructs a new ComputeMessageStats request.
Declaration
public ComputeMessageStatsRequest(IClientService service, ComputeMessageStatsRequest body, string topic)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ComputeMessageStatsRequest | body | |
string | topic |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PubsubLite.v1.Data.ComputeMessageStatsResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PubsubLite.v1.Data.ComputeMessageStatsResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PubsubLite.v1.Data.ComputeMessageStatsResponse>.RestPath
Topic
Required. The topic for which we should compute message stats.
Declaration
[RequestParameter("topic", RequestParameterType.Path)]
public virtual string Topic { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PubsubLite.v1.Data.ComputeMessageStatsResponse>.GetBody()
InitParameters()
Initializes ComputeMessageStats parameter list.
Declaration
protected override void InitParameters()