As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

Types for Google Cloud Datastream v1alpha1 API

class google.cloud.datastream_v1alpha1.types.AvroFileFormat(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

AVRO file format configuration.

class google.cloud.datastream_v1alpha1.types.ConnectionProfile(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

name

Output only. The resource’s name.

Type

str

create_time

Output only. The create time of the resource.

Type

google.protobuf.timestamp_pb2.Timestamp

update_time

Output only. The update time of the resource.

Type

google.protobuf.timestamp_pb2.Timestamp

labels

Labels.

Type

MutableMapping[str, str]

display_name

Required. Display name.

Type

str

oracle_profile

Oracle ConnectionProfile configuration.

This field is a member of oneof profile.

Type

google.cloud.datastream_v1alpha1.types.OracleProfile

gcs_profile

Cloud Storage ConnectionProfile configuration.

This field is a member of oneof profile.

Type

google.cloud.datastream_v1alpha1.types.GcsProfile

mysql_profile

MySQL ConnectionProfile configuration.

This field is a member of oneof profile.

Type

google.cloud.datastream_v1alpha1.types.MysqlProfile

no_connectivity

No connectivity option chosen.

This field is a member of oneof connectivity.

Type

google.cloud.datastream_v1alpha1.types.NoConnectivitySettings

static_service_ip_connectivity

Static Service IP connectivity.

This field is a member of oneof connectivity.

Type

google.cloud.datastream_v1alpha1.types.StaticServiceIpConnectivity

forward_ssh_connectivity

Forward SSH tunnel connectivity.

This field is a member of oneof connectivity.

Type

google.cloud.datastream_v1alpha1.types.ForwardSshTunnelConnectivity

private_connectivity

Private connectivity.

This field is a member of oneof connectivity.

Type

google.cloud.datastream_v1alpha1.types.PrivateConnectivity

class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases: proto.message.Message

class google.cloud.datastream_v1alpha1.types.CreateConnectionProfileRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

parent

Required. The parent that owns the collection of ConnectionProfiles.

Type

str

connection_profile_id

Required. The connection profile identifier.

Type

str

connection_profile

Required. The connection profile resource to create.

Type

google.cloud.datastream_v1alpha1.types.ConnectionProfile

request_id

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Type

str

class google.cloud.datastream_v1alpha1.types.CreatePrivateConnectionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

parent

Required. The parent that owns the collection of PrivateConnections.

Type

str

private_connection_id

Required. The private connectivity identifier.

Type

str

private_connection

Required. The Private Connectivity resource to create.

Type

google.cloud.datastream_v1alpha1.types.PrivateConnection

request_id

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Type

str

class google.cloud.datastream_v1alpha1.types.CreateRouteRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

route creation request

parent

Required. The parent that owns the collection of Routes.

Type

str

route_id

Required. The Route identifier.

Type

str

route

Required. The Route resource to create.

Type

google.cloud.datastream_v1alpha1.types.Route

request_id

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Type

str

class google.cloud.datastream_v1alpha1.types.CreateStreamRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

parent

Required. The parent that owns the collection of streams.

Type

str

stream_id

Required. The stream identifier.

Type

str

stream

Required. The stream resource to create.

Type

google.cloud.datastream_v1alpha1.types.Stream

request_id

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Type

str

validate_only

Optional. Only validate the stream, but do not create any resources. The default is false.

Type

bool

force

Optional. Create the stream without validating it.

Type

bool

class google.cloud.datastream_v1alpha1.types.DeleteConnectionProfileRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

name

Required. The name of the connection profile resource to delete.

Type

str

request_id

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Type

str

class google.cloud.datastream_v1alpha1.types.DeletePrivateConnectionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

name

Required. The name of the private connectivity configuration to delete.

Type

str

request_id

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Type

str

force

Optional. If set to true, any child routes that belong to this PrivateConnection will also be deleted.

Type

bool

class google.cloud.datastream_v1alpha1.types.DeleteRouteRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

route deletion request

name

Required. The name of the Route resource to delete.

Type

str

request_id

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Type

str

class google.cloud.datastream_v1alpha1.types.DeleteStreamRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

name

Required. The name of the stream resource to delete.

Type

str

request_id

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Type

str

class google.cloud.datastream_v1alpha1.types.DestinationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

The configuration of the stream destination.

destination_connection_profile_name

Required. Destination connection profile identifier.

Type

str

gcs_destination_config

This field is a member of oneof destination_stream_config.

Type

google.cloud.datastream_v1alpha1.types.GcsDestinationConfig

class google.cloud.datastream_v1alpha1.types.DiscoverConnectionProfileRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for ‘discover’ ConnectionProfile request.

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

parent

Required. The parent resource of the ConnectionProfile type. Must be in the format projects/*/locations/*.

Type

str

connection_profile

An ad-hoc ConnectionProfile configuration.

This field is a member of oneof target.

Type

google.cloud.datastream_v1alpha1.types.ConnectionProfile

connection_profile_name

A reference to an existing ConnectionProfile.

This field is a member of oneof target.

Type

str

recursive

Whether to retrieve the full hierarchy of data objects (TRUE) or only the current level (FALSE).

This field is a member of oneof depth.

Type

bool

recursion_depth

The number of hierarchy levels below the current level to be retrieved.

This field is a member of oneof depth.

Type

int

oracle_rdbms

Oracle RDBMS to enrich with child data objects and metadata.

This field is a member of oneof data_object.

Type

google.cloud.datastream_v1alpha1.types.OracleRdbms

mysql_rdbms

MySQL RDBMS to enrich with child data objects and metadata.

This field is a member of oneof data_object.

Type

google.cloud.datastream_v1alpha1.types.MysqlRdbms

class google.cloud.datastream_v1alpha1.types.DiscoverConnectionProfileResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

oracle_rdbms

Enriched Oracle RDBMS object.

This field is a member of oneof data_object.

Type

google.cloud.datastream_v1alpha1.types.OracleRdbms

mysql_rdbms

Enriched MySQL RDBMS object.

This field is a member of oneof data_object.

Type

google.cloud.datastream_v1alpha1.types.MysqlRdbms

class google.cloud.datastream_v1alpha1.types.Error(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Represent a user-facing Error.

reason

A title that explains the reason for the error.

Type

str

error_uuid

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

Type

str

message

A message containing more information about the error that occurred.

Type

str

error_time

The time when the error occurred.

Type

google.protobuf.timestamp_pb2.Timestamp

details

Additional information about the error.

Type

MutableMapping[str, str]

class DetailsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases: proto.message.Message

class google.cloud.datastream_v1alpha1.types.FetchErrorsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for ‘FetchErrors’ request.

stream

Name of the Stream resource for which to fetch any errors.

Type

str

class google.cloud.datastream_v1alpha1.types.FetchErrorsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Response message for a ‘FetchErrors’ response.

errors

The list of errors on the Stream.

Type

MutableSequence[google.cloud.datastream_v1alpha1.types.Error]

class google.cloud.datastream_v1alpha1.types.FetchStaticIpsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for ‘FetchStaticIps’ request.

name

Required. The name resource of the Response type. Must be in the format projects/*/locations/*.

Type

str

page_size

Maximum number of Ips to return, will likely not be specified.

Type

int

page_token

A page token, received from a previous ListStaticIps call. will likely not be specified.

Type

str

class google.cloud.datastream_v1alpha1.types.FetchStaticIpsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Response message for a ‘FetchStaticIps’ response.

static_ips

list of static ips by account

Type

MutableSequence[str]

next_page_token

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Type

str

class google.cloud.datastream_v1alpha1.types.ForwardSshTunnelConnectivity(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Forward SSH Tunnel connectivity.

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

hostname

Required. Hostname for the SSH tunnel.

Type

str

username

Required. Username for the SSH tunnel.

Type

str

port

Port for the SSH tunnel, default value is 22.

Type

int

password

Input only. SSH password.

This field is a member of oneof authentication_method.

Type

str

private_key

Input only. SSH private key.

This field is a member of oneof authentication_method.

Type

str

class google.cloud.datastream_v1alpha1.types.GcsDestinationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Google Cloud Storage destination configuration

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

path

Path inside the Cloud Storage bucket to write data to.

Type

str

gcs_file_format

File format that data should be written in. Deprecated field - use file_format instead.

Type

google.cloud.datastream_v1alpha1.types.GcsFileFormat

file_rotation_mb

The maximum file size to be saved in the bucket.

Type

int

file_rotation_interval

The maximum duration for which new events are added before a file is closed and a new file is created.

Type

google.protobuf.duration_pb2.Duration

avro_file_format

AVRO file format configuration.

This field is a member of oneof file_format.

Type

google.cloud.datastream_v1alpha1.types.AvroFileFormat

json_file_format

JSON file format configuration.

This field is a member of oneof file_format.

Type

google.cloud.datastream_v1alpha1.types.JsonFileFormat

class google.cloud.datastream_v1alpha1.types.GcsFileFormat(value)[source]

Bases: proto.enums.Enum

File format in Cloud Storage.

Values:
GCS_FILE_FORMAT_UNSPECIFIED (0):

Unspecified Cloud Storage file format.

AVRO (1):

Avro file format

class google.cloud.datastream_v1alpha1.types.GcsProfile(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Cloud Storage bucket profile.

bucket_name

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

Type

str

root_path

The root path inside the Cloud Storage bucket.

Type

str

class google.cloud.datastream_v1alpha1.types.GetConnectionProfileRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

name

Required. The name of the connection profile resource to get.

Type

str

class google.cloud.datastream_v1alpha1.types.GetPrivateConnectionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

name

Required. The name of the private connectivity configuration to get.

Type

str

class google.cloud.datastream_v1alpha1.types.GetRouteRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

route get request

name

Required. The name of the Route resource to get.

Type

str

class google.cloud.datastream_v1alpha1.types.GetStreamRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

name

Required. The name of the stream resource to get.

Type

str

class google.cloud.datastream_v1alpha1.types.JsonFileFormat(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

JSON file format configuration.

schema_file_format

The schema file format along JSON data files.

Type

google.cloud.datastream_v1alpha1.types.SchemaFileFormat

compression

Compression of the loaded JSON file.

Type

google.cloud.datastream_v1alpha1.types.JsonFileFormat.JsonCompression

class JsonCompression(value)[source]

Bases: proto.enums.Enum

Json file compression.

Values:
JSON_COMPRESSION_UNSPECIFIED (0):

Unspecified json file compression.

NO_COMPRESSION (1):

Do not compress JSON file.

GZIP (2):

Gzip compression.

class google.cloud.datastream_v1alpha1.types.ListConnectionProfilesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

parent

Required. The parent that owns the collection of connection profiles.

Type

str

page_size

Maximum number of connection profiles to return. If unspecified, at most 50 connection profiles will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

Type

int

page_token

Page token received from a previous ListConnectionProfiles call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListConnectionProfiles must match the call that provided the page token.

Type

str

filter

Filter request.

Type

str

order_by

Order by fields for the result.

Type

str

class google.cloud.datastream_v1alpha1.types.ListConnectionProfilesResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

connection_profiles

List of connection profiles.

Type

MutableSequence[google.cloud.datastream_v1alpha1.types.ConnectionProfile]

next_page_token

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Type

str

unreachable

Locations that could not be reached.

Type

MutableSequence[str]

class google.cloud.datastream_v1alpha1.types.ListPrivateConnectionsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

parent

Required. The parent that owns the collection of private connectivity configurations.

Type

str

page_size

Maximum number of private connectivity configurations to return. If unspecified, at most 50 private connectivity configurations that will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

Type

int

page_token

Page token received from a previous ListPrivateConnections call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListPrivateConnections must match the call that provided the page token.

Type

str

filter

Filter request.

Type

str

order_by

Order by fields for the result.

Type

str

class google.cloud.datastream_v1alpha1.types.ListPrivateConnectionsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

private_connections

List of private connectivity configurations.

Type

MutableSequence[google.cloud.datastream_v1alpha1.types.PrivateConnection]

next_page_token

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Type

str

unreachable

Locations that could not be reached.

Type

MutableSequence[str]

class google.cloud.datastream_v1alpha1.types.ListRoutesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

route list request

parent

Required. The parent that owns the collection of Routess.

Type

str

page_size

Maximum number of Routes to return. The service may return fewer than this value. If unspecified, at most 50 Routes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

Type

int

page_token

Page token received from a previous ListRoutes call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListRoutes must match the call that provided the page token.

Type

str

filter

Filter request.

Type

str

order_by

Order by fields for the result.

Type

str

class google.cloud.datastream_v1alpha1.types.ListRoutesResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

route list response

routes

List of Routes.

Type

MutableSequence[google.cloud.datastream_v1alpha1.types.Route]

next_page_token

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Type

str

unreachable

Locations that could not be reached.

Type

MutableSequence[str]

class google.cloud.datastream_v1alpha1.types.ListStreamsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

parent

Required. The parent that owns the collection of streams.

Type

str

page_size

Maximum number of streams to return. If unspecified, at most 50 streams will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

Type

int

page_token

Page token received from a previous ListStreams call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListStreams must match the call that provided the page token.

Type

str

filter

Filter request.

Type

str

order_by

Order by fields for the result.

Type

str

class google.cloud.datastream_v1alpha1.types.ListStreamsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

streams

List of streams

Type

MutableSequence[google.cloud.datastream_v1alpha1.types.Stream]

next_page_token

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Type

str

unreachable

Locations that could not be reached.

Type

MutableSequence[str]

class google.cloud.datastream_v1alpha1.types.MysqlColumn(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

MySQL Column.

column_name

Column name.

Type

str

data_type

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

Type

str

length

Column length.

Type

int

collation

Column collation.

Type

str

primary_key

Whether or not the column represents a primary key.

Type

bool

nullable

Whether or not the column can accept a null value.

Type

bool

ordinal_position

The ordinal position of the column in the table.

Type

int

class google.cloud.datastream_v1alpha1.types.MysqlDatabase(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

MySQL database.

database_name

Database name.

Type

str

mysql_tables

Tables in the database.

Type

MutableSequence[google.cloud.datastream_v1alpha1.types.MysqlTable]

class google.cloud.datastream_v1alpha1.types.MysqlProfile(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

MySQL database profile.

hostname

Required. Hostname for the MySQL connection.

Type

str

port

Port for the MySQL connection, default value is 3306.

Type

int

username

Required. Username for the MySQL connection.

Type

str

password

Required. Input only. Password for the MySQL connection.

Type

str

ssl_config

SSL configuration for the MySQL connection.

Type

google.cloud.datastream_v1alpha1.types.MysqlSslConfig

class google.cloud.datastream_v1alpha1.types.MysqlRdbms(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

MySQL database structure

mysql_databases

Mysql databases on the server

Type

MutableSequence[google.cloud.datastream_v1alpha1.types.MysqlDatabase]

class google.cloud.datastream_v1alpha1.types.MysqlSourceConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

MySQL source configuration

allowlist

MySQL objects to retrieve from the source.

Type

google.cloud.datastream_v1alpha1.types.MysqlRdbms

rejectlist

MySQL objects to exclude from the stream.

Type

google.cloud.datastream_v1alpha1.types.MysqlRdbms

class google.cloud.datastream_v1alpha1.types.MysqlSslConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

MySQL SSL configuration information.

client_key

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.

Type

str

client_key_set

Output only. Indicates whether the client_key field is set.

Type

bool

client_certificate

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.

Type

str

client_certificate_set

Output only. Indicates whether the client_certificate field is set.

Type

bool

ca_certificate

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

Type

str

ca_certificate_set

Output only. Indicates whether the ca_certificate field is set.

Type

bool

class google.cloud.datastream_v1alpha1.types.MysqlTable(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

MySQL table.

table_name

Table name.

Type

str

mysql_columns

MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.

Type

MutableSequence[google.cloud.datastream_v1alpha1.types.MysqlColumn]

class google.cloud.datastream_v1alpha1.types.NoConnectivitySettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

No connectivity settings.

class google.cloud.datastream_v1alpha1.types.OperationMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Represents the metadata of the long-running operation.

create_time

Output only. The time the operation was created.

Type

google.protobuf.timestamp_pb2.Timestamp

end_time

Output only. The time the operation finished running.

Type

google.protobuf.timestamp_pb2.Timestamp

target

Output only. Server-defined resource path for the target of the operation.

Type

str

verb

Output only. Name of the verb executed by the operation.

Type

str

status_message

Output only. Human-readable status of the operation, if any.

Type

str

requested_cancellation

Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to Code.CANCELLED.

Type

bool

api_version

Output only. API version used to start the operation.

Type

str

validation_result

Output only. Results of executed validations if there are any.

Type

google.cloud.datastream_v1alpha1.types.ValidationResult

class google.cloud.datastream_v1alpha1.types.OracleColumn(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Oracle Column.

column_name

Column name.

Type

str

data_type

The Oracle data type.

Type

str

length

Column length.

Type

int

precision

Column precision.

Type

int

scale

Column scale.

Type

int

encoding

Column encoding.

Type

str

primary_key

Whether or not the column represents a primary key.

Type

bool

nullable

Whether or not the column can accept a null value.

Type

bool

ordinal_position

The ordinal position of the column in the table.

Type

int

class google.cloud.datastream_v1alpha1.types.OracleProfile(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Oracle database profile.

hostname

Required. Hostname for the Oracle connection.

Type

str

port

Port for the Oracle connection, default value is 1521.

Type

int

username

Required. Username for the Oracle connection.

Type

str

password

Required. Password for the Oracle connection.

Type

str

database_service

Required. Database for the Oracle connection.

Type

str

connection_attributes

Connection string attributes

Type

MutableMapping[str, str]

class ConnectionAttributesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases: proto.message.Message

class google.cloud.datastream_v1alpha1.types.OracleRdbms(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Oracle database structure.

oracle_schemas

Oracle schemas/databases in the database server.

Type

MutableSequence[google.cloud.datastream_v1alpha1.types.OracleSchema]

class google.cloud.datastream_v1alpha1.types.OracleSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Oracle schema.

schema_name

Schema name.

Type

str

oracle_tables

Tables in the schema.

Type

MutableSequence[google.cloud.datastream_v1alpha1.types.OracleTable]

class google.cloud.datastream_v1alpha1.types.OracleSourceConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Oracle data source configuration

allowlist

Oracle objects to include in the stream.

Type

google.cloud.datastream_v1alpha1.types.OracleRdbms

rejectlist

Oracle objects to exclude from the stream.

Type

google.cloud.datastream_v1alpha1.types.OracleRdbms

class google.cloud.datastream_v1alpha1.types.OracleTable(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Oracle table.

table_name

Table name.

Type

str

oracle_columns

Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.

Type

MutableSequence[google.cloud.datastream_v1alpha1.types.OracleColumn]

class google.cloud.datastream_v1alpha1.types.PrivateConnection(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

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

name

Output only. The resource’s name.

Type

str

create_time

Output only. The create time of the resource.

Type

google.protobuf.timestamp_pb2.Timestamp

update_time

Output only. The update time of the resource.

Type

google.protobuf.timestamp_pb2.Timestamp

labels

Labels.

Type

MutableMapping[str, str]

display_name

Required. Display name.

Type

str

state

Output only. The state of the Private Connection.

Type

google.cloud.datastream_v1alpha1.types.PrivateConnection.State

error

Output only. In case of error, the details of the error in a user-friendly format.

Type

google.cloud.datastream_v1alpha1.types.Error

vpc_peering_config

VPC Peering Config

Type

google.cloud.datastream_v1alpha1.types.VpcPeeringConfig

class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases: proto.message.Message

class State(value)[source]

Bases: proto.enums.Enum

Private Connection state.

Values:
STATE_UNSPECIFIED (0):

No description available.

CREATING (1):

The private connection is in creation state - creating resources.

CREATED (2):

The private connection has been created with all of it’s resources.

FAILED (3):

The private connection creation has failed.

class google.cloud.datastream_v1alpha1.types.PrivateConnectivity(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Private Connectivity

private_connection_name
Type

str

class google.cloud.datastream_v1alpha1.types.Route(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

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

name

Output only. The resource’s name.

Type

str

create_time

Output only. The create time of the resource.

Type

google.protobuf.timestamp_pb2.Timestamp

update_time

Output only. The update time of the resource.

Type

google.protobuf.timestamp_pb2.Timestamp

labels

Labels.

Type

MutableMapping[str, str]

display_name

Required. Display name.

Type

str

destination_address

Required. Destination address for connection

Type

str

destination_port

Destination port for connection

Type

int

class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases: proto.message.Message

class google.cloud.datastream_v1alpha1.types.SchemaFileFormat(value)[source]

Bases: proto.enums.Enum

Schema file format.

Values:
SCHEMA_FILE_FORMAT_UNSPECIFIED (0):

Unspecified schema file format.

NO_SCHEMA_FILE (1):

Do not attach schema file.

AVRO_SCHEMA_FILE (2):

Avro schema format.

class google.cloud.datastream_v1alpha1.types.SourceConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

The configuration of the stream source.

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

source_connection_profile_name

Required. Source connection profile identifier.

Type

str

oracle_source_config

Oracle data source configuration

This field is a member of oneof source_stream_config.

Type

google.cloud.datastream_v1alpha1.types.OracleSourceConfig

mysql_source_config

MySQL data source configuration

This field is a member of oneof source_stream_config.

Type

google.cloud.datastream_v1alpha1.types.MysqlSourceConfig

class google.cloud.datastream_v1alpha1.types.StaticServiceIpConnectivity(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Static IP address connectivity.

class google.cloud.datastream_v1alpha1.types.Stream(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

name

Output only. The stream’s name.

Type

str

create_time

Output only. The creation time of the stream.

Type

google.protobuf.timestamp_pb2.Timestamp

update_time

Output only. The last update time of the stream.

Type

google.protobuf.timestamp_pb2.Timestamp

labels

Labels.

Type

MutableMapping[str, str]

display_name

Required. Display name.

Type

str

source_config

Required. Source connection profile configuration.

Type

google.cloud.datastream_v1alpha1.types.SourceConfig

destination_config

Required. Destination connection profile configuration.

Type

google.cloud.datastream_v1alpha1.types.DestinationConfig

state

The state of the stream.

Type

google.cloud.datastream_v1alpha1.types.Stream.State

backfill_all

Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.

This field is a member of oneof backfill_strategy.

Type

google.cloud.datastream_v1alpha1.types.Stream.BackfillAllStrategy

backfill_none

Do not automatically backfill any objects.

This field is a member of oneof backfill_strategy.

Type

google.cloud.datastream_v1alpha1.types.Stream.BackfillNoneStrategy

errors

Output only. Errors on the Stream.

Type

MutableSequence[google.cloud.datastream_v1alpha1.types.Error]

class BackfillAllStrategy(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Backfill strategy to automatically backfill the Stream’s objects. Specific objects can be excluded.

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

oracle_excluded_objects

Oracle data source objects to avoid backfilling.

This field is a member of oneof excluded_objects.

Type

google.cloud.datastream_v1alpha1.types.OracleRdbms

mysql_excluded_objects

MySQL data source objects to avoid backfilling.

This field is a member of oneof excluded_objects.

Type

google.cloud.datastream_v1alpha1.types.MysqlRdbms

class BackfillNoneStrategy(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Backfill strategy to disable automatic backfill for the Stream’s objects.

class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases: proto.message.Message

class State(value)[source]

Bases: proto.enums.Enum

Stream state.

Values:
STATE_UNSPECIFIED (0):

Unspecified stream state.

CREATED (1):

The stream has been created.

RUNNING (2):

The stream is running.

PAUSED (3):

The stream is paused.

MAINTENANCE (4):

The stream is in maintenance mode.

Updates are rejected on the resource in this state.

FAILED (5):

The stream is experiencing an error that is preventing data from being streamed.

FAILED_PERMANENTLY (6):

The stream has experienced a terminal failure.

STARTING (7):

The stream is starting, but not yet running.

DRAINING (8):

The Stream is no longer reading new events, but still writing events in the buffer.

class google.cloud.datastream_v1alpha1.types.UpdateConnectionProfileRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

update_mask

Optional. Field mask is used to specify the fields to be overwritten in the ConnectionProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Type

google.protobuf.field_mask_pb2.FieldMask

connection_profile

Required. The ConnectionProfile to update.

Type

google.cloud.datastream_v1alpha1.types.ConnectionProfile

request_id

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Type

str

class google.cloud.datastream_v1alpha1.types.UpdateStreamRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

update_mask

Optional. Field mask is used to specify the fields to be overwritten in the stream resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Type

google.protobuf.field_mask_pb2.FieldMask

stream

Required. The stream resource to update.

Type

google.cloud.datastream_v1alpha1.types.Stream

request_id

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Type

str

validate_only

Optional. Only validate the stream with the changes, without actually updating it. The default is false.

Type

bool

force

Optional. Execute the update without validating it.

Type

bool

class google.cloud.datastream_v1alpha1.types.Validation(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

description

A short description of the validation.

Type

str

status

Validation execution status.

Type

google.cloud.datastream_v1alpha1.types.Validation.Status

message

Messages reflecting the validation results.

Type

MutableSequence[google.cloud.datastream_v1alpha1.types.ValidationMessage]

code

A custom code identifying this validation.

Type

str

class Status(value)[source]

Bases: proto.enums.Enum

Validation execution status.

Values:
STATUS_UNSPECIFIED (0):

Unspecified status.

NOT_EXECUTED (1):

Validation did not execute.

FAILED (2):

Validation failed.

PASSED (3):

Validation passed.

class google.cloud.datastream_v1alpha1.types.ValidationMessage(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Represent user-facing validation result message.

message

The result of the validation.

Type

str

level

Message severity level (warning or error).

Type

google.cloud.datastream_v1alpha1.types.ValidationMessage.Level

metadata

Additional metadata related to the result.

Type

MutableMapping[str, str]

code

A custom code identifying this specific message.

Type

str

class Level(value)[source]

Bases: proto.enums.Enum

Validation message level.

Values:
LEVEL_UNSPECIFIED (0):

Unspecified level.

WARNING (1):

Potentially cause issues with the Stream.

ERROR (2):

Definitely cause issues with the Stream.

class MetadataEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases: proto.message.Message

class google.cloud.datastream_v1alpha1.types.ValidationResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Contains the current validation results.

validations

A list of validations (includes both executed as well as not executed validations).

Type

MutableSequence[google.cloud.datastream_v1alpha1.types.Validation]

class google.cloud.datastream_v1alpha1.types.VpcPeeringConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

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

vpc_name

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

Type

str

subnet

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

Type

str