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:
StringRequired. Hostname for the Oracle connection.
$msg->port()/$msg->port($value)Type:
Int32Port for the Oracle connection, default value is 1521.
$msg->username()/$msg->username($value)Type:
StringRequired. Username for the Oracle connection.
$msg->password()/$msg->password($value)Type:
StringRequired. Password for the Oracle connection.
$msg->database_service()/$msg->database_service($value)Type:
StringRequired. 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:
StringRequired. Hostname for the MySQL connection.
$msg->port()/$msg->port($value)Type:
Int32Port for the MySQL connection, default value is 3306.
$msg->username()/$msg->username($value)Type:
StringRequired. Username for the MySQL connection.
$msg->password()/$msg->password($value)Type:
StringRequired. 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:
StringRequired. The full project and resource path for Cloud Storage bucket including the name.
$msg->root_path()/$msg->root_path($value)Type:
StringThe 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:
StringRequired. Hostname for the SSH tunnel.
$msg->username()/$msg->username($value)Type:
StringRequired. Username for the SSH tunnel.
$msg->port()/$msg->port($value)Type:
Int32Port for the SSH tunnel, default value is 22.
$msg->password()/$msg->password($value)Type:
StringInput only. SSH password.
$msg->private_key()/$msg->private_key($value)Type:
StringInput 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:
StringRequired. fully qualified name of the VPC Datastream will peer to.
$msg->subnet()/$msg->subnet($value)Type:
StringRequired. 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
$msg->name()/$msg->name($value)Type:
StringOutput 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::PrivateConnection::LabelsEntry)Labels.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. Display name.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Datastream::V1alpha1::PrivateConnection::State)Output only. The state of the Private Connection.
$msg->error()/$msg->error($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::Error)Output only. In case of error, the details of the error in a user-friendly format.
$msg->vpc_peering_config()/$msg->vpc_peering_config($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::VpcPeeringConfig)VPC Peering Config
Enum: PrivateConnection::State
STATE_UNSPECIFIED=>0CREATING=>1CREATED=>2FAILED=>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:
StringOutput 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:
StringRequired. Display name.
$msg->destination_address()/$msg->destination_address($value)Type:
StringRequired. Destination address for connection
$msg->destination_port()/$msg->destination_port($value)Type:
Int32Destination 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:
StringInput 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:
BoolOutput only. Indicates whether the client_key field is set.
$msg->client_certificate()/$msg->client_certificate($value)Type:
StringInput 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:
BoolOutput only. Indicates whether the client_certificate field is set.
$msg->ca_certificate()/$msg->ca_certificate($value)Type:
StringInput 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:
BoolOutput only. Indicates whether the ca_certificate field is set.
Google::Cloud::Datastream::V1alpha1::DatastreamResources::ConnectionProfile
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput 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::ConnectionProfile::LabelsEntry)Labels.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. Display name.
$msg->oracle_profile()/$msg->oracle_profile($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleProfile)Oracle ConnectionProfile configuration.
$msg->gcs_profile()/$msg->gcs_profile($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::GcsProfile)Cloud Storage ConnectionProfile configuration.
$msg->mysql_profile()/$msg->mysql_profile($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlProfile)MySQL ConnectionProfile configuration.
$msg->no_connectivity()/$msg->no_connectivity($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::NoConnectivitySettings)No connectivity option chosen.
$msg->static_service_ip_connectivity()/$msg->static_service_ip_connectivity($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::StaticServiceIpConnectivity)Static Service IP connectivity.
$msg->forward_ssh_connectivity()/$msg->forward_ssh_connectivity($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::ForwardSshTunnelConnectivity)Forward SSH tunnel connectivity.
$msg->private_connectivity()/$msg->private_connectivity($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::PrivateConnectivity)Private connectivity.
Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleColumn
Oracle Column.
Inherits from Protobuf::Message.
Accessors
$msg->column_name()/$msg->column_name($value)Type:
StringColumn name.
$msg->data_type()/$msg->data_type($value)Type:
StringThe Oracle data type.
$msg->length()/$msg->length($value)Type:
Int32Column length.
$msg->precision()/$msg->precision($value)Type:
Int32Column precision.
$msg->scale()/$msg->scale($value)Type:
Int32Column scale.
$msg->encoding()/$msg->encoding($value)Type:
StringColumn encoding.
$msg->primary_key()/$msg->primary_key($value)Type:
BoolWhether or not the column represents a primary key.
$msg->nullable()/$msg->nullable($value)Type:
BoolWhether or not the column can accept a null value.
$msg->ordinal_position()/$msg->ordinal_position($value)Type:
Int32The ordinal position of the column in the table.
Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleTable
Oracle table.
Inherits from Protobuf::Message.
Accessors
$msg->table_name()/$msg->table_name($value)Type:
StringTable name.
$msg->oracle_columns()/$msg->oracle_columns($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleColumn)Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleSchema
Oracle schema.
Inherits from Protobuf::Message.
Accessors
$msg->schema_name()/$msg->schema_name($value)Type:
StringSchema name.
$msg->oracle_tables()/$msg->oracle_tables($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleTable)Tables in the schema.
Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleRdbms
Oracle database structure.
Inherits from Protobuf::Message.
Accessors
$msg->oracle_schemas()/$msg->oracle_schemas($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleSchema)Oracle schemas/databases in the database server.
Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleSourceConfig
Oracle data source configuration
Inherits from Protobuf::Message.
Accessors
$msg->allowlist()/$msg->allowlist($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleRdbms)Oracle objects to include in the stream.
$msg->rejectlist()/$msg->rejectlist($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleRdbms)Oracle objects to exclude from the stream.
Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlColumn
MySQL Column.
Inherits from Protobuf::Message.
Accessors
$msg->column_name()/$msg->column_name($value)Type:
StringColumn name.
$msg->data_type()/$msg->data_type($value)Type:
StringThe 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:
Int32Column length.
$msg->collation()/$msg->collation($value)Type:
StringColumn collation.
$msg->primary_key()/$msg->primary_key($value)Type:
BoolWhether or not the column represents a primary key.
$msg->nullable()/$msg->nullable($value)Type:
BoolWhether or not the column can accept a null value.
$msg->ordinal_position()/$msg->ordinal_position($value)Type:
Int32The ordinal position of the column in the table.
Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlTable
MySQL table.
Inherits from Protobuf::Message.
Accessors
$msg->table_name()/$msg->table_name($value)Type:
StringTable name.
$msg->mysql_columns()/$msg->mysql_columns($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlColumn)MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlDatabase
MySQL database.
Inherits from Protobuf::Message.
Accessors
$msg->database_name()/$msg->database_name($value)Type:
StringDatabase name.
$msg->mysql_tables()/$msg->mysql_tables($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlTable)Tables in the database.
Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlRdbms
MySQL database structure
Inherits from Protobuf::Message.
Accessors
$msg->mysql_databases()/$msg->mysql_databases($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlDatabase)Mysql databases on the server
Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlSourceConfig
MySQL source configuration
Inherits from Protobuf::Message.
Accessors
$msg->allowlist()/$msg->allowlist($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlRdbms)MySQL objects to retrieve from the source.
$msg->rejectlist()/$msg->rejectlist($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlRdbms)MySQL objects to exclude from the stream.
Google::Cloud::Datastream::V1alpha1::DatastreamResources::SourceConfig
The configuration of the stream source.
Inherits from Protobuf::Message.
Accessors
$msg->source_connection_profile_name()/$msg->source_connection_profile_name($value)Type:
StringRequired. Source connection profile identifier.
$msg->oracle_source_config()/$msg->oracle_source_config($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleSourceConfig)Oracle data source configuration
$msg->mysql_source_config()/$msg->mysql_source_config($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlSourceConfig)MySQL data source configuration
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
$msg->schema_file_format()/$msg->schema_file_format($value)Type:
Enum(Google::Cloud::Datastream::V1alpha1::SchemaFileFormat)The schema file format along JSON data files.
$msg->compression()/$msg->compression($value)Type:
Enum(Google::Cloud::Datastream::V1alpha1::JsonFileFormat::JsonCompression)Compression of the loaded JSON file.
Enum: JsonFileFormat::JsonCompression
JSON_COMPRESSION_UNSPECIFIED=>0NO_COMPRESSION=>1GZIP=>2
Google::Cloud::Datastream::V1alpha1::DatastreamResources::GcsDestinationConfig
Google Cloud Storage destination configuration
Inherits from Protobuf::Message.
Accessors
$msg->path()/$msg->path($value)Type:
StringPath inside the Cloud Storage bucket to write data to.
$msg->gcs_file_format()/$msg->gcs_file_format($value)Type:
Enum(Google::Cloud::Datastream::V1alpha1::GcsFileFormat)File format that data should be written in. Deprecated field - use file_format instead.
$msg->file_rotation_mb()/$msg->file_rotation_mb($value)Type:
Int32The maximum file size to be saved in the bucket.
$msg->file_rotation_interval()/$msg->file_rotation_interval($value)Type:
Message(Google::Protobuf::Duration::Duration)The maximum duration for which new events are added before a file is closed and a new file is created.
$msg->avro_file_format()/$msg->avro_file_format($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::AvroFileFormat)AVRO file format configuration.
$msg->json_file_format()/$msg->json_file_format($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::JsonFileFormat)JSON file format configuration.
Google::Cloud::Datastream::V1alpha1::DatastreamResources::DestinationConfig
The configuration of the stream destination.
Inherits from Protobuf::Message.
Accessors
$msg->destination_connection_profile_name()/$msg->destination_connection_profile_name($value)Type:
StringRequired. Destination connection profile identifier.
$msg->gcs_destination_config()/$msg->gcs_destination_config($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::GcsDestinationConfig)
Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The stream's name.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The creation time of the stream.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The last update time of the stream.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream::LabelsEntry)Labels.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. Display name.
$msg->source_config()/$msg->source_config($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::SourceConfig)Required. Source connection profile configuration.
$msg->destination_config()/$msg->destination_config($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::DestinationConfig)Required. Destination connection profile configuration.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Datastream::V1alpha1::Stream::State)The state of the stream.
$msg->backfill_all()/$msg->backfill_all($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream::BackfillAllStrategy)Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
$msg->backfill_none()/$msg->backfill_none($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream::BackfillNoneStrategy)Do not automatically backfill any objects.
$msg->errors()/$msg->errors($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::Error)Output only. Errors on the Stream.
Enum: Stream::State
STATE_UNSPECIFIED=>0CREATED=>1RUNNING=>2PAUSED=>3MAINTENANCE=>4FAILED=>5FAILED_PERMANENTLY=>6STARTING=>7DRAINING=>8
Google::Cloud::Datastream::V1alpha1::DatastreamResources::Error
Represent a user-facing Error.
Inherits from Protobuf::Message.
Accessors
$msg->reason()/$msg->reason($value)Type:
StringA title that explains the reason for the error.
$msg->error_uuid()/$msg->error_uuid($value)Type:
StringA 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:
StringA 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
$msg->validations()/$msg->validations($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::Validation)A list of validations (includes both executed as well as not executed validations).
Google::Cloud::Datastream::V1alpha1::DatastreamResources::Validation
Inherits from Protobuf::Message.
Accessors
$msg->description()/$msg->description($value)Type:
StringA short description of the validation.
$msg->status()/$msg->status($value)Type:
Enum(Google::Cloud::Datastream::V1alpha1::Validation::Status)Validation execution status.
$msg->message()/$msg->message($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationMessage)Messages reflecting the validation results.
$msg->code()/$msg->code($value)Type:
StringA custom code identifying this validation.
Enum: Validation::Status
STATUS_UNSPECIFIED=>0NOT_EXECUTED=>1FAILED=>2PASSED=>3
Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationMessage
Represent user-facing validation result message.
Inherits from Protobuf::Message.
Accessors
$msg->message()/$msg->message($value)Type:
StringThe result of the validation.
$msg->level()/$msg->level($value)Type:
Enum(Google::Cloud::Datastream::V1alpha1::ValidationMessage::Level)Message severity level (warning or error).
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationMessage::MetadataEntry)Additional metadata related to the result.
$msg->code()/$msg->code($value)Type:
StringA custom code identifying this specific message.
Enum: ValidationMessage::Level
LEVEL_UNSPECIFIED=>0WARNING=>1ERROR=>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.