NAME

Google::Cloud::Dialogflow::Cx::V3::CodeBlock - Compiled Protocol Buffers messages for google/cloud/dialogflow/cx/v3/code_block.proto

SYNOPSIS

use Google::Cloud::Dialogflow::Cx::V3::CodeBlock;

my $msg = Google::Cloud::Dialogflow::Cx::V3::CodeBlock::CodeBlock->new({
    code => $code,
});

# Read or update a field
my $val = $msg->code();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::Cx::V3::CodeBlock::CodeBlock->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/cx/v3/code_block.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::Dialogflow::Cx::V3::CodeBlock::CodeBlock

Represents a code block.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. Source code of the block in Python.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::Cx::V3::CodeBlock::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.