Show / Hide Table of Contents

Class LogsResource.DeleteRequest

Deletes all the log entries in a log for the global _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.

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

Constructors

DeleteRequest(IClientService, string)

Constructs a new Delete request.

Declaration
public DeleteRequest(IClientService service, string logName)
Parameters
Type Name Description
IClientService service
string logName

Properties

HttpMethod

Gets the HTTP method.

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

LogName

Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more information about log names, see LogEntry.

Declaration
[RequestParameter("logName", RequestParameterType.Path)]
public virtual string LogName { get; }
Property Value
Type Description
string

MethodName

Gets the method name.

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

RestPath

Gets the REST path.

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

Methods

InitParameters()

Initializes Delete parameter list.

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

Implements

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