Class EntriesResource.WriteRequest
Writes log entries to Logging. This API method is the only way to send log entries to Logging. This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging libraries configured to use Logging. A single request may contain log entries for a maximum of 1000 different resource names (projects, organizations, billing accounts or folders), where the resource name for a log entry is determined from its logName field.
Inheritance
EntriesResource.WriteRequest
Inherited Members
Namespace: Google.Apis.Logging.v2
Assembly: Google.Apis.Logging.v2.dll
Syntax
public class EntriesResource.WriteRequest : LoggingBaseServiceRequest<WriteLogEntriesResponse>, IClientServiceRequest<WriteLogEntriesResponse>, IClientServiceRequest
Constructors
WriteRequest(IClientService, WriteLogEntriesRequest)
Constructs a new Write request.
Declaration
public WriteRequest(IClientService service, WriteLogEntriesRequest body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
WriteLogEntriesRequest | 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 Write parameter list.
Declaration
protected override void InitParameters()