Class: Google::Logging::V2::DeleteLogRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/logging/v2/doc/google/logging/v2/logging.rb

Overview

The parameters to DeleteLog.

Instance Attribute Summary collapse

Instance Attribute Details

#log_nameString

Returns 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/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"+. For more information about log names, see LogEntry.

Returns:

  • (String)

    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/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"+. For more information about log names, see LogEntry.



48
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging.rb', line 48

class DeleteLogRequest; end