Resource: LogBucket
Describes a repository of logs.
JSON representation | |
---|---|
{
"name": string,
"description": string,
"createTime": string,
"updateTime": string,
"retentionDays": integer,
"locked": boolean,
"lifecycleState": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of the bucket. For example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id The supported locations are: "global" For the location of |
description |
Describes this bucket. |
createTime |
Output only. The creation timestamp of the bucket. This is not set for any of the default buckets. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The last update timestamp of the bucket. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
retentionDays |
Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used. |
locked |
Whether the bucket has been locked. The retention period on a locked bucket may not be changed. Locked buckets may only be deleted if they are empty. |
lifecycleState |
Output only. The bucket lifecycle state. |
Methods |
|
---|---|
|
Creates a bucket that can be used to store log entries. |
|
Deletes a bucket. |
|
Gets a bucket. |
|
Lists buckets. |
|
Updates a bucket. |
|
Undeletes a bucket. |