class Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1AnalysisState

Represents the detailed state of an entity under analysis, such as a resource, an identity or an access.

Attributes

cause[RW]

The human-readable description of the cause of failure. Corresponds to the JSON property `cause` @return [String]

code[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1p4beta1/classes.rb, line 476
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudasset_v1p4beta1/classes.rb, line 481
def update!(**args)
  @cause = args[:cause] if args.key?(:cause)
  @code = args[:code] if args.key?(:code)
end