REST Resource: projects.locations.loggingSettings

Resource: LoggingSetting

Message describing LoggingSetting object

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "labels": {
    string: string,
    ...
  },
  "logPromptsAndResponses": boolean,
  "logMetadata": boolean
}
Fields
name

string

Identifier. Name of the resource. Format:projects/{project}/locations/{location}/loggingsettings/{loggingsetting}

createTime

string (Timestamp format)

Output only. [Output only] Create time stamp.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. [Output only] Update time stamp.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

labels

map (key: string, value: string)

Optional. Labels as key value pairs.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

logPromptsAndResponses

boolean

Optional. Whether to log prompts and responses.

logMetadata

boolean

Optional. Whether to log metadata.

Methods

create

Creates a new LoggingSetting in a given project and location.

delete

Deletes a single LoggingSetting.

get

Gets details of a single LoggingSetting.

list

Lists LoggingSettings in a given project and location.

patch

Updates the parameters of a single LoggingSetting.