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.



8232
8233
8234
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8232

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)


8220
8221
8222
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8220

def error_message
  @error_message
end

#key_nameString

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

Returns:

  • (String)


8225
8226
8227
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8225

def key_name
  @key_name
end

#timestampString

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

Returns:

  • (String)


8230
8231
8232
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8230

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8237
8238
8239
8240
8241
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8237

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