Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<WriteLogEntriesResponse>
LoggingBaseServiceRequest<WriteLogEntriesResponse>
EntriesResource.WriteRequest
Implements
IClientServiceRequest<WriteLogEntriesResponse>
IClientServiceRequest
Inherited Members
LoggingBaseServiceRequest<WriteLogEntriesResponse>.Xgafv
LoggingBaseServiceRequest<WriteLogEntriesResponse>.AccessToken
LoggingBaseServiceRequest<WriteLogEntriesResponse>.Alt
LoggingBaseServiceRequest<WriteLogEntriesResponse>.Callback
LoggingBaseServiceRequest<WriteLogEntriesResponse>.Fields
LoggingBaseServiceRequest<WriteLogEntriesResponse>.Key
LoggingBaseServiceRequest<WriteLogEntriesResponse>.OauthToken
LoggingBaseServiceRequest<WriteLogEntriesResponse>.PrettyPrint
LoggingBaseServiceRequest<WriteLogEntriesResponse>.QuotaUser
LoggingBaseServiceRequest<WriteLogEntriesResponse>.UploadType
LoggingBaseServiceRequest<WriteLogEntriesResponse>.UploadProtocol
ClientServiceRequest<WriteLogEntriesResponse>.Execute()
ClientServiceRequest<WriteLogEntriesResponse>.ExecuteAsStream()
ClientServiceRequest<WriteLogEntriesResponse>.ExecuteAsync()
ClientServiceRequest<WriteLogEntriesResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<WriteLogEntriesResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<WriteLogEntriesResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<WriteLogEntriesResponse>.CreateRequest(bool?)
ClientServiceRequest<WriteLogEntriesResponse>.GenerateRequestUri()
ClientServiceRequest<WriteLogEntriesResponse>.GetDefaultETagAction(string)
ClientServiceRequest<WriteLogEntriesResponse>.ETagAction
ClientServiceRequest<WriteLogEntriesResponse>.ModifyRequest
ClientServiceRequest<WriteLogEntriesResponse>.ValidateParameters
ClientServiceRequest<WriteLogEntriesResponse>.ApiVersion
ClientServiceRequest<WriteLogEntriesResponse>.RequestParameters
ClientServiceRequest<WriteLogEntriesResponse>.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.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
ClientServiceRequest<WriteLogEntriesResponse>.HttpMethod

MethodName

Gets the method name.

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

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<WriteLogEntriesResponse>.GetBody()

InitParameters()

Initializes Write parameter list.

Declaration
protected override void InitParameters()
Overrides
LoggingBaseServiceRequest<WriteLogEntriesResponse>.InitParameters()

Implements

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