Class: Google::Apis::ContainerV1::OperationError
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::OperationError
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
OperationError records errors seen from CloudKMS keys encountered during updates to DatabaseEncryption configuration.
Instance Attribute Summary collapse
-
#error_message ⇒ String
Description of the error seen during the operation.
-
#key_name ⇒ String
CloudKMS key resource that had the error.
-
#timestamp ⇒ String
Time when the CloudKMS error was seen.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OperationError
constructor
A new instance of OperationError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OperationError
Returns a new instance of OperationError.
5438 5439 5440 |
# File 'lib/google/apis/container_v1/classes.rb', line 5438 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_message ⇒ String
Description of the error seen during the operation.
Corresponds to the JSON property errorMessage
5426 5427 5428 |
# File 'lib/google/apis/container_v1/classes.rb', line 5426 def @error_message end |
#key_name ⇒ String
CloudKMS key resource that had the error.
Corresponds to the JSON property keyName
5431 5432 5433 |
# File 'lib/google/apis/container_v1/classes.rb', line 5431 def key_name @key_name end |
#timestamp ⇒ String
Time when the CloudKMS error was seen.
Corresponds to the JSON property timestamp
5436 5437 5438 |
# File 'lib/google/apis/container_v1/classes.rb', line 5436 def @timestamp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5443 5444 5445 5446 5447 |
# File 'lib/google/apis/container_v1/classes.rb', line 5443 def update!(**args) @error_message = args[:error_message] if args.key?(:error_message) @key_name = args[:key_name] if args.key?(:key_name) @timestamp = args[:timestamp] if args.key?(:timestamp) end |