Design Center v1 API - Class ImportIaCError (1.0.0-beta01)

public sealed class ImportIaCError : IMessage<ImportIaCError>, IEquatable<ImportIaCError>, IDeepCloneable<ImportIaCError>, IBufferMessage, IMessage

Reference documentation and code samples for the Design Center v1 API class 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 }

Inheritance

object > ImportIaCError

Namespace

Google.Cloud.DesignCenter.V1

Assembly

Google.Cloud.DesignCenter.V1.dll

Constructors

ImportIaCError()

public ImportIaCError()

ImportIaCError(ImportIaCError)

public ImportIaCError(ImportIaCError other)
Parameter
Name Description
other ImportIaCError

Properties

Description

public string Description { get; set; }

Output only. The description of the error.

Property Value
Type Description
string

ErrorCode

public ImportIaCError.Types.ErrorCode ErrorCode { get; set; }

Output only. Specific error code for the import error.

Property Value
Type Description
ImportIaCErrorTypesErrorCode

File

public string File { get; set; }

Output only. The file where the error has occurred.

Property Value
Type Description
string

Range

public CodeRange Range { get; set; }

Output only. The code portion where this error occurs.

Property Value
Type Description
CodeRange

ResourceAddress

public string ResourceAddress { get; set; }

Output only. The resource address of the error.

Property Value
Type Description
string

Type

public ImportIaCError.Types.Type Type { get; set; }

Output only. The type of error.

Property Value
Type Description
ImportIaCErrorTypesType