Class: Google::Apis::GameservicesV1beta::AuthorizationLoggingOptions

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

Overview

Authorization-related information used by Cloud Audit Logging.

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) ⇒ AuthorizationLoggingOptions

Returns a new instance of AuthorizationLoggingOptions.



163
164
165
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 163

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

Instance Attribute Details

#permission_typeString

The type of the permission that was checked. Corresponds to the JSON property permissionType

Returns:

  • (String)


161
162
163
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 161

def permission_type
  @permission_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



168
169
170
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 168

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