Service Client: Google::Cloud::Datastream::V1alpha1::Datastream::DatastreamClient
Client stub representing the remote Datastream gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to datastream.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Datastream::V1alpha1::Datastream - Compiled Protocol Buffers messages for google/cloud/datastream/v1alpha1/datastream.proto
SYNOPSIS
use Google::Cloud::Datastream::V1alpha1::Datastream;
my $msg = Google::Cloud::Datastream::V1alpha1::Datastream::DiscoverConnectionProfileRequest->new({
parent => $parent,
connection_profile => $connection_profile,
connection_profile_name => $connection_profile_name,
recursive => $recursive,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Datastream::V1alpha1::Datastream::DiscoverConnectionProfileRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/datastream/v1alpha1/datastream.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Datastream::V1alpha1::Datastream::DiscoverConnectionProfileRequest
Request message for 'discover' ConnectionProfile request.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource of the ConnectionProfile type. Must be in the format `projects/*/locations/*`.
$msg->connection_profile()/$msg->connection_profile($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::ConnectionProfile)An ad-hoc ConnectionProfile configuration.
$msg->connection_profile_name()/$msg->connection_profile_name($value)Type:
StringA reference to an existing ConnectionProfile.
$msg->recursive()/$msg->recursive($value)Type:
BoolWhether to retrieve the full hierarchy of data objects (TRUE) or only the current level (FALSE).
$msg->recursion_depth()/$msg->recursion_depth($value)Type:
Int32The number of hierarchy levels below the current level to be retrieved.
$msg->oracle_rdbms()/$msg->oracle_rdbms($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleRdbms)Oracle RDBMS to enrich with child data objects and metadata.
$msg->mysql_rdbms()/$msg->mysql_rdbms($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlRdbms)MySQL RDBMS to enrich with child data objects and metadata.
Google::Cloud::Datastream::V1alpha1::Datastream::DiscoverConnectionProfileResponse
Inherits from Protobuf::Message.
Accessors
$msg->oracle_rdbms()/$msg->oracle_rdbms($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleRdbms)Enriched Oracle RDBMS object.
$msg->mysql_rdbms()/$msg->mysql_rdbms($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlRdbms)Enriched MySQL RDBMS object.
Google::Cloud::Datastream::V1alpha1::Datastream::FetchStaticIpsRequest
Request message for 'FetchStaticIps' request.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name resource of the Response type. Must be in the format `projects/*/locations/*`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Maximum number of Ips to return, will likely not be specified.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous `ListStaticIps` call. will likely not be specified.
Google::Cloud::Datastream::V1alpha1::Datastream::FetchStaticIpsResponse
Response message for a 'FetchStaticIps' response.
Inherits from Protobuf::Message.
Accessors
$msg->static_ips()/$msg->static_ips($value)Type:
Stringlist of static ips by account
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Datastream::V1alpha1::Datastream::FetchErrorsRequest
Request message for 'FetchErrors' request.
Inherits from Protobuf::Message.
Accessors
$msg->stream()/$msg->stream($value)Type:
StringName of the Stream resource for which to fetch any errors.
Google::Cloud::Datastream::V1alpha1::Datastream::FetchErrorsResponse
Response message for a 'FetchErrors' response.
Inherits from Protobuf::Message.
Accessors
$msg->errors()/$msg->errors($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::Error)The list of errors on the Stream.
Google::Cloud::Datastream::V1alpha1::Datastream::ListConnectionProfilesRequest
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent that owns the collection of connection profiles.
$msg->page_size()/$msg->page_size($value)Type:
Int32Maximum 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.
$msg->page_token()/$msg->page_token($value)Type:
StringPage 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.
$msg->filter()/$msg->filter($value)Type:
StringFilter request.
$msg->order_by()/$msg->order_by($value)Type:
StringOrder by fields for the result.
Google::Cloud::Datastream::V1alpha1::Datastream::ListConnectionProfilesResponse
Inherits from Protobuf::Message.
Accessors
$msg->connection_profiles()/$msg->connection_profiles($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::ConnectionProfile)List of connection profiles.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Datastream::V1alpha1::Datastream::GetConnectionProfileRequest
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the connection profile resource to get.
Google::Cloud::Datastream::V1alpha1::Datastream::CreateConnectionProfileRequest
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent that owns the collection of ConnectionProfiles.
$msg->connection_profile_id()/$msg->connection_profile_id($value)Type:
StringRequired. The connection profile identifier.
$msg->connection_profile()/$msg->connection_profile($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::ConnectionProfile)Required. The connection profile resource to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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).
Google::Cloud::Datastream::V1alpha1::Datastream::UpdateConnectionProfileRequest
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)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.
$msg->connection_profile()/$msg->connection_profile($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::ConnectionProfile)Required. The ConnectionProfile to update.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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).
Google::Cloud::Datastream::V1alpha1::Datastream::DeleteConnectionProfileRequest
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the connection profile resource to delete.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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).
Google::Cloud::Datastream::V1alpha1::Datastream::ListStreamsRequest
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent that owns the collection of streams.
$msg->page_size()/$msg->page_size($value)Type:
Int32Maximum 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.
$msg->page_token()/$msg->page_token($value)Type:
StringPage 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.
$msg->filter()/$msg->filter($value)Type:
StringFilter request.
$msg->order_by()/$msg->order_by($value)Type:
StringOrder by fields for the result.
Google::Cloud::Datastream::V1alpha1::Datastream::ListStreamsResponse
Inherits from Protobuf::Message.
Accessors
$msg->streams()/$msg->streams($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream)List of streams
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Datastream::V1alpha1::Datastream::GetStreamRequest
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the stream resource to get.
Google::Cloud::Datastream::V1alpha1::Datastream::CreateStreamRequest
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent that owns the collection of streams.
$msg->stream_id()/$msg->stream_id($value)Type:
StringRequired. The stream identifier.
$msg->stream()/$msg->stream($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream)Required. The stream resource to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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).
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. Only validate the stream, but do not create any resources. The default is false.
$msg->force()/$msg->force($value)Type:
BoolOptional. Create the stream without validating it.
Google::Cloud::Datastream::V1alpha1::Datastream::UpdateStreamRequest
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)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.
$msg->stream()/$msg->stream($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream)Required. The stream resource to update.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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).
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. Only validate the stream with the changes, without actually updating it. The default is false.
$msg->force()/$msg->force($value)Type:
BoolOptional. Execute the update without validating it.
Google::Cloud::Datastream::V1alpha1::Datastream::DeleteStreamRequest
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the stream resource to delete.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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).
Google::Cloud::Datastream::V1alpha1::Datastream::OperationMetadata
Represents the metadata of the long-running operation.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation finished running.
$msg->target()/$msg->target($value)Type:
StringOutput only. Server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. Name of the verb executed by the operation.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. Human-readable status of the operation, if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput 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`.
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. API version used to start the operation.
$msg->validation_result()/$msg->validation_result($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationResult)Output only. Results of executed validations if there are any.
Google::Cloud::Datastream::V1alpha1::Datastream::CreatePrivateConnectionRequest
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent that owns the collection of PrivateConnections.
$msg->private_connection_id()/$msg->private_connection_id($value)Type:
StringRequired. The private connectivity identifier.
$msg->private_connection()/$msg->private_connection($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::PrivateConnection)Required. The Private Connectivity resource to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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).
Google::Cloud::Datastream::V1alpha1::Datastream::ListPrivateConnectionsRequest
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent that owns the collection of private connectivity configurations.
$msg->page_size()/$msg->page_size($value)Type:
Int32Maximum 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.
$msg->page_token()/$msg->page_token($value)Type:
StringPage 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.
$msg->filter()/$msg->filter($value)Type:
StringFilter request.
$msg->order_by()/$msg->order_by($value)Type:
StringOrder by fields for the result.
Google::Cloud::Datastream::V1alpha1::Datastream::ListPrivateConnectionsResponse
Inherits from Protobuf::Message.
Accessors
$msg->private_connections()/$msg->private_connections($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::PrivateConnection)List of private connectivity configurations.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Datastream::V1alpha1::Datastream::DeletePrivateConnectionRequest
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the private connectivity configuration to delete.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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).
$msg->force()/$msg->force($value)Type:
BoolOptional. If set to true, any child routes that belong to this PrivateConnection will also be deleted.
Google::Cloud::Datastream::V1alpha1::Datastream::GetPrivateConnectionRequest
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the private connectivity configuration to get.
Google::Cloud::Datastream::V1alpha1::Datastream::CreateRouteRequest
route creation request
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent that owns the collection of Routes.
$msg->route_id()/$msg->route_id($value)Type:
StringRequired. The Route identifier.
$msg->route()/$msg->route($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::Route)Required. The Route resource to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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).
Google::Cloud::Datastream::V1alpha1::Datastream::ListRoutesRequest
route list request
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent that owns the collection of Routess.
$msg->page_size()/$msg->page_size($value)Type:
Int32Maximum 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.
$msg->page_token()/$msg->page_token($value)Type:
StringPage 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.
$msg->filter()/$msg->filter($value)Type:
StringFilter request.
$msg->order_by()/$msg->order_by($value)Type:
StringOrder by fields for the result.
Google::Cloud::Datastream::V1alpha1::Datastream::ListRoutesResponse
route list response
Inherits from Protobuf::Message.
Accessors
$msg->routes()/$msg->routes($value)Type:
Message(Google::Cloud::Datastream::V1alpha1::DatastreamResources::Route)List of Routes.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Datastream::V1alpha1::Datastream::DeleteRouteRequest
route deletion request
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the Route resource to delete.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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).
Google::Cloud::Datastream::V1alpha1::Datastream::GetRouteRequest
route get request
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the Route resource to get.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Datastream::V1alpha1::Datastream::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.