class Google::Apis::LoggingV1beta3::LogService

_Output only._ Describes a service that writes log entries.

Attributes

index_keys[RW]

A list of the names of the keys used to index and label individual log entries from this service. The first two keys are used as the primary and secondary index, respectively. Additional keys may be used to label the entries. For example, App Engine indexes its entries by module and by version, so its ` indexKeys` field is the following: [ “appengine.googleapis.com/module_id”, “ appengine.googleapis.com/version_id” ] Corresponds to the JSON property `indexKeys` @return [Array<String>]

name[RW]

The service's name. Example: `“appengine.googleapis.com”`. Log names beginning with this string are reserved for this service. This value can appear in the ` Google::Apis::LoggingV1beta3::LogEntry#metadata.serviceName` field of log entries associated with this log service. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/logging_v1beta3/classes.rb, line 419
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 424
def update!(**args)
  @name = args[:name] unless args[:name].nil?
  @index_keys = args[:index_keys] unless args[:index_keys].nil?
end