Class: Google::Apis::DeploymentmanagerV2::AuditConfig
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2::AuditConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_v2/classes.rb,
generated/google/apis/deploymentmanager_v2/representations.rb,
generated/google/apis/deploymentmanager_v2/representations.rb
Overview
Enables "data access" audit logging for a service and specifies a list of members that are log-exempted.
Instance Attribute Summary collapse
-
#exempted_members ⇒ Array<String>
Specifies the identities that are exempted from "data access" audit logging for the
service
specified above. -
#service ⇒ String
Specifies a service that will be enabled for "data access" audit logging.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuditConfig
constructor
A new instance of AuditConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AuditConfig
Returns a new instance of AuditConfig.
43 44 45 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 43 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exempted_members ⇒ Array<String>
Specifies the identities that are exempted from "data access" audit logging
for the service
specified above. Follows the same format of Binding.members.
Corresponds to the JSON property exemptedMembers
34 35 36 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 34 def exempted_members @exempted_members end |
#service ⇒ String
Specifies a service that will be enabled for "data access" audit logging. For
example, resourcemanager
, storage
, compute
. allServices
is a special
value that covers all services.
Corresponds to the JSON property service
41 42 43 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 41 def service @service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
48 49 50 51 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 48 def update!(**args) @exempted_members = args[:exempted_members] if args.key?(:exempted_members) @service = args[:service] if args.key?(:service) end |