Class TopicsResource.PublishBatchRequest
Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist.
Inheritance
TopicsResource.PublishBatchRequest
Inherited Members
Namespace: Google.Apis.Pubsub.v1beta1a
Assembly: Google.Apis.Pubsub.v1beta1a.dll
Syntax
public class TopicsResource.PublishBatchRequest : PubsubBaseServiceRequest<PublishBatchResponse>, IClientServiceRequest<PublishBatchResponse>, IClientServiceRequest
Constructors
PublishBatchRequest(IClientService, PublishBatchRequest)
Constructs a new PublishBatch request.
Declaration
public PublishBatchRequest(IClientService service, PublishBatchRequest body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
PublishBatchRequest | body |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes PublishBatch parameter list.
Declaration
protected override void InitParameters()