Class: Google::Apis::DataflowV1b3::DebugOptions
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::DebugOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb
Overview
Describes any options that have an effect on the debugging of pipelines.
Instance Attribute Summary collapse
-
#data_sampling ⇒ Google::Apis::DataflowV1b3::DataSamplingConfig
Configuration options for sampling elements.
-
#enable_hot_key_logging ⇒ Boolean
(also: #enable_hot_key_logging?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DebugOptions
constructor
A new instance of DebugOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DebugOptions
Returns a new instance of DebugOptions.
1083 1084 1085 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1083 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_sampling ⇒ Google::Apis::DataflowV1b3::DataSamplingConfig
Configuration options for sampling elements.
Corresponds to the JSON property dataSampling
1074 1075 1076 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1074 def data_sampling @data_sampling end |
#enable_hot_key_logging ⇒ Boolean Also known as: enable_hot_key_logging?
Optional. When true, enables the logging of the literal hot key to the user's
Cloud Logging.
Corresponds to the JSON property enableHotKeyLogging
1080 1081 1082 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1080 def enable_hot_key_logging @enable_hot_key_logging end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1088 1089 1090 1091 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1088 def update!(**args) @data_sampling = args[:data_sampling] if args.key?(:data_sampling) @enable_hot_key_logging = args[:enable_hot_key_logging] if args.key?(:enable_hot_key_logging) end |