Reference documentation and code samples for the Google API Common Protos Client class LogDescriptor.
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
Generated from protobuf message google.api.LogDescriptor
Namespace
Google \ ApiMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
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 [/_-.].
↳ labels
array< LabelDescriptor
>
The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.
↳ description
string
A human-readable description of this log. This information appears in the documentation and can contain details.
↳ display_name
string
The human-readable name for this log. This information appears on the user interface and should be concise.
getName
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 [/_-.].
string
setName
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 [/_-.].
var
string
$this
getLabels
The set of labels that are available to describe a specific log entry.
Runtime requests that contain labels not specified here are considered invalid.
setLabels
The set of labels that are available to describe a specific log entry.
Runtime requests that contain labels not specified here are considered invalid.
$this
getDescription
A human-readable description of this log. This information appears in the documentation and can contain details.
string
setDescription
A human-readable description of this log. This information appears in the documentation and can contain details.
var
string
$this
getDisplayName
The human-readable name for this log. This information appears on the user interface and should be concise.
string
setDisplayName
The human-readable name for this log. This information appears on the user interface and should be concise.
var
string
$this