Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1CloudControlAssessmentDetails

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

Overview

The cloud control assessment details for non-manual cloud controls.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1CloudControlAssessmentDetails

Returns a new instance of GoogleCloudAssuredworkloadsV1CloudControlAssessmentDetails.



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

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

Instance Attribute Details

#evaluation_stateString

Output only. The evaluation status of the cloud control. Corresponds to the JSON property evaluationState

Returns:

  • (String)


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

def evaluation_state
  @evaluation_state
end

#findings_countFixnum

The number of findings for the cloud control. Corresponds to the JSON property findingsCount

Returns:

  • (Fixnum)


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

def findings_count
  @findings_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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