Class: Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1Access
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1Access
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1p4beta1/classes.rb,
lib/google/apis/cloudasset_v1p4beta1/representations.rb,
lib/google/apis/cloudasset_v1p4beta1/representations.rb
Overview
An IAM role or permission under analysis.
Instance Attribute Summary collapse
-
#analysis_state ⇒ Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1AnalysisState
Represents the detailed state of an entity under analysis, such as a resource, an identity or an access.
-
#permission ⇒ String
The permission.
-
#role ⇒ String
The role.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssetV1p4beta1Access
constructor
A new instance of GoogleCloudAssetV1p4beta1Access.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssetV1p4beta1Access
Returns a new instance of GoogleCloudAssetV1p4beta1Access.
378 379 380 |
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 378 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analysis_state ⇒ Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1AnalysisState
Represents the detailed state of an entity under analysis, such as a resource,
an identity or an access.
Corresponds to the JSON property analysisState
366 367 368 |
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 366 def analysis_state @analysis_state end |
#permission ⇒ String
The permission.
Corresponds to the JSON property permission
371 372 373 |
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 371 def @permission end |
#role ⇒ String
The role.
Corresponds to the JSON property role
376 377 378 |
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 376 def role @role end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
383 384 385 386 387 |
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 383 def update!(**args) @analysis_state = args[:analysis_state] if args.key?(:analysis_state) @permission = args[:permission] if args.key?(:permission) @role = args[:role] if args.key?(:role) end |