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:
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:
StringOptional. Password for the Oracle connection. Mutually exclusive with the `secret_manager_stored_password` field.
$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::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:
StringOptional. 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:
StringRequired. Hostname for the Oracle ASM connection.
$msg->port()/$msg->port($value)Type:
Int32Required. Port for the Oracle ASM connection.
$msg->username()/$msg->username($value)Type:
StringRequired. Username for the Oracle ASM connection.
$msg->password()/$msg->password($value)Type:
StringOptional. Password for the Oracle ASM connection. Mutually exclusive with the `secret_manager_stored_password` field.
$msg->asm_service()/$msg->asm_service($value)Type:
StringRequired. 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:
StringOptional. 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:
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:
StringOptional. 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:
StringOptional. 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:
StringRequired. Hostname for the PostgreSQL connection.
$msg->port()/$msg->port($value)Type:
Int32Port for the PostgreSQL connection, default value is 5432.
$msg->username()/$msg->username($value)Type:
StringRequired. Username for the PostgreSQL connection.
$msg->password()/$msg->password($value)Type:
StringOptional. Password for the PostgreSQL connection. Mutually exclusive with the `secret_manager_stored_password` field.
$msg->database()/$msg->database($value)Type:
StringRequired. Database for the PostgreSQL connection.
$msg->secret_manager_stored_password()/$msg->secret_manager_stored_password($value)Type:
StringOptional. 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:
StringRequired. Hostname for the SQLServer connection.
$msg->port()/$msg->port($value)Type:
Int32Port for the SQLServer connection, default value is 1433.
$msg->username()/$msg->username($value)Type:
StringRequired. Username for the SQLServer connection.
$msg->password()/$msg->password($value)Type:
StringOptional. Password for the SQLServer connection. Mutually exclusive with the `secret_manager_stored_password` field.
$msg->database()/$msg->database($value)Type:
StringRequired. 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:
StringOptional. 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
$msg->domain()/$msg->domain($value)Type:
StringRequired. Domain endpoint for the Salesforce connection.
$msg->user_credentials()/$msg->user_credentials($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SalesforceProfile::UserCredentials)Deprecated: Salesforce is retiring Username-Password authentication. Use `oauth2_client_credentials` instead.
$msg->oauth2_client_credentials()/$msg->oauth2_client_credentials($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SalesforceProfile::Oauth2ClientCredentials)Connected app authentication.
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:
StringOptional. 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:
StringRequired. Username for the MongoDB connection.
$msg->password()/$msg->password($value)Type:
StringOptional. 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:
StringOptional. 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:
StringRequired. Hostname for the connection.
$msg->port()/$msg->port($value)Type:
Int32Optional. 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:
StringRequired. 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:
StringOptional. 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
$msg->client_id()/$msg->client_id($value)Type:
StringRequired. Client ID for OAuth Client Credentials.
$msg->client_secret()/$msg->client_secret($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::Secret)Required. Client secret for OAuth Client Credentials.
Google::Cloud::Datastream::V1::DatastreamResources::OauthRefreshTokenCredentials
OAuth Refresh Token Credentials.
Inherits from Protobuf::Message.
Accessors
$msg->oauth_client_credentials()/$msg->oauth_client_credentials($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::OauthClientCredentials)Required. Specifies the OAuth Client Credentials.
$msg->refresh_token()/$msg->refresh_token($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::Secret)Required. Specifies the OAuth Refresh Token.
Google::Cloud::Datastream::V1::DatastreamResources::UserPasswordCredentials
User-password credentials.
Inherits from Protobuf::Message.
Accessors
$msg->username()/$msg->username($value)Type:
StringRequired. Username for the connection.
$msg->password()/$msg->password($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::Secret)Required. Password for the connection.
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:
StringRequired. 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:
StringRequired. Tenant id of the Microsoft Dataverse instance.
$msg->environment_url()/$msg->environment_url($value)Type:
StringRequired. 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
$msg->instance()/$msg->instance($value)Type:
StringRequired. The instance of the ServiceNow account. This is the `<instance>` part of the URL `https://<instance>.service-now.com`.
$msg->user_password_credentials()/$msg->user_password_credentials($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::UserPasswordCredentials)User-password authentication.
$msg->oauth_client_credentials()/$msg->oauth_client_credentials($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::OauthClientCredentials)Credentials for authenticating with the ServiceNow API.
Google::Cloud::Datastream::V1::DatastreamResources::WorkdayProfile
Profile for connecting to a Workday source.
Inherits from Protobuf::Message.
Accessors
$msg->host()/$msg->host($value)Type:
StringRequired. Host for the Workday connection. Must be a valid hostname (e.g., `wd3-impl-services1.workday.com`).
$msg->tenant()/$msg->tenant($value)Type:
StringRequired. 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:
BoolOptional. 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:
StringRequired. The Cloud Storage bucket name.
$msg->root_path()/$msg->root_path($value)Type:
StringOptional. 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:
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::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:
StringRequired. Fully qualified name of the VPC that Datastream will peer to. Format: `projects/{project}/global/{networks}/{name}`
$msg->subnet()/$msg->subnet($value)Type:
StringRequired. 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:
StringRequired. 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
$msg->name()/$msg->name($value)Type:
StringOutput 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::PrivateConnection::LabelsEntry)Labels.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. Display name.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Datastream::V1::PrivateConnection::State)Output only. The state of the Private Connection.
$msg->error()/$msg->error($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::Error)Output only. In case of error, the details of the error in a user-friendly format.
$msg->satisfies_pzs()/$msg->satisfies_pzs($value)Type:
BoolOutput only. Reserved for future use.
$msg->satisfies_pzi()/$msg->satisfies_pzi($value)Type:
BoolOutput only. Reserved for future use.
$msg->vpc_peering_config()/$msg->vpc_peering_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::VpcPeeringConfig)VPC Peering Config.
$msg->psc_interface_config()/$msg->psc_interface_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::PscInterfaceConfig)PSC Interface Config.
Enum: PrivateConnection::State
STATE_UNSPECIFIED=>0CREATING=>1CREATED=>2FAILED=>3DELETING=>4FAILED_TO_DELETE=>5
Google::Cloud::Datastream::V1::DatastreamResources::PrivateConnectivity
Private Connectivity
Inherits from Protobuf::Message.
Accessors
$msg->private_connection()/$msg->private_connection($value)Type:
StringRequired. 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:
StringOutput 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:
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::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:
StringOptional. Input only. The actual raw value of the secret as plain text.
$msg->secret_version()/$msg->secret_version($value)Type:
StringOptional. 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:
StringOptional. 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:
BoolOutput only. Indicates whether the client_key field is set.
$msg->client_certificate()/$msg->client_certificate($value)Type:
StringOptional. 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:
BoolOutput only. Indicates whether the client_certificate field is set.
$msg->ca_certificate()/$msg->ca_certificate($value)Type:
StringOptional. 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:
BoolOutput only. Indicates whether the ca_certificate field is set.
$msg->secret_manager_stored_client_key()/$msg->secret_manager_stored_client_key($value)Type:
StringOptional. 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:
StringOptional. 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:
BoolOutput only. Indicates whether the client_key field is set.
$msg->client_certificate()/$msg->client_certificate($value)Type:
StringOptional. 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:
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::V1::DatastreamResources::OracleSslConfig
Oracle SSL configuration information.
Inherits from Protobuf::Message.
Accessors
$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 has been set for this Connection-Profile.
$msg->server_certificate_distinguished_name()/$msg->server_certificate_distinguished_name($value)Type:
StringOptional. 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
$msg->encryption_not_enforced()/$msg->encryption_not_enforced($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SqlServerSslConfig::EncryptionNotEnforced)If set, Datastream will not enforce encryption. If the DB server mandates encryption, then connection will be encrypted but server identity will not be authenticated.
$msg->basic_encryption()/$msg->basic_encryption($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SqlServerSslConfig::BasicEncryption)If set, Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default.
$msg->encryption_and_server_validation()/$msg->encryption_and_server_validation($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SqlServerSslConfig::EncryptionAndServerValidation)If set, Datastream will enforce encryption and authenticate server identity.
Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlSslConfig
PostgreSQL SSL configuration information.
Inherits from Protobuf::Message.
Accessors
$msg->server_verification()/$msg->server_verification($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlSslConfig::ServerVerification)If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated.$msg->server_and_client_verification()/$msg->server_and_client_verification($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlSslConfig::ServerAndClientVerification)If this field is set, the communication will be encrypted with TLS encryption and both the server identity and the client identity will be authenticated.
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
$msg->name()/$msg->name($value)Type:
StringOutput 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::ConnectionProfile::LabelsEntry)Labels.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. Display name.
$msg->satisfies_pzs()/$msg->satisfies_pzs($value)Type:
BoolOutput only. Reserved for future use.
$msg->satisfies_pzi()/$msg->satisfies_pzi($value)Type:
BoolOutput only. Reserved for future use.
$msg->oracle_profile()/$msg->oracle_profile($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::OracleProfile)Profile for connecting to an Oracle source.
$msg->gcs_profile()/$msg->gcs_profile($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::GcsProfile)Profile for connecting to a Cloud Storage destination.
$msg->mysql_profile()/$msg->mysql_profile($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MysqlProfile)Profile for connecting to a MySQL source.
$msg->bigquery_profile()/$msg->bigquery_profile($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::BigQueryProfile)Profile for connecting to a BigQuery destination.
$msg->postgresql_profile()/$msg->postgresql_profile($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlProfile)Profile for connecting to a PostgreSQL source.
$msg->sql_server_profile()/$msg->sql_server_profile($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SqlServerProfile)Profile for connecting to a SQLServer source.
$msg->salesforce_profile()/$msg->salesforce_profile($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SalesforceProfile)Profile for connecting to a Salesforce source.
$msg->mongodb_profile()/$msg->mongodb_profile($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MongodbProfile)Profile for connecting to a MongoDB source.
$msg->spanner_profile()/$msg->spanner_profile($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SpannerProfile)Profile for connecting to a Spanner source.
$msg->dataverse_profile()/$msg->dataverse_profile($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::DataverseProfile)Profile for connecting to a Dataverse source.
$msg->salesforce_marketing_cloud_profile()/$msg->salesforce_marketing_cloud_profile($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SalesforceMarketingCloudProfile)Profile for connecting to a Salesforce Marketing Cloud source.
$msg->service_now_profile()/$msg->service_now_profile($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::ServiceNowProfile)Profile for connecting to a ServiceNow source.
$msg->workday_profile()/$msg->workday_profile($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::WorkdayProfile)Optional. Profile for connecting to a Workday source.
$msg->static_service_ip_connectivity()/$msg->static_service_ip_connectivity($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::StaticServiceIpConnectivity)Static Service IP connectivity.
$msg->forward_ssh_connectivity()/$msg->forward_ssh_connectivity($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::ForwardSshTunnelConnectivity)Forward SSH tunnel connectivity.
$msg->private_connectivity()/$msg->private_connectivity($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::PrivateConnectivity)Private connectivity.
Google::Cloud::Datastream::V1::DatastreamResources::OracleColumn
Oracle Column.
Inherits from Protobuf::Message.
Accessors
$msg->column()/$msg->column($value)Type:
StringThe column 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::V1::DatastreamResources::OracleTable
Oracle table.
Inherits from Protobuf::Message.
Accessors
$msg->table()/$msg->table($value)Type:
StringThe table name.
$msg->oracle_columns()/$msg->oracle_columns($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::OracleColumn)Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
Google::Cloud::Datastream::V1::DatastreamResources::OracleSchema
Oracle schema.
Inherits from Protobuf::Message.
Accessors
$msg->schema()/$msg->schema($value)Type:
StringThe schema name.
$msg->oracle_tables()/$msg->oracle_tables($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::OracleTable)Tables in the schema.
Google::Cloud::Datastream::V1::DatastreamResources::OracleRdbms
Oracle database structure.
Inherits from Protobuf::Message.
Accessors
$msg->oracle_schemas()/$msg->oracle_schemas($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::OracleSchema)Oracle schemas/databases in the database server.
Google::Cloud::Datastream::V1::DatastreamResources::OracleSourceConfig
Configuration for syncing data from an Oracle source.
Inherits from Protobuf::Message.
Accessors
$msg->include_objects()/$msg->include_objects($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::OracleRdbms)The Oracle objects to include in the stream.
$msg->exclude_objects()/$msg->exclude_objects($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::OracleRdbms)The Oracle objects to exclude from the stream.
$msg->max_concurrent_cdc_tasks()/$msg->max_concurrent_cdc_tasks($value)Type:
Int32Maximum number of concurrent CDC tasks. The number should be non-negative. If not set (or set to 0), the system's default value is used.
$msg->max_concurrent_backfill_tasks()/$msg->max_concurrent_backfill_tasks($value)Type:
Int32Maximum number of concurrent backfill tasks. The number should be non-negative. If not set (or set to 0), the system's default value is used.
$msg->drop_large_objects()/$msg->drop_large_objects($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::OracleSourceConfig::DropLargeObjects)Drop large object values.
$msg->stream_large_objects()/$msg->stream_large_objects($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::OracleSourceConfig::StreamLargeObjects)Stream large object values.
$msg->log_miner()/$msg->log_miner($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::OracleSourceConfig::LogMiner)Use LogMiner.
$msg->binary_log_parser()/$msg->binary_log_parser($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::OracleSourceConfig::BinaryLogParser)Use Binary Log Parser.
Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlColumn
PostgreSQL Column.
Inherits from Protobuf::Message.
Accessors
$msg->column()/$msg->column($value)Type:
StringThe column name.
$msg->data_type()/$msg->data_type($value)Type:
StringThe PostgreSQL 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->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::V1::DatastreamResources::PostgresqlTable
PostgreSQL table.
Inherits from Protobuf::Message.
Accessors
$msg->table()/$msg->table($value)Type:
StringThe table name.
$msg->postgresql_columns()/$msg->postgresql_columns($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlColumn)PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlSchema
PostgreSQL schema.
Inherits from Protobuf::Message.
Accessors
$msg->schema()/$msg->schema($value)Type:
StringThe schema name.
$msg->postgresql_tables()/$msg->postgresql_tables($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlTable)Tables in the schema.
Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlRdbms
PostgreSQL database structure.
Inherits from Protobuf::Message.
Accessors
$msg->postgresql_schemas()/$msg->postgresql_schemas($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlSchema)PostgreSQL schemas in the database server.
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:
StringRequired. Immutable. The name of the logical replication slot that's configured with the pgoutput plugin.
$msg->publication()/$msg->publication($value)Type:
StringRequired. 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:
Int32Maximum 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:
StringThe column name.
$msg->data_type()/$msg->data_type($value)Type:
StringThe SQLServer 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->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::V1::DatastreamResources::SqlServerTable
SQLServer table.
Inherits from Protobuf::Message.
Accessors
$msg->table()/$msg->table($value)Type:
StringThe table name.
$msg->columns()/$msg->columns($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SqlServerColumn)SQLServer columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
Google::Cloud::Datastream::V1::DatastreamResources::SqlServerSchema
SQLServer schema.
Inherits from Protobuf::Message.
Accessors
$msg->schema()/$msg->schema($value)Type:
StringThe schema name.
$msg->tables()/$msg->tables($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SqlServerTable)Tables in the schema.
Google::Cloud::Datastream::V1::DatastreamResources::SqlServerRdbms
SQLServer database structure.
Inherits from Protobuf::Message.
Accessors
$msg->schemas()/$msg->schemas($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SqlServerSchema)SQLServer schemas in the database server.
Google::Cloud::Datastream::V1::DatastreamResources::SqlServerSourceConfig
Configuration for syncing data from a SQLServer source.
Inherits from Protobuf::Message.
Accessors
$msg->include_objects()/$msg->include_objects($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SqlServerRdbms)The SQLServer objects to include in the stream.
$msg->exclude_objects()/$msg->exclude_objects($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SqlServerRdbms)The SQLServer objects to exclude from the stream.
$msg->max_concurrent_cdc_tasks()/$msg->max_concurrent_cdc_tasks($value)Type:
Int32Max concurrent CDC tasks.
$msg->max_concurrent_backfill_tasks()/$msg->max_concurrent_backfill_tasks($value)Type:
Int32Max concurrent backfill tasks.
$msg->transaction_logs()/$msg->transaction_logs($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SqlServerTransactionLogs)CDC reader reads from transaction logs.
$msg->change_tables()/$msg->change_tables($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SqlServerChangeTables)CDC reader reads from change tables.
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
$msg->ddl_config()/$msg->ddl_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SqlServerChangeTables::SqlServerDdlConfig)Optional. DDL configuration for change tables.
Google::Cloud::Datastream::V1::DatastreamResources::MysqlColumn
MySQL Column.
Inherits from Protobuf::Message.
Accessors
$msg->column()/$msg->column($value)Type:
StringThe column 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.
$msg->precision()/$msg->precision($value)Type:
Int32Column precision.
$msg->scale()/$msg->scale($value)Type:
Int32Column scale.
Google::Cloud::Datastream::V1::DatastreamResources::MysqlTable
MySQL table.
Inherits from Protobuf::Message.
Accessors
$msg->table()/$msg->table($value)Type:
StringThe table name.
$msg->mysql_columns()/$msg->mysql_columns($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MysqlColumn)MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.
Google::Cloud::Datastream::V1::DatastreamResources::MysqlDatabase
MySQL database.
Inherits from Protobuf::Message.
Accessors
$msg->database()/$msg->database($value)Type:
StringThe database name.
$msg->mysql_tables()/$msg->mysql_tables($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MysqlTable)Tables in the database.
Google::Cloud::Datastream::V1::DatastreamResources::MysqlRdbms
MySQL database structure
Inherits from Protobuf::Message.
Accessors
$msg->mysql_databases()/$msg->mysql_databases($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MysqlDatabase)Mysql databases on the server
Google::Cloud::Datastream::V1::DatastreamResources::MysqlSourceConfig
Configuration for syncing data from a MySQL source.
Inherits from Protobuf::Message.
Accessors
$msg->include_objects()/$msg->include_objects($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MysqlRdbms)The MySQL objects to retrieve from the source.
$msg->exclude_objects()/$msg->exclude_objects($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MysqlRdbms)The MySQL objects to exclude from the stream.
$msg->max_concurrent_cdc_tasks()/$msg->max_concurrent_cdc_tasks($value)Type:
Int32Maximum number of concurrent CDC tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.
$msg->max_concurrent_backfill_tasks()/$msg->max_concurrent_backfill_tasks($value)Type:
Int32Maximum 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.
$msg->binary_log_position()/$msg->binary_log_position($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MysqlSourceConfig::BinaryLogPosition)Use Binary log position based replication.
$msg->gtid()/$msg->gtid($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MysqlSourceConfig::Gtid)Use GTID based replication.
Google::Cloud::Datastream::V1::DatastreamResources::SalesforceSourceConfig
Configuration for syncing data from a Salesforce source.
Inherits from Protobuf::Message.
Accessors
$msg->include_objects()/$msg->include_objects($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SalesforceOrg)The Salesforce objects to retrieve from the source.
$msg->exclude_objects()/$msg->exclude_objects($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SalesforceOrg)The Salesforce objects to exclude from the stream.
$msg->polling_interval()/$msg->polling_interval($value)Type:
Message(Google::Protobuf::Duration::Duration)Required. Salesforce objects polling interval. The interval at which new changes will be polled for each object. The duration must be from `5 minutes` to `24 hours`, inclusive.
Google::Cloud::Datastream::V1::DatastreamResources::SalesforceOrg
Salesforce organization structure.
Inherits from Protobuf::Message.
Accessors
$msg->objects()/$msg->objects($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SalesforceObject)Salesforce objects in the database server.
Google::Cloud::Datastream::V1::DatastreamResources::SalesforceObject
Salesforce object.
Inherits from Protobuf::Message.
Accessors
$msg->object_name()/$msg->object_name($value)Type:
StringThe 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:
StringThe field name.
$msg->data_type()/$msg->data_type($value)Type:
StringThe data type.
$msg->nillable()/$msg->nillable($value)Type:
BoolIndicates 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
$msg->include_objects()/$msg->include_objects($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MongodbCluster)The MongoDB collections to include in the stream.
$msg->exclude_objects()/$msg->exclude_objects($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MongodbCluster)The MongoDB collections to exclude from the stream.
$msg->max_concurrent_backfill_tasks()/$msg->max_concurrent_backfill_tasks($value)Type:
Int32Optional. Maximum number of concurrent backfill tasks. The number should be non-negative and less than or equal to 50. If not set (or set to 0), the system's default value is used
$msg->json_mode()/$msg->json_mode($value)Type:
Enum(Google::Cloud::Datastream::V1::MongodbJsonMode)Optional. MongoDB JSON mode to use for the stream.
Google::Cloud::Datastream::V1::DatastreamResources::MongodbCluster
MongoDB Cluster structure.
Inherits from Protobuf::Message.
Accessors
$msg->databases()/$msg->databases($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MongodbDatabase)MongoDB databases in the cluster.
Google::Cloud::Datastream::V1::DatastreamResources::MongodbDatabase
MongoDB Database.
Inherits from Protobuf::Message.
Accessors
$msg->database()/$msg->database($value)Type:
StringThe database name.
$msg->collections()/$msg->collections($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MongodbCollection)Collections in the database.
Google::Cloud::Datastream::V1::DatastreamResources::MongodbCollection
MongoDB Collection.
Inherits from Protobuf::Message.
Accessors
$msg->collection()/$msg->collection($value)Type:
StringThe collection name.
$msg->fields()/$msg->fields($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MongodbField)Fields in the collection.
Google::Cloud::Datastream::V1::DatastreamResources::MongodbField
MongoDB Field.
Inherits from Protobuf::Message.
Accessors
$msg->field()/$msg->field($value)Type:
StringThe 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:
StringRequired. 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:
StringOptional. The FGAC role to use for the stream.
$msg->max_concurrent_cdc_tasks()/$msg->max_concurrent_cdc_tasks($value)Type:
Int32Optional. Maximum number of concurrent CDC tasks.
$msg->max_concurrent_backfill_tasks()/$msg->max_concurrent_backfill_tasks($value)Type:
Int32Optional. 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:
BoolOptional. Whether to use Data Boost for Spanner backfills. Defaults to false if not set.
Enum: SpannerSourceConfig::SpannerRpcPriority
SPANNER_RPC_PRIORITY_UNSPECIFIED=>0LOW=>1MEDIUM=>2HIGH=>3
Google::Cloud::Datastream::V1::DatastreamResources::SpannerDatabase
Spanner database structure.
Inherits from Protobuf::Message.
Accessors
$msg->schemas()/$msg->schemas($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SpannerSchema)Optional. Spanner schemas in the database.
Google::Cloud::Datastream::V1::DatastreamResources::SpannerSchema
Spanner schema.
Inherits from Protobuf::Message.
Accessors
$msg->schema()/$msg->schema($value)Type:
StringRequired. The schema name.
$msg->tables()/$msg->tables($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SpannerTable)Optional. Spanner tables in the schema.
Google::Cloud::Datastream::V1::DatastreamResources::SpannerTable
Spanner table.
Inherits from Protobuf::Message.
Accessors
$msg->table()/$msg->table($value)Type:
StringRequired. The table name.
$msg->columns()/$msg->columns($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SpannerColumn)Optional. Spanner columns in the table.
Google::Cloud::Datastream::V1::DatastreamResources::SpannerColumn
Spanner column.
Inherits from Protobuf::Message.
Accessors
$msg->column()/$msg->column($value)Type:
StringRequired. The column name.
$msg->data_type()/$msg->data_type($value)Type:
StringOptional. Spanner data type.
$msg->is_primary_key()/$msg->is_primary_key($value)Type:
BoolOptional. Whether or not the column is a primary key.
$msg->ordinal_position()/$msg->ordinal_position($value)Type:
Int64Optional. 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
$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.
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
$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.
Google::Cloud::Datastream::V1::DatastreamResources::WorkdaySourceConfig
Configuration for syncing data from a Workday 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.
Google::Cloud::Datastream::V1::DatastreamResources::SourceCatalog
Source catalog.
Inherits from Protobuf::Message.
Accessors
$msg->objects()/$msg->objects($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SourceObject)Optional. Source objects in the catalog.
Google::Cloud::Datastream::V1::DatastreamResources::SourceObject
Source object.
Inherits from Protobuf::Message.
Accessors
$msg->object_name()/$msg->object_name($value)Type:
StringRequired. 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:
StringRequired. 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:
BoolOptional. 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
$msg->source_connection_profile()/$msg->source_connection_profile($value)Type:
StringRequired. Source connection profile resource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
$msg->oracle_source_config()/$msg->oracle_source_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::OracleSourceConfig)Oracle data source configuration.
$msg->mysql_source_config()/$msg->mysql_source_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MysqlSourceConfig)MySQL data source configuration.
$msg->postgresql_source_config()/$msg->postgresql_source_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::PostgresqlSourceConfig)PostgreSQL data source configuration.
$msg->sql_server_source_config()/$msg->sql_server_source_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SqlServerSourceConfig)SQLServer data source configuration.
$msg->salesforce_source_config()/$msg->salesforce_source_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SalesforceSourceConfig)Salesforce data source configuration.
$msg->mongodb_source_config()/$msg->mongodb_source_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::MongodbSourceConfig)MongoDB data source configuration.
$msg->spanner_source_config()/$msg->spanner_source_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SpannerSourceConfig)Spanner data source configuration.
$msg->dataverse_source_config()/$msg->dataverse_source_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::DataverseSourceConfig)Dataverse data source configuration.
$msg->salesforce_marketing_cloud_source_config()/$msg->salesforce_marketing_cloud_source_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SalesforceMarketingCloudSourceConfig)Salesforce Marketing Cloud data source configuration.
$msg->service_now_source_config()/$msg->service_now_source_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::ServiceNowSourceConfig)ServiceNow data source configuration.
$msg->workday_source_config()/$msg->workday_source_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::WorkdaySourceConfig)Optional. Workday data source configuration.
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
$msg->schema_file_format()/$msg->schema_file_format($value)Type:
Enum(Google::Cloud::Datastream::V1::JsonFileFormat::SchemaFileFormat)The schema file format along JSON data files.
$msg->compression()/$msg->compression($value)Type:
Enum(Google::Cloud::Datastream::V1::JsonFileFormat::JsonCompression)Compression of the loaded JSON file.
Enum: JsonFileFormat::SchemaFileFormat
SCHEMA_FILE_FORMAT_UNSPECIFIED=>0NO_SCHEMA_FILE=>1AVRO_SCHEMA_FILE=>2
Enum: JsonFileFormat::JsonCompression
JSON_COMPRESSION_UNSPECIFIED=>0NO_COMPRESSION=>1GZIP=>2
Google::Cloud::Datastream::V1::DatastreamResources::BigQueryClustering
BigQuery clustering configuration.
Inherits from Protobuf::Message.
Accessors
$msg->columns()/$msg->columns($value)Type:
StringRequired. 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
$msg->partitioning_time_granularity()/$msg->partitioning_time_granularity($value)Type:
Enum(Google::Cloud::Datastream::V1::PartitioningTimeGranularity)Optional. Partition granularity
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
$msg->column()/$msg->column($value)Type:
StringRequired. The partitioning column.
$msg->partitioning_time_granularity()/$msg->partitioning_time_granularity($value)Type:
Enum(Google::Cloud::Datastream::V1::PartitioningTimeGranularity)Optional. Partition granularity.
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:
StringRequired. The partitioning column.
$msg->start()/$msg->start($value)Type:
Int64Required. The starting value for range partitioning (inclusive).
$msg->end()/$msg->end($value)Type:
Int64Required. The ending value for range partitioning (exclusive).
$msg->interval()/$msg->interval($value)Type:
Int64Required. The interval of each range within the partition.
Google::Cloud::Datastream::V1::DatastreamResources::BigQueryPartitioning
BigQuery partitioning configuration.
Inherits from Protobuf::Message.
Accessors
$msg->integer_range_partition()/$msg->integer_range_partition($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::IntegerRangePartition)Integer range partitioning.
$msg->time_unit_partition()/$msg->time_unit_partition($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::TimeUnitPartition)Time unit column partitioning.
$msg->ingestion_time_partition()/$msg->ingestion_time_partition($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::IngestionTimePartition)Ingestion time partitioning.
$msg->require_partition_filter()/$msg->require_partition_filter($value)Type:
BoolOptional. If true, queries over the table require a partition filter.
Google::Cloud::Datastream::V1::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->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. 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
$msg->single_target_dataset()/$msg->single_target_dataset($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::BigQueryDestinationConfig::SingleTargetDataset)Single destination dataset.
$msg->source_hierarchy_datasets()/$msg->source_hierarchy_datasets($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::BigQueryDestinationConfig::SourceHierarchyDatasets)Source hierarchy datasets.
$msg->data_freshness()/$msg->data_freshness($value)Type:
Message(Google::Protobuf::Duration::Duration)The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.
$msg->blmt_config()/$msg->blmt_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::BigQueryDestinationConfig::BlmtConfig)Optional. Big Lake Managed Tables (BLMT) configuration.
$msg->merge()/$msg->merge($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::BigQueryDestinationConfig::Merge)The standard mode
$msg->append_only()/$msg->append_only($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::BigQueryDestinationConfig::AppendOnly)Append only mode
Google::Cloud::Datastream::V1::DatastreamResources::DestinationConfig
The configuration of the stream destination.
Inherits from Protobuf::Message.
Accessors
$msg->destination_connection_profile()/$msg->destination_connection_profile($value)Type:
StringRequired. Destination connection profile resource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
$msg->gcs_destination_config()/$msg->gcs_destination_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::GcsDestinationConfig)A configuration for how data should be loaded to Cloud Storage.
$msg->bigquery_destination_config()/$msg->bigquery_destination_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::BigQueryDestinationConfig)BigQuery destination configuration.
Google::Cloud::Datastream::V1::DatastreamResources::Stream
A resource representing streaming data from a source to a destination.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Identifier. 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::V1::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::V1::DatastreamResources::SourceConfig)Required. Source connection profile configuration.
$msg->destination_config()/$msg->destination_config($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::DestinationConfig)Required. Destination connection profile configuration.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Datastream::V1::Stream::State)The state of the stream.
$msg->backfill_all()/$msg->backfill_all($value)Type:
Message(Google::Cloud::Datastream::V1::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::V1::DatastreamResources::Stream::BackfillNoneStrategy)Do not automatically backfill any objects.
$msg->errors()/$msg->errors($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::Error)Output only. Errors on the Stream.
$msg->customer_managed_encryption_key()/$msg->customer_managed_encryption_key($value)Type:
StringImmutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.
$msg->last_recovery_time()/$msg->last_recovery_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. If the stream was recovered, the time of the last recovery. Note: This field is currently experimental.
$msg->satisfies_pzs()/$msg->satisfies_pzs($value)Type:
BoolOutput only. Reserved for future use.
$msg->satisfies_pzi()/$msg->satisfies_pzi($value)Type:
BoolOutput only. Reserved for future use.
$msg->rule_sets()/$msg->rule_sets($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::Stream::RuleSet)Optional. Rule sets to apply to the stream.
Enum: Stream::State
STATE_UNSPECIFIED=>0NOT_STARTED=>1RUNNING=>2PAUSED=>3MAINTENANCE=>4FAILED=>5FAILED_PERMANENTLY=>6STARTING=>7DRAINING=>8
Google::Cloud::Datastream::V1::DatastreamResources::StreamObject
A specific stream object (e.g a specific DB table).
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Identifier. The object resource's name.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The creation time of the object.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The last update time of the object.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. Display name.
$msg->errors()/$msg->errors($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::Error)Output only. Active errors on the object.
$msg->backfill_job()/$msg->backfill_job($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::BackfillJob)The latest backfill job that was initiated for the stream object.
$msg->source_object()/$msg->source_object($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SourceObjectIdentifier)The object identifier in the data source.
$msg->customization_rules()/$msg->customization_rules($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::Stream::RuleSet::CustomizationRule)Output only. The customization rules for the object. These rules are derived from the parent Stream's `rule_sets` and represent the intended configuration for the object.
Google::Cloud::Datastream::V1::DatastreamResources::SourceObjectIdentifier
Represents an identifier of an object in the data source.
Inherits from Protobuf::Message.
Accessors
$msg->oracle_identifier()/$msg->oracle_identifier($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SourceObjectIdentifier::OracleObjectIdentifier)Oracle data source object identifier.
$msg->mysql_identifier()/$msg->mysql_identifier($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SourceObjectIdentifier::MysqlObjectIdentifier)Mysql data source object identifier.
$msg->postgresql_identifier()/$msg->postgresql_identifier($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SourceObjectIdentifier::PostgresqlObjectIdentifier)PostgreSQL data source object identifier.
$msg->sql_server_identifier()/$msg->sql_server_identifier($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SourceObjectIdentifier::SqlServerObjectIdentifier)SQLServer data source object identifier.
$msg->salesforce_identifier()/$msg->salesforce_identifier($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SourceObjectIdentifier::SalesforceObjectIdentifier)Salesforce data source object identifier.
$msg->mongodb_identifier()/$msg->mongodb_identifier($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SourceObjectIdentifier::MongodbObjectIdentifier)MongoDB data source object identifier.
$msg->spanner_identifier()/$msg->spanner_identifier($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::SourceObjectIdentifier::SpannerObjectIdentifier)Spanner data source object identifier.
Google::Cloud::Datastream::V1::DatastreamResources::BackfillJob
Represents a backfill job on a specific stream object.
Inherits from Protobuf::Message.
Accessors
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Datastream::V1::BackfillJob::State)Output only. Backfill job state.
$msg->trigger()/$msg->trigger($value)Type:
Enum(Google::Cloud::Datastream::V1::BackfillJob::Trigger)Backfill job's triggering reason.
$msg->last_start_time()/$msg->last_start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Backfill job's start time.
$msg->last_end_time()/$msg->last_end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Backfill job's end time.
$msg->errors()/$msg->errors($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::Error)Output only. Errors which caused the backfill job to fail.
$msg->event_filter()/$msg->event_filter($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::EventFilter)Output only. The filter for performing a partial backfill.
Enum: BackfillJob::State
STATE_UNSPECIFIED=>0NOT_STARTED=>1PENDING=>2ACTIVE=>3STOPPED=>4FAILED=>5COMPLETED=>6UNSUPPORTED=>7
Enum: BackfillJob::Trigger
TRIGGER_UNSPECIFIED=>0AUTOMATIC=>1MANUAL=>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:
StringAn 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:
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::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
$msg->validations()/$msg->validations($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::Validation)A list of validations (includes both executed as well as not executed validations).
Google::Cloud::Datastream::V1::DatastreamResources::Validation
A validation to perform on a stream.
Inherits from Protobuf::Message.
Accessors
$msg->description()/$msg->description($value)Type:
StringA short description of the validation.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Datastream::V1::Validation::State)Output only. Validation execution status.
$msg->message()/$msg->message($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::ValidationMessage)Messages reflecting the validation results.
$msg->code()/$msg->code($value)Type:
StringA custom code identifying this validation.
Enum: Validation::State
STATE_UNSPECIFIED=>0NOT_EXECUTED=>1FAILED=>2PASSED=>3WARNING=>4
Google::Cloud::Datastream::V1::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::V1::ValidationMessage::Level)Message severity level (warning or error).
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Cloud::Datastream::V1::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
Google::Cloud::Datastream::V1::DatastreamResources::CdcStrategy
The strategy that the stream uses for CDC replication.
Inherits from Protobuf::Message.
Accessors
$msg->most_recent_start_position()/$msg->most_recent_start_position($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::CdcStrategy::MostRecentStartPosition)Optional. Start replicating from the most recent position in the source.
$msg->next_available_start_position()/$msg->next_available_start_position($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::CdcStrategy::NextAvailableStartPosition)Optional. Resume replication from the next available position in the source.
$msg->specific_start_position()/$msg->specific_start_position($value)Type:
Message(Google::Cloud::Datastream::V1::DatastreamResources::CdcStrategy::SpecificStartPosition)Optional. Start replicating from a specific position in the source.
Google::Cloud::Datastream::V1::DatastreamResources::SqlServerLsnPosition
SQL Server LSN position
Inherits from Protobuf::Message.
Accessors
$msg->lsn()/$msg->lsn($value)Type:
StringRequired. 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:
Int64Required. 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:
StringRequired. The binary log file name.
$msg->log_position()/$msg->log_position($value)Type:
Int32Optional. 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:
StringRequired. The gtid set to start replication from.
Google::Cloud::Datastream::V1::DatastreamResources::MongodbChangeStreamPosition
MongoDB change stream position
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 from.
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.