Service Client: Google::Cloud::Networkconnectivity::V1beta::DataTransfer::DataTransferServiceClient

Client stub representing the remote DataTransferService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to networkconnectivity.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Networkconnectivity::V1beta::DataTransfer - Compiled Protocol Buffers messages for google/cloud/networkconnectivity/v1beta/data_transfer.proto

SYNOPSIS

use Google::Cloud::Networkconnectivity::V1beta::DataTransfer;

my $msg = Google::Cloud::Networkconnectivity::V1beta::DataTransfer::MulticloudDataTransferConfig->new({
    name => $name,
    create_time => $create_time,
    update_time => $update_time,
    labels => $labels,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Networkconnectivity::V1beta::DataTransfer::MulticloudDataTransferConfig->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/networkconnectivity/v1beta/data_transfer.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::Networkconnectivity::V1beta::DataTransfer::MulticloudDataTransferConfig

The `MulticloudDataTransferConfig` resource. It lists the services that you configure for Data Transfer Essentials billing and metering.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The name of the `MulticloudDataTransferConfig` resource. Format: `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`.

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

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

    Output only. Time when the `MulticloudDataTransferConfig` resource was created.

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

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

    Output only. Time when the `MulticloudDataTransferConfig` resource was updated.

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::DataTransfer::MulticloudDataTransferConfig::LabelsEntry)

    Optional. User-defined labels.

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

    Type: String

    The etag is computed by the server, and might be sent with update and delete requests so that the client has an up-to-date value before proceeding.

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

    Type: String

    Optional. A description of this resource.

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

    Type: Int32

    Output only. The number of `Destination` resources configured for the `MulticloudDataTransferConfig` resource.

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

    Type: Int32

    Output only. The number of `Destination` resources in use with the `MulticloudDataTransferConfig` resource.

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::DataTransfer::MulticloudDataTransferConfig::ServicesEntry)

    Optional. Maps services to their current or planned states. Service names are keys, and the associated values describe the state of the service. If a state change is expected, the value is either `ADDING` or `DELETING`, depending on the actions taken.

    Sample output: "services": { "big-query": { "states": [ { "effectiveTime": "2024-12-12T08:00:00Z" "state": "ADDING", }, ] }, "cloud-storage": { "states": [ { "state": "ACTIVE", } ] } }

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

    Type: String

    Output only. The Google-generated unique ID for the `MulticloudDataTransferConfig` resource. This value is unique across all `MulticloudDataTransferConfig` resources. If a resource is deleted and another with the same name is created, the new resource is assigned a different and unique ID.

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::ListMulticloudDataTransferConfigsRequest

Request message to list `MulticloudDataTransferConfig` resources.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the parent resource.

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

    Type: Int32

    Optional. The maximum number of results listed per page.

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

    Type: String

    Optional. The page token.

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

    Type: String

    Optional. An expression that filters the results listed in the response.

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

    Type: String

    Optional. The sort order of the results.

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

    Type: Bool

    Optional. If `true`, allows partial responses for multi-regional aggregated list requests.

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::ListMulticloudDataTransferConfigsResponse

Response message to list `MulticloudDataTransferConfig` resources.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::DataTransfer::MulticloudDataTransferConfig)

    The list of `MulticloudDataTransferConfig` resources to be listed.

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

    Type: String

    The next page token.

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::GetMulticloudDataTransferConfigRequest

Request message to get the details of a `MulticloudDataTransferConfig` resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the `MulticloudDataTransferConfig` resource to get.

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::CreateMulticloudDataTransferConfigRequest

Request message to create a `MulticloudDataTransferConfig` resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the parent resource.

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

    Type: String

    Required. The ID to use for the `MulticloudDataTransferConfig` resource, which becomes the final component of the `MulticloudDataTransferConfig` resource name.

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::DataTransfer::MulticloudDataTransferConfig)

    Required. The `MulticloudDataTransferConfig` resource to create.

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

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request. This prevents clients from accidentally creating duplicate `MulticloudDataTransferConfig` resources.

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

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::UpdateMulticloudDataTransferConfigRequest

Request message to update a `MulticloudDataTransferConfig` resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. `FieldMask` is used to specify the fields in the `MulticloudDataTransferConfig` resource to be overwritten by the update. The fields specified in `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't specify a mask, all fields are overwritten.

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::DataTransfer::MulticloudDataTransferConfig)

    Required. The `MulticloudDataTransferConfig` resource to update.

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

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request. This prevents clients from accidentally creating duplicate `MulticloudDataTransferConfig` resources.

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

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::DeleteMulticloudDataTransferConfigRequest

Request message to delete a `MulticloudDataTransferConfig` resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the `MulticloudDataTransferConfig` resource to delete.

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

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request. This prevents clients from accidentally creating duplicate `MulticloudDataTransferConfig` resources.

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

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

    Type: String

    Optional. The etag is computed by the server, and might be sent with update and delete requests so that the client has an up-to-date value before proceeding.

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::Destination

The `Destination` resource. It specifies the IP prefix and the associated autonomous system numbers (ASN) that you want to include in a `MulticloudDataTransferConfig` resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The name of the `Destination` resource. Format: `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`.

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

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

    Output only. Time when the `Destination` resource was created.

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

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

    Output only. Time when the `Destination` resource was updated.

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::DataTransfer::Destination::LabelsEntry)

    Optional. User-defined labels.

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

    Type: String

    The etag is computed by the server, and might be sent with update and delete requests so that the client has an up-to-date value before proceeding.

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

    Type: String

    Optional. A description of this resource.

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

    Type: String

    Required. Immutable. The IP prefix that represents your workload on another CSP.

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::DataTransfer::Destination::DestinationEndpoint)

    Required. Unordered list. The list of `DestinationEndpoint` resources configured for the IP prefix.

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::DataTransfer::StateTimeline)

    Output only. The timeline of the expected `Destination` states or the current rest state. If a state change is expected, the value is `ADDING`, `DELETING` or `SUSPENDING`, depending on the action specified.

    Example: "state_timeline": { "states": [ { // The time when the `Destination` resource will be activated. "effectiveTime": "2024-12-01T08:00:00Z", "state": "ADDING" }, { // The time when the `Destination` resource will be suspended. "effectiveTime": "2024-12-01T20:00:00Z", "state": "SUSPENDING" } ] }

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

    Type: String

    Output only. The Google-generated unique ID for the `Destination` resource. This value is unique across all `Destination` resources. If a resource is deleted and another with the same name is created, the new resource is assigned a different and unique ID.

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::ListDestinationsRequest

Request message to list `Destination` resources.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the parent resource.

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

    Type: Int32

    Optional. The maximum number of results listed per page.

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

    Type: String

    Optional. The page token.

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

    Type: String

    Optional. An expression that filters the results listed in the response.

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

    Type: String

    Optional. The sort order of the results.

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

    Type: Bool

    Optional. If `true`, allow partial responses for multi-regional aggregated list requests.

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::ListDestinationsResponse

Response message to list `Destination` resources.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::DataTransfer::Destination)

    The list of `Destination` resources to be listed.

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

    Type: String

    The next page token.

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::GetDestinationRequest

Request message to get the details of a `Destination` resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the `Destination` resource to get.

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::CreateDestinationRequest

Request message to create a `Destination` resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the parent resource.

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

    Type: String

    Required. The ID to use for the `Destination` resource, which becomes the final component of the `Destination` resource name.

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::DataTransfer::Destination)

    Required. The `Destination` resource to create.

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

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request. This prevents clients from accidentally creating duplicate `Destination` resources.

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

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::UpdateDestinationRequest

Request message to update a `Destination` resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. `FieldMask is used to specify the fields to be overwritten in the `Destination` resource by the update. The fields specified in `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't specify a mask, all fields are overwritten.

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::DataTransfer::Destination)

    Required. The `Destination` resource to update.

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

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request.

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

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::DeleteDestinationRequest

Request message to delete a `Destination` resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the `Destination` resource to delete.

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

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request.

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

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

    Type: String

    Optional. The etag is computed by the server, and might be sent with update and delete requests so that the client has an up-to-date value before proceeding.

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::StateTimeline

The timeline of the pending states for a resource.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::MulticloudDataTransferSupportedService

A service in your project in a region that is eligible for Data Transfer Essentials configuration.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::ServiceConfig

Specifies eligibility information for the service.

Inherits from Protobuf::Message.

Accessors

Enum: ServiceConfig::EligibilityCriteria

  • ELIGIBILITY_CRITERIA_UNSPECIFIED => 0

  • NETWORK_SERVICE_TIER_PREMIUM_ONLY => 1

  • NETWORK_SERVICE_TIER_STANDARD_ONLY => 2

  • REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY => 3

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::GetMulticloudDataTransferSupportedServiceRequest

Request message to check if a service in your project in a region is eligible for Data Transfer Essentials configuration.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the service.

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::ListMulticloudDataTransferSupportedServicesRequest

Request message to list the services in your project that are eligible for Data Transfer Essentials configuration.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the parent resource.

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

    Type: Int32

    Optional. The maximum number of results listed per page.

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

    Type: String

    Optional. The page token.

Google::Cloud::Networkconnectivity::V1beta::DataTransfer::ListMulticloudDataTransferSupportedServicesResponse

Response message to list the services in your project in regions that are eligible for Data Transfer Essentials configuration.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Networkconnectivity::V1beta::DataTransfer::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.