Class: Google::Apis::CloudassetV1::GoogleCloudAssetV1DeniedAccessAccess
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::GoogleCloudAssetV1DeniedAccessAccess
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb
Overview
An IAM role or permission under analysis.
Instance Attribute Summary collapse
-
#permission ⇒ String
The IAM permission in v1 format Corresponds to the JSON property
permission. -
#role ⇒ String
The IAM role.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssetV1DeniedAccessAccess
constructor
A new instance of GoogleCloudAssetV1DeniedAccessAccess.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssetV1DeniedAccessAccess
Returns a new instance of GoogleCloudAssetV1DeniedAccessAccess.
1768 1769 1770 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1768 def initialize(**args) update!(**args) end |
Instance Attribute Details
#permission ⇒ String
The IAM permission in v1 format
Corresponds to the JSON property permission
1761 1762 1763 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1761 def @permission end |
#role ⇒ String
The IAM role.
Corresponds to the JSON property role
1766 1767 1768 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1766 def role @role end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1773 1774 1775 1776 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1773 def update!(**args) @permission = args[:permission] if args.key?(:permission) @role = args[:role] if args.key?(:role) end |