LogBucket class
Describes a repository in which log entries are stored.
Constructors
Properties
- analyticsEnabled ↔ bool?
-
Whether log analytics is enabled for this bucket.Once enabled, log
analytics features cannot be disabled.
getter/setter pair
- cmekSettings ↔ CmekSettings?
-
The CMEK settings of the log bucket.
getter/setter pair
- createTime ↔ String?
-
The creation timestamp of the bucket.
getter/setter pair
- description ↔ String?
-
Describes this bucket.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
indexConfigs
↔ List<
IndexConfig> ? -
A list of indexed fields and related configuration data.
getter/setter pair
- lifecycleState ↔ String?
-
The bucket lifecycle state.
getter/setter pair
- locked ↔ bool?
-
Whether the bucket is locked.The retention period on a locked bucket
cannot be changed.
getter/setter pair
- name ↔ String?
-
The resource name of the bucket.For
example:projects/my-project/locations/global/buckets/my-bucketFor a list
of supported locations, see Supported Regions
(https://cloud.google.com/logging/docs/region-support)For the location of
global it is unspecified where log entries are actually stored.After a
bucket has been created, the location cannot be changed.
getter/setter pair
-
restrictedFields
↔ List<
String> ? -
Log entry field paths that are denied access in this bucket.The following
fields and their children are eligible: textPayload, jsonPayload,
protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated
field will restrict all values.
getter/setter pair
- retentionDays ↔ int?
-
Logs will be retained by default for this amount of time, after which they
will automatically be deleted.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateTime ↔ String?
-
The last update timestamp of the bucket.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited