public sealed class LogDescriptor : IMessage<LogDescriptor>, IEquatable<LogDescriptor>, IDeepCloneable<LogDescriptor>, IBufferMessage, IMessage
A description of a log type. Example in YAML format:
- name: library.googleapis.com/activity_history
description: The history of borrowing and returning library items.
display_name: Activity
labels:
- key: /customer_id
description: Identifier of a library customer
The name of the log. It must be less than 512 characters long and can
include the following characters: upper- and lower-case alphanumeric
characters [A-Za-z0-9], and punctuation characters including
slash, underscore, hyphen, period [/_-.].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The `LogDescriptor` class describes a log type and includes properties like `Name`, `Description`, `DisplayName`, and `Labels` for defining log characteristics."],["This class is part of the `Google.Api` namespace within the `Google.Api.CommonProtos.dll` assembly, and it inherits from the base object class while implementing several interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `LogDescriptor` class provides methods for object manipulation, including `Clone()`, `Equals()`, `GetHashCode()`, `MergeFrom()`, and `WriteTo()`, as well as the ability to calculate the object size via the `CalculateSize()` method."],["Constructors are available to create new instances of the `LogDescriptor` class, either as an empty log descriptor or by cloning another `LogDescriptor` instance, allowing flexibility when generating new logs."],["The class contains public constant fields, for the 'description', 'display_name', 'labels' and 'name' fields, each defined with a `FieldNumber` that represents each of their respective field numbers."]]],[]]