LogsPolicy class
LogsPolicy describes if and how a job's logs are preserved.
Logs include information that is automatically written by the Batch service
agent and any information that you configured the job's runnables to write
to the stdout
or stderr
streams.
Constructors
- LogsPolicy.new({CloudLoggingOption? cloudLoggingOption, String? destination, String? logsPath})
- LogsPolicy.fromJson(Map json_)
Properties
- cloudLoggingOption ↔ CloudLoggingOption?
-
When
destination
is set toCLOUD_LOGGING
, you can optionally set this field to configure additional settings for Cloud Logging.getter/setter pair - destination ↔ String?
-
If and where logs should be saved.
Possible string values are:
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- logsPath ↔ String?
-
When
destination
is set toPATH
, you must set this field to the path where you want logs to be saved.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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