Class: Google::Apis::GameservicesV1::CloudAuditOptions

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

Overview

Write a Cloud Audit log

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAuditOptions

Returns a new instance of CloudAuditOptions.



232
233
234
# File 'generated/google/apis/gameservices_v1/classes.rb', line 232

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

Instance Attribute Details

#authorization_logging_optionsGoogle::Apis::GameservicesV1::AuthorizationLoggingOptions

Authorization-related information used by Cloud Audit Logging. Corresponds to the JSON property authorizationLoggingOptions



225
226
227
# File 'generated/google/apis/gameservices_v1/classes.rb', line 225

def authorization_logging_options
  @authorization_logging_options
end

#log_nameString

The log_name to populate in the Cloud Audit Record. Corresponds to the JSON property logName

Returns:

  • (String)


230
231
232
# File 'generated/google/apis/gameservices_v1/classes.rb', line 230

def log_name
  @log_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



237
238
239
240
# File 'generated/google/apis/gameservices_v1/classes.rb', line 237

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