# Service Management V1 API - Class Google::Api::LogDescriptor (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.2 0.11.0 0.10.2 0.9.0 0.8.0 0.7.0 0.6.1 0.5.0 0.4.1 0.3.10 Reference documentation and code samples for the Service Management V1 API class Google::Api::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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #description

    def description() -> ::String

**Returns**

- (::String) --- A human-readable description of this log. This information appears in the documentation and can contain details.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- A human-readable description of this log. This information appears in the documentation and can contain details.
**Returns**

- (::String) --- A human-readable description of this log. This information appears in the documentation and can contain details.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- The human-readable name for this log. This information appears on the user interface and should be concise.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The human-readable name for this log. This information appears on the user interface and should be concise.
**Returns**

- (::String) --- The human-readable name for this log. This information appears on the user interface and should be concise.

### #labels

    def labels() -> ::Array<::Google::Api::LabelDescriptor>

**Returns**

- (::Array\<[::Google::Api::LabelDescriptor](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Api-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.

### #labels=

    def labels=(value) -> ::Array<::Google::Api::LabelDescriptor>

**Parameter**

- **value** (::Array\<[::Google::Api::LabelDescriptor](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Api-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.
**Returns**

- (::Array\<[::Google::Api::LabelDescriptor](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Api-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.

### #name

    def name() -> ::String

**Returns**

- (::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 \[/_-.\].

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::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 \[/_-.\].
**Returns**

- (::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 \[/_-.\].