Class: Google::Apis::ComputeAlpha::LogConfigDataAccessOptions
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::LogConfigDataAccessOptions
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
Write a Data Access (Gin) log
Instance Attribute Summary collapse
-
#log_mode ⇒ String
Whether Gin logging should happen in a fail-closed manner at the caller.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LogConfigDataAccessOptions
constructor
A new instance of LogConfigDataAccessOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ LogConfigDataAccessOptions
Returns a new instance of LogConfigDataAccessOptions
15670 15671 15672 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 15670 def initialize(**args) update!(**args) end |
Instance Attribute Details
#log_mode ⇒ String
Whether Gin logging should happen in a fail-closed manner at the caller. This
is relevant only in the LocalIAM implementation, for now.
NOTE: Logging to Gin in a fail-closed manner is currently unsupported while
work is being done to satisfy the requirements of go/345. Currently, setting
LOG_FAIL_CLOSED mode will have no effect, but still exists because there is
active work being done to support it (b/115874152).
Corresponds to the JSON property logMode
15668 15669 15670 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 15668 def log_mode @log_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15675 15676 15677 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 15675 def update!(**args) @log_mode = args[:log_mode] if args.key?(:log_mode) end |