Class: Google::Apis::DeploymentmanagerV2beta::Operation::Error

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/deploymentmanager_v2beta/classes.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb

Overview

[Output Only] If errors are generated during processing of the operation, this field will be populated.

Defined Under Namespace

Classes: Error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Error

Returns a new instance of Error.



1235
1236
1237
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1235

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

Instance Attribute Details

#errorsArray<Google::Apis::DeploymentmanagerV2beta::Operation::Error::Error>

[Output Only] The array of errors encountered while processing this operation. Corresponds to the JSON property errors



1233
1234
1235
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1233

def errors
  @errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1240
1241
1242
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1240

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