Class: Google::Apis::ComputeAlpha::LogConfigDataAccessOptions

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LogConfigDataAccessOptions

Returns a new instance of LogConfigDataAccessOptions.



17513
17514
17515
# File 'generated/google/apis/compute_alpha/classes.rb', line 17513

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. Corresponds to the JSON property logMode

Returns:

  • (String)


17511
17512
17513
# File 'generated/google/apis/compute_alpha/classes.rb', line 17511

def log_mode
  @log_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17518
17519
17520
# File 'generated/google/apis/compute_alpha/classes.rb', line 17518

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