Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse

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

Response for batch violation acknowledgement

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse

Returns a new instance of GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse.



315
316
317
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 315

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

Instance Attribute Details

#acknowledged_violations_countFixnum

Count of acknowledged violations. Corresponds to the JSON property acknowledgedViolationsCount

Returns:

  • (Fixnum)


313
314
315
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 313

def acknowledged_violations_count
  @acknowledged_violations_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



320
321
322
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 320

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