NAME

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

SYNOPSIS

use Google::Cloud::Datastream::V1::DatastreamResources;

my $msg = Google::Cloud::Datastream::V1::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::V1::DatastreamResources::OracleProfile->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/datastream/v1/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::V1::DatastreamResources::OracleProfile

Profile for connecting to an Oracle source.

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

    Optional. Password for the Oracle connection. Mutually exclusive with the `secret_manager_stored_password` field.

  • $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::V1::DatastreamResources::OracleProfile::ConnectionAttributesEntry)

    Connection string attributes

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::OracleSslConfig)

    Optional. SSL configuration for the Oracle connection.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::OracleAsmConfig)

    Optional. Configuration for Oracle ASM connection.

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

    Type: String

    Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the `password` field.

Google::Cloud::Datastream::V1::DatastreamResources::OracleAsmConfig

Configuration for Oracle Automatic Storage Management (ASM) connection.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Hostname for the Oracle ASM connection.

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

    Type: Int32

    Required. Port for the Oracle ASM connection.

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

    Type: String

    Required. Username for the Oracle ASM connection.

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

    Type: String

    Optional. Password for the Oracle ASM connection. Mutually exclusive with the `secret_manager_stored_password` field.

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

    Type: String

    Required. ASM service name for the Oracle ASM connection.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::OracleAsmConfig::ConnectionAttributesEntry)

    Optional. Connection string attributes

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::OracleSslConfig)

    Optional. SSL configuration for the Oracle connection.

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

    Type: String

    Optional. A reference to a Secret Manager resource name storing the Oracle ASM connection password. Mutually exclusive with the `password` field.

Google::Cloud::Datastream::V1::DatastreamResources::MysqlProfile

Profile for connecting to a MySQL source.

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

    Optional. Input only. Password for the MySQL connection. Mutually exclusive with the `secret_manager_stored_password` field.

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

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

    SSL configuration for the MySQL connection.

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

    Type: String

    Optional. A reference to a Secret Manager resource name storing the MySQL connection password. Mutually exclusive with the `password` field.

Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlProfile

Profile for connecting to a PostgreSQL source.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Hostname for the PostgreSQL connection.

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

    Type: Int32

    Port for the PostgreSQL connection, default value is 5432.

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

    Type: String

    Required. Username for the PostgreSQL connection.

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

    Type: String

    Optional. Password for the PostgreSQL connection. Mutually exclusive with the `secret_manager_stored_password` field.

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

    Type: String

    Required. Database for the PostgreSQL connection.

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

    Type: String

    Optional. A reference to a Secret Manager resource name storing the PostgreSQL connection password. Mutually exclusive with the `password` field.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlSslConfig)

    Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is `prefer` (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)

Google::Cloud::Datastream::V1::DatastreamResources::SqlServerProfile

Profile for connecting to a SQLServer source.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Hostname for the SQLServer connection.

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

    Type: Int32

    Port for the SQLServer connection, default value is 1433.

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

    Type: String

    Required. Username for the SQLServer connection.

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

    Type: String

    Optional. Password for the SQLServer connection. Mutually exclusive with the `secret_manager_stored_password` field.

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

    Type: String

    Required. Database for the SQLServer connection.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::SqlServerSslConfig)

    Optional. SSL configuration for the SQLServer connection.

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

    Type: String

    Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.

Google::Cloud::Datastream::V1::DatastreamResources::SalesforceProfile

Profile for connecting to a Salesforce source.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::MongodbProfile

Profile for connecting to a MongoDB source.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::HostAddress)

    Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list must contain exactly one DNS host without a port. For Standard connection format, this list must contain all the required hosts in the cluster with their respective ports.

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

    Type: String

    Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster. For SRV connection format, this field must be empty. For Standard connection format, this field must be specified.

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

    Type: String

    Required. Username for the MongoDB connection.

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

    Type: String

    Optional. Password for the MongoDB connection. Mutually exclusive with the `secret_manager_stored_password` field.

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

    Type: String

    Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::MongodbSslConfig)

    Optional. SSL configuration for the MongoDB connection.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::SrvConnectionFormat)

    Srv connection format.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::StandardConnectionFormat)

    Standard connection format.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::MongodbProfile::AdditionalOptionsEntry)

    Optional. Specifies additional options for the MongoDB connection.

    The options should be sent as key-value pairs, for example: `additional_options = {"serverSelectionTimeoutMS": "10000", "directConnection": "true"}`.

    Keys are case-sensitive and should match the official MongoDB connection string options: https://www.mongodb.com/docs/manual/reference/connection-string-options/

    The server will not modify the values provided by the user.

Google::Cloud::Datastream::V1::DatastreamResources::HostAddress

A HostAddress represents a transport end point, which is the combination of an IP address or hostname and a port number.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Hostname for the connection.

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

    Type: Int32

    Optional. Port for the connection.

Google::Cloud::Datastream::V1::DatastreamResources::SpannerProfile

Profile for connecting to a Spanner source.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Immutable. Cloud Spanner database resource. This field is immutable. Must be in the format: projects/{project}/instances/{instance}/databases/{database_id}.

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

    Type: String

    Optional. The Spanner endpoint to connect to. Defaults to the global endpoint (https://spanner.googleapis.com). Must be in the format: https://spanner.{region}.rep.googleapis.com.

Google::Cloud::Datastream::V1::DatastreamResources::OauthClientCredentials

OAuth Client Credentials.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::OauthRefreshTokenCredentials

OAuth Refresh Token Credentials.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::UserPasswordCredentials

User-password credentials.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SalesforceMarketingCloudProfile

Profile for connecting to a Salesforce Marketing Cloud source.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Subdomain for the Salesforce Marketing Cloud connection. Example: if your specific endpoint is `https://{your-specific-subdomain}.rest.marketingcloudapis.com/`, the subdomain is `{your-specific-subdomain}`. Must be 1-63 characters, start and end with an alphanumeric character, and contain only lowercase letters, numbers, and hyphens (-).

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::OauthClientCredentials)

    Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.

Google::Cloud::Datastream::V1::DatastreamResources::DataverseProfile

Profile for connecting to a Dataverse source.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Tenant id of the Microsoft Dataverse instance.

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

    Type: String

    Required. Environment URL of the Microsoft Dataverse instance. Example: `<subdomain>.crm.dynamics.com`

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::OauthClientCredentials)

    Required. Credentials for authenticating with the Dataverse API.

Google::Cloud::Datastream::V1::DatastreamResources::ServiceNowProfile

Profile for connecting to a ServiceNow source.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::WorkdayProfile

Profile for connecting to a Workday source.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Host for the Workday connection. Must be a valid hostname (e.g., `wd3-impl-services1.workday.com`).

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

    Type: String

    Required. Tenant for the Workday connection (e.g., `google12`).

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::OauthRefreshTokenCredentials)

    Required. Credentials for authenticating with the Workday API. OAuth Refresh Token credentials for authenticating with the Workday API.

Google::Cloud::Datastream::V1::DatastreamResources::SrvConnectionFormat

Srv connection format.

Inherits from Protobuf::Message.

Google::Cloud::Datastream::V1::DatastreamResources::StandardConnectionFormat

Standard connection format.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    Optional. Deprecated: Use the `additional_options` map to specify the `directConnection` parameter instead. For example: `additional_options = {"directConnection": "true"}`. Specifies whether the client connects directly to the host[:port] in the connection URI.

Google::Cloud::Datastream::V1::DatastreamResources::GcsProfile

Profile for connecting to a Cloud Storage destination.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Cloud Storage bucket name.

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

    Type: String

    Optional. The root path inside the Cloud Storage bucket.

Google::Cloud::Datastream::V1::DatastreamResources::BigQueryProfile

Profile for connecting to a BigQuery destination.

Inherits from Protobuf::Message.

Google::Cloud::Datastream::V1::DatastreamResources::StaticServiceIpConnectivity

Static IP address connectivity. Used when the source database is configured to allow incoming connections from the Datastream public IP addresses for the region specified in the connection profile.

Inherits from Protobuf::Message.

Google::Cloud::Datastream::V1::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::V1::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() / $msg->vpc($value)

    Type: String

    Required. Fully qualified name of the VPC that Datastream will peer to. Format: `projects/{project}/global/{networks}/{name}`

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

    Type: String

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

Google::Cloud::Datastream::V1::DatastreamResources::PscInterfaceConfig

The PSC Interface configuration is used to create PSC Interface between Datastream and the consumer's PSC.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Fully qualified name of the Network Attachment that Datastream will connect to. Format: `projects/{project}/regions/{region}/networkAttachments/{name}`

Google::Cloud::Datastream::V1::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

  • DELETING => 4

  • FAILED_TO_DELETE => 5

Google::Cloud::Datastream::V1::DatastreamResources::PrivateConnectivity

Private Connectivity

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. A reference to a private connection resource. Format: `projects/{project}/locations/{location}/privateConnections/{name}`

Google::Cloud::Datastream::V1::DatastreamResources::Route

The route resource is the child of the private connection resource, used for defining a route for a private connection.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Identifier. 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::V1::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::V1::DatastreamResources::Secret

A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. Input only. The actual raw value of the secret as plain text.

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

    Type: String

    Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}

Google::Cloud::Datastream::V1::DatastreamResources::MongodbSslConfig

MongoDB SSL configuration information.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

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

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

    Type: String

    Optional. Input only. A reference to a Secret Manager resource name storing the 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. Mutually exclusive with the `client_key` field.

Google::Cloud::Datastream::V1::DatastreamResources::MysqlSslConfig

MySQL SSL configuration information.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

    Optional. 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::V1::DatastreamResources::OracleSslConfig

Oracle SSL configuration information.

Inherits from Protobuf::Message.

Accessors

  • $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 has been set for this Connection-Profile.

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

    Type: String

    Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.

Google::Cloud::Datastream::V1::DatastreamResources::SqlServerSslConfig

SQL Server SSL configuration information.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlSslConfig

PostgreSQL SSL configuration information.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::ConnectionProfile

A set of reusable connection configurations to be used as a source or destination for a stream.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::OracleColumn

Oracle Column.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The 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::V1::DatastreamResources::OracleTable

Oracle table.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::OracleSchema

Oracle schema.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::OracleRdbms

Oracle database structure.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::OracleSourceConfig

Configuration for syncing data from an Oracle source.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlColumn

PostgreSQL Column.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The column name.

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

    Type: String

    The PostgreSQL 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->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::V1::DatastreamResources::PostgresqlTable

PostgreSQL table.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlSchema

PostgreSQL schema.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlRdbms

PostgreSQL database structure.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlSourceConfig

Configuration for syncing data from a PostgreSQL source.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlRdbms)

    The PostgreSQL objects to include in the stream.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlRdbms)

    The PostgreSQL objects to exclude from the stream.

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

    Type: String

    Required. Immutable. The name of the logical replication slot that's configured with the pgoutput plugin.

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

    Type: String

    Required. The name of the publication that includes the set of all tables that are defined in the stream's include_objects.

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

    Type: Int32

    Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.

Google::Cloud::Datastream::V1::DatastreamResources::SqlServerColumn

SQLServer Column.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The column name.

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

    Type: String

    The SQLServer 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->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::V1::DatastreamResources::SqlServerTable

SQLServer table.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SqlServerSchema

SQLServer schema.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SqlServerRdbms

SQLServer database structure.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SqlServerSourceConfig

Configuration for syncing data from a SQLServer source.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SqlServerTransactionLogs

Configuration to use Transaction Logs CDC read method.

Inherits from Protobuf::Message.

Google::Cloud::Datastream::V1::DatastreamResources::SqlServerChangeTables

Configuration to use Change Tables CDC read method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::MysqlColumn

MySQL Column.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: Int32

    Column precision.

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

    Type: Int32

    Column scale.

Google::Cloud::Datastream::V1::DatastreamResources::MysqlTable

MySQL table.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::MysqlDatabase

MySQL database.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::MysqlRdbms

MySQL database structure

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::MysqlSourceConfig

Configuration for syncing data from a MySQL source.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SalesforceSourceConfig

Configuration for syncing data from a Salesforce source.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SalesforceOrg

Salesforce organization structure.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SalesforceObject

Salesforce object.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The object name.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::SalesforceField)

    Salesforce fields. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.

Google::Cloud::Datastream::V1::DatastreamResources::SalesforceField

Salesforce field.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The field name.

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

    Type: String

    The data type.

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

    Type: Bool

    Indicates whether the field can accept nil values.

Google::Cloud::Datastream::V1::DatastreamResources::MongodbSourceConfig

Configuration for syncing data from a MongoDB source.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::MongodbCluster

MongoDB Cluster structure.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::MongodbDatabase

MongoDB Database.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::MongodbCollection

MongoDB Collection.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::MongodbField

MongoDB Field.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The field name.

Google::Cloud::Datastream::V1::DatastreamResources::SpannerSourceConfig

Configuration for syncing data from a Spanner source.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Immutable. The change stream name to use for the stream.

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

    Type: Enum (Google::Cloud::Datastream::V1::SpannerSourceConfig::SpannerRpcPriority)

    Optional. The RPC priority to use for the stream.

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

    Type: String

    Optional. The FGAC role to use for the stream.

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

    Type: Int32

    Optional. Maximum number of concurrent CDC tasks.

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

    Type: Int32

    Optional. Maximum number of concurrent backfill tasks.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::SpannerDatabase)

    Optional. The Spanner objects to retrieve from the data source. If some objects are both included and excluded, an error will be thrown.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::SpannerDatabase)

    Optional. The Spanner objects to avoid retrieving. If some objects are both included and excluded, an error will be thrown.

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

    Type: Bool

    Optional. Whether to use Data Boost for Spanner backfills. Defaults to false if not set.

Enum: SpannerSourceConfig::SpannerRpcPriority

  • SPANNER_RPC_PRIORITY_UNSPECIFIED => 0

  • LOW => 1

  • MEDIUM => 2

  • HIGH => 3

Google::Cloud::Datastream::V1::DatastreamResources::SpannerDatabase

Spanner database structure.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SpannerSchema

Spanner schema.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SpannerTable

Spanner table.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SpannerColumn

Spanner column.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The column name.

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

    Type: String

    Optional. Spanner data type.

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

    Type: Bool

    Optional. Whether or not the column is a primary key.

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

    Type: Int64

    Optional. The ordinal position of the column in the table.

Google::Cloud::Datastream::V1::DatastreamResources::DataverseSourceConfig

Configuration for syncing data from a Dataverse source.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SalesforceMarketingCloudSourceConfig

Configuration for syncing data from a Salesforce Marketing Cloud source.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::SourceCatalog)

    Optional. The objects to retrieve from the source.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::SourceCatalog)

    Optional. The objects to exclude from the stream.

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

    Type: Message (Google::Protobuf::Duration::Duration)

    Required. Incremental sync polling interval for all objects. If not set, a default value of `5 minutes` is used. The duration must be from `5 minutes` to `24 hours`, inclusive.

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

    Type: Message (Google::Protobuf::Duration::Duration)

    Required. Specifies the polling interval for a full refresh of objects that do not support incremental sync. If not set, a default value of 24 hours is used. The duration must be between 1 and 24 hours, inclusive.

Google::Cloud::Datastream::V1::DatastreamResources::ServiceNowSourceConfig

Configuration for syncing data from a ServiceNow source.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::WorkdaySourceConfig

Configuration for syncing data from a Workday source.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SourceCatalog

Source catalog.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SourceObject

Source object.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The object name.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::SourceProperty)

    Optional. Source properties. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.

Google::Cloud::Datastream::V1::DatastreamResources::SourceProperty

Source property.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The property name.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::SourceProperty)

    Optional. Source properties. When specified, it means that the current property contains nested properties of its own. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.

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

    Type: Bool

    Optional. Whether or not the property is a primary key.

Google::Cloud::Datastream::V1::DatastreamResources::SourceConfig

The configuration of the stream source.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::AvroFileFormat

AVRO file format configuration.

Inherits from Protobuf::Message.

Google::Cloud::Datastream::V1::DatastreamResources::JsonFileFormat

JSON file format configuration.

Inherits from Protobuf::Message.

Accessors

Enum: JsonFileFormat::SchemaFileFormat

  • SCHEMA_FILE_FORMAT_UNSPECIFIED => 0

  • NO_SCHEMA_FILE => 1

  • AVRO_SCHEMA_FILE => 2

Enum: JsonFileFormat::JsonCompression

  • JSON_COMPRESSION_UNSPECIFIED => 0

  • NO_COMPRESSION => 1

  • GZIP => 2

Google::Cloud::Datastream::V1::DatastreamResources::BigQueryClustering

BigQuery clustering configuration.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Column names to set as clustering columns.

Google::Cloud::Datastream::V1::DatastreamResources::IngestionTimePartition

Ingestion time partitioning. see https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::TimeUnitPartition

Time unit column partitioning. see https://cloud.google.com/bigquery/docs/partitioned-tables#date_timestamp_partitioned_tables

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::IntegerRangePartition

Integer range partitioning. see https://cloud.google.com/bigquery/docs/partitioned-tables#integer_range

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The partitioning column.

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

    Type: Int64

    Required. The starting value for range partitioning (inclusive).

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

    Type: Int64

    Required. The ending value for range partitioning (exclusive).

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

    Type: Int64

    Required. The interval of each range within the partition.

Google::Cloud::Datastream::V1::DatastreamResources::BigQueryPartitioning

BigQuery partitioning configuration.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::GcsDestinationConfig

Google Cloud Storage destination configuration

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Path inside the Cloud Storage bucket to write data to.

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

    Type: Int32

    The 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. Values within the range of 15-60 seconds are allowed.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::AvroFileFormat)

    AVRO file format configuration.

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

    Type: Message (Google::Cloud::Datastream::V1::DatastreamResources::JsonFileFormat)

    JSON file format configuration.

Google::Cloud::Datastream::V1::DatastreamResources::BigQueryDestinationConfig

BigQuery destination configuration

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::DestinationConfig

The configuration of the stream destination.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::Stream

A resource representing streaming data from a source to a destination.

Inherits from Protobuf::Message.

Accessors

Enum: Stream::State

  • STATE_UNSPECIFIED => 0

  • NOT_STARTED => 1

  • RUNNING => 2

  • PAUSED => 3

  • MAINTENANCE => 4

  • FAILED => 5

  • FAILED_PERMANENTLY => 6

  • STARTING => 7

  • DRAINING => 8

Google::Cloud::Datastream::V1::DatastreamResources::StreamObject

A specific stream object (e.g a specific DB table).

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SourceObjectIdentifier

Represents an identifier of an object in the data source.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::BackfillJob

Represents a backfill job on a specific stream object.

Inherits from Protobuf::Message.

Accessors

Enum: BackfillJob::State

  • STATE_UNSPECIFIED => 0

  • NOT_STARTED => 1

  • PENDING => 2

  • ACTIVE => 3

  • STOPPED => 4

  • FAILED => 5

  • COMPLETED => 6

  • UNSUPPORTED => 7

Enum: BackfillJob::Trigger

  • TRIGGER_UNSPECIFIED => 0

  • AUTOMATIC => 1

  • MANUAL => 2

Google::Cloud::Datastream::V1::DatastreamResources::EventFilter

Represents a filter for included data on a stream object.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    An SQL-query Where clause selecting which data should be included, not including the "WHERE" keyword. e.g., `t.key1 = 'value1' AND t.key2 = 'value2'`

Google::Cloud::Datastream::V1::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::V1::DatastreamResources::Error::DetailsEntry)

    Additional information about the error.

Google::Cloud::Datastream::V1::DatastreamResources::ValidationResult

Contains the current validation results.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::Validation

A validation to perform on a stream.

Inherits from Protobuf::Message.

Accessors

Enum: Validation::State

  • STATE_UNSPECIFIED => 0

  • NOT_EXECUTED => 1

  • FAILED => 2

  • PASSED => 3

  • WARNING => 4

Google::Cloud::Datastream::V1::DatastreamResources::ValidationMessage

Represent user-facing validation result message.

Inherits from Protobuf::Message.

Accessors

Enum: ValidationMessage::Level

  • LEVEL_UNSPECIFIED => 0

  • WARNING => 1

  • ERROR => 2

Google::Cloud::Datastream::V1::DatastreamResources::CdcStrategy

The strategy that the stream uses for CDC replication.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SqlServerLsnPosition

SQL Server LSN position

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Log sequence number (LSN) from where Logs will be read

Google::Cloud::Datastream::V1::DatastreamResources::OracleScnPosition

Oracle SCN position

Inherits from Protobuf::Message.

Accessors

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

    Type: Int64

    Required. SCN number from where Logs will be read

Google::Cloud::Datastream::V1::DatastreamResources::MysqlLogPosition

MySQL log position

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The binary log file name.

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

    Type: Int32

    Optional. The position within the binary log file. Default is head of file.

Google::Cloud::Datastream::V1::DatastreamResources::MysqlGtidPosition

MySQL GTID position

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The gtid set to start replication from.

Google::Cloud::Datastream::V1::DatastreamResources::MongodbChangeStreamPosition

MongoDB change stream position

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datastream::V1::DatastreamResources::SpannerChangeStreamPosition

Represents a position in a Spanner change stream from which to start replicating.

Inherits from Protobuf::Message.

Accessors

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

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

    Required. The timestamp to start change stream queries from. The timestamp must be a positive value.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.