class Google::Apis::LoggingV1beta3::WriteLogEntriesRequest

The parameters to WriteLogEntries.

Attributes

common_labels[RW]

Metadata labels that apply to all log entries in this request, so that you don' t have to repeat them in each log entry's `metadata.labels` field. If any of the log entries contains a (key, value) with the same key that is in ` commonLabels`, then the entry's (key, value) overrides the one in ` commonLabels`. Corresponds to the JSON property `commonLabels` @return [Hash<String,String>]

entries[RW]

Log entries to insert. Corresponds to the JSON property `entries` @return [Array<Google::Apis::LoggingV1beta3::LogEntry>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/logging_v1beta3/classes.rb, line 124
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/logging_v1beta3/classes.rb, line 129
def update!(**args)
  @common_labels = args[:common_labels] unless args[:common_labels].nil?
  @entries = args[:entries] unless args[:entries].nil?
end