Class: Google::Apis::ComputeAlpha::AuthorizationLoggingOptions

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/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.



1787
1788
1789
# File 'lib/google/apis/compute_alpha/classes.rb', line 1787

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)


1785
1786
1787
# File 'lib/google/apis/compute_alpha/classes.rb', line 1785

def permission_type
  @permission_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1792
1793
1794
# File 'lib/google/apis/compute_alpha/classes.rb', line 1792

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