Class: Google::Apis::MlV1::GoogleIamV1LogConfigCloudAuditOptions
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleIamV1LogConfigCloudAuditOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/ml_v1/classes.rb,
generated/google/apis/ml_v1/representations.rb,
generated/google/apis/ml_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) ⇒ GoogleIamV1LogConfigCloudAuditOptions
constructor
A new instance of GoogleIamV1LogConfigCloudAuditOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleIamV1LogConfigCloudAuditOptions
Returns a new instance of GoogleIamV1LogConfigCloudAuditOptions
520 521 522 |
# File 'generated/google/apis/ml_v1/classes.rb', line 520 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
517 518 519 |
# File 'generated/google/apis/ml_v1/classes.rb', line 517 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
512 513 514 |
# File 'generated/google/apis/ml_v1/classes.rb', line 512 def log_name @log_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
525 526 527 528 |
# File 'generated/google/apis/ml_v1/classes.rb', line 525 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 |