Class: Google::Apis::CloudassetV1::IamPolicyAnalysisState
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::IamPolicyAnalysisState
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudasset_v1/classes.rb,
generated/google/apis/cloudasset_v1/representations.rb,
generated/google/apis/cloudasset_v1/representations.rb
Overview
Represents the detailed state of an entity under analysis, such as a resource, an identity or an access.
Instance Attribute Summary collapse
-
#cause ⇒ String
The human-readable description of the cause of failure.
-
#code ⇒ String
The Google standard error code that best describes the state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IamPolicyAnalysisState
constructor
A new instance of IamPolicyAnalysisState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IamPolicyAnalysisState
Returns a new instance of IamPolicyAnalysisState.
2346 2347 2348 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 2346 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cause ⇒ String
The human-readable description of the cause of failure.
Corresponds to the JSON property cause
2335 2336 2337 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 2335 def cause @cause end |
#code ⇒ String
The Google standard error code that best describes the state. For example: -
OK means the analysis on this entity has been successfully finished; -
PERMISSION_DENIED means an access denied error is encountered; -
DEADLINE_EXCEEDED means the analysis on this entity hasn't been started in
time;
Corresponds to the JSON property code
2344 2345 2346 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 2344 def code @code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2351 2352 2353 2354 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 2351 def update!(**args) @cause = args[:cause] if args.key?(:cause) @code = args[:code] if args.key?(:code) end |