NAME
Google::Cloud::Designcenter::V1::Ingestion - Compiled Protocol Buffers messages for google/cloud/designcenter/v1/ingestion.proto
SYNOPSIS
use Google::Cloud::Designcenter::V1::Ingestion;
my $msg = Google::Cloud::Designcenter::V1::Ingestion::GitSource->new({
repo => $repo,
dir => $dir,
commit_sha => $commit_sha,
developer_connect_config => $developer_connect_config,
});
# Read or update a field
my $val = $msg->repo();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Designcenter::V1::Ingestion::GitSource->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/designcenter/v1/ingestion.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Designcenter::V1::Ingestion::GitSource
Defines how to access a Git source.
Inherits from Protobuf::Message.
Accessors
$msg->repo()/$msg->repo($value)Type:
StringRequired. Location of the git repo to build.
$msg->dir()/$msg->dir($value)Type:
StringOptional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.
$msg->commit_sha()/$msg->commit_sha($value)Type:
StringOutput only. The commit SHA of the git repo deduced from given ref_tag.
$msg->developer_connect_config()/$msg->developer_connect_config($value)Type:
Message(Google::Cloud::Designcenter::V1::Ingestion::DeveloperConnectConfig)Optional. This config defines the location of a source through Developer Connect. Used to access private git repos.
$msg->ref_tag()/$msg->ref_tag($value)Type:
StringRequired. The reference tag of the git repo.
Google::Cloud::Designcenter::V1::Ingestion::DeveloperConnectConfig
This config defines the location of a source through Developer Connect.
Inherits from Protobuf::Message.
Accessors
$msg->git_repository_link()/$msg->git_repository_link($value)Type:
StringRequired. The Developer Connect Git repository link, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`.
Google::Cloud::Designcenter::V1::Ingestion::DeveloperConnectSourceConfig
This config specifies the location of a source (such as GitHub or Bitbucket) through Developer Connect.
Inherits from Protobuf::Message.
Accessors
$msg->developer_connect_repo_uri()/$msg->developer_connect_repo_uri($value)Type:
StringRequired. The Developer Connect Git repository link, formatted as `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
$msg->reference()/$msg->reference($value)Type:
Message(Google::Cloud::Designcenter::V1::Ingestion::GitReference)Required. The reference (for example, a branch, tag, or commit SHA) from which the content should be read.
$msg->dir()/$msg->dir($value)Type:
StringRequired. The sub-directory within the repository from which to read content. The path must be relative to the repository's root such as dir1/dir2. To read content from the root dir, provide "/" as the value of the field.
$msg->fetched_commit_sha()/$msg->fetched_commit_sha($value)Type:
StringOutput only. The SHA of the commit deduced from GitReference.
Google::Cloud::Designcenter::V1::Ingestion::GitReference
The Git reference. Can be a commit SHA, branch name, or tag name.
Inherits from Protobuf::Message.
Accessors
$msg->branch()/$msg->branch($value)Type:
StringOptional. The name of the branch from which content should be read. For example: "main"
$msg->ref_tag()/$msg->ref_tag($value)Type:
StringOptional. The reference tag from which content should be read. For example: "v1.2.3"
$msg->commit_sha()/$msg->commit_sha($value)Type:
StringOptional. The full SHA hash of a specific commit from which content should be read.
Google::Cloud::Designcenter::V1::Ingestion::OciRepo
Open Container Initiative (OCI) repo.
Inherits from Protobuf::Message.
Accessors
$msg->uri()/$msg->uri($value)Type:
StringRequired. Path to Open Container Initiative (OCI) repo. Example: oci://us-west1-docker.pkg.dev/nyap-test/helm-repo/my-chart
$msg->version()/$msg->version($value)Type:
StringOptional. The version of the helm chart.
$msg->module_source_uri()/$msg->module_source_uri($value)Type:
StringOptional. Field for containing the references to the source from which the OCI repo was created.
Google::Cloud::Designcenter::V1::Ingestion::IaCModule
IaCModule represents a single infrastructure as code module.
Inherits from Protobuf::Message.
Accessors
$msg->files()/$msg->files($value)Type:
Message(Google::Cloud::Designcenter::V1::Ingestion::IaCFile)Optional. The files in the module.
Google::Cloud::Designcenter::V1::Ingestion::IaCFile
IaCFile represents a single infrastructure as code file.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the file.
$msg->content()/$msg->content($value)Type:
StringOptional. The content of the file. The content of the file can be read and passed as a string. For example, for a Terraform file, the content is the HCL content of the file.
Google::Cloud::Designcenter::V1::Ingestion::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 from Protobuf::Message.
Accessors
$msg->resource_address()/$msg->resource_address($value)Type:
StringOutput only. The resource address of the error.
$msg->file()/$msg->file($value)Type:
StringOutput only. The file where the error has occurred.
$msg->range()/$msg->range($value)Type:
Message(Google::Cloud::Designcenter::V1::Ingestion::CodeRange)Output only. The code portion where this error occurs.
$msg->description()/$msg->description($value)Type:
StringOutput only. The description of the error.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Designcenter::V1::ImportIaCError::Type)Output only. The type of error.
$msg->error_code()/$msg->error_code($value)Type:
Enum(Google::Cloud::Designcenter::V1::ImportIaCError::ErrorCode)Output only. Specific error code for the import error.
Enum: ImportIaCError::Type
TYPE_UNSPECIFIED=>0INVALID=>1NOT_SUPPORTED=>2
Enum: ImportIaCError::ErrorCode
ERROR_CODE_UNSPECIFIED=>0ERROR_CODE_SYNTAX_ERROR=>1ERROR_CODE_UNSUPPORTED_BLOCK_TYPE=>2ERROR_CODE_TOP_LEVEL_ATTRIBUTE=>3ERROR_CODE_UNSUPPORTED_MODULE=>4ERROR_CODE_MODULE_UNSUPPORTED_ATTRIBUTE_ADDED=>5ERROR_CODE_MODULE_REQUIRED_ATTRIBUTE_REMOVED=>6ERROR_CODE_PARAMETER_VALUE_INVALID=>7ERROR_CODE_UNSUPPORTED_VARIABLE_CHANGE=>8ERROR_CODE_UNSUPPORTED_OUTPUT_CHANGE=>9ERROR_CODE_UNSUPPORTED_PROVIDER_CHANGE=>10ERROR_CODE_UNSUPPORTED_TFVAR_CHANGE=>11
Google::Cloud::Designcenter::V1::Ingestion::CodeRange
CodeRange represents a portion of code.
Inherits from Protobuf::Message.
Accessors
$msg->start()/$msg->start($value)Type:
Message(Google::Cloud::Designcenter::V1::Ingestion::CodePosition)Output only. Start position.
$msg->end()/$msg->end($value)Type:
Message(Google::Cloud::Designcenter::V1::Ingestion::CodePosition)Output only. End position.
Google::Cloud::Designcenter::V1::Ingestion::CodePosition
CodePosition represents a code location.
Inherits from Protobuf::Message.
Accessors
$msg->line()/$msg->line($value)Type:
Int32Output only. One-based line count of the relevant position.
$msg->byte_offset()/$msg->byte_offset($value)Type:
Int32Output only. Byte offset in the content.
$msg->column()/$msg->column($value)Type:
Int32Output only. One-based column count of the relevant position.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Designcenter::V1::Ingestion::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.