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

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

Overview

Contains information about an auditable service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AuditableService

Returns a new instance of AuditableService



173
174
175
# File 'generated/google/apis/iam_v1/classes.rb', line 173

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

Instance Attribute Details

#nameString

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

Returns:

  • (String)


171
172
173
# File 'generated/google/apis/iam_v1/classes.rb', line 171

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



178
179
180
# File 'generated/google/apis/iam_v1/classes.rb', line 178

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