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: String

    Required. Location of the git repo to build.

  • $msg->dir() / $msg->dir($value)

    Type: String

    Optional. 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: String

    Output 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: String

    Required. 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: String

    Required. 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: String

    Required. 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: String

    Required. 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: String

    Output 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: String

    Optional. The name of the branch from which content should be read. For example: "main"

  • $msg->ref_tag() / $msg->ref_tag($value)

    Type: String

    Optional. The reference tag from which content should be read. For example: "v1.2.3"

  • $msg->commit_sha() / $msg->commit_sha($value)

    Type: String

    Optional. 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: String

    Required. 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: String

    Optional. The version of the helm chart.

  • $msg->module_source_uri() / $msg->module_source_uri($value)

    Type: String

    Optional. 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

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: String

    Required. The name of the file.

  • $msg->content() / $msg->content($value)

    Type: String

    Optional. 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

Enum: ImportIaCError::Type

  • TYPE_UNSPECIFIED => 0

  • INVALID => 1

  • NOT_SUPPORTED => 2

Enum: ImportIaCError::ErrorCode

  • ERROR_CODE_UNSPECIFIED => 0

  • ERROR_CODE_SYNTAX_ERROR => 1

  • ERROR_CODE_UNSUPPORTED_BLOCK_TYPE => 2

  • ERROR_CODE_TOP_LEVEL_ATTRIBUTE => 3

  • ERROR_CODE_UNSUPPORTED_MODULE => 4

  • ERROR_CODE_MODULE_UNSUPPORTED_ATTRIBUTE_ADDED => 5

  • ERROR_CODE_MODULE_REQUIRED_ATTRIBUTE_REMOVED => 6

  • ERROR_CODE_PARAMETER_VALUE_INVALID => 7

  • ERROR_CODE_UNSUPPORTED_VARIABLE_CHANGE => 8

  • ERROR_CODE_UNSUPPORTED_OUTPUT_CHANGE => 9

  • ERROR_CODE_UNSUPPORTED_PROVIDER_CHANGE => 10

  • ERROR_CODE_UNSUPPORTED_TFVAR_CHANGE => 11

Google::Cloud::Designcenter::V1::Ingestion::CodeRange

CodeRange represents a portion of code.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Designcenter::V1::Ingestion::CodePosition

CodePosition represents a code location.

Inherits from Protobuf::Message.

Accessors

  • $msg->line() / $msg->line($value)

    Type: Int32

    Output only. One-based line count of the relevant position.

  • $msg->byte_offset() / $msg->byte_offset($value)

    Type: Int32

    Output only. Byte offset in the content.

  • $msg->column() / $msg->column($value)

    Type: Int32

    Output 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.