Class: Google::Apis::GameservicesV1beta::CloudAuditOptions
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1beta::CloudAuditOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gameservices_v1beta/classes.rb,
lib/google/apis/gameservices_v1beta/representations.rb,
lib/google/apis/gameservices_v1beta/representations.rb
Overview
Write a Cloud Audit log
Instance Attribute Summary collapse
-
#authorization_logging_options ⇒ Google::Apis::GameservicesV1beta::AuthorizationLoggingOptions
Authorization-related information used by Cloud Audit Logging.
-
#log_name ⇒ String
The log_name to populate in the Cloud Audit Record.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAuditOptions
constructor
A new instance of CloudAuditOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAuditOptions
Returns a new instance of CloudAuditOptions.
231 232 233 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 231 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authorization_logging_options ⇒ Google::Apis::GameservicesV1beta::AuthorizationLoggingOptions
Authorization-related information used by Cloud Audit Logging.
Corresponds to the JSON property authorizationLoggingOptions
224 225 226 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 224 def @authorization_logging_options end |
#log_name ⇒ String
The log_name to populate in the Cloud Audit Record.
Corresponds to the JSON property logName
229 230 231 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 229 def log_name @log_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
236 237 238 239 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 236 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 |