Class: Google::Apis::ComputeBeta::AuthorizationLoggingOptions

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

Overview

Authorization-related information used by Cloud Audit Logging.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AuthorizationLoggingOptions

Returns a new instance of AuthorizationLoggingOptions



1876
1877
1878
# File 'generated/google/apis/compute_beta/classes.rb', line 1876

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)


1874
1875
1876
# File 'generated/google/apis/compute_beta/classes.rb', line 1874

def permission_type
  @permission_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1881
1882
1883
# File 'generated/google/apis/compute_beta/classes.rb', line 1881

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