Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/assuredworkloads_v1beta1/classes.rb,
lib/google/apis/assuredworkloads_v1beta1/representations.rb,
lib/google/apis/assuredworkloads_v1beta1/representations.rb
Overview
Violation exception detail. Next Id: 5
Instance Attribute Summary collapse
-
#acknowledgement_time ⇒ String
Timestamp when the violation was acknowledged.
-
#comment ⇒ String
Business justification provided towards the acknowledgement of the violation.
-
#principal_email ⇒ String
Email address of the user (or service account) who acknowledged the violation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext
constructor
A new instance of GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext
Returns a new instance of GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext.
312 313 314 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 312 def initialize(**args) update!(**args) end |
Instance Attribute Details
#acknowledgement_time ⇒ String
Timestamp when the violation was acknowledged.
Corresponds to the JSON property acknowledgementTime
300 301 302 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 300 def acknowledgement_time @acknowledgement_time end |
#comment ⇒ String
Business justification provided towards the acknowledgement of the violation.
Corresponds to the JSON property comment
305 306 307 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 305 def comment @comment end |
#principal_email ⇒ String
Email address of the user (or service account) who acknowledged the violation.
Corresponds to the JSON property principalEmail
310 311 312 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 310 def principal_email @principal_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
317 318 319 320 321 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 317 def update!(**args) @acknowledgement_time = args[:acknowledgement_time] if args.key?(:acknowledgement_time) @comment = args[:comment] if args.key?(:comment) @principal_email = args[:principal_email] if args.key?(:principal_email) end |