Design Center V1 API - Class Google::Cloud::DesignCenter::V1::ImportIaCError (v0.1.0)

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
Returns
  • (::String) — Output only. The description of the error.

#error_code

def error_code() -> ::Google::Cloud::DesignCenter::V1::ImportIaCError::ErrorCode
Returns

#file

def file() -> ::String
Returns
  • (::String) — Output only. The file where the error has occurred.

#range

def range() -> ::Google::Cloud::DesignCenter::V1::CodeRange
Returns

#resource_address

def resource_address() -> ::String
Returns
  • (::String) — Output only. The resource address of the error.

#type

def type() -> ::Google::Cloud::DesignCenter::V1::ImportIaCError::Type
Returns