Class: Google::Apis::ContainerV1beta1::OperationError

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

Overview

OperationError records errors seen from CloudKMS keys encountered during updates to DatabaseEncryption configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OperationError

Returns a new instance of OperationError.



5711
5712
5713
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5711

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

Instance Attribute Details

#error_messageString

Description of the error seen during the operation. Corresponds to the JSON property errorMessage

Returns:

  • (String)


5699
5700
5701
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5699

def error_message
  @error_message
end

#key_nameString

CloudKMS key resource that had the error. Corresponds to the JSON property keyName

Returns:

  • (String)


5704
5705
5706
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5704

def key_name
  @key_name
end

#timestampString

Time when the CloudKMS error was seen. Corresponds to the JSON property timestamp

Returns:

  • (String)


5709
5710
5711
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5709

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5716
5717
5718
5719
5720
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5716

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