Google Cloud Logging v2 API - Class DeleteLogRequest (4.4.0)

public sealed class DeleteLogRequest : IMessage<DeleteLogRequest>, IEquatable<DeleteLogRequest>, IDeepCloneable<DeleteLogRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Logging v2 API class DeleteLogRequest.

The parameters to DeleteLog.

Inheritance

object > DeleteLogRequest

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

DeleteLogRequest()

public DeleteLogRequest()

DeleteLogRequest(DeleteLogRequest)

public DeleteLogRequest(DeleteLogRequest other)
Parameter
Name Description
other DeleteLogRequest

Properties

LogName

public string LogName { get; set; }

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][google.logging.v2.LogEntry].

Property Value
Type Description
string

LogNameAsLogName

public LogName LogNameAsLogName { get; set; }

LogName-typed view over the LogName resource name property.

Property Value
Type Description
LogName