Class: Google::Apis::DeploymentmanagerV2beta::LogConfigDataAccessOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/deploymentmanager_v2beta/classes.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb

Overview

Write a Data Access (Gin) log

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LogConfigDataAccessOptions

Returns a new instance of LogConfigDataAccessOptions



1098
1099
1100
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1098

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#log_modeString

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

Returns:

  • (String)


1096
1097
1098
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1096

def log_mode
  @log_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1103
1104
1105
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1103

def update!(**args)
  @log_mode = args[:log_mode] if args.key?(:log_mode)
end