Class: Google::Apis::ServicemanagementV1::CloudAuditOptions
- Inherits:
-
Object
- Object
- Google::Apis::ServicemanagementV1::CloudAuditOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicemanagement_v1/classes.rb,
generated/google/apis/servicemanagement_v1/representations.rb,
generated/google/apis/servicemanagement_v1/representations.rb
Overview
Write a Cloud Audit log
Instance Attribute Summary collapse
-
#is_read_permission_type ⇒ Boolean
(also: #is_read_permission_type?)
True if the log is for a permission of type DATA_READ or ADMIN_READ.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CloudAuditOptions
Returns a new instance of CloudAuditOptions
1706 1707 1708 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1706 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_read_permission_type ⇒ Boolean Also known as: is_read_permission_type?
True if the log is for a permission of type DATA_READ or ADMIN_READ.
Corresponds to the JSON property isReadPermissionType
1703 1704 1705 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1703 def @is_read_permission_type end |
#log_name ⇒ String
The log_name to populate in the Cloud Audit Record.
Corresponds to the JSON property logName
1698 1699 1700 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1698 def log_name @log_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1711 1712 1713 1714 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1711 def update!(**args) @log_name = args[:log_name] if args.key?(:log_name) @is_read_permission_type = args[:is_read_permission_type] if args.key?(:is_read_permission_type) end |