Class: Google::Apis::WorkloadmanagerV1::AgentStatusIamPermission

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

Overview

The IAM permission status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AgentStatusIamPermission

Returns a new instance of AgentStatusIamPermission.



411
412
413
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 411

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

Instance Attribute Details

#grantedString

Output only. Whether the permission is granted. Corresponds to the JSON property granted

Returns:

  • (String)


404
405
406
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 404

def granted
  @granted
end

#nameString

Output only. The name of the permission. Corresponds to the JSON property name

Returns:

  • (String)


409
410
411
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 409

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



416
417
418
419
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 416

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