Class: Google::Apis::IamV1::AuditableService

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb

Overview

Contains information about an auditable service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuditableService

Returns a new instance of AuditableService.



177
178
179
# File 'lib/google/apis/iam_v1/classes.rb', line 177

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

Public name of the service. For example, the service name for IAM is 'iam. googleapis.com'. Corresponds to the JSON property name

Returns:

  • (String)


175
176
177
# File 'lib/google/apis/iam_v1/classes.rb', line 175

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



182
183
184
# File 'lib/google/apis/iam_v1/classes.rb', line 182

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