NAME

Google::Cloud::Datastream::V1alpha1::DatastreamResources - Compiled Protocol Buffers messages for google/cloud/datastream/v1alpha1/datastream_resources.proto

SYNOPSIS

use Google::Cloud::Datastream::V1alpha1::DatastreamResources;

my $msg = Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleProfile->new({
    hostname => $hostname,
    port => $port,
    username => $username,
    password => $password,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleProfile->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/datastream/v1alpha1/datastream_resources.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::Datastream::V1alpha1::DatastreamResources::OracleProfile

Oracle database profile.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Hostname for the Oracle connection.

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

    Type: Int32

    Port for the Oracle connection, default value is 1521.

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

    Type: String

    Required. Username for the Oracle connection.

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

    Type: String

    Required. Password for the Oracle connection.

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

    Type: String

    Required. Database for the Oracle connection.

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

    Type: Message (Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleProfile::ConnectionAttributesEntry)

    Connection string attributes

Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlProfile

MySQL database profile.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Hostname for the MySQL connection.

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

    Type: Int32

    Port for the MySQL connection, default value is 3306.

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

    Type: String

    Required. Username for the MySQL connection.

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

    Type: String

    Required. Input only. Password for the MySQL connection.

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

    Type: Message (Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlSslConfig)

    SSL configuration for the MySQL connection.

Google::Cloud::Datastream::V1alpha1::DatastreamResources::GcsProfile

Cloud Storage bucket profile.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The full project and resource path for Cloud Storage bucket including the name.

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

    Type: String

    The root path inside the Cloud Storage bucket.

Google::Cloud::Datastream::V1alpha1::DatastreamResources::NoConnectivitySettings

No connectivity settings.

Inherits from Protobuf::Message.

Google::Cloud::Datastream::V1alpha1::DatastreamResources::StaticServiceIpConnectivity

Static IP address connectivity.

Inherits from Protobuf::Message.

Google::Cloud::Datastream::V1alpha1::DatastreamResources::ForwardSshTunnelConnectivity

Forward SSH Tunnel connectivity.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Hostname for the SSH tunnel.

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

    Type: String

    Required. Username for the SSH tunnel.

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

    Type: Int32

    Port for the SSH tunnel, default value is 22.

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

    Type: String

    Input only. SSH password.

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

    Type: String

    Input only. SSH private key.

Google::Cloud::Datastream::V1alpha1::DatastreamResources::VpcPeeringConfig

The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. fully qualified name of the VPC Datastream will peer to.

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

    Type: String

    Required. A free subnet for peering. (CIDR of /29)

Google::Cloud::Datastream::V1alpha1::DatastreamResources::PrivateConnection

The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network.

Inherits from Protobuf::Message.

Accessors

Enum: PrivateConnection::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • CREATED => 2

  • FAILED => 3

Google::Cloud::Datastream::V1alpha1::DatastreamResources::PrivateConnectivity

Private Connectivity

Inherits from Protobuf::Message.

Accessors

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

    Type: String

Google::Cloud::Datastream::V1alpha1::DatastreamResources::Route

The Route resource is the child of the PrivateConnection resource. It used to define a route for a PrivateConnection setup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The resource's name.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The create time of the resource.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The update time of the resource.

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

    Type: Message (Google::Cloud::Datastream::V1alpha1::DatastreamResources::Route::LabelsEntry)

    Labels.

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

    Type: String

    Required. Display name.

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

    Type: String

    Required. Destination address for connection

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

    Type: Int32

    Destination port for connection

Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlSslConfig

MySQL SSL configuration information.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.

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

    Type: Bool

    Output only. Indicates whether the client_key field is set.

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

    Type: String

    Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.

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

    Type: Bool

    Output only. Indicates whether the client_certificate field is set.

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

    Type: String

    Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.

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

    Type: Bool

    Output only. Indicates whether the ca_certificate field is set.

Google::Cloud::Datastream::V1alpha1::DatastreamResources::ConnectionProfile

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleColumn

Oracle Column.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Column name.

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

    Type: String

    The Oracle data type.

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

    Type: Int32

    Column length.

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

    Type: Int32

    Column precision.

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

    Type: Int32

    Column scale.

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

    Type: String

    Column encoding.

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

    Type: Bool

    Whether or not the column represents a primary key.

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

    Type: Bool

    Whether or not the column can accept a null value.

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

    Type: Int32

    The ordinal position of the column in the table.

Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleTable

Oracle table.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleSchema

Oracle schema.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleRdbms

Oracle database structure.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleSourceConfig

Oracle data source configuration

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlColumn

MySQL Column.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Column name.

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

    Type: String

    The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html

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

    Type: Int32

    Column length.

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

    Type: String

    Column collation.

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

    Type: Bool

    Whether or not the column represents a primary key.

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

    Type: Bool

    Whether or not the column can accept a null value.

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

    Type: Int32

    The ordinal position of the column in the table.

Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlTable

MySQL table.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlDatabase

MySQL database.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlRdbms

MySQL database structure

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlSourceConfig

MySQL source configuration

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1alpha1::DatastreamResources::SourceConfig

The configuration of the stream source.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1alpha1::DatastreamResources::AvroFileFormat

AVRO file format configuration.

Inherits from Protobuf::Message.

Google::Cloud::Datastream::V1alpha1::DatastreamResources::JsonFileFormat

JSON file format configuration.

Inherits from Protobuf::Message.

Accessors

Enum: JsonFileFormat::JsonCompression

  • JSON_COMPRESSION_UNSPECIFIED => 0

  • NO_COMPRESSION => 1

  • GZIP => 2

Google::Cloud::Datastream::V1alpha1::DatastreamResources::GcsDestinationConfig

Google Cloud Storage destination configuration

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1alpha1::DatastreamResources::DestinationConfig

The configuration of the stream destination.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream

Inherits from Protobuf::Message.

Accessors

Enum: Stream::State

  • STATE_UNSPECIFIED => 0

  • CREATED => 1

  • RUNNING => 2

  • PAUSED => 3

  • MAINTENANCE => 4

  • FAILED => 5

  • FAILED_PERMANENTLY => 6

  • STARTING => 7

  • DRAINING => 8

Google::Cloud::Datastream::V1alpha1::DatastreamResources::Error

Represent a user-facing Error.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    A title that explains the reason for the error.

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

    Type: String

    A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.

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

    Type: String

    A message containing more information about the error that occurred.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time when the error occurred.

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

    Type: Message (Google::Cloud::Datastream::V1alpha1::DatastreamResources::Error::DetailsEntry)

    Additional information about the error.

Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationResult

Contains the current validation results.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1alpha1::DatastreamResources::Validation

Inherits from Protobuf::Message.

Accessors

Enum: Validation::Status

  • STATUS_UNSPECIFIED => 0

  • NOT_EXECUTED => 1

  • FAILED => 2

  • PASSED => 3

Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationMessage

Represent user-facing validation result message.

Inherits from Protobuf::Message.

Accessors

Enum: ValidationMessage::Level

  • LEVEL_UNSPECIFIED => 0

  • WARNING => 1

  • ERROR => 2

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Datastream::V1alpha1::DatastreamResources::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.