class Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec

**Cloud Audit Logging**: Spec for Audit Logging Allowlisting.

Attributes

allowlisted_service_accounts[RW]

Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. These accounts must already exist, but do not need to have any permissions granted to them. The customer's entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.) Corresponds to the JSON property `allowlistedServiceAccounts` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gkehub_v1alpha/classes.rb, line 193
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gkehub_v1alpha/classes.rb, line 198
def update!(**args)
  @allowlisted_service_accounts = args[:allowlisted_service_accounts] if args.key?(:allowlisted_service_accounts)
end