Class: Google::Apis::GameservicesV1::AuthorizationLoggingOptions

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

Overview

Authorization-related information used by Cloud Audit Logging.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthorizationLoggingOptions

Returns a new instance of AuthorizationLoggingOptions.



112
113
114
# File 'lib/google/apis/gameservices_v1/classes.rb', line 112

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)


110
111
112
# File 'lib/google/apis/gameservices_v1/classes.rb', line 110

def permission_type
  @permission_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



117
118
119
# File 'lib/google/apis/gameservices_v1/classes.rb', line 117

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