class Google::Apis::LoggingV1beta3::Log
_Output only._ Describes a log, which is a named stream of log entries.
Attributes
Optional. The common name of the log. Example: `“request_log”`. Corresponds to the JSON property `displayName` @return [String]
The resource name of the log. Example: `“/projects/my-gcp-project-id/logs/ LOG_NAME”`, where `LOG_NAME` is the URL-encoded given name of the log. The log includes those log entries whose `LogEntry.log` field contains this given name. To avoid name collisions, it is a best practice to prefix the given log name with the service name, but this is not required. Examples of log given names: ` “appengine.googleapis.com/request_log”`, `“apache-access”`. Corresponds to the JSON property `name` @return [String]
Optional. A URI representing the expected payload type for log entries. Corresponds to the JSON property `payloadType` @return [String]
Public Class Methods
# File generated/google/apis/logging_v1beta3/classes.rb, line 77 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/logging_v1beta3/classes.rb, line 82 def update!(**args) @name = args[:name] unless args[:name].nil? @display_name = args[:display_name] unless args[:display_name].nil? @payload_type = args[:payload_type] unless args[:payload_type].nil? end