Reference documentation and code samples for the Design Center V1 API class Google::Cloud::DesignCenter::V1::ImportIaCError.
Message representing the error encountered during import. Example: A variable with name "name" is expected to be of type string, but is provided as number, inside a module named "my_module". { resource_address: "module.my_module.name" file: "gs://my_bucket/main.tf" range: { start: { line: 2 byte_offset: 1 column: 2 } end: { line: 2 byte_offset: 10 column: 10 } } description: "Error parsing field: "name". Expected type "string" but got "number"." type: INVALID }
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::String- (::String) — Output only. The description of the error.
#error_code
def error_code() -> ::Google::Cloud::DesignCenter::V1::ImportIaCError::ErrorCode- (::Google::Cloud::DesignCenter::V1::ImportIaCError::ErrorCode) — Output only. Specific error code for the import error.
#file
def file() -> ::String- (::String) — Output only. The file where the error has occurred.
#range
def range() -> ::Google::Cloud::DesignCenter::V1::CodeRange- (::Google::Cloud::DesignCenter::V1::CodeRange) — Output only. The code portion where this error occurs.
#resource_address
def resource_address() -> ::String- (::String) — Output only. The resource address of the error.
#type
def type() -> ::Google::Cloud::DesignCenter::V1::ImportIaCError::Type- (::Google::Cloud::DesignCenter::V1::ImportIaCError::Type) — Output only. The type of error.